|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.portlet.PortletTypeHome
public final class PortletTypeHome
This class provides instances management methods (create, find, ...) for PortletType objects
Method Summary | |
---|---|
static PortletType |
create(PortletType portletType)
Creation of an instance of an PortletType |
static PortletType |
findByPrimaryKey(java.lang.String strKey)
Returns an instance of an portletType whose identifier is specified in parameter |
static int |
getNbPortletTypeByPortlet(java.lang.String strPortletTypeId)
Search the number of portlet type for a portlet |
static ReferenceList |
getPortletsTypesList(java.util.Locale locale)
Returns the list of the portlet types |
static java.lang.String |
getPortletTypeId(java.lang.String strPluginHomeClass)
Return the id of a portlet type |
static java.util.List<PortletType> |
getPortletTypesList(java.util.Locale locale)
Returns the list of the portlet types |
static void |
remove(java.lang.String strPortletTypeId)
Remove the portlet type whose identifier is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PortletType create(PortletType portletType)
portletType
- An instance of the PortletType which contains the informations to store
public static void remove(java.lang.String strPortletTypeId)
strPortletTypeId
- The identifier of the portlet type to removepublic static PortletType findByPrimaryKey(java.lang.String strKey)
strKey
- The Primary Key of the portletType
public static java.lang.String getPortletTypeId(java.lang.String strPluginHomeClass)
strPluginHomeClass
- The identifier of the portlet
public static int getNbPortletTypeByPortlet(java.lang.String strPortletTypeId)
strPortletTypeId
- The Type Id of portlet
public static ReferenceList getPortletsTypesList(java.util.Locale locale)
public static java.util.List<PortletType> getPortletTypesList(java.util.Locale locale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |