|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.page.PageDAO
public final class PageDAO
This class porvides Data Access methods for Page objects
| Constructor Summary | |
|---|---|
PageDAO()
|
|
| 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 |
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 |
void |
store(Page page)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageDAO()
| Method Detail |
|---|
public void insert(Page page)
insert in interface IPageDAOpage - The Page object
public Page load(int nPageId,
boolean bPortlets)
load in interface IPageDAOnPageId - The identifier of the object PagebPortlets - The boolean
public Page loadWithoutImageContent(int nPageId,
boolean bPortlets)
loadWithoutImageContent in interface IPageDAOnPageId - The identifier of the object PagebPortlets - The boolean
public Page loadPageByIdPortlet(int nPorletId)
loadPageByIdPortlet in interface IPageDAOnPorletId - The identifier of the object portlet associate to the page
public void delete(int nPageId)
delete in interface IPageDAOnPageId - The identifier of the object nPageIdpublic void store(Page page)
store in interface IPageDAOpage - The instance of the page to updatepublic java.util.Collection<Page> selectChildPages(int nParentPageId)
selectChildPages in interface IPageDAOnParentPageId - The parent page identifier
public java.util.Collection<Page> selectChildPagesMinimalData(int nParentPageId)
selectChildPagesMinimalData in interface IPageDAOpublic java.util.List<Page> selectAllPages()
selectAllPages in interface IPageDAOpublic void invalidatePage(int nPageId)
invalidatePage in interface IPageDAOnPageId - the page identifierpublic ReferenceList getPagesList()
getPagesList in interface IPageDAOpublic java.util.Collection<Page> getPagesByRoleKey(java.lang.String strRoleKey)
getPagesByRoleKey in interface IPageDAOstrRoleKey - The Lutece Role key
public int selectNewChildPageOrder(int nParentPageId)
selectNewChildPageOrder in interface IPageDAOnParentPageId - The parent page Id
public ImageResource loadImageResource(int nIdPage)
loadImageResource in interface IPageDAOnIdPage - The Page Id
public boolean checkPageExist(int nPageId)
checkPageExist in interface IPageDAOnPageId - The identifier of the document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||