Package lumis.service.wsrp.consumer
Class RemotePortletManagementManagerV2
- java.lang.Object
-
- lumis.service.wsrp.consumer.RemotePortletManagementManagerV2
-
- All Implemented Interfaces:
RemotePortletManagementManager
public class RemotePortletManagementManagerV2 extends Object implements RemotePortletManagementManager
Remote portlet manager implementation for version 2.- Since:
- 6.0.0
- Version:
- $Revision: 13092 $ $Date: 2011-05-28 18:19:06 -0300 (Sat, 28 May 2011) $
-
-
Constructor Summary
Constructors Constructor Description RemotePortletManagementManagerV2(URL producerURL, com.sun.portal.wsrp.common.stubs.v2.RegistrationContext registrationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clonePortlet(String portletHandle)
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 PortletDescription for the given portletHandle.String
getPortletName(String portletHandle)
Returns the portlet display name.Properties
getPortletProperties(String portletHandle)
Returns the portlet properties.String
getPortletPropertyDescription(String portletHandle, String propertyName)
Returns the portlet property description.void
removeClone(String portletHandle)
Removes the clone.void
setPortletProperties(String portletHandle, Properties properties)
Sets the portlet properties.
-
-
-
Constructor Detail
-
RemotePortletManagementManagerV2
public RemotePortletManagementManagerV2(URL producerURL, com.sun.portal.wsrp.common.stubs.v2.RegistrationContext registrationContext)
-
-
Method Detail
-
getPortletName
public String getPortletName(String portletHandle) throws PortalException
Description copied from interface:RemotePortletManagementManager
Returns the portlet display name.- Specified by:
getPortletName
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the portlet display name.
- Throws:
PortalException
-
getDescriptionFromPortlet
public String getDescriptionFromPortlet(String portletHandle) throws PortalException
Description copied from interface:RemotePortletManagementManager
Returns the description from portlet.- Specified by:
getDescriptionFromPortlet
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the description from portlet.
- Throws:
PortalException
-
getPortletDescription
public com.sun.portal.wsrp.common.stubs.v2.PortletDescription getPortletDescription(String portletHandle) throws PortalException
Description copied from interface:RemotePortletManagementManager
Returns the PortletDescription for the given portletHandle.- Specified by:
getPortletDescription
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the PortletDescription.
- Throws:
PortalException
-
clonePortlet
public String clonePortlet(String portletHandle) throws PortalException
Description copied from interface:RemotePortletManagementManager
Clones a portlet.- Specified by:
clonePortlet
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the portletHandle of the cloned portlet.
- Throws:
PortalException
-
getPortletProperties
public Properties getPortletProperties(String portletHandle) throws PortalException
Description copied from interface:RemotePortletManagementManager
Returns the portlet properties.- Specified by:
getPortletProperties
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.- Returns:
- the properties of the portlet.
- Throws:
PortalException
-
getPortletPropertyDescription
public String getPortletPropertyDescription(String portletHandle, String propertyName) throws PortalException
Description copied from interface:RemotePortletManagementManager
Returns the portlet property description.- Specified by:
getPortletPropertyDescription
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.propertyName
- the property name.- Returns:
- the portlet property description.
- Throws:
PortalException
-
removeClone
public void removeClone(String portletHandle) throws PortalException
Description copied from interface:RemotePortletManagementManager
Removes the clone.- Specified by:
removeClone
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.- Throws:
PortalException
-
setPortletProperties
public void setPortletProperties(String portletHandle, Properties properties) throws PortalException
Description copied from interface:RemotePortletManagementManager
Sets the portlet properties.- Specified by:
setPortletProperties
in interfaceRemotePortletManagementManager
- Parameters:
portletHandle
- the portlet handle.properties
- the new properties.- Throws:
PortalException
-
-