Liferay 6.2-ce-ga5

com.liferay.portal.service
Class StagingServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.StagingServiceUtil

@ProviderType
public class StagingServiceUtil
extends Object

Provides the remote service utility for Staging. This utility wraps com.liferay.portal.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, StagingServiceBaseImpl, com.liferay.portal.service.impl.StagingServiceImpl

Constructor Summary
StagingServiceUtil()
           
 
Method Summary
static void cleanUpStagingRequest(long stagingRequestId)
           
static long createStagingRequest(long groupId, String checksum)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static StagingService getService()
           
static void publishStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(StagingService service)
          Deprecated. As of 6.2.0
static void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes)
           
static MissingReferences validateStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
           
 
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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

cleanUpStagingRequest

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

createStagingRequest

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

publishStagingRequest

public static void publishStagingRequest(long stagingRequestId,
                                         boolean privateLayout,
                                         Map<String,String[]> parameterMap)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

updateStagingRequest

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

validateStagingRequest

public static MissingReferences validateStagingRequest(long stagingRequestId,
                                                       boolean privateLayout,
                                                       Map<String,String[]> parameterMap)
                                                throws PortalException,
                                                       SystemException
Throws:
PortalException
SystemException

getService

public static StagingService getService()

setService

public void setService(StagingService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5