public interface ILinksPortletDAO
extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nPortletId)
Deletes the portlet whose identifier is specified in parameter
|
void |
deleteLink(int nPortletId,
int nLinkId)
Remove a specified link from a specified portlet
|
fr.paris.lutece.util.ReferenceList |
findUnselectedPortlets()
Finds the portlets which have not been selected in the links page
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert the portlet
|
void |
insertLink(int nPortletId,
int nLinkId,
int nOrder)
Insert a new record in the table.
|
void |
insertPortlet(int nPortletId,
int nOrder)
Insert a new portlet in the links page
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Load the portlet whose identifier is specified in parameter
|
void |
removeLinkFromPortlets(int nLinkId)
Removes a link from all the portlets
|
void |
removePortlet(int nPortletId)
Remove a portlet from the links page
|
int |
selectLinkIdByOrder(int nPortletId,
int nOrder)
Returns the id of an link wich has a specified order in a specified portlet
|
int |
selectLinkOrder(int nPortletId,
int nLinkId)
Return the order of a specified link in a specified portlet
|
Collection<Link> |
selectLinksInPortletList(int nPortletId)
Return a list of links wich belong to a specified portlet
|
fr.paris.lutece.util.ReferenceList |
selectLinksList()
Returns a list of all the links
|
int |
selectMaxOrder(int nPortletId)
Calculate a new primary key to add a new link
|
int |
selectPortletIdByOrder(int nOrder)
Selects a portlet Id from the links page by its order
|
int |
selectPortletMaxOrder()
Returns the maximum order of the portlets in the links page
|
int |
selectPortletOrder(int nPortletId)
Selects the order of a portlet in the links page
|
Collection<fr.paris.lutece.portal.business.portlet.Portlet> |
selectPortletsInLinksPage()
Selects the list of the portlets in the links page
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the portlet
|
void |
storeLinkOrder(int nOrder,
int nPortletId,
int nLinkId)
Update the order of a specified link in a specified portlet
|
void |
storePortletOrder(int nOrder,
int nPortletId)
Stores the order of a portlet in the links page
|
boolean |
testDuplicate(int nPortletId,
int nLinkId)
Check if a specified links is not already registered in a specified portlet
|
void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- The Portlet objectvoid insertLink(int nPortletId, int nLinkId, int nOrder)
nPortletId
- The identifier of the portletnLinkId
- The identifier of the linknOrder
- The order of the portlet to insertvoid deleteLink(int nPortletId, int nLinkId)
nPortletId
- The identifier of the portletnLinkId
- The identifier of the linkvoid delete(int nPortletId)
delete
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- The identifier of the portletfr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- the identifier of the portletvoid store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- The portlet objectfr.paris.lutece.util.ReferenceList selectLinksList()
boolean testDuplicate(int nPortletId, int nLinkId)
nPortletId
- The identifier of the portletnLinkId
- The identifier of the linkCollection<Link> selectLinksInPortletList(int nPortletId)
nPortletId
- The identifier of the portletint selectLinkOrder(int nPortletId, int nLinkId)
nPortletId
- The identifier of the portletnLinkId
- The identifier of the linkint selectMaxOrder(int nPortletId)
nPortletId
- The identifier of the portletint selectPortletMaxOrder()
void storeLinkOrder(int nOrder, int nPortletId, int nLinkId)
nPortletId
- The identifier of the portletnLinkId
- The identifier of the linknOrder
- The new orderint selectLinkIdByOrder(int nPortletId, int nOrder)
nPortletId
- The identifier of the portletnOrder
- The link's orderfr.paris.lutece.util.ReferenceList findUnselectedPortlets()
Collection<fr.paris.lutece.portal.business.portlet.Portlet> selectPortletsInLinksPage()
int selectPortletOrder(int nPortletId)
nPortletId
- The identifier of the portletvoid removePortlet(int nPortletId)
nPortletId
- The identifier of the portletvoid removeLinkFromPortlets(int nLinkId)
nLinkId
- The identifier of the linkvoid insertPortlet(int nPortletId, int nOrder)
nPortletId
- The identifier of the portletnOrder
- The order of the portletint selectPortletIdByOrder(int nOrder)
nOrder
- The order of the portletvoid storePortletOrder(int nOrder, int nPortletId)
nOrder
- The order of the portletnPortletId
- The identifier of the portletCopyright © 2018 City of Paris. All rights reserved.