lumis.service.wsrp.consumer
Class PortletServiceManager

Package class diagram package PortletServiceManager
java.lang.Object
  extended by lumis.service.wsrp.consumer.PortletServiceManager
All Implemented Interfaces:
IPortletServiceManager

public class PortletServiceManager
extends Object
implements IPortletServiceManager

Portlet service manager.

Since:
6.0.0

Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPortletName

public String getPortletName(String portletHandle)
                      throws PortalException
Description copied from interface: IPortletServiceManager
Returns the portlet name.

Specified by:
getPortletName in interface IPortletServiceManager
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 interface IPortletServiceManager
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 interface IPortletServiceManager
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 interface IPortletServiceManager
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 interface IPortletServiceManager
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 interface IPortletServiceManager
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 interface IPortletServiceManager
Parameters:
portletHandle - the portlet handle.
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.