public class BatchEngineImportTaskErrorUtil
extends java.lang.Object
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
BatchEngineImportTaskErrorPersistence
Constructor and Description |
---|
BatchEngineImportTaskErrorUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(BatchEngineImportTaskError batchEngineImportTaskError)
Caches the batch engine import task error in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<BatchEngineImportTaskError> batchEngineImportTaskErrors)
Caches the batch engine import task errors in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(BatchEngineImportTaskError batchEngineImportTaskError) |
static int |
countAll()
Returns the number of batch engine import task errors.
|
static int |
countByBatchEngineImportTaskId(long batchEngineImportTaskId)
Returns the number of batch engine import task errors where batchEngineImportTaskId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static BatchEngineImportTaskError |
create(long batchEngineImportTaskErrorId)
Creates a new batch engine import task error with the primary key.
|
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 = ?.
|
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 = ?.
|
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. |
static java.util.Map<java.io.Serializable,BatchEngineImportTaskError> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<BatchEngineImportTaskError> |
findAll()
Returns all the batch engine import task errors.
|
static java.util.List<BatchEngineImportTaskError> |
findAll(int start,
int end)
Returns a range of all the batch engine import task errors.
|
static java.util.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.
|
static java.util.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.
|
static BatchEngineImportTaskError |
findByBatchEngineImportTaskId_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 = ?.
|
static BatchEngineImportTaskError |
findByBatchEngineImportTaskId_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 = ?.
|
static BatchEngineImportTaskError[] |
findByBatchEngineImportTaskId_PrevAndNext(long batchEngineImportTaskErrorId,
long batchEngineImportTaskId,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator)
Returns the batch engine import task errors before and after the current batch engine import task error in the ordered set where batchEngineImportTaskId = ?.
|
static java.util.List<BatchEngineImportTaskError> |
findByBatchEngineImportTaskId(long batchEngineImportTaskId)
Returns all the batch engine import task errors where batchEngineImportTaskId = ?.
|
static java.util.List<BatchEngineImportTaskError> |
findByBatchEngineImportTaskId(long batchEngineImportTaskId,
int start,
int end)
Returns a range of all the batch engine import task errors where batchEngineImportTaskId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static BatchEngineImportTaskError |
findByPrimaryKey(long batchEngineImportTaskErrorId)
Returns the batch engine import task error with the primary key or throws a
NoSuchImportTaskErrorException if it could not be found. |
static java.util.List<BatchEngineImportTaskError> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<BatchEngineImportTaskError> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<BatchEngineImportTaskError> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator) |
static BatchEngineImportTaskErrorPersistence |
getPersistence() |
static BatchEngineImportTaskError |
remove(long batchEngineImportTaskErrorId)
Removes the batch engine import task error with the primary key from the database.
|
static void |
removeAll()
Removes all the batch engine import task errors from the database.
|
static void |
removeByBatchEngineImportTaskId(long batchEngineImportTaskId)
Removes all the batch engine import task errors where batchEngineImportTaskId = ? from the database.
|
static BatchEngineImportTaskError |
update(BatchEngineImportTaskError batchEngineImportTaskError) |
static BatchEngineImportTaskError |
update(BatchEngineImportTaskError batchEngineImportTaskError,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static BatchEngineImportTaskError |
updateImpl(BatchEngineImportTaskError batchEngineImportTaskError) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(BatchEngineImportTaskError batchEngineImportTaskError)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,BatchEngineImportTaskError> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<BatchEngineImportTaskError> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<BatchEngineImportTaskError> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<BatchEngineImportTaskError> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static BatchEngineImportTaskError update(BatchEngineImportTaskError batchEngineImportTaskError)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static BatchEngineImportTaskError update(BatchEngineImportTaskError batchEngineImportTaskError, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId)
batchEngineImportTaskId
- the batch engine import task IDpublic static java.util.List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId, int start, int end)
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
.
batchEngineImportTaskId
- the batch engine import task IDstart
- the lower bound of the range of batch engine import task errorsend
- the upper bound of the range of batch engine import task errors (not inclusive)public static java.util.List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator)
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
.
batchEngineImportTaskId
- the batch engine import task IDstart
- the lower bound of the range of batch engine import task errorsend
- the upper bound of the range of batch engine import task errors (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineImportTaskError> findByBatchEngineImportTaskId(long batchEngineImportTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator, boolean useFinderCache)
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
.
batchEngineImportTaskId
- the batch engine import task IDstart
- the lower bound of the range of batch engine import task errorsend
- 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 cachepublic static BatchEngineImportTaskError findByBatchEngineImportTaskId_First(long batchEngineImportTaskId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator) throws NoSuchImportTaskErrorException
batchEngineImportTaskId
- the batch engine import task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskErrorException
- if a matching batch engine import task error could not be foundpublic static BatchEngineImportTaskError fetchByBatchEngineImportTaskId_First(long batchEngineImportTaskId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator)
batchEngineImportTaskId
- the batch engine import task IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task error could not be foundpublic static BatchEngineImportTaskError findByBatchEngineImportTaskId_Last(long batchEngineImportTaskId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator) throws NoSuchImportTaskErrorException
batchEngineImportTaskId
- the batch engine import task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskErrorException
- if a matching batch engine import task error could not be foundpublic static BatchEngineImportTaskError fetchByBatchEngineImportTaskId_Last(long batchEngineImportTaskId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator)
batchEngineImportTaskId
- the batch engine import task IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching batch engine import task error could not be foundpublic static BatchEngineImportTaskError[] findByBatchEngineImportTaskId_PrevAndNext(long batchEngineImportTaskErrorId, long batchEngineImportTaskId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator) throws NoSuchImportTaskErrorException
batchEngineImportTaskErrorId
- the primary key of the current batch engine import task errorbatchEngineImportTaskId
- the batch engine import task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchImportTaskErrorException
- if a batch engine import task error with the primary key could not be foundpublic static void removeByBatchEngineImportTaskId(long batchEngineImportTaskId)
batchEngineImportTaskId
- the batch engine import task IDpublic static int countByBatchEngineImportTaskId(long batchEngineImportTaskId)
batchEngineImportTaskId
- the batch engine import task IDpublic static void cacheResult(BatchEngineImportTaskError batchEngineImportTaskError)
batchEngineImportTaskError
- the batch engine import task errorpublic static void cacheResult(java.util.List<BatchEngineImportTaskError> batchEngineImportTaskErrors)
batchEngineImportTaskErrors
- the batch engine import task errorspublic static BatchEngineImportTaskError create(long batchEngineImportTaskErrorId)
batchEngineImportTaskErrorId
- the primary key for the new batch engine import task errorpublic static BatchEngineImportTaskError remove(long batchEngineImportTaskErrorId) throws NoSuchImportTaskErrorException
batchEngineImportTaskErrorId
- the primary key of the batch engine import task errorNoSuchImportTaskErrorException
- if a batch engine import task error with the primary key could not be foundpublic static BatchEngineImportTaskError updateImpl(BatchEngineImportTaskError batchEngineImportTaskError)
public static BatchEngineImportTaskError findByPrimaryKey(long batchEngineImportTaskErrorId) throws NoSuchImportTaskErrorException
NoSuchImportTaskErrorException
if it could not be found.batchEngineImportTaskErrorId
- the primary key of the batch engine import task errorNoSuchImportTaskErrorException
- if a batch engine import task error with the primary key could not be foundpublic static BatchEngineImportTaskError fetchByPrimaryKey(long batchEngineImportTaskErrorId)
null
if it could not be found.batchEngineImportTaskErrorId
- the primary key of the batch engine import task errornull
if a batch engine import task error with the primary key could not be foundpublic static java.util.List<BatchEngineImportTaskError> findAll()
public static java.util.List<BatchEngineImportTaskError> findAll(int start, int end)
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
.
start
- the lower bound of the range of batch engine import task errorsend
- the upper bound of the range of batch engine import task errors (not inclusive)public static java.util.List<BatchEngineImportTaskError> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator)
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
.
start
- the lower bound of the range of batch engine import task errorsend
- the upper bound of the range of batch engine import task errors (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<BatchEngineImportTaskError> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator, boolean useFinderCache)
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
.
start
- the lower bound of the range of batch engine import task errorsend
- 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 cachepublic static void removeAll()
public static int countAll()
public static BatchEngineImportTaskErrorPersistence getPersistence()