Package lumis.service.wsrp.consumer
Class RemotePortletManagementManagerV1
- java.lang.Object
-
- lumis.service.wsrp.consumer.RemotePortletManagementManagerV1
-
- All Implemented Interfaces:
RemotePortletManagementManager
public class RemotePortletManagementManagerV1 extends java.lang.Object implements RemotePortletManagementManager
Remote portlet manager implementation for version 1.- Since:
- 6.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description RemotePortletManagementManagerV1(java.net.URL producerURL, com.sun.portal.wsrp.common.stubs.v2.RegistrationContext registrationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
clonePortlet(java.lang.String portletHandle)
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 PortletDescription for the given portletHandle.java.lang.String
getPortletName(java.lang.String portletHandle)
Returns the portlet display name.java.util.Properties
getPortletProperties(java.lang.String portletHandle)
Returns the portlet properties.java.lang.String
getPortletPropertyDescription(java.lang.String portletHandle, java.lang.String propertyName)
Returns the portlet property description.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: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 java.lang.String getDescriptionFromPortlet(java.lang.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(java.lang.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 java.lang.String clonePortlet(java.lang.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 java.util.Properties getPortletProperties(java.lang.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 java.lang.String getPortletPropertyDescription(java.lang.String portletHandle, java.lang.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(java.lang.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(java.lang.String portletHandle, java.util.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
-
-