Liferay 7.0-ce-b4

com.liferay.portlet.exportimport.service
Class StagingServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.exportimport.service.StagingServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<StagingService>, StagingService

@ProviderType
public class StagingServiceWrapper
extends Object
implements StagingService, ServiceWrapper<StagingService>

Provides a wrapper for StagingService.

See Also:
StagingService

Constructor Summary
StagingServiceWrapper(StagingService stagingService)
           
 
Method Summary
 void cleanUpStagingRequest(long stagingRequestId)
           
 long createStagingRequest(long groupId, String checksum)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 StagingService getWrappedService()
           
 MissingReferences publishStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
          Deprecated. As of 7.0.0, with no direct replacement
 MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration)
           
 void setWrappedService(StagingService stagingService)
           
 void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes)
           
 MissingReferences validateStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
          Deprecated. As of 7.0.0, replaced by publishStagingRequest(long, boolean, Map)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StagingServiceWrapper

public StagingServiceWrapper(StagingService stagingService)
Method Detail

cleanUpStagingRequest

public void cleanUpStagingRequest(long stagingRequestId)
                           throws PortalException
Specified by:
cleanUpStagingRequest in interface StagingService
Throws:
PortalException

createStagingRequest

public long createStagingRequest(long groupId,
                                 String checksum)
                          throws PortalException
Specified by:
createStagingRequest in interface StagingService
Throws:
PortalException

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface StagingService
Returns:
the OSGi service identifier

publishStagingRequest

public MissingReferences publishStagingRequest(long stagingRequestId,
                                               ExportImportConfiguration exportImportConfiguration)
                                        throws PortalException
Specified by:
publishStagingRequest in interface StagingService
Throws:
PortalException

publishStagingRequest

@Deprecated
public MissingReferences publishStagingRequest(long stagingRequestId,
                                                          boolean privateLayout,
                                                          Map<String,String[]> parameterMap)
                                        throws PortalException
Deprecated. As of 7.0.0, with no direct replacement

Specified by:
publishStagingRequest in interface StagingService
Throws:
PortalException

updateStagingRequest

public void updateStagingRequest(long stagingRequestId,
                                 String fileName,
                                 byte[] bytes)
                          throws PortalException
Specified by:
updateStagingRequest in interface StagingService
Throws:
PortalException

validateStagingRequest

@Deprecated
public MissingReferences validateStagingRequest(long stagingRequestId,
                                                           boolean privateLayout,
                                                           Map<String,String[]> parameterMap)
                                         throws PortalException
Deprecated. As of 7.0.0, replaced by publishStagingRequest(long, boolean, Map)

Specified by:
validateStagingRequest in interface StagingService
Throws:
PortalException

getWrappedService

public StagingService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<StagingService>

setWrappedService

public void setWrappedService(StagingService stagingService)
Specified by:
setWrappedService in interface ServiceWrapper<StagingService>

Liferay 7.0-ce-b4