Liferay 6.2-ce-ga5

com.liferay.portal.service
Class StagingLocalServiceUtil

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

@ProviderType
public class StagingLocalServiceUtil
extends Object

Provides the local service utility for Staging. This utility wraps 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, StagingLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
StagingLocalServiceUtil()
           
 
Method Summary
static void checkDefaultLayoutSetBranches(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext)
           
static void cleanUpStagingRequest(long stagingRequestId)
           
static long createStagingRequest(long userId, long groupId, String checksum)
           
static void disableStaging(Group liveGroup, ServiceContext serviceContext)
           
static void disableStaging(PortletRequest portletRequest, Group liveGroup, ServiceContext serviceContext)
           
static void enableLocalStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext)
           
static void enableRemoteStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext)
           
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

checkDefaultLayoutSetBranches

public static void checkDefaultLayoutSetBranches(long userId,
                                                 Group liveGroup,
                                                 boolean branchingPublic,
                                                 boolean branchingPrivate,
                                                 boolean remote,
                                                 ServiceContext serviceContext)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

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

disableStaging

public static void disableStaging(Group liveGroup,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

disableStaging

public static void disableStaging(PortletRequest portletRequest,
                                  Group liveGroup,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

enableLocalStaging

public static void enableLocalStaging(long userId,
                                      Group liveGroup,
                                      boolean branchingPublic,
                                      boolean branchingPrivate,
                                      ServiceContext serviceContext)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

enableRemoteStaging

public static void enableRemoteStaging(long userId,
                                       Group liveGroup,
                                       boolean branchingPublic,
                                       boolean branchingPrivate,
                                       String remoteAddress,
                                       int remotePort,
                                       String remotePathContext,
                                       boolean secureConnection,
                                       long remoteGroupId,
                                       ServiceContext serviceContext)
                                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-ce-ga5