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 StagingService
PortalException
public long createStagingRequest(long groupId, String checksum) throws PortalException
createStagingRequest
in interface StagingService
PortalException
public void enableLocalStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) throws PortalException
enableLocalStaging
in interface StagingService
PortalException
public 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 StagingService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface StagingService
public boolean hasRemoteLayout(String uuid, long groupId, boolean privateLayout) throws PortalException
hasRemoteLayout
in interface StagingService
PortalException
public void propagateExportImportLifecycleEvent(int code, int processFlag, String processId, List<Serializable> arguments) throws PortalException
propagateExportImportLifecycleEvent
in interface StagingService
PortalException
public MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException
publishStagingRequest
in interface StagingService
PortalException
public void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes) throws PortalException
updateStagingRequest
in interface StagingService
PortalException
public StagingService getWrappedService()
getWrappedService
in interface ServiceWrapper<StagingService>
public void setWrappedService(StagingService stagingService)
setWrappedService
in interface ServiceWrapper<StagingService>