public interface IPageService
Modifier and Type | Method and Description |
---|---|
void |
createPage(Page page)
Create a page
|
String |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the page for a given ID.
|
String |
getPage(String strIdPage,
int nMode,
javax.servlet.http.HttpServletRequest request)
Returns the page for a given ID.
|
String |
getPageContent(int nIdPage,
int nMode,
javax.servlet.http.HttpServletRequest request)
Build the page content.
|
String |
getResourceTypeId()
Return the ressource id type
|
void |
invalidateContent(int nPageId)
Invalidate Page Content
|
boolean |
isAuthorizedAdminPage(int nId,
String strPermission,
AdminUser user)
Check if authorized
|
void |
removePage(int nPageId)
Remove the page
|
void |
updatePage(Page page)
Update the page
|
String getPageContent(int nIdPage, int nMode, javax.servlet.http.HttpServletRequest request) throws SiteMessageException
nIdPage
- The page IDnMode
- The current mode.request
- The HttpRequestSiteMessageException
- occurs when a site message need to be displayedString getPage(String strIdPage, int nMode, javax.servlet.http.HttpServletRequest request) throws SiteMessageException
strIdPage
- The page IDnMode
- The current mode.request
- The HttpRequestSiteMessageException
- occurs when a site message need to be displayedString getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws SiteMessageException
request
- The page IDnMode
- The current mode.SiteMessageException
- If a message shouldbe displayedvoid invalidateContent(int nPageId)
nPageId
- The Page IDvoid updatePage(Page page)
page
- The pagevoid removePage(int nPageId)
nPageId
- The page's idvoid createPage(Page page)
page
- The page to createboolean isAuthorizedAdminPage(int nId, String strPermission, AdminUser user)
nId
- The Page's IDstrPermission
- The given permissionuser
- The userString getResourceTypeId()
Copyright © 2020 City of Paris. All rights reserved.