public class BatchEngineImportTaskServiceUtil
extends java.lang.Object
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.BatchEngineImportTaskService
Constructor and Description |
---|
BatchEngineImportTaskServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static BatchEngineImportTask |
addBatchEngineImportTask(java.lang.String externalReferenceCode,
long companyId,
long userId,
long batchSize,
java.lang.String callbackURL,
java.lang.String className,
byte[] content,
java.lang.String contentType,
java.lang.String executeStatus,
java.util.Map<java.lang.String,java.lang.String> fieldNameMappingMap,
int importStrategy,
java.lang.String operation,
java.util.Map<java.lang.String,java.io.Serializable> parameters,
java.lang.String taskItemDelegateName) |
static BatchEngineImportTask |
addBatchEngineImportTask(java.lang.String externalReferenceCode,
long companyId,
long userId,
long batchSize,
java.lang.String callbackURL,
java.lang.String className,
byte[] content,
java.lang.String contentType,
java.lang.String executeStatus,
java.util.Map<java.lang.String,java.lang.String> fieldNameMappingMap,
int importStrategy,
java.lang.String operation,
java.util.Map<java.lang.String,java.io.Serializable> parameters,
java.lang.String taskItemDelegateName,
BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) |
static BatchEngineImportTask |
getBatchEngineImportTask(long batchEngineImportTaskId) |
static BatchEngineImportTask |
getBatchEngineImportTaskByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static java.util.List<BatchEngineImportTask> |
getBatchEngineImportTasks(long companyId,
int start,
int end) |
static java.util.List<BatchEngineImportTask> |
getBatchEngineImportTasks(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) |
static int |
getBatchEngineImportTasksCount(long companyId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static BatchEngineImportTaskService |
getService() |
static java.io.InputStream |
openContentInputStream(long batchEngineImportTaskId) |
public static BatchEngineImportTask addBatchEngineImportTask(java.lang.String externalReferenceCode, long companyId, long userId, long batchSize, java.lang.String callbackURL, java.lang.String className, byte[] content, java.lang.String contentType, java.lang.String executeStatus, java.util.Map<java.lang.String,java.lang.String> fieldNameMappingMap, int importStrategy, java.lang.String operation, java.util.Map<java.lang.String,java.io.Serializable> parameters, java.lang.String taskItemDelegateName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BatchEngineImportTask addBatchEngineImportTask(java.lang.String externalReferenceCode, long companyId, long userId, long batchSize, java.lang.String callbackURL, java.lang.String className, byte[] content, java.lang.String contentType, java.lang.String executeStatus, java.util.Map<java.lang.String,java.lang.String> fieldNameMappingMap, int importStrategy, java.lang.String operation, java.util.Map<java.lang.String,java.io.Serializable> parameters, java.lang.String taskItemDelegateName, BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BatchEngineImportTask getBatchEngineImportTask(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BatchEngineImportTask getBatchEngineImportTaskByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<BatchEngineImportTask> getBatchEngineImportTasks(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<BatchEngineImportTask> getBatchEngineImportTasks(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getBatchEngineImportTasksCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.io.InputStream openContentInputStream(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static BatchEngineImportTaskService getService()