Liferay 6.2.0-ce-rc4

com.liferay.portal.service
Class StagingLocalServiceUtil

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

public class StagingLocalServiceUtil
extends Object

Provides the local service utility for Staging. This utility wraps com.liferay.portal.service.impl.StagingLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

See Also:
StagingLocalService, StagingLocalServiceBaseImpl, com.liferay.portal.service.impl.StagingLocalServiceImpl

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

StagingLocalServiceUtil

public StagingLocalServiceUtil()
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 userId,
                                        long groupId,
                                        String checksum)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

publishStagingRequest

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

updateStagingRequest

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

validateStagingRequest

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

getService

public static StagingLocalService getService()

setService

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


Liferay 6.2.0-ce-rc4