Package lumis.service.wsrp.consumer
Class PortletServiceManager
- java.lang.Object
-
- lumis.service.wsrp.consumer.PortletServiceManager
-
- All Implemented Interfaces:
IPortletServiceManager
public class PortletServiceManager extends java.lang.Object implements IPortletServiceManager
Portlet service manager.- Since:
- 6.0.0
- Version:
- $Revision: 16824 $ $Date: 2015-01-23 18:49:12 -0200 (Fri, 23 Jan 2015) $
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
clonePortlet(java.lang.String portletHandle, java.lang.String friendlyName)
Clones a portlet.java.lang.String
getDescriptionFromPortlet(java.lang.String portletHandle)
Returns the description from portlet.com.sun.portal.wsrp.common.stubs.v2.PortletDescription
getPortletDescription(java.lang.String portletHandle)
Returns the portlet description.java.lang.String
getPortletName(java.lang.String portletHandle)
Returns the portlet name.java.util.Properties
getPortletProperties(java.lang.String portletHandle)
Returns the portlet properties.void
removeClone(java.lang.String portletHandle)
Removes the clone.void
setPortletProperties(java.lang.String portletHandle, java.util.Properties properties)
Sets the portlet properties.
-
-
-
Method Detail
-
getPortletName
public java.lang.String getPortletName(java.lang.String portletHandle) throws PortalException
Description copied from interface:IPortletServiceManager
Returns the portlet name.- Specified by:
getPortletName
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the portlet name.
- Throws:
PortalException
-
getDescriptionFromPortlet
public java.lang.String getDescriptionFromPortlet(java.lang.String portletHandle) throws PortalException
Description copied from interface:IPortletServiceManager
Returns the description from portlet.- Specified by:
getDescriptionFromPortlet
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the description.
- Throws:
PortalException
-
clonePortlet
public java.lang.String clonePortlet(java.lang.String portletHandle, java.lang.String friendlyName) throws PortalException
Description copied from interface:IPortletServiceManager
Clones a portlet.- Specified by:
clonePortlet
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.friendlyName
- the cloned portlet display name.- Returns:
- the portletHandle of the cloned portlet.
- Throws:
PortalException
-
getPortletProperties
public java.util.Properties getPortletProperties(java.lang.String portletHandle) throws PortalException
Description copied from interface:IPortletServiceManager
Returns the portlet properties.- Specified by:
getPortletProperties
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the properties of the portlet.
- Throws:
PortalException
-
getPortletDescription
public com.sun.portal.wsrp.common.stubs.v2.PortletDescription getPortletDescription(java.lang.String portletHandle) throws PortalException
Description copied from interface:IPortletServiceManager
Returns the portlet description.- Specified by:
getPortletDescription
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- an instance of PortletDescription.
- Throws:
PortalException
-
setPortletProperties
public void setPortletProperties(java.lang.String portletHandle, java.util.Properties properties) throws PortalException
Description copied from interface:IPortletServiceManager
Sets the portlet properties.- Specified by:
setPortletProperties
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.properties
- the new properties.- Throws:
PortalException
-
removeClone
public void removeClone(java.lang.String portletHandle) throws PortalException
Description copied from interface:IPortletServiceManager
Removes the clone.- Specified by:
removeClone
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.- Throws:
PortalException
-
-