Class BatchEngineImportTaskErrorUtil

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

public class BatchEngineImportTaskErrorUtil extends Object
The persistence utility for the batch engine import task error service. This utility wraps com.liferay.batch.engine.service.persistence.impl.BatchEngineImportTaskErrorPersistenceImpl 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

    • BatchEngineImportTaskErrorUtil

      public BatchEngineImportTaskErrorUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(BatchEngineImportTaskError batchEngineImportTaskError)
      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,BatchEngineImportTaskError> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

      public static BatchEngineImportTaskError update(BatchEngineImportTaskError batchEngineImportTaskError, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByBatchEngineImportTaskId

      public static List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId)
      Returns all the batch engine import task errors where batchEngineImportTaskId = ?.
      Parameters:
      batchEngineImportTaskId - the batch engine import task ID
      Returns:
      the matching batch engine import task errors
    • findByBatchEngineImportTaskId

      public static List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId, int start, int end)
      Returns a range of all the batch engine import task errors where batchEngineImportTaskId = ?.

      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 BatchEngineImportTaskErrorModelImpl.

      Parameters:
      batchEngineImportTaskId - the batch engine import task ID
      start - the lower bound of the range of batch engine import task errors
      end - the upper bound of the range of batch engine import task errors (not inclusive)
      Returns:
      the range of matching batch engine import task errors
    • findByBatchEngineImportTaskId

      public static List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator)
      Returns an ordered range of all the batch engine import task errors where batchEngineImportTaskId = ?.

      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 BatchEngineImportTaskErrorModelImpl.

      Parameters:
      batchEngineImportTaskId - the batch engine import task ID
      start - the lower bound of the range of batch engine import task errors
      end - the upper bound of the range of batch engine import task errors (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching batch engine import task errors
    • findByBatchEngineImportTaskId

      public static List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the batch engine import task errors where batchEngineImportTaskId = ?.

      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 BatchEngineImportTaskErrorModelImpl.

      Parameters:
      batchEngineImportTaskId - the batch engine import task ID
      start - the lower bound of the range of batch engine import task errors
      end - the upper bound of the range of batch engine import task errors (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 task errors
    • findByBatchEngineImportTaskId_First

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

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

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

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

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

      public static void removeByBatchEngineImportTaskId(long batchEngineImportTaskId)
      Removes all the batch engine import task errors where batchEngineImportTaskId = ? from the database.
      Parameters:
      batchEngineImportTaskId - the batch engine import task ID
    • countByBatchEngineImportTaskId

      public static int countByBatchEngineImportTaskId(long batchEngineImportTaskId)
      Returns the number of batch engine import task errors where batchEngineImportTaskId = ?.
      Parameters:
      batchEngineImportTaskId - the batch engine import task ID
      Returns:
      the number of matching batch engine import task errors
    • cacheResult

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

      public static void cacheResult(List<BatchEngineImportTaskError> batchEngineImportTaskErrors)
      Caches the batch engine import task errors in the entity cache if it is enabled.
      Parameters:
      batchEngineImportTaskErrors - the batch engine import task errors
    • create

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

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

      public static BatchEngineImportTaskError updateImpl(BatchEngineImportTaskError batchEngineImportTaskError)
    • findByPrimaryKey

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

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

      public static List<BatchEngineImportTaskError> findAll()
      Returns all the batch engine import task errors.
      Returns:
      the batch engine import task errors
    • findAll

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

      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 BatchEngineImportTaskErrorModelImpl.

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

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

      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 BatchEngineImportTaskErrorModelImpl.

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

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

      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 BatchEngineImportTaskErrorModelImpl.

      Parameters:
      start - the lower bound of the range of batch engine import task errors
      end - the upper bound of the range of batch engine import task errors (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 task errors
    • removeAll

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

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

      public static BatchEngineImportTaskErrorPersistence getPersistence()
    • setPersistence

      public static void setPersistence(BatchEngineImportTaskErrorPersistence persistence)