Liferay 7.0-ce-b4

com.liferay.portlet.exportimport.service
Interface StagingService

All Superinterfaces:
BaseService
All Known Implementing Classes:
StagingServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface StagingService
extends BaseService

Provides the remote service interface for Staging. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
StagingServiceUtil, com.liferay.portlet.exportimport.service.base.StagingServiceBaseImpl, com.liferay.portlet.exportimport.service.impl.StagingServiceImpl

Method Summary
 void cleanUpStagingRequest(long stagingRequestId)
           
 long createStagingRequest(long groupId, String checksum)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 MissingReferences publishStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
          Deprecated. As of 7.0.0, with no direct replacement
 MissingReferences publishStagingRequest(long stagingRequestId, ExportImportConfiguration exportImportConfiguration)
           
 void updateStagingRequest(long stagingRequestId, String fileName, byte[] bytes)
           
 MissingReferences validateStagingRequest(long stagingRequestId, boolean privateLayout, Map<String,String[]> parameterMap)
          Deprecated. As of 7.0.0, replaced by publishStagingRequest(long, boolean, Map)
 

Method Detail

cleanUpStagingRequest

void cleanUpStagingRequest(long stagingRequestId)
                           throws PortalException
Throws:
PortalException

createStagingRequest

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

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

publishStagingRequest

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

publishStagingRequest

@Deprecated
MissingReferences publishStagingRequest(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 stagingRequestId,
                          String fileName,
                          byte[] bytes)
                          throws PortalException
Throws:
PortalException

validateStagingRequest

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

Throws:
PortalException

Liferay 7.0-ce-b4