public interface ILinkPagesPortletDAO
extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
| 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
|
void delete(int nPortletId)
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - Identifier portletvoid deleteAllLinkPages(int nPortletId)
nPortletId - The identifier of the portletvoid deleteLinkPage(int nPortletId,
int nLinkPageId)
nPortletId - The identifier of the portletnLinkPageId - The identifier of the link pagevoid insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
throws fr.paris.lutece.portal.service.util.AppException
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOfr.paris.lutece.portal.service.util.AppExceptionvoid insertLinkPage(int nPortletId,
int nLinkPageId,
int nOrder)
nPortletId - The identifier of the portletnLinkPageId - The identifier of the link pagenOrder - The order of the portlet to insertfr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The LinkdPagesPortlet identifierint selectLinkPageIdByOrder(int nPortletId,
int nOrder)
nPortletId - The identifier of the portletnOrder - The link page's orderint selectLinkPageOrder(int nPortletId,
int nPageId)
nPortletId - The identifier of the portlet to checknPageId - The identifier of the pageList<fr.paris.lutece.portal.business.page.Page> selectLinkPagesInPortletList(int nPortletId)
nPortletId - The identifier of the portletfr.paris.lutece.util.ReferenceList selectLinkPagesList()
int selectMaxOrder(int nPortletId)
nPortletId - The identifier of the portletvoid store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
throws fr.paris.lutece.portal.service.util.AppException
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOfr.paris.lutece.portal.service.util.AppExceptionvoid storeLinkPageOrder(int nOrder,
int nPortletId,
int nLinkPageId)
nPortletId - The identifier of the portletnLinkPageId - The identifier of the link pagenOrder - The new orderboolean testDuplicate(int nPortletId,
int nLinkPageId)
nPortletId - The identifier of the portletnLinkPageId - The identifier of the link pageCopyright © 2015 Mairie de Paris. All rights reserved.