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 TypeMethodDescriptionvoid
cleanUpStagingRequest
(long stagingRequestId) long
createStagingRequest
(long groupId, String checksum) void
enableLocalStaging
(long groupId, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) void
enableRemoteStaging
(long groupId, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext) Returns the OSGi service identifier.boolean
hasRemoteLayout
(String uuid, long groupId, boolean privateLayout) void
propagateExportImportLifecycleEvent
(int code, int processFlag, String processId, List<Serializable> arguments) publishStagingRequest
(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) void
setWrappedService
(StagingService stagingService) void
updateStagingRequest
(long stagingRequestId, String fileName, byte[] bytes)
-
Constructor Details
-
StagingServiceWrapper
public StagingServiceWrapper() -
StagingServiceWrapper
-
-
Method Details
-
cleanUpStagingRequest
- Specified by:
cleanUpStagingRequest
in interfaceStagingService
- Throws:
PortalException
-
createStagingRequest
- Specified by:
createStagingRequest
in interfaceStagingService
- Throws:
PortalException
-
enableLocalStaging
public void enableLocalStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) throws PortalException - Specified by:
enableLocalStaging
in 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:
enableRemoteStaging
in interfaceStagingService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceStagingService
- Returns:
- the OSGi service identifier
-
hasRemoteLayout
public boolean hasRemoteLayout(String uuid, long groupId, boolean privateLayout) throws PortalException - Specified by:
hasRemoteLayout
in interfaceStagingService
- Throws:
PortalException
-
propagateExportImportLifecycleEvent
public void propagateExportImportLifecycleEvent(int code, int processFlag, String processId, List<Serializable> arguments) throws PortalException - Specified by:
propagateExportImportLifecycleEvent
in interfaceStagingService
- Throws:
PortalException
-
publishStagingRequest
public MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Specified by:
publishStagingRequest
in interfaceStagingService
- Throws:
PortalException
-
updateStagingRequest
public void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes) throws PortalException - Specified by:
updateStagingRequest
in interfaceStagingService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<StagingService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<StagingService>
-