Package com.liferay.batch.engine.service
Class BatchEngineImportTaskServiceUtil
java.lang.Object
com.liferay.batch.engine.service.BatchEngineImportTaskServiceUtil
Provides the remote service utility for BatchEngineImportTask. This utility wraps
com.liferay.batch.engine.service.impl.BatchEngineImportTaskServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, Serializable> parameters, String taskItemDelegateName) static 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, Serializable> parameters, String taskItemDelegateName, BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) static BatchEngineImportTask
getBatchEngineImportTask
(long batchEngineImportTaskId) static BatchEngineImportTask
getBatchEngineImportTaskByExternalReferenceCode
(String externalReferenceCode, long companyId) static List<BatchEngineImportTask>
getBatchEngineImportTasks
(long companyId, int start, int end) static List<BatchEngineImportTask>
getBatchEngineImportTasks
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) static int
getBatchEngineImportTasksCount
(long companyId) static String
Returns the OSGi service identifier.static BatchEngineImportTaskService
static InputStream
openContentInputStream
(long batchEngineImportTaskId)
-
Constructor Details
-
BatchEngineImportTaskServiceUtil
public BatchEngineImportTaskServiceUtil()
-
-
Method Details
-
addBatchEngineImportTask
public static 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
public static 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
public static BatchEngineImportTask getBatchEngineImportTask(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTaskByExternalReferenceCode
public static BatchEngineImportTask getBatchEngineImportTaskByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTasks
public static List<BatchEngineImportTask> getBatchEngineImportTasks(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTasks
public static 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
public static int getBatchEngineImportTasksCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
openContentInputStream
public static InputStream openContentInputStream(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-