Interface StagingService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
StagingServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface StagingService
extends BaseService
Provides the remote service interface for Staging. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
updateStagingRequest
(long stagingRequestId, String fileName, byte[] bytes)
-
Method Details
-
cleanUpStagingRequest
- Throws:
PortalException
-
createStagingRequest
- Throws:
PortalException
-
enableLocalStaging
void enableLocalStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
enableRemoteStaging
void enableRemoteStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
hasRemoteLayout
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasRemoteLayout(String uuid, long groupId, boolean privateLayout) throws PortalException - Throws:
PortalException
-
propagateExportImportLifecycleEvent
void propagateExportImportLifecycleEvent(int code, int processFlag, String processId, List<Serializable> arguments) throws PortalException - Throws:
PortalException
-
publishStagingRequest
MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
updateStagingRequest
void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes) throws PortalException - Throws:
PortalException
-