Class AliasPortletHome
java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.portal.business.portlet.AliasPortletHome
- All Implemented Interfaces:
PortletHomeInterface
This class provides instances management methods for AliasPortlet objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Portlet>Returns the list of the portlets which accept an aliasstatic ReferenceListReturns 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 parametergetDAO()Returns the instance of the FolderListingPortletDAO singletonstatic PortletHomeReturns the instance of AliasPortletHomestatic ReferenceListgetPortletsByTypeList(String strPortletTypeId) Loads the list of the portlets whose type is the same as the one specified in parameterReturns the identifier of the alias portlet typeMethods 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 Details
-
getPortletTypeId
Returns the identifier of the alias portlet type- Returns:
- the portlet type identifier
-
getInstance
Returns the instance of AliasPortletHome- Returns:
- the AliasPortletHome instance
-
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
Returns the Reference list of the portlets which accept an alias- Returns:
- the list of the portlets in form of ReferenceList
-
getAcceptAliasPortletList
Returns the list of the portlets which accept an alias- Returns:
- the list of the portlets
-
getPortletsByTypeList
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
-