|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.portlet.PortletHome
public abstract class PortletHome
This class provides instances management methods (create, find, ...) for Portlet objects
| Constructor Summary | |
|---|---|
PortletHome()
|
|
| Method Summary | |
|---|---|
Portlet |
create(Portlet portlet)
Creates a new portlet in the database |
static Portlet |
findByPrimaryKey(int nKey)
Returns the Portlet whose primary key is specified in parameter |
static java.util.List<Portlet> |
findByType(java.lang.String strIdPortletType)
Returns a collection of portlets according to the selected type |
static java.util.Collection<PortletImpl> |
getPortletListByStyle(int nStyleId)
Returns the collection of the StyleSheet objects associated to the Style |
static java.util.Collection<PortletImpl> |
getPortletsListbyName(java.lang.String strPortletName)
Returns the list of portlets for the search on publishing |
static PortletType |
getPortletType(java.lang.String strPortletTypeId)
Returns the instance of the PortletType whose identifier is specified in parameter |
static ReferenceList |
getStylesList(java.lang.String strIdPortletType)
Returns all the styles corresponding to a portlet typeun type de portlet |
static boolean |
hasAlias(int nIdPortlet)
Indicates if the portlet has alias |
static void |
invalidate(int nIdPortlet)
Invalidate a portlet whose identifier is specified in paramaeter |
static void |
invalidate(Portlet portlet)
Invalidate the portlet which is specified in parameter |
void |
remove(Portlet portlet)
Deletes the portlet in the database |
void |
update(Portlet portlet)
Updates a portlet with the values of the specified portlet instance |
static void |
updateStatus(Portlet portlet,
int nStatus)
Update the status of portlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.paris.lutece.portal.business.portlet.PortletHomeInterface |
|---|
getDAO, getPortletTypeId |
| Constructor Detail |
|---|
public PortletHome()
| Method Detail |
|---|
public static Portlet findByPrimaryKey(int nKey)
nKey - the portlet identifier
public static java.util.List<Portlet> findByType(java.lang.String strIdPortletType)
strIdPortletType - the portlet type
public static java.util.Collection<PortletImpl> getPortletsListbyName(java.lang.String strPortletName)
strPortletName - STh name of the portlet
public static ReferenceList getStylesList(java.lang.String strIdPortletType)
strIdPortletType - the identifier of the portlet type
public Portlet create(Portlet portlet)
portlet - An instance of the portlet to create
public void remove(Portlet portlet)
portlet - the portlet to removepublic void update(Portlet portlet)
portlet - portlet to updatepublic static void invalidate(Portlet portlet)
portlet - the portlet instancepublic static void invalidate(int nIdPortlet)
nIdPortlet - the portlet identifierpublic static boolean hasAlias(int nIdPortlet)
nIdPortlet - the portlet identifier
public static void updateStatus(Portlet portlet,
int nStatus)
portlet - the portlet to removenStatus - The status to updatepublic static PortletType getPortletType(java.lang.String strPortletTypeId)
strPortletTypeId - the identifier of the portlet type
public static java.util.Collection<PortletImpl> getPortletListByStyle(int nStyleId)
nStyleId - identifier of the style
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||