Class StagingServiceWrapper
Object
com.liferay.exportimport.kernel.service.StagingServiceWrapper
- All Implemented Interfaces:
StagingService,BaseService,ServiceWrapper<StagingService>
public class StagingServiceWrapper
extends Object
implements ServiceWrapper<StagingService>, StagingService
Provides a wrapper for
StagingService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUpStagingRequest(long stagingRequestId) longcreateStagingRequest(long groupId, String checksum) voidenableLocalStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) voidenableRemoteStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext) Returns the OSGi service identifier.booleanhasRemoteLayout(String uuid, long groupId, boolean privateLayout) voidpropagateExportImportLifecycleEvent(int code, int processFlag, String processId, List<Serializable> arguments) publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) voidsetWrappedService(StagingService stagingService) voidupdateStagingRequest(long stagingRequestId, String fileName, byte[] bytes)
-
Constructor Details
-
StagingServiceWrapper
public StagingServiceWrapper() -
StagingServiceWrapper
-
-
Method Details
-
cleanUpStagingRequest
- Specified by:
cleanUpStagingRequestin interfaceStagingService- Throws:
PortalException
-
createStagingRequest
- Specified by:
createStagingRequestin interfaceStagingService- Throws:
PortalException
-
enableLocalStaging
public void enableLocalStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) throws PortalException - Specified by:
enableLocalStagingin interfaceStagingService- Throws:
PortalException
-
enableRemoteStaging
public void enableRemoteStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext) throws PortalException - Specified by:
enableRemoteStagingin interfaceStagingService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceStagingService- Returns:
- the OSGi service identifier
-
hasRemoteLayout
public boolean hasRemoteLayout(String uuid, long groupId, boolean privateLayout) throws PortalException - Specified by:
hasRemoteLayoutin interfaceStagingService- Throws:
PortalException
-
propagateExportImportLifecycleEvent
public void propagateExportImportLifecycleEvent(int code, int processFlag, String processId, List<Serializable> arguments) throws PortalException - Specified by:
propagateExportImportLifecycleEventin interfaceStagingService- Throws:
PortalException
-
publishStagingRequest
public MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Specified by:
publishStagingRequestin interfaceStagingService- Throws:
PortalException
-
updateStagingRequest
public void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes) throws PortalException - Specified by:
updateStagingRequestin interfaceStagingService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<StagingService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<StagingService>
-