Liferay 7.0-ce-b4

com.liferay.portlet.exportimport.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 stagingGroup, boolean branchingPublic, boolean branchingPrivate, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, ServiceContext serviceContext)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 MissingReferences publishStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
          Deprecated. As of 7.0.0, with no direct replacement
 MissingReferences publishStagingRequest(long userId, long stagingRequestId, ExportImportConfiguration exportImportConfiguration)
           
 void updateStagingRequest(long userId, long stagingRequestId, String fileName, byte[] bytes)
           
 MissingReferences validateStagingRequest(long userId, long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
          Deprecated. As of 7.0.0, replaced by publishStagingRequest(long, long, boolean, Map)
 

Method Detail

checkDefaultLayoutSetBranches

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

cleanUpStagingRequest

void cleanUpStagingRequest(long stagingRequestId)
                           throws PortalException
Throws:
PortalException

createStagingRequest

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

disableStaging

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

disableStaging

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

enableLocalStaging

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

enableRemoteStaging

void enableRemoteStaging(long userId,
                         Group stagingGroup,
                         boolean branchingPublic,
                         boolean branchingPrivate,
                         String remoteAddress,
                         int remotePort,
                         String remotePathContext,
                         boolean secureConnection,
                         long remoteGroupId,
                         ServiceContext serviceContext)
                         throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

publishStagingRequest

MissingReferences publishStagingRequest(long userId,
                                        long stagingRequestId,
                                        ExportImportConfiguration exportImportConfiguration)
                                        throws PortalException
Throws:
PortalException

publishStagingRequest

@Deprecated
MissingReferences publishStagingRequest(long userId,
                                                   long stagingRequestId,
                                                   boolean privateLayout,
                                                   Map<String,String[]> parameterMap)
                                        throws PortalException
Deprecated. As of 7.0.0, with no direct replacement

Throws:
PortalException

updateStagingRequest

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

validateStagingRequest

@Deprecated
MissingReferences validateStagingRequest(long userId,
                                                    long stagingRequestId,
                                                    boolean privateLayout,
                                                    Map<String,String[]> parameterMap)
Deprecated. As of 7.0.0, replaced by publishStagingRequest(long, long, boolean, Map)


Liferay 7.0-ce-b4