Liferay 7.0-ce-b4

com.liferay.portlet.exportimport.service
Class StagingServiceUtil

java.lang.Object
  extended by com.liferay.portlet.exportimport.service.StagingServiceUtil

@ProviderType
public class StagingServiceUtil
extends Object

Provides the remote service utility for Staging. This utility wraps com.liferay.portlet.exportimport.service.impl.StagingServiceImpl and is the primary 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.

See Also:
StagingService, com.liferay.portlet.exportimport.service.base.StagingServiceBaseImpl, com.liferay.portlet.exportimport.service.impl.StagingServiceImpl

Constructor Summary
StagingServiceUtil()
           
 
Method Summary
static void cleanUpStagingRequest(long stagingRequestId)
           
static long createStagingRequest(long groupId, String checksum)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static StagingService getService()
           
static MissingReferences publishStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
          Deprecated. As of 7.0.0, 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 7.0.0, replaced by publishStagingRequest(long, boolean, Map)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StagingServiceUtil

public StagingServiceUtil()
Method Detail

cleanUpStagingRequest

public static void cleanUpStagingRequest(long stagingRequestId)
                                  throws PortalException
Throws:
PortalException

createStagingRequest

public static long createStagingRequest(long groupId,
                                        String checksum)
                                 throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

publishStagingRequest

public static MissingReferences publishStagingRequest(long stagingRequestId,
                                                      ExportImportConfiguration exportImportConfiguration)
                                               throws PortalException
Throws:
PortalException

publishStagingRequest

@Deprecated
public static MissingReferences publishStagingRequest(long stagingRequestId,
                                                                 boolean privateLayout,
                                                                 Map<String,String[]> parameterMap)
                                               throws PortalException
Deprecated. As of 7.0.0, with no direct replacement

Throws:
PortalException

updateStagingRequest

public static void updateStagingRequest(long stagingRequestId,
                                        String fileName,
                                        byte[] bytes)
                                 throws PortalException
Throws:
PortalException

validateStagingRequest

@Deprecated
public static MissingReferences validateStagingRequest(long stagingRequestId,
                                                                  boolean privateLayout,
                                                                  Map<String,String[]> parameterMap)
                                                throws PortalException
Deprecated. As of 7.0.0, replaced by publishStagingRequest(long, boolean, Map)

Throws:
PortalException

getService

public static StagingService getService()

Liferay 7.0-ce-b4