|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.linkpages.business.portlet.LinkPagesPortletDAO
public class LinkPagesPortletDAO
This class provides Data Access methods for LinkPagesPortlet objects
| Constructor Summary | |
|---|---|
LinkPagesPortletDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nPortletId)
Deletes a record from the table |
void |
deleteAllLinkPages(int nPortletId)
Remove all link pages from a specified portlet |
void |
deleteLinkPage(int nPortletId,
int nLinkPageId)
Remove a specified link page from a specified portlet |
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
|
void |
insertLinkPage(int nPortletId,
int nLinkPageId,
int nOrder)
Insert a new record in the table. |
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of a LinkdPagesPortlet whose identifier is specified in parameter from the table |
int |
selectLinkPageIdByOrder(int nPortletId,
int nOrder)
Returns the id of a link page wich has a specified order in a specified portlet |
int |
selectLinkPageOrder(int nPortletId,
int nPageId)
Return the order of a link page in a specified portlet |
java.util.List<fr.paris.lutece.portal.business.page.Page> |
selectLinkPagesInPortletList(int nPortletId)
Return a list of linkpages which belong to a specified portlet |
fr.paris.lutece.util.ReferenceList |
selectLinkPagesList()
Load the list of all the pages of the website |
int |
selectMaxOrder(int nPortletId)
Calculate a new primary key to add a new linkPage |
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
|
void |
storeLinkPageOrder(int nOrder,
int nPortletId,
int nLinkPageId)
Update the order of a specified link page in a specified portlet |
boolean |
testDuplicate(int nPortletId,
int nLinkPageId)
Check if a specified link page is not already registered in a specified portlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkPagesPortletDAO()
| Method Detail |
|---|
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert in interface ILinkPagesPortletDAOinsert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOpublic void delete(int nPortletId)
delete in interface ILinkPagesPortletDAOdelete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - Identifier portletpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface ILinkPagesPortletDAOload in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The LinkdPagesPortlet identifier
public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
throws fr.paris.lutece.portal.service.util.AppException
store in interface ILinkPagesPortletDAOstore in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOfr.paris.lutece.portal.service.util.AppExceptionpublic fr.paris.lutece.util.ReferenceList selectLinkPagesList()
selectLinkPagesList in interface ILinkPagesPortletDAOpublic int selectMaxOrder(int nPortletId)
selectMaxOrder in interface ILinkPagesPortletDAOnPortletId - The identifier of the portlet
public java.util.List<fr.paris.lutece.portal.business.page.Page> selectLinkPagesInPortletList(int nPortletId)
selectLinkPagesInPortletList in interface ILinkPagesPortletDAOnPortletId - The identifier of the portlet
public int selectLinkPageOrder(int nPortletId,
int nPageId)
selectLinkPageOrder in interface ILinkPagesPortletDAOnPortletId - The identifier of the portlet to checknPageId - The identifier of the page
public int selectLinkPageIdByOrder(int nPortletId,
int nOrder)
selectLinkPageIdByOrder in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletnOrder - The link page's order
public void storeLinkPageOrder(int nOrder,
int nPortletId,
int nLinkPageId)
storeLinkPageOrder in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletnLinkPageId - The identifier of the link pagenOrder - The new order
public void deleteLinkPage(int nPortletId,
int nLinkPageId)
deleteLinkPage in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletnLinkPageId - The identifier of the link pagepublic void deleteAllLinkPages(int nPortletId)
deleteAllLinkPages in interface ILinkPagesPortletDAOnPortletId - The identifier of the portlet
public boolean testDuplicate(int nPortletId,
int nLinkPageId)
testDuplicate in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletnLinkPageId - The identifier of the link page
public void insertLinkPage(int nPortletId,
int nLinkPageId,
int nOrder)
insertLinkPage in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletnLinkPageId - The identifier of the link pagenOrder - The order of the portlet to insert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||