Class AliasPortletHome
- java.lang.Object
-
- fr.paris.lutece.portal.business.portlet.PortletHome
-
- fr.paris.lutece.portal.business.portlet.AliasPortletHome
-
- All Implemented Interfaces:
PortletHomeInterface
public class AliasPortletHome extends PortletHome
This class provides instances management methods for AliasPortlet objects
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<Portlet>getAcceptAliasPortletList()Returns the list of the portlets which accept an aliasstatic ReferenceListgetAcceptAliasPortletRefList()Returns the Reference list of the portlets which accept an aliasstatic intgetAliasId(int nIdPortlet)Returns the portlet alias identifier of the portlet whose identifier is specified in parameterIPortletInterfaceDAOgetDAO()Returns the instance of the FolderListingPortletDAO singletonstatic PortletHomegetInstance()Returns the instance of AliasPortletHomestatic ReferenceListgetPortletsByTypeList(java.lang.String strPortletTypeId)Loads the list of the portlets whose type is the same as the one specified in parameterjava.lang.StringgetPortletTypeId()Returns the identifier of the alias portlet type-
Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, getXslFile, getXslSource, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updatePosition, updateStatus
-
-
-
-
Method Detail
-
getPortletTypeId
public java.lang.String getPortletTypeId()
Returns the identifier of the alias portlet type- Returns:
- the portlet type identifier
-
getInstance
public static PortletHome getInstance()
Returns the instance of AliasPortletHome- Returns:
- the AliasPortletHome instance
-
getDAO
public IPortletInterfaceDAO getDAO()
Returns the instance of the FolderListingPortletDAO singleton- Returns:
- the instance of the FolderListingPortletDAO
-
getAliasId
public static int getAliasId(int nIdPortlet)
Returns the portlet alias identifier of the portlet whose identifier is specified in parameter- Parameters:
nIdPortlet- the identifier of the portlet- Returns:
- the identifier of the alias portlet
-
getAcceptAliasPortletRefList
public static ReferenceList getAcceptAliasPortletRefList()
Returns the Reference list of the portlets which accept an alias- Returns:
- the list of the portlets in form of ReferenceList
-
getAcceptAliasPortletList
public static java.util.Collection<Portlet> getAcceptAliasPortletList()
Returns the list of the portlets which accept an alias- Returns:
- the list of the portlets
-
getPortletsByTypeList
public static ReferenceList getPortletsByTypeList(java.lang.String strPortletTypeId)
Loads the list of the portlets whose type is the same as the one specified in parameter- Parameters:
strPortletTypeId- the portlet type identifier- Returns:
- the list of the portlets in form of a ReferenceList
-
-