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 void |
propagateExportImportLifecycleEvent(int code,
int processFlag,
String processId,
List<Serializable> arguments) |
static MissingReferences |
publishStagingRequest(long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static MissingReferences |
publishStagingRequest(long stagingRequestId,
ExportImportConfiguration exportImportConfiguration) |
static void |
updateStagingRequest(long stagingRequestId,
String fileName,
byte[] bytes) |
static MissingReferences |
validateStagingRequest(long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated.
As of Wilberforce (7.0.x), replaced by
publishStagingRequest(long, boolean, Map) |
public static void cleanUpStagingRequest(long stagingRequestId)
throws PortalException
PortalExceptionpublic static long createStagingRequest(long groupId,
String checksum)
throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static void propagateExportImportLifecycleEvent(int code,
int processFlag,
String processId,
List<Serializable> arguments)
throws PortalException
PortalException@Deprecated public static MissingReferences publishStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap) throws PortalException
PortalExceptionpublic static MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration) throws PortalException
PortalExceptionpublic static void updateStagingRequest(long stagingRequestId,
String fileName,
byte[] bytes)
throws PortalException
PortalException@Deprecated public static MissingReferences validateStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap) throws PortalException
publishStagingRequest(long, boolean, Map)PortalExceptionpublic static StagingService getService()