Interface StagingLocalService
- All Superinterfaces:
BaseLocalService
- All Known Implementing Classes:
StagingLocalServiceWrapper
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface StagingLocalService
extends BaseLocalService
Provides the local service interface for Staging. Methods of this
service will not have security checks based on the propagated JAAS
credentials because this service can only be accessed from within the same
VM.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkDefaultLayoutSetBranches
(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext) void
cleanUpStagingRequest
(long stagingRequestId) long
createStagingRequest
(long userId, long groupId, String checksum) void
disableStaging
(Group liveGroup, ServiceContext serviceContext) void
disableStaging
(PortletRequest portletRequest, Group liveGroup, ServiceContext serviceContext) void
enableLocalStaging
(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) void
enableRemoteStaging
(long userId, Group stagingGroup, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext) Returns the OSGi service identifier.publishStagingRequest
(long userId, long stagingRequestId, ExportImportConfiguration exportImportConfiguration) void
updateStagingRequest
(long userId, long stagingRequestId, String fileName, byte[] bytes)
-
Method Details
-
checkDefaultLayoutSetBranches
void checkDefaultLayoutSetBranches(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
cleanUpStagingRequest
- Throws:
PortalException
-
createStagingRequest
- Throws:
PortalException
-
disableStaging
- Throws:
PortalException
-
disableStaging
void disableStaging(PortletRequest portletRequest, Group liveGroup, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
enableLocalStaging
void enableLocalStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
enableRemoteStaging
void enableRemoteStaging(long userId, Group stagingGroup, 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
-
publishStagingRequest
MissingReferences publishStagingRequest(long userId, long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException - Throws:
PortalException
-
updateStagingRequest
void updateStagingRequest(long userId, long stagingRequestId, String fileName, byte[] bytes) throws PortalException - Throws:
PortalException
-