Liferay 6.2-ce-ga5

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