public class LinkPagesPortletDAO extends Object implements ILinkPagesPortletDAO
| Constructor and Description |
|---|
LinkPagesPortletDAO() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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
|
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 identifierpublic 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 portletpublic List<fr.paris.lutece.portal.business.page.Page> selectLinkPagesInPortletList(int nPortletId)
selectLinkPagesInPortletList in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletpublic int selectLinkPageOrder(int nPortletId,
int nPageId)
selectLinkPageOrder in interface ILinkPagesPortletDAOnPortletId - The identifier of the portlet to checknPageId - The identifier of the pagepublic int selectLinkPageIdByOrder(int nPortletId,
int nOrder)
selectLinkPageIdByOrder in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletnOrder - The link page's orderpublic 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 orderpublic 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 portletpublic boolean testDuplicate(int nPortletId,
int nLinkPageId)
testDuplicate in interface ILinkPagesPortletDAOnPortletId - The identifier of the portletnLinkPageId - The identifier of the link pagepublic 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 insertCopyright © 2021 City of Paris. All rights reserved.