|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILinksPortletDAO
| Method Summary | |
|---|---|
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 |
java.util.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 |
java.util.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 |
| Method Detail |
|---|
void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - The Portlet object
void insertLink(int nPortletId,
int nLinkId,
int nOrder)
nPortletId - The identifier of the portletnLinkId - The identifier of the linknOrder - The order of the portlet to insert
void 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.IPortletInterfaceDAOnPortletId - The identifier of the portletfr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - the identifier of the portlet
void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - The portlet objectfr.paris.lutece.util.ReferenceList selectLinksList()
boolean testDuplicate(int nPortletId,
int nLinkId)
nPortletId - The identifier of the portletnLinkId - The identifier of the link
java.util.Collection<Link> selectLinksInPortletList(int nPortletId)
nPortletId - The identifier of the portlet
int selectLinkOrder(int nPortletId,
int nLinkId)
nPortletId - The identifier of the portletnLinkId - The identifier of the link
int selectMaxOrder(int nPortletId)
nPortletId - The identifier of the portlet
int selectPortletMaxOrder()
void storeLinkOrder(int nOrder,
int nPortletId,
int nLinkId)
nPortletId - The identifier of the portletnLinkId - The identifier of the linknOrder - The new order
int selectLinkIdByOrder(int nPortletId,
int nOrder)
nPortletId - The identifier of the portletnOrder - The link's order
fr.paris.lutece.util.ReferenceList findUnselectedPortlets()
java.util.Collection<fr.paris.lutece.portal.business.portlet.Portlet> selectPortletsInLinksPage()
int selectPortletOrder(int nPortletId)
nPortletId - The identifier of the portlet
void removePortlet(int nPortletId)
nPortletId - The identifier of the portletvoid removeLinkFromPortlets(int nLinkId)
nLinkId - The identifier of the link
void insertPortlet(int nPortletId,
int nOrder)
nPortletId - The identifier of the portletnOrder - The order of the portletint selectPortletIdByOrder(int nOrder)
nOrder - The order of the portlet
void storePortletOrder(int nOrder,
int nPortletId)
nOrder - The order of the portletnPortletId - The identifier of the portlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||