|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.plugins.linkpages.business.portlet.LinkPagesPortletHome
public class LinkPagesPortletHome
This class provides instances management methods for LinkPagesPortlet objects
| Constructor Summary | |
|---|---|
LinkPagesPortletHome()
Constructor |
|
| Method Summary | |
|---|---|
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO |
getDAO()
Returns the instance of the LinkPagesPortletDAO singleton |
static fr.paris.lutece.portal.business.portlet.PortletHome |
getInstance()
Returns the instance of LinkPagesPortletHome |
static int |
getLinkPageIdByOrder(int nPortletId,
int nOrder)
Return the Id of a link page by his order in a portlet |
static int |
getLinkPageOrder(int nPortletId,
int nLinkPageId)
Return the order of a link page in a specified portlet |
static java.util.List<fr.paris.lutece.portal.business.page.Page> |
getLinkPagesInPortletList(int nPortletId)
Returns the list of linkpages in a specified portlet |
static fr.paris.lutece.util.ReferenceList |
getLinkPagesList()
Returns the list of all the pages of the website |
static int |
getMaxOrder(int nPortletId)
Return the max order of a portlet |
java.lang.String |
getPortletTypeId()
Returns the identifier of the link pages portlet type |
static void |
insertLinkPage(int nPortletId,
int nLinkPageId,
int nOrder)
Insert a specified link page in a specified link page's portlet with a specified order |
static void |
removeAllLinkPages(int nPortletId)
Remove all the link pages of a portlet |
static void |
removeLinkPage(int nPortletId,
int nLinkPageId)
Remove a link page of a portlet |
static boolean |
testDuplicate(int nPortletId,
int nLinkPageId)
Verify if a link page is already in a portlet |
static void |
updateLinkPageOrder(int nOrder,
int nPortletId,
int nLinkPageId)
Update the order of a specified link page in a specified portlet |
| Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome |
|---|
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, remove, update, updateStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkPagesPortletHome()
| Method Detail |
|---|
public java.lang.String getPortletTypeId()
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
public static fr.paris.lutece.util.ReferenceList getLinkPagesList()
public static int getMaxOrder(int nPortletId)
nPortletId - The identifier of the portlet
public static java.util.List<fr.paris.lutece.portal.business.page.Page> getLinkPagesInPortletList(int nPortletId)
nPortletId - The identifier of the portlet to check
public static int getLinkPageOrder(int nPortletId,
int nLinkPageId)
nPortletId - The identifier of the portlet to checknLinkPageId - The identifier of the page
public static int getLinkPageIdByOrder(int nPortletId,
int nOrder)
nPortletId - The identifier of the portlet in wich the linkpage is inscribednOrder - The order of the linkpage
public static void updateLinkPageOrder(int nOrder,
int nPortletId,
int nLinkPageId)
nOrder - The new order of the link pagenPortletId - The identifier of the portlet to updatenLinkPageId - The identifier of the link page who has a new order
public static void removeLinkPage(int nPortletId,
int nLinkPageId)
nPortletId - The identifier of the portlet from wich the link page is removednLinkPageId - The identifier of the link page to removepublic static void removeAllLinkPages(int nPortletId)
nPortletId - The identifier of the portlet from wich the link page is removed
public static boolean testDuplicate(int nPortletId,
int nLinkPageId)
nPortletId - The identifier of the portlet to checknLinkPageId - The identifier of the link page to inscribe
public static void insertLinkPage(int nPortletId,
int nLinkPageId,
int nOrder)
nPortletId - The identifier of the portlet to be insertednLinkPageId - The identifier of the link page to insertnOrder - The order of the inserted link page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||