Class BatchEngineImportTaskErrorUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(BatchEngineImportTaskError batchEngineImportTaskError) Caches the batch engine import task error in the entity cache if it is enabled.static void
cacheResult
(List<BatchEngineImportTaskError> batchEngineImportTaskErrors) Caches the batch engine import task errors in the entity cache if it is enabled.static void
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 returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<BatchEngineImportTaskError>
findAll()
Returns all the batch engine import task errors.static List<BatchEngineImportTaskError>
findAll
(int start, int end) Returns a range of all the batch engine import task errors.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.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.static List<BatchEngineImportTaskError>
findByBatchEngineImportTaskId
(long batchEngineImportTaskId) Returns all the batch engine import task errors where batchEngineImportTaskId = ?.static List<BatchEngineImportTaskError>
findByBatchEngineImportTaskId
(long batchEngineImportTaskId, int start, int end) Returns a range of all the batch engine import task errors where batchEngineImportTaskId = ?.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 = ?.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 = ?.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 BatchEngineImportTaskError
findByPrimaryKey
(long batchEngineImportTaskErrorId) Returns the batch engine import task error with the primary key or throws aNoSuchImportTaskErrorException
if it could not be found.static List<BatchEngineImportTaskError>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<BatchEngineImportTaskError>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<BatchEngineImportTaskError>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTaskError> orderByComparator) static BatchEngineImportTaskError
remove
(long batchEngineImportTaskErrorId) Removes the batch engine import task error with the primary key from the database.static void
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 void
setPersistence
(BatchEngineImportTaskErrorPersistence persistence) static BatchEngineImportTaskError
update
(BatchEngineImportTaskError batchEngineImportTaskError) static BatchEngineImportTaskError
update
(BatchEngineImportTaskError batchEngineImportTaskError, com.liferay.portal.kernel.service.ServiceContext serviceContext) static BatchEngineImportTaskError
updateImpl
(BatchEngineImportTaskError batchEngineImportTaskError)
-
Constructor Details
-
BatchEngineImportTaskErrorUtil
public BatchEngineImportTaskErrorUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromBatchEngineImportTaskErrorModelImpl
.- Parameters:
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)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromBatchEngineImportTaskErrorModelImpl
.- Parameters:
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 (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromBatchEngineImportTaskErrorModelImpl
.- Parameters:
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 (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching batch engine import task error
- Throws:
NoSuchImportTaskErrorException
- if a matching batch engine import task error could not be foundNoSuchImportTaskErrorException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching batch engine import task error
- Throws:
NoSuchImportTaskErrorException
- if a matching batch engine import task error could not be foundNoSuchImportTaskErrorException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 errorbatchEngineImportTaskId
- the batch engine import task IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchImportTaskErrorException
-
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
Caches the batch engine import task error in the entity cache if it is enabled.- Parameters:
batchEngineImportTaskError
- the batch engine import task error
-
cacheResult
Caches the batch engine import task errors in the entity cache if it is enabled.- Parameters:
batchEngineImportTaskErrors
- the batch engine import task errors
-
create
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 foundNoSuchImportTaskErrorException
-
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 aNoSuchImportTaskErrorException
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 foundNoSuchImportTaskErrorException
-
fetchByPrimaryKey
Returns the batch engine import task error with the primary key or returnsnull
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
Returns all the batch engine import task errors.- Returns:
- the batch engine import task errors
-
findAll
Returns a range of all the batch engine import task errors.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromBatchEngineImportTaskErrorModelImpl
.- Parameters:
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)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromBatchEngineImportTaskErrorModelImpl
.- Parameters:
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 (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromBatchEngineImportTaskErrorModelImpl
.- Parameters:
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 (optionallynull
)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
-
setPersistence
-