|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPageDAO
IPageDAO Interface
Method Summary | |
---|---|
boolean |
checkPageExist(int nPageId)
Tests if page exist |
void |
delete(int nPageId)
Delete a record from the table |
java.util.Collection<Page> |
getPagesByRoleKey(java.lang.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 |
java.util.List<Page> |
selectAllPages()
Loads all the pages for a portal |
java.util.Collection<Page> |
selectChildPages(int nParentPageId)
Select all the child pages for a page which is specified in parameter |
java.util.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 |
java.util.List<java.lang.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,
java.lang.Integer nIdAuthorizationNode)
Update the authorization node of the page |
Method Detail |
---|
void insert(Page page)
page
- The Page objectPage load(int nPageId, boolean bPortlets)
nPageId
- The identifier of the object PagebPortlets
- The boolean
Page loadWithoutImageContent(int nPageId, boolean bPortlets)
nPageId
- The identifier of the object PagebPortlets
- The boolean
Page loadPageByIdPortlet(int nPorletId)
nPorletId
- The identifier of the object portlet associate to the page
void delete(int nPageId)
nPageId
- The identifier of the object nPageIdvoid store(Page page)
page
- The instance of the page to updatejava.util.Collection<Page> selectChildPages(int nParentPageId)
nParentPageId
- The parent page identifier
java.util.Collection<Page> selectChildPagesMinimalData(int nParentPageId)
nParentPageId
- the ParentPageId identifier
java.util.List<Page> selectAllPages()
void invalidatePage(int nPageId)
nPageId
- the page identifierReferenceList getPagesList()
java.util.Collection<Page> getPagesByRoleKey(java.lang.String strRoleKey)
strRoleKey
- The Lutece Role key
int selectNewChildPageOrder(int nParentPageId)
nParentPageId
- The parent page Id
ImageResource loadImageResource(int nIdPage)
nIdPage
- The Page Id
boolean checkPageExist(int nPageId)
nPageId
- The identifier of the document
Page loadLastModifiedPage()
Page
void updateAutorisationNode(int nIdPage, java.lang.Integer nIdAuthorizationNode)
nIdPage
- the page idnIdAuthorizationNode
- the authorization node idjava.util.List<java.lang.Integer> selectPageForChangeAutorisationNode(int nIdParentPage)
nIdParentPage
- the id of the parent page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |