Interface IHtmlPageService
- All Known Implementing Classes:
HtmlPageService
public interface IHtmlPageService
IHtmlPageService
-
Method Summary
Modifier and TypeMethodDescriptionCreation of an instance of htmlpageGet all enabled html pages from databasegetEnableHtmlPage(int nId) Get enabled html page by id from databasegetHtmlPageCache(int nId) Get enabled html page by id from the cache if possible, from database otherwiseGet all enabled html pages from cache if possible, from database otherwisevoidRemove the Htmlpage whose identifier is specified in parameterUpdate of the htmlpage which is specified in parameter
-
Method Details
-
getHtmlPageCache
Get enabled html page by id from the cache if possible, from database otherwise- Parameters:
nId-- Returns:
- htmlPage
-
getEnableHtmlPage
Get enabled html page by id from database- Parameters:
nId-- Returns:
- htmlPage
-
getHtmlPageListCache
Get all enabled html pages from cache if possible, from database otherwise- Returns:
- list of htmlpage
-
getEnabledHtmlPageList
Get all enabled html pages from database- Returns:
- list of htmlpage
-
create
Creation of an instance of htmlpage- Parameters:
htmlpage- The instance of the htmlpage which contains the informations to storeplugin- The Plugin object- Returns:
- The instance of htmlpage which has been created with its primary key.
-
update
Update of the htmlpage which is specified in parameter- Parameters:
htmlpage- The instance of the htmlpage which contains the data to storeplugin- The Plugin object- Returns:
- The instance of the htmlpage which has been updated
-
remove
Remove the Htmlpage whose identifier is specified in parameter- Parameters:
htmlpage- The Htmlpage object to removeplugin- The Plugin object
-