C# 클래스 Bitboxx.DNNModules.BBImageStory.Components.DbController

Class DbController.
파일 보기 프로젝트 열기: weggetor/BBImageStory

공개 메소드들

메소드 설명
ClearCache ( int moduleId ) : void

Clears the cache.

DeleteForeignImage ( ForeignImageInfo foreignImage ) : void
DeleteForeignImages ( int storyId, string token ) : void
DeleteImageLang ( ImageLangInfo imageLang ) : void
DeleteStory ( int storyId ) : void
DeleteStoryLang ( int storyId, string language ) : void
GetImage ( int imageId ) : ImageInfo
GetImageByForeign ( int imageId, int foreignId, string token, string language ) : ImageLocInfo
GetImageLangs ( int imageId ) : IEnumerable
GetImagesByForeign ( int foreignId, string token ) : IEnumerable
GetImagesByForeign ( int foreignId, string token, string language ) : IEnumerable
GetLastStory ( int moduleId, int portalId, string token, string language, bool ignoreTime ) : StoryInfo
GetStories ( int moduleId, int portalId ) : IEnumerable
GetStories ( int moduleId, int portalId, string token, string language, bool ignoreTime ) : IEnumerable
GetStory ( int storyId ) : StoryInfo
GetStory ( int storyId, string token, string language, bool ignoreTime ) : StoryInfo
GetStoryLangs ( int storyId ) : IEnumerable
InsertForeignImage ( ForeignImageInfo foreignImage ) : void
InsertImage ( ImageInfo image ) : int
InsertImageLang ( ImageLangInfo imageLang ) : void
InsertStory ( StoryInfo story, int moduleId, int tabId ) : int
InsertStory ( StoryInfo story, string language, int moduleId, int tabId ) : int
InsertStoryLang ( StoryLangInfo storyLang, int tabId ) : void
SetStoryOrder ( int itemId, int sort ) : void
UpdateForeignImage ( ForeignImageInfo foreignImage ) : void
UpdateImage ( ImageInfo image ) : void
UpdateImageLang ( ImageLangInfo imageLang ) : void
UpdateStory ( StoryInfo story, string language, int tabId ) : void

비공개 메소드들

메소드 설명
GetStoryContent ( int storyId ) : string

메소드 상세

ClearCache() 공개 메소드

Clears the cache.
public ClearCache ( int moduleId ) : void
moduleId int
리턴 void

DeleteForeignImage() 공개 메소드

public DeleteForeignImage ( ForeignImageInfo foreignImage ) : void
foreignImage Bitboxx.DNNModules.BBImageStory.Models.ForeignImageInfo
리턴 void

DeleteForeignImages() 공개 메소드

public DeleteForeignImages ( int storyId, string token ) : void
storyId int
token string
리턴 void

DeleteImageLang() 공개 메소드

public DeleteImageLang ( ImageLangInfo imageLang ) : void
imageLang Bitboxx.DNNModules.BBImageStory.Models.ImageLangInfo
리턴 void

DeleteStory() 공개 메소드

public DeleteStory ( int storyId ) : void
storyId int
리턴 void

DeleteStoryLang() 공개 메소드

public DeleteStoryLang ( int storyId, string language ) : void
storyId int
language string
리턴 void

GetImage() 공개 메소드

public GetImage ( int imageId ) : ImageInfo
imageId int
리턴 Bitboxx.DNNModules.BBImageStory.Models.ImageInfo

GetImageByForeign() 공개 메소드

public GetImageByForeign ( int imageId, int foreignId, string token, string language ) : ImageLocInfo
imageId int
foreignId int
token string
language string
리턴 Bitboxx.DNNModules.BBImageStory.Models.ImageLocInfo

GetImageLangs() 공개 메소드

public GetImageLangs ( int imageId ) : IEnumerable
imageId int
리턴 IEnumerable

GetImagesByForeign() 공개 메소드

