public class StagingServiceUtil
extends Object
com.liferay.portlet.exportimport.service.impl.StagingServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.StagingService
Constructor and Description |
---|
StagingServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanUpStagingRequest(long stagingRequestId) |
static long |
createStagingRequest(long groupId,
String checksum) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static StagingService |
getService() |
static boolean |
hasRemoteLayout(String uuid,
long groupId,
boolean privateLayout) |
static void |
propagateExportImportLifecycleEvent(int code,
int processFlag,
String processId,
List<Serializable> arguments) |
static MissingReferences |
publishStagingRequest(long stagingRequestId,
ExportImportConfiguration exportImportConfiguration) |
static void |
updateStagingRequest(long stagingRequestId,
String fileName,
byte[] bytes) |
public static void cleanUpStagingRequest(long stagingRequestId) throws PortalException
PortalException
public static long createStagingRequest(long groupId, String checksum) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static boolean hasRemoteLayout(String uuid, long groupId, boolean privateLayout) throws PortalException
PortalException
public static void propagateExportImportLifecycleEvent(int code, int processFlag, String processId, List<Serializable> arguments) throws PortalException
PortalException
public static MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalException
public static void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes) throws PortalException
PortalException
public static StagingService getService()