Liferay 6.2.0

com.liferay.portal.service
Interface StagingLocalService

All Superinterfaces:
BaseLocalService
All Known Implementing Classes:
StagingLocalServiceBaseImpl, StagingLocalServiceImpl, StagingLocalServiceWrapper

@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface StagingLocalService
extends BaseLocalService

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

Method Summary
abstract  void checkDefaultLayoutSetBranches(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, boolean remote, ServiceContext serviceContext)
           
abstract  void cleanUpStagingRequest(long stagingRequestId)
           
abstract  long createStagingRequest(long userId, long groupId, String checksum)
           
abstract  void disableStaging(Group liveGroup, ServiceContext serviceContext)
           
abstract  void disableStaging(PortletRequest portletRequest, Group liveGroup, ServiceContext serviceContext)
           
abstract  void enableLocalStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, ServiceContext serviceContext)
           
abstract  void enableRemoteStaging(long userId, Group liveGroup, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  void publishStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void updateStagingRequest(long userId, long stagingRequestId, String fileName, byte[] bytes)
           
abstract  MissingReferences validateStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
           
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

checkDefaultLayoutSetBranches

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

cleanUpStagingRequest

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

createStagingRequest

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

disableStaging

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

disableStaging

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

enableLocalStaging

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

enableRemoteStaging

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

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

updateStagingRequest

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

validateStagingRequest

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

Liferay 6.2.0