| Constructor and Description |
|---|
PageDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkPageExist(int nPageId)
Tests if page exist
|
void |
delete(int nPageId)
Delete a record from the table
|
Collection<Page> |
getPagesByRoleKey(String strRoleKey)
Return the list of all the pages filtered by Lutece Role specified in parameter
|
ReferenceList |
getPagesList()
Load the Referencelist of documentTypes
|
void |
insert(Page page)
Insert a new record in the table.
|
void |
invalidatePage(int nPageId)
Invalidate the page after a modification
|
Page |
load(int nPageId,
boolean bPortlets)
load the data of level from the table
|
ImageResource |
loadImageResource(int nIdPage)
Load a image corresponding to an Page
|
Page |
loadLastModifiedPage()
Load the last modified page
|
Page |
loadPageByIdPortlet(int nPorletId)
load a page associated to a portlet
|
Page |
loadWithoutImageContent(int nPageId,
boolean bPortlets)
load the data of level from the table without image content
|
List<Page> |
selectAllPages()
Loads all the pages for a portal
|
Collection<Page> |
selectChildPages(int nParentPageId)
Select all the child pages for a page which is specified in parameter
|
Collection<Page> |
selectChildPagesMinimalData(int nParentPageId)
Select all child pages for a page which is specified in parameter For each pages, only select : Id, pageParentId, name and description
|
int |
selectNewChildPageOrder(int nParentPageId)
Search the last order of child page list
|
List<Integer> |
selectPageForChangeAutorisationNode(int nIdParentPage)
select list of children Pages Which Must Change their authorization node
|
void |
store(Page page)
Update the record in the table
|
void |
updateAutorisationNode(int nIdPage,
Integer nIdAutorisationNode)
Update the authorization node of the page
|
public void insert(Page page)
public Page load(int nPageId, boolean bPortlets)
public Page loadWithoutImageContent(int nPageId, boolean bPortlets)
loadWithoutImageContent in interface IPageDAOnPageId - The identifier of the object PagebPortlets - The booleanpublic Page loadPageByIdPortlet(int nPorletId)
loadPageByIdPortlet in interface IPageDAOnPorletId - The identifier of the object portlet associate to the pagepublic void delete(int nPageId)
public void store(Page page)
public Collection<Page> selectChildPages(int nParentPageId)
selectChildPages in interface IPageDAOnParentPageId - The parent page identifierpublic Collection<Page> selectChildPagesMinimalData(int nParentPageId)
selectChildPagesMinimalData in interface IPageDAOnParentPageId - the ParentPageId identifierpublic List<Page> selectAllPages()
selectAllPages in interface IPageDAOpublic void invalidatePage(int nPageId)
invalidatePage in interface IPageDAOnPageId - the page identifierpublic ReferenceList getPagesList()
getPagesList in interface IPageDAOpublic Collection<Page> getPagesByRoleKey(String strRoleKey)
getPagesByRoleKey in interface IPageDAOstrRoleKey - The Lutece Role keypublic int selectNewChildPageOrder(int nParentPageId)
selectNewChildPageOrder in interface IPageDAOnParentPageId - The parent page Idpublic ImageResource loadImageResource(int nIdPage)
loadImageResource in interface IPageDAOnIdPage - The Page Idpublic boolean checkPageExist(int nPageId)
checkPageExist in interface IPageDAOnPageId - The identifier of the documentpublic Page loadLastModifiedPage()
loadLastModifiedPage in interface IPageDAOPagepublic void updateAutorisationNode(int nIdPage,
Integer nIdAutorisationNode)
updateAutorisationNode in interface IPageDAOnIdPage - the page idnIdAutorisationNode - the authorization node idpublic List<Integer> selectPageForChangeAutorisationNode(int nIdParentPage)
selectPageForChangeAutorisationNode in interface IPageDAOnIdParentPage - the id of the parent pageCopyright © 2020 City of Paris. All rights reserved.