Class BatchEngineImportTaskUtil

java.lang.Object
com.liferay.batch.engine.service.persistence.BatchEngineImportTaskUtil

public class BatchEngineImportTaskUtil extends Object
The persistence utility for the batch engine import task service. This utility wraps com.liferay.batch.engine.service.persistence.impl.BatchEngineImportTaskPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • BatchEngineImportTaskUtil

      public BatchEngineImportTaskUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(BatchEngineImportTask batchEngineImportTask)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,BatchEngineImportTask> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static BatchEngineImportTask update(BatchEngineImportTask batchEngineImportTask)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static BatchEngineImportTask update(BatchEngineImportTask batchEngineImportTask, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<BatchEngineImportTask> findByUuid(String uuid)
      Returns all the batch engine import tasks where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching batch engine import tasks
    • findByUuid

      public static List<BatchEngineImportTask> findByUuid(String uuid, int start, int end)
      Returns a range of all the batch engine import tasks where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      Returns:
      the range of matching batch engine import tasks
    • findByUuid

      public static List<BatchEngineImportTask> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns an ordered range of all the batch engine import tasks where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching batch engine import tasks
    • findByUuid

      public static List<BatchEngineImportTask> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the batch engine import tasks where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching batch engine import tasks
    • findByUuid_First

      public static BatchEngineImportTask findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the first batch engine import task in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByUuid_First

      public static BatchEngineImportTask fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the first batch engine import task in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByUuid_Last

      public static BatchEngineImportTask findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the last batch engine import task in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByUuid_Last

      public static BatchEngineImportTask fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the last batch engine import task in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByUuid_PrevAndNext

      public static BatchEngineImportTask[] findByUuid_PrevAndNext(long batchEngineImportTaskId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ?.
      Parameters:
      batchEngineImportTaskId - the primary key of the current batch engine import task
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next batch engine import task
      Throws:
      NoSuchImportTaskException - if a batch engine import task with the primary key could not be found
      NoSuchImportTaskException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the batch engine import tasks where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of batch engine import tasks where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching batch engine import tasks
    • findByUuid_C

      public static List<BatchEngineImportTask> findByUuid_C(String uuid, long companyId)
      Returns all the batch engine import tasks where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching batch engine import tasks
    • findByUuid_C

      public static List<BatchEngineImportTask> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the batch engine import tasks where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      Returns:
      the range of matching batch engine import tasks
    • findByUuid_C

      public static List<BatchEngineImportTask> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching batch engine import tasks
    • findByUuid_C

      public static List<BatchEngineImportTask> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching batch engine import tasks
    • findByUuid_C_First

      public static BatchEngineImportTask findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByUuid_C_First

      public static BatchEngineImportTask fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByUuid_C_Last

      public static BatchEngineImportTask findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByUuid_C_Last

      public static BatchEngineImportTask fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByUuid_C_PrevAndNext

      public static BatchEngineImportTask[] findByUuid_C_PrevAndNext(long batchEngineImportTaskId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      batchEngineImportTaskId - the primary key of the current batch engine import task
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next batch engine import task
      Throws:
      NoSuchImportTaskException - if a batch engine import task with the primary key could not be found
      NoSuchImportTaskException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the batch engine import tasks where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of batch engine import tasks where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching batch engine import tasks
    • findByCompanyId

      public static List<BatchEngineImportTask> findByCompanyId(long companyId)
      Returns all the batch engine import tasks where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching batch engine import tasks
    • findByCompanyId

      public static List<BatchEngineImportTask> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the batch engine import tasks where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      Returns:
      the range of matching batch engine import tasks
    • findByCompanyId

      public static List<BatchEngineImportTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns an ordered range of all the batch engine import tasks where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching batch engine import tasks
    • findByCompanyId

      public static List<BatchEngineImportTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the batch engine import tasks where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching batch engine import tasks
    • findByCompanyId_First

      public static BatchEngineImportTask findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the first batch engine import task in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByCompanyId_First

      public static BatchEngineImportTask fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the first batch engine import task in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByCompanyId_Last

      public static BatchEngineImportTask findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the last batch engine import task in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByCompanyId_Last

      public static BatchEngineImportTask fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the last batch engine import task in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByCompanyId_PrevAndNext

      public static BatchEngineImportTask[] findByCompanyId_PrevAndNext(long batchEngineImportTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where companyId = ?.
      Parameters:
      batchEngineImportTaskId - the primary key of the current batch engine import task
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next batch engine import task
      Throws:
      NoSuchImportTaskException - if a batch engine import task with the primary key could not be found
      NoSuchImportTaskException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the batch engine import tasks where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of batch engine import tasks where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching batch engine import tasks
    • findByExecuteStatus

      public static List<BatchEngineImportTask> findByExecuteStatus(String executeStatus)
      Returns all the batch engine import tasks where executeStatus = ?.
      Parameters:
      executeStatus - the execute status
      Returns:
      the matching batch engine import tasks
    • findByExecuteStatus

      public static List<BatchEngineImportTask> findByExecuteStatus(String executeStatus, int start, int end)
      Returns a range of all the batch engine import tasks where executeStatus = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      executeStatus - the execute status
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      Returns:
      the range of matching batch engine import tasks
    • findByExecuteStatus

      public static List<BatchEngineImportTask> findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns an ordered range of all the batch engine import tasks where executeStatus = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      executeStatus - the execute status
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching batch engine import tasks
    • findByExecuteStatus

      public static List<BatchEngineImportTask> findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the batch engine import tasks where executeStatus = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      executeStatus - the execute status
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching batch engine import tasks
    • findByExecuteStatus_First

      public static BatchEngineImportTask findByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the first batch engine import task in the ordered set where executeStatus = ?.
      Parameters:
      executeStatus - the execute status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByExecuteStatus_First

      public static BatchEngineImportTask fetchByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the first batch engine import task in the ordered set where executeStatus = ?.
      Parameters:
      executeStatus - the execute status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByExecuteStatus_Last

      public static BatchEngineImportTask findByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the last batch engine import task in the ordered set where executeStatus = ?.
      Parameters:
      executeStatus - the execute status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByExecuteStatus_Last

      public static BatchEngineImportTask fetchByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns the last batch engine import task in the ordered set where executeStatus = ?.
      Parameters:
      executeStatus - the execute status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching batch engine import task, or null if a matching batch engine import task could not be found
    • findByExecuteStatus_PrevAndNext

      public static BatchEngineImportTask[] findByExecuteStatus_PrevAndNext(long batchEngineImportTaskId, String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException
      Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where executeStatus = ?.
      Parameters:
      batchEngineImportTaskId - the primary key of the current batch engine import task
      executeStatus - the execute status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next batch engine import task
      Throws:
      NoSuchImportTaskException - if a batch engine import task with the primary key could not be found
      NoSuchImportTaskException
    • removeByExecuteStatus

      public static void removeByExecuteStatus(String executeStatus)
      Removes all the batch engine import tasks where executeStatus = ? from the database.
      Parameters:
      executeStatus - the execute status
    • countByExecuteStatus

      public static int countByExecuteStatus(String executeStatus)
      Returns the number of batch engine import tasks where executeStatus = ?.
      Parameters:
      executeStatus - the execute status
      Returns:
      the number of matching batch engine import tasks
    • findByERC_C

      public static BatchEngineImportTask findByERC_C(String externalReferenceCode, long companyId) throws NoSuchImportTaskException
      Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or throws a NoSuchImportTaskException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching batch engine import task
      Throws:
      NoSuchImportTaskException - if a matching batch engine import task could not be found
      NoSuchImportTaskException
    • fetchByERC_C

      public static BatchEngineImportTask fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching batch engine import task, or null if a matching batch engine import task could not be found
    • fetchByERC_C

      public static BatchEngineImportTask fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching batch engine import task, or null if a matching batch engine import task could not be found
    • removeByERC_C

      public static BatchEngineImportTask removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchImportTaskException
      Removes the batch engine import task where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the batch engine import task that was removed
      Throws:
      NoSuchImportTaskException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of batch engine import tasks where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching batch engine import tasks
    • cacheResult

      public static void cacheResult(BatchEngineImportTask batchEngineImportTask)
      Caches the batch engine import task in the entity cache if it is enabled.
      Parameters:
      batchEngineImportTask - the batch engine import task
    • cacheResult

      public static void cacheResult(List<BatchEngineImportTask> batchEngineImportTasks)
      Caches the batch engine import tasks in the entity cache if it is enabled.
      Parameters:
      batchEngineImportTasks - the batch engine import tasks
    • create

      public static BatchEngineImportTask create(long batchEngineImportTaskId)
      Creates a new batch engine import task with the primary key. Does not add the batch engine import task to the database.
      Parameters:
      batchEngineImportTaskId - the primary key for the new batch engine import task
      Returns:
      the new batch engine import task
    • remove

      public static BatchEngineImportTask remove(long batchEngineImportTaskId) throws NoSuchImportTaskException
      Removes the batch engine import task with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      batchEngineImportTaskId - the primary key of the batch engine import task
      Returns:
      the batch engine import task that was removed
      Throws:
      NoSuchImportTaskException - if a batch engine import task with the primary key could not be found
      NoSuchImportTaskException
    • updateImpl

      public static BatchEngineImportTask updateImpl(BatchEngineImportTask batchEngineImportTask)
    • findByPrimaryKey

      public static BatchEngineImportTask findByPrimaryKey(long batchEngineImportTaskId) throws NoSuchImportTaskException
      Returns the batch engine import task with the primary key or throws a NoSuchImportTaskException if it could not be found.
      Parameters:
      batchEngineImportTaskId - the primary key of the batch engine import task
      Returns:
      the batch engine import task
      Throws:
      NoSuchImportTaskException - if a batch engine import task with the primary key could not be found
      NoSuchImportTaskException
    • fetchByPrimaryKey

      public static BatchEngineImportTask fetchByPrimaryKey(long batchEngineImportTaskId)
      Returns the batch engine import task with the primary key or returns null if it could not be found.
      Parameters:
      batchEngineImportTaskId - the primary key of the batch engine import task
      Returns:
      the batch engine import task, or null if a batch engine import task with the primary key could not be found
    • findAll

      public static List<BatchEngineImportTask> findAll()
      Returns all the batch engine import tasks.
      Returns:
      the batch engine import tasks
    • findAll

      public static List<BatchEngineImportTask> findAll(int start, int end)
      Returns a range of all the batch engine import tasks.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      Returns:
      the range of batch engine import tasks
    • findAll

      public static List<BatchEngineImportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator)
      Returns an ordered range of all the batch engine import tasks.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of batch engine import tasks
    • findAll

      public static List<BatchEngineImportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the batch engine import tasks.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from BatchEngineImportTaskModelImpl.

      Parameters:
      start - the lower bound of the range of batch engine import tasks
      end - the upper bound of the range of batch engine import tasks (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of batch engine import tasks
    • removeAll

      public static void removeAll()
      Removes all the batch engine import tasks from the database.
    • countAll

      public static int countAll()
      Returns the number of batch engine import tasks.
      Returns:
      the number of batch engine import tasks
    • getPersistence

      public static BatchEngineImportTaskPersistence getPersistence()
    • setPersistence

      public static void setPersistence(BatchEngineImportTaskPersistence persistence)