Package com.liferay.batch.engine.service
Interface BatchEngineImportTaskService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
BatchEngineImportTaskServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface BatchEngineImportTaskService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for BatchEngineImportTask. 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:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddBatchEngineImportTask
(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, Serializable> parameters, String taskItemDelegateName) addBatchEngineImportTask
(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, Serializable> parameters, String taskItemDelegateName, BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) getBatchEngineImportTask
(long batchEngineImportTaskId) getBatchEngineImportTaskByExternalReferenceCode
(String externalReferenceCode, long companyId) getBatchEngineImportTasks
(long companyId, int start, int end) getBatchEngineImportTasks
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) int
getBatchEngineImportTasksCount
(long companyId) Returns the OSGi service identifier.openContentInputStream
(long batchEngineImportTaskId)
-
Method Details
-
addBatchEngineImportTask
BatchEngineImportTask addBatchEngineImportTask(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionSerializable> parameters, String taskItemDelegateName) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addBatchEngineImportTask
BatchEngineImportTask addBatchEngineImportTask(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionSerializable> parameters, String taskItemDelegateName, BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTask
@Transactional(propagation=SUPPORTS, readOnly=true) BatchEngineImportTask getBatchEngineImportTask(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTaskByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) BatchEngineImportTask getBatchEngineImportTaskByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTasks
@Transactional(propagation=SUPPORTS, readOnly=true) List<BatchEngineImportTask> getBatchEngineImportTasks(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTasks
@Transactional(propagation=SUPPORTS, readOnly=true) List<BatchEngineImportTask> getBatchEngineImportTasks(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTasksCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getBatchEngineImportTasksCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
openContentInputStream
InputStream openContentInputStream(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-