C# Class Bitboxx.DNNModules.BBImageStory.Components.DbController

Class DbController.
Afficher le fichier Open project: weggetor/BBImageStory

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetStoryContent ( int storyId ) : string

Method Details

ClearCache() public méthode

Clears the cache.
public ClearCache ( int moduleId ) : void
moduleId int
Résultat void

DeleteForeignImage() public méthode

public DeleteForeignImage ( ForeignImageInfo foreignImage ) : void
foreignImage Bitboxx.DNNModules.BBImageStory.Models.ForeignImageInfo
Résultat void

DeleteForeignImages() public méthode

public DeleteForeignImages ( int storyId, string token ) : void
storyId int
token string
Résultat void

DeleteImageLang() public méthode

public DeleteImageLang ( ImageLangInfo imageLang ) : void
imageLang Bitboxx.DNNModules.BBImageStory.Models.ImageLangInfo
Résultat void

DeleteStory() public méthode

public DeleteStory ( int storyId ) : void
storyId int
Résultat void

DeleteStoryLang() public méthode

public DeleteStoryLang ( int storyId, string language ) : void
storyId int
language string
Résultat void

GetImage() public méthode

public GetImage ( int imageId ) : ImageInfo
imageId int
Résultat Bitboxx.DNNModules.BBImageStory.Models.ImageInfo

GetImageByForeign() public méthode

public GetImageByForeign ( int imageId, int foreignId, string token, string language ) : ImageLocInfo
imageId int
foreignId int
token string
language string
Résultat Bitboxx.DNNModules.BBImageStory.Models.ImageLocInfo

GetImageLangs() public méthode

public GetImageLangs ( int imageId ) : IEnumerable
imageId int
Résultat IEnumerable

GetImagesByForeign() public méthode

public GetImagesByForeign ( int foreignId, string token ) : IEnumerable
foreignId int
token string
Résultat IEnumerable

GetImagesByForeign() public méthode

public GetImagesByForeign ( int foreignId, string token, string language ) : IEnumerable
foreignId int
token string
language string
Résultat IEnumerable

GetLastStory() public méthode

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

GetStories() public méthode

public GetStories ( int moduleId, int portalId ) : IEnumerable
moduleId int
portalId int
Résultat IEnumerable

GetStories() public méthode

public GetStories ( int moduleId, int portalId, string token, string language, bool ignoreTime ) : IEnumerable
moduleId int
portalId int
token string
language string
ignoreTime bool
Résultat IEnumerable

GetStory() public méthode

public GetStory ( int storyId ) : StoryInfo
storyId int
Résultat Bitboxx.DNNModules.BBImageStory.Models.StoryInfo

GetStory() public méthode

public GetStory ( int storyId, string token, string language, bool ignoreTime ) : StoryInfo
storyId int
token string
language string
ignoreTime bool
Résultat Bitboxx.DNNModules.BBImageStory.Models.StoryInfo

GetStoryLangs() public méthode

public GetStoryLangs ( int storyId ) : IEnumerable
storyId int
Résultat IEnumerable

InsertForeignImage() public méthode

public InsertForeignImage ( ForeignImageInfo foreignImage ) : void
foreignImage Bitboxx.DNNModules.BBImageStory.Models.ForeignImageInfo
Résultat void

InsertImage() public méthode

public InsertImage ( ImageInfo image ) : int
image Bitboxx.DNNModules.BBImageStory.Models.ImageInfo
Résultat int

InsertImageLang() public méthode

public InsertImageLang ( ImageLangInfo imageLang ) : void
imageLang Bitboxx.DNNModules.BBImageStory.Models.ImageLangInfo
Résultat void

InsertStory() public méthode

public InsertStory ( StoryInfo story, int moduleId, int tabId ) : int
story Bitboxx.DNNModules.BBImageStory.Models.StoryInfo
moduleId int
tabId int
Résultat int

InsertStory() public méthode

public InsertStory ( StoryInfo story, string language, int moduleId, int tabId ) : int
story Bitboxx.DNNModules.BBImageStory.Models.StoryInfo
language string
moduleId int
tabId int
Résultat int

InsertStoryLang() public méthode

public InsertStoryLang ( StoryLangInfo storyLang, int tabId ) : void
storyLang Bitboxx.DNNModules.BBImageStory.Models.StoryLangInfo
tabId int
Résultat void

SetStoryOrder() public méthode

public SetStoryOrder ( int itemId, int sort ) : void
itemId int
sort int
Résultat void

UpdateForeignImage() public méthode

public UpdateForeignImage ( ForeignImageInfo foreignImage ) : void
foreignImage Bitboxx.DNNModules.BBImageStory.Models.ForeignImageInfo
Résultat void

UpdateImage() public méthode

public UpdateImage ( ImageInfo image ) : void
image Bitboxx.DNNModules.BBImageStory.Models.ImageInfo
Résultat void

UpdateImageLang() public méthode

public UpdateImageLang ( ImageLangInfo imageLang ) : void
imageLang Bitboxx.DNNModules.BBImageStory.Models.ImageLangInfo
Résultat void

UpdateStory() public méthode

public UpdateStory ( StoryInfo story, string language, int tabId ) : void
story Bitboxx.DNNModules.BBImageStory.Models.StoryInfo
language string
tabId int
Résultat void