public GetImagesByForeign ( int foreignId, string token ) : IEnumerable
foreignId int
token string
리턴 IEnumerable

GetImagesByForeign() 공개 메소드

public GetImagesByForeign ( int foreignId, string token, string language ) : IEnumerable
foreignId int
token string
language string
리턴 IEnumerable

GetLastStory() 공개 메소드

public GetLastStory ( int moduleId, int portalId, string token, string language, bool ignoreTime ) : StoryInfo
moduleId int
portalId int
token string
language string
ignoreTime bool
리턴 Bitboxx.DNNModules.BBImageStory.Models.StoryInfo

GetStories() 공개 메소드

public GetStories ( int moduleId, int portalId ) : IEnumerable
moduleId int
portalId int
리턴 IEnumerable

GetStories() 공개 메소드

public GetStories ( int moduleId, int portalId, string token, string language, bool ignoreTime ) : IEnumerable
moduleId int
portalId int
token string
language string
ignoreTime bool
리턴 IEnumerable

GetStory() 공개 메소드

public GetStory ( int storyId ) : StoryInfo
storyId int
리턴 Bitboxx.DNNModules.BBImageStory.Models.StoryInfo

GetStory() 공개 메소드

public GetStory ( int storyId, string token, string language, bool ignoreTime ) : StoryInfo
storyId int
token string
language string
ignoreTime bool
리턴 Bitboxx.DNNModules.BBImageStory.Models.StoryInfo

GetStoryLangs() 공개 메소드

public GetStoryLangs ( int storyId ) : IEnumerable
storyId int
리턴 IEnumerable

InsertForeignImage() 공개 메소드

public InsertForeignImage ( ForeignImageInfo foreignImage ) : void
foreignImage Bitboxx.DNNModules.BBImageStory.Models.ForeignImageInfo
리턴 void

InsertImage() 공개 메소드

public InsertImage ( ImageInfo image ) : int
image Bitboxx.DNNModules.BBImageStory.Models.ImageInfo
리턴 int

InsertImageLang() 공개 메소드

public InsertImageLang ( ImageLangInfo imageLang ) : void
imageLang Bitboxx.DNNModules.BBImageStory.Models.ImageLangInfo
리턴 void

InsertStory() 공개 메소드

public InsertStory ( StoryInfo story, int moduleId, int tabId ) : int
story Bitboxx.DNNModules.BBImageStory.Models.StoryInfo
moduleId int
tabId int
리턴 int

InsertStory() 공개 메소드

public InsertStory ( StoryInfo story, string language, int moduleId, int tabId ) : int
story Bitboxx.DNNModules.BBImageStory.Models.StoryInfo
language string
moduleId int
tabId int
리턴 int

InsertStoryLang() 공개 메소드

public InsertStoryLang ( StoryLangInfo storyLang, int tabId ) : void
storyLang Bitboxx.DNNModules.BBImageStory.Models.StoryLangInfo
tabId int
리턴 void

SetStoryOrder() 공개 메소드

public SetStoryOrder ( int itemId, int sort ) : void
itemId int
sort int
리턴 void

UpdateForeignImage() 공개 메소드

public UpdateForeignImage ( ForeignImageInfo foreignImage ) : void
foreignImage Bitboxx.DNNModules.BBImageStory.Models.ForeignImageInfo
리턴 void

UpdateImage() 공개 메소드

public UpdateImage ( ImageInfo image ) : void
image Bitboxx.DNNModules.BBImageStory.Models.ImageInfo
리턴 void

UpdateImageLang() 공개 메소드

public UpdateImageLang ( ImageLangInfo imageLang ) : void
imageLang Bitboxx.DNNModules.BBImageStory.Models.ImageLangInfo
리턴 void

UpdateStory() 공개 메소드

public UpdateStory ( StoryInfo story, string language, int tabId ) : void
story Bitboxx.DNNModules.BBImageStory.Models.StoryInfo
language string
tabId int
리턴 void