public class StagingServiceWrapper extends Object implements ServiceWrapper<StagingService>, StagingService
StagingService.StagingService| Constructor and Description |
|---|
StagingServiceWrapper() |
StagingServiceWrapper(StagingService stagingService) |
| Modifier and Type | Method and Description |
|---|---|
void |
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) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
StagingService |
getWrappedService() |
boolean |
hasRemoteLayout(String uuid,
long groupId,
boolean privateLayout) |
void |
propagateExportImportLifecycleEvent(int code,
int processFlag,
String processId,
List<Serializable> arguments) |
MissingReferences |
publishStagingRequest(long stagingRequestId,
ExportImportConfiguration exportImportConfiguration) |
void |
setWrappedService(StagingService stagingService) |
void |
updateStagingRequest(long stagingRequestId,
String fileName,
byte[] bytes) |
public StagingServiceWrapper()
public StagingServiceWrapper(StagingService stagingService)
public void cleanUpStagingRequest(long stagingRequestId)
throws PortalException
cleanUpStagingRequest in interface StagingServicePortalExceptionpublic long createStagingRequest(long groupId,
String checksum)
throws PortalException
createStagingRequest in interface StagingServicePortalExceptionpublic void enableLocalStaging(long groupId,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
throws PortalException
enableLocalStaging in interface StagingServicePortalExceptionpublic void enableRemoteStaging(long groupId,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
throws PortalException
enableRemoteStaging in interface StagingServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface StagingServicepublic boolean hasRemoteLayout(String uuid,
long groupId,
boolean privateLayout)
throws PortalException
hasRemoteLayout in interface StagingServicePortalExceptionpublic void propagateExportImportLifecycleEvent(int code,
int processFlag,
String processId,
List<Serializable> arguments)
throws PortalException
propagateExportImportLifecycleEvent in interface StagingServicePortalExceptionpublic MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException
publishStagingRequest in interface StagingServicePortalExceptionpublic void updateStagingRequest(long stagingRequestId,
String fileName,
byte[] bytes)
throws PortalException
updateStagingRequest in interface StagingServicePortalExceptionpublic StagingService getWrappedService()
getWrappedService in interface ServiceWrapper<StagingService>public void setWrappedService(StagingService stagingService)
setWrappedService in interface ServiceWrapper<StagingService>