org.exoplatform.services.wsrp2.producer.impl
Class PortletManagementOperationsInterfaceImpl

java.lang.Object
  extended by org.exoplatform.services.wsrp2.producer.impl.PortletManagementOperationsInterfaceImpl
All Implemented Interfaces:
PortletManagementOperationsInterface

public class PortletManagementOperationsInterfaceImpl
extends java.lang.Object
implements PortletManagementOperationsInterface

Author:
Mestrallet Benjamin benjmestrallet@users.sourceforge.net

Constructor Summary
PortletManagementOperationsInterfaceImpl(PersistentStateManager stateManager, PortletContainerProxy portletContainerProxy)
           
 
Method Summary
 PortletContext clonePortlet(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, Lifetime lifetime)
           
 CopyPortletsResponse copyPortlets(RegistrationContext toRegistrationContext, UserContext toUserContext, RegistrationContext fromRegistrationContext, UserContext fromUserContext, PortletContext[] fromPortletContexts, Lifetime lifetime)
           
 DestroyPortletsResponse destroyPortlets(RegistrationContext registrationContext, java.lang.String[] portletHandles, UserContext userContext)
           
 ExportPortletsResponse exportPortlets(RegistrationContext registrationContext, PortletContext[] portletContexts, UserContext userContext, Lifetime lifetime, boolean exportByValueRequired)
           
 PortletDescriptionResponse getPortletDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, java.lang.String[] desiredLocales)
           
 PropertyList getPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, java.lang.String[] names)
           
 PortletPropertyDescriptionResponse getPortletPropertyDescription(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, java.lang.String[] desiredLocales)
           
 GetPortletsLifetimeResponse getPortletsLifetime(RegistrationContext registrationContext, PortletContext[] portletContexts, UserContext userContext)
           
 ImportPortletsResponse importPortlets(RegistrationContext registrationContext, byte[] importContext, ImportPortlet[] importPortlets, UserContext userContext, Lifetime lifetime)
           
 ReturnAny releaseExport(byte[] exportContext, UserContext userContext, RegistrationContext registrationContext)
           
 Lifetime setExportLifetime(RegistrationContext registrationContext, byte[] exportContext, UserContext userContext, Lifetime lifetime)
           
 PortletContext setPortletProperties(RegistrationContext registrationContext, PortletContext portletContext, UserContext userContext, PropertyList propertyList)
           
 SetPortletsLifetimeResponse setPortletsLifetime(RegistrationContext registrationContext, PortletContext[] portletContexts, UserContext userContext, Lifetime lifetime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletManagementOperationsInterfaceImpl

public PortletManagementOperationsInterfaceImpl(PersistentStateManager stateManager,
                                                PortletContainerProxy portletContainerProxy)
Method Detail

clonePortlet

public PortletContext clonePortlet(RegistrationContext registrationContext,
                                   PortletContext portletContext,
                                   UserContext userContext,
                                   Lifetime lifetime)
                            throws java.rmi.RemoteException
Specified by:
clonePortlet in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

copyPortlets

public CopyPortletsResponse copyPortlets(RegistrationContext toRegistrationContext,
                                         UserContext toUserContext,
                                         RegistrationContext fromRegistrationContext,
                                         UserContext fromUserContext,
                                         PortletContext[] fromPortletContexts,
                                         Lifetime lifetime)
                                  throws java.rmi.RemoteException
Specified by:
copyPortlets in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

exportPortlets

public ExportPortletsResponse exportPortlets(RegistrationContext registrationContext,
                                             PortletContext[] portletContexts,
                                             UserContext userContext,
                                             Lifetime lifetime,
                                             boolean exportByValueRequired)
                                      throws java.rmi.RemoteException
Specified by:
exportPortlets in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

importPortlets

public ImportPortletsResponse importPortlets(RegistrationContext registrationContext,
                                             byte[] importContext,
                                             ImportPortlet[] importPortlets,
                                             UserContext userContext,
                                             Lifetime lifetime)
                                      throws java.rmi.RemoteException
Specified by:
importPortlets in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

releaseExport

public ReturnAny releaseExport(byte[] exportContext,
                               UserContext userContext,
                               RegistrationContext registrationContext)
Specified by:
releaseExport in interface PortletManagementOperationsInterface

setExportLifetime

public Lifetime setExportLifetime(RegistrationContext registrationContext,
                                  byte[] exportContext,
                                  UserContext userContext,
                                  Lifetime lifetime)
                           throws java.rmi.RemoteException
Specified by:
setExportLifetime in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

destroyPortlets

public DestroyPortletsResponse destroyPortlets(RegistrationContext registrationContext,
                                               java.lang.String[] portletHandles,
                                               UserContext userContext)
                                        throws java.rmi.RemoteException
Specified by:
destroyPortlets in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

getPortletsLifetime

public GetPortletsLifetimeResponse getPortletsLifetime(RegistrationContext registrationContext,
                                                       PortletContext[] portletContexts,
                                                       UserContext userContext)
                                                throws java.rmi.RemoteException
Specified by:
getPortletsLifetime in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

setPortletsLifetime

public SetPortletsLifetimeResponse setPortletsLifetime(RegistrationContext registrationContext,
                                                       PortletContext[] portletContexts,
                                                       UserContext userContext,
                                                       Lifetime lifetime)
                                                throws java.rmi.RemoteException
Specified by:
setPortletsLifetime in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

getPortletDescription

public PortletDescriptionResponse getPortletDescription(RegistrationContext registrationContext,
                                                        PortletContext portletContext,
                                                        UserContext userContext,
                                                        java.lang.String[] desiredLocales)
                                                 throws java.rmi.RemoteException
Specified by:
getPortletDescription in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

setPortletProperties

public PortletContext setPortletProperties(RegistrationContext registrationContext,
                                           PortletContext portletContext,
                                           UserContext userContext,
                                           PropertyList propertyList)
                                    throws java.rmi.RemoteException
Specified by:
setPortletProperties in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

getPortletProperties

public PropertyList getPortletProperties(RegistrationContext registrationContext,
                                         PortletContext portletContext,
                                         UserContext userContext,
                                         java.lang.String[] names)
                                  throws java.rmi.RemoteException
Specified by:
getPortletProperties in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException

getPortletPropertyDescription

public PortletPropertyDescriptionResponse getPortletPropertyDescription(RegistrationContext registrationContext,
                                                                        PortletContext portletContext,
                                                                        UserContext userContext,
                                                                        java.lang.String[] desiredLocales)
                                                                 throws java.rmi.RemoteException
Specified by:
getPortletPropertyDescription in interface PortletManagementOperationsInterface
Throws:
java.rmi.RemoteException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.