public final class PortletTypeHome extends Object
Modifier and Type | Method and Description |
---|---|
static PortletType |
create(PortletType portletType)
Creation of an instance of an PortletType
|
static PortletType |
findByPrimaryKey(String strKey)
Returns an instance of an portletType whose identifier is specified in parameter
|
static int |
getNbPortletTypeByPortlet(String strPortletTypeId)
Search the number of portlet type for a portlet
|
static ReferenceList |
getPortletsTypesList(Locale locale)
Returns the list of the portlet types
|
static String |
getPortletTypeId(String strPluginHomeClass)
Return the id of a portlet type
|
static List<PortletType> |
getPortletTypesList(Locale locale)
Returns the list of the portlet types
|
static void |
remove(String strPortletTypeId)
Remove the portlet type whose identifier is specified in parameter
|
public static PortletType create(PortletType portletType)
portletType
- An instance of the PortletType which contains the informations to storepublic static void remove(String strPortletTypeId)
strPortletTypeId
- The identifier of the portlet type to removepublic static PortletType findByPrimaryKey(String strKey)
strKey
- The Primary Key of the portletTypepublic static String getPortletTypeId(String strPluginHomeClass)
strPluginHomeClass
- The identifier of the portletpublic static int getNbPortletTypeByPortlet(String strPortletTypeId)
strPortletTypeId
- The Type Id of portletpublic static ReferenceList getPortletsTypesList(Locale locale)
locale
- The localepublic static List<PortletType> getPortletTypesList(Locale locale)
locale
- The localeCopyright © 2020 City of Paris. All rights reserved.