Class StagingServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.exportimport.service.base.StagingServiceBaseImpl
com.liferay.portlet.exportimport.service.impl.StagingServiceImpl
- All Implemented Interfaces:
com.liferay.exportimport.kernel.service.StagingService
,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseService
- Author:
- Michael C. Han
-
Field Summary
Fields inherited from class com.liferay.portlet.exportimport.service.base.StagingServiceBaseImpl
counterLocalService, stagingLocalService, stagingService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkPermission
(long stagingRequestId) void
cleanUpStagingRequest
(long stagingRequestId) long
createStagingRequest
(long groupId, String checksum) void
enableLocalStaging
(long groupId, boolean branchingPublic, boolean branchingPrivate, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
enableRemoteStaging
(long groupId, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) boolean
hasRemoteLayout
(String uuid, long groupId, boolean privateLayout) void
propagateExportImportLifecycleEvent
(int code, int processFlag, String processId, List<Serializable> arguments) com.liferay.exportimport.kernel.lar.MissingReferences
publishStagingRequest
(long stagingRequestId, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) void
updateStagingRequest
(long stagingRequestId, String fileName, byte[] bytes) Methods inherited from class com.liferay.portlet.exportimport.service.base.StagingServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getOSGiServiceIdentifier, getStagingLocalService, getStagingService, runSQL, setCounterLocalService, setStagingLocalService, setStagingService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
StagingServiceImpl
public StagingServiceImpl()
-
-
Method Details
-
cleanUpStagingRequest
public void cleanUpStagingRequest(long stagingRequestId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
createStagingRequest
public long createStagingRequest(long groupId, String checksum) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
enableLocalStaging
public void enableLocalStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
enableRemoteStaging
public void enableRemoteStaging(long groupId, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasRemoteLayout
public boolean hasRemoteLayout(String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
propagateExportImportLifecycleEvent
public void propagateExportImportLifecycleEvent(int code, int processFlag, String processId, List<Serializable> arguments) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishStagingRequest
public com.liferay.exportimport.kernel.lar.MissingReferences publishStagingRequest(long stagingRequestId, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStagingRequest
public void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkPermission
protected void checkPermission(long stagingRequestId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-