Package lumis.service.wsrp.consumer
Class PortletServiceManager
- java.lang.Object
-
- lumis.service.wsrp.consumer.PortletServiceManager
-
- All Implemented Interfaces:
IPortletServiceManager
public class PortletServiceManager extends 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 String
clonePortlet(String portletHandle, String friendlyName)
Clones a portlet.String
getDescriptionFromPortlet(String portletHandle)
Returns the description from portlet.com.sun.portal.wsrp.common.stubs.v2.PortletDescription
getPortletDescription(String portletHandle)
Returns the portlet description.String
getPortletName(String portletHandle)
Returns the portlet name.Properties
getPortletProperties(String portletHandle)
Returns the portlet properties.void
removeClone(String portletHandle)
Removes the clone.void
setPortletProperties(String portletHandle, Properties properties)
Sets the portlet properties.
-
-
-
Method Detail
-
getPortletName
public String getPortletName(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 String getDescriptionFromPortlet(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 String clonePortlet(String portletHandle, 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 Properties getPortletProperties(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(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(String portletHandle, 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(String portletHandle) throws PortalException
Description copied from interface:IPortletServiceManager
Removes the clone.- Specified by:
removeClone
in interfaceIPortletServiceManager
- Parameters:
portletHandle
- the portlet handle.- Throws:
PortalException
-
-