public class LinkPagesPortletHome
extends fr.paris.lutece.portal.business.portlet.PortletHome
Constructor and Description |
---|
LinkPagesPortletHome()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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 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
|
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
|
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updateStatus
public 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 portletpublic static List<fr.paris.lutece.portal.business.page.Page> getLinkPagesInPortletList(int nPortletId)
nPortletId
- The identifier of the portlet to checkpublic static int getLinkPageOrder(int nPortletId, int nLinkPageId)
nPortletId
- The identifier of the portlet to checknLinkPageId
- The identifier of the pagepublic static int getLinkPageIdByOrder(int nPortletId, int nOrder)
nPortletId
- The identifier of the portlet in wich the linkpage is inscribednOrder
- The order of the linkpagepublic 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 orderpublic 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 removedpublic static boolean testDuplicate(int nPortletId, int nLinkPageId)
nPortletId
- The identifier of the portlet to checknLinkPageId
- The identifier of the link page to inscribepublic 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 pageCopyright © 2015 Mairie de Paris. All rights reserved.