Class BatchEngineImportTaskServiceUtil

java.lang.Object
com.liferay.batch.engine.service.BatchEngineImportTaskServiceUtil

public class BatchEngineImportTaskServiceUtil extends Object
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 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,Serializable> parameters, String taskItemDelegateName) throws com.liferay.portal.kernel.exception.PortalException
      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,Serializable> parameters, String taskItemDelegateName, BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) throws com.liferay.portal.kernel.exception.PortalException
      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

      public static String 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

      public static BatchEngineImportTaskService getService()