Class BatchEngineExportTaskUtil
com.liferay.batch.engine.service.persistence.impl.BatchEngineExportTaskPersistenceImpl 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 voidcacheResult(BatchEngineExportTask batchEngineExportTask) Caches the batch engine export task in the entity cache if it is enabled.static voidcacheResult(List<BatchEngineExportTask> batchEngineExportTasks) Caches the batch engine export tasks in the entity cache if it is enabled.static voidstatic voidclearCache(BatchEngineExportTask batchEngineExportTask) static intcountAll()Returns the number of batch engine export tasks.static intcountByCompanyId(long companyId) Returns the number of batch engine export tasks where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of batch engine export tasks where externalReferenceCode = ? and companyId = ?.static intcountByExecuteStatus(String executeStatus) Returns the number of batch engine export tasks where executeStatus = ?.static intcountByUuid(String uuid) Returns the number of batch engine export tasks where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of batch engine export tasks where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static BatchEngineExportTaskcreate(long batchEngineExportTaskId) Creates a new batch engine export task with the primary key.static BatchEngineExportTaskfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where companyId = ?.static BatchEngineExportTaskfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where companyId = ?.static BatchEngineExportTaskfetchByERC_C(String externalReferenceCode, long companyId) Returns the batch engine export task where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static BatchEngineExportTaskfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the batch engine export task where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static BatchEngineExportTaskfetchByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where executeStatus = ?.static BatchEngineExportTaskfetchByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where executeStatus = ?.static BatchEngineExportTaskfetchByPrimaryKey(long batchEngineExportTaskId) Returns the batch engine export task with the primary key or returnsnullif it could not be found.static Map<Serializable,BatchEngineExportTask> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static BatchEngineExportTaskfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where uuid = ? and companyId = ?.static BatchEngineExportTaskfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where uuid = ? and companyId = ?.static BatchEngineExportTaskfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where uuid = ?.static BatchEngineExportTaskfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where uuid = ?.static List<BatchEngineExportTask>findAll()Returns all the batch engine export tasks.static List<BatchEngineExportTask>findAll(int start, int end) Returns a range of all the batch engine export tasks.static List<BatchEngineExportTask>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks.static List<BatchEngineExportTask>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks.static List<BatchEngineExportTask>findByCompanyId(long companyId) Returns all the batch engine export tasks where companyId = ?.static List<BatchEngineExportTask>findByCompanyId(long companyId, int start, int end) Returns a range of all the batch engine export tasks where companyId = ?.static List<BatchEngineExportTask>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where companyId = ?.static List<BatchEngineExportTask>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where companyId = ?.static BatchEngineExportTaskfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where companyId = ?.static BatchEngineExportTaskfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where companyId = ?.static BatchEngineExportTask[]findByCompanyId_PrevAndNext(long batchEngineExportTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where companyId = ?.static BatchEngineExportTaskfindByERC_C(String externalReferenceCode, long companyId) Returns the batch engine export task where externalReferenceCode = ? and companyId = ? or throws aNoSuchExportTaskExceptionif it could not be found.static List<BatchEngineExportTask>findByExecuteStatus(String executeStatus) Returns all the batch engine export tasks where executeStatus = ?.static List<BatchEngineExportTask>findByExecuteStatus(String executeStatus, int start, int end) Returns a range of all the batch engine export tasks where executeStatus = ?.static List<BatchEngineExportTask>findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where executeStatus = ?.static List<BatchEngineExportTask>findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where executeStatus = ?.static BatchEngineExportTaskfindByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where executeStatus = ?.static BatchEngineExportTaskfindByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where executeStatus = ?.static BatchEngineExportTask[]findByExecuteStatus_PrevAndNext(long batchEngineExportTaskId, String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where executeStatus = ?.static BatchEngineExportTaskfindByPrimaryKey(long batchEngineExportTaskId) Returns the batch engine export task with the primary key or throws aNoSuchExportTaskExceptionif it could not be found.static List<BatchEngineExportTask>findByUuid(String uuid) Returns all the batch engine export tasks where uuid = ?.static List<BatchEngineExportTask>findByUuid(String uuid, int start, int end) Returns a range of all the batch engine export tasks where uuid = ?.static List<BatchEngineExportTask>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where uuid = ?.static List<BatchEngineExportTask>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where uuid = ?.static List<BatchEngineExportTask>findByUuid_C(String uuid, long companyId) Returns all the batch engine export tasks where uuid = ? and companyId = ?.static List<BatchEngineExportTask>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the batch engine export tasks where uuid = ? and companyId = ?.static List<BatchEngineExportTask>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where uuid = ? and companyId = ?.static List<BatchEngineExportTask>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where uuid = ? and companyId = ?.static BatchEngineExportTaskfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where uuid = ? and companyId = ?.static BatchEngineExportTaskfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where uuid = ? and companyId = ?.static BatchEngineExportTask[]findByUuid_C_PrevAndNext(long batchEngineExportTaskId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where uuid = ? and companyId = ?.static BatchEngineExportTaskfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where uuid = ?.static BatchEngineExportTaskfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where uuid = ?.static BatchEngineExportTask[]findByUuid_PrevAndNext(long batchEngineExportTaskId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where uuid = ?.static List<BatchEngineExportTask>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<BatchEngineExportTask>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<BatchEngineExportTask>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) static BatchEngineExportTaskremove(long batchEngineExportTaskId) Removes the batch engine export task with the primary key from the database.static voidRemoves all the batch engine export tasks from the database.static voidremoveByCompanyId(long companyId) Removes all the batch engine export tasks where companyId = ? from the database.static BatchEngineExportTaskremoveByERC_C(String externalReferenceCode, long companyId) Removes the batch engine export task where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByExecuteStatus(String executeStatus) Removes all the batch engine export tasks where executeStatus = ? from the database.static voidremoveByUuid(String uuid) Removes all the batch engine export tasks where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the batch engine export tasks where uuid = ? and companyId = ? from the database.static voidsetPersistence(BatchEngineExportTaskPersistence persistence) static BatchEngineExportTaskupdate(BatchEngineExportTask batchEngineExportTask) static BatchEngineExportTaskupdate(BatchEngineExportTask batchEngineExportTask, com.liferay.portal.kernel.service.ServiceContext serviceContext) static BatchEngineExportTaskupdateImpl(BatchEngineExportTask batchEngineExportTask)
-
Constructor Details
-
BatchEngineExportTaskUtil
public BatchEngineExportTaskUtil()
-
-
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,BatchEngineExportTask> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<BatchEngineExportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<BatchEngineExportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<BatchEngineExportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static BatchEngineExportTask update(BatchEngineExportTask batchEngineExportTask, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the batch engine export tasks where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching batch engine export tasks
-
findByUuid
Returns a range of all the batch engine export tasks where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)- Returns:
- the range of matching batch engine export tasks
-
findByUuid
public static List<BatchEngineExportTask> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine export tasks
-
findByUuid
public static List<BatchEngineExportTask> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (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 export tasks
-
findByUuid_First
public static BatchEngineExportTask findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the first batch engine export task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByUuid_First
public static BatchEngineExportTask fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByUuid_Last
public static BatchEngineExportTask findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the last batch engine export task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByUuid_Last
public static BatchEngineExportTask fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByUuid_PrevAndNext
public static BatchEngineExportTask[] findByUuid_PrevAndNext(long batchEngineExportTaskId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where uuid = ?.- Parameters:
batchEngineExportTaskId- the primary key of the current batch engine export taskuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine export task
- Throws:
NoSuchExportTaskException- if a batch engine export task with the primary key could not be foundNoSuchExportTaskException
-
removeByUuid
Removes all the batch engine export tasks where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of batch engine export tasks where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching batch engine export tasks
-
findByUuid_C
Returns all the batch engine export tasks where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching batch engine export tasks
-
findByUuid_C
public static List<BatchEngineExportTask> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the batch engine export tasks where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)- Returns:
- the range of matching batch engine export tasks
-
findByUuid_C
public static List<BatchEngineExportTask> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine export tasks
-
findByUuid_C
public static List<BatchEngineExportTask> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (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 export tasks
-
findByUuid_C_First
public static BatchEngineExportTask findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the first batch engine export task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByUuid_C_First
public static BatchEngineExportTask fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByUuid_C_Last
public static BatchEngineExportTask findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the last batch engine export task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByUuid_C_Last
public static BatchEngineExportTask fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByUuid_C_PrevAndNext
public static BatchEngineExportTask[] findByUuid_C_PrevAndNext(long batchEngineExportTaskId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where uuid = ? and companyId = ?.- Parameters:
batchEngineExportTaskId- the primary key of the current batch engine export taskuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine export task
- Throws:
NoSuchExportTaskException- if a batch engine export task with the primary key could not be foundNoSuchExportTaskException
-
removeByUuid_C
Removes all the batch engine export tasks where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of batch engine export tasks where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching batch engine export tasks
-
findByCompanyId
Returns all the batch engine export tasks where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching batch engine export tasks
-
findByCompanyId
Returns a range of all the batch engine export tasks where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)- Returns:
- the range of matching batch engine export tasks
-
findByCompanyId
public static List<BatchEngineExportTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine export tasks
-
findByCompanyId
public static List<BatchEngineExportTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (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 export tasks
-
findByCompanyId_First
public static BatchEngineExportTask findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the first batch engine export task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByCompanyId_First
public static BatchEngineExportTask fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByCompanyId_Last
public static BatchEngineExportTask findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the last batch engine export task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByCompanyId_Last
public static BatchEngineExportTask fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByCompanyId_PrevAndNext
public static BatchEngineExportTask[] findByCompanyId_PrevAndNext(long batchEngineExportTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where companyId = ?.- Parameters:
batchEngineExportTaskId- the primary key of the current batch engine export taskcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine export task
- Throws:
NoSuchExportTaskException- if a batch engine export task with the primary key could not be foundNoSuchExportTaskException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the batch engine export tasks where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of batch engine export tasks where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching batch engine export tasks
-
findByExecuteStatus
Returns all the batch engine export tasks where executeStatus = ?.- Parameters:
executeStatus- the execute status- Returns:
- the matching batch engine export tasks
-
findByExecuteStatus
public static List<BatchEngineExportTask> findByExecuteStatus(String executeStatus, int start, int end) Returns a range of all the batch engine export tasks where executeStatus = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
executeStatus- the execute statusstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)- Returns:
- the range of matching batch engine export tasks
-
findByExecuteStatus
public static List<BatchEngineExportTask> findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks where executeStatus = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
executeStatus- the execute statusstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine export tasks
-
findByExecuteStatus
public static List<BatchEngineExportTask> findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks where executeStatus = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
executeStatus- the execute statusstart- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (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 export tasks
-
findByExecuteStatus_First
public static BatchEngineExportTask findByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the first batch engine export task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByExecuteStatus_First
public static BatchEngineExportTask fetchByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the first batch engine export task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByExecuteStatus_Last
public static BatchEngineExportTask findByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the last batch engine export task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByExecuteStatus_Last
public static BatchEngineExportTask fetchByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns the last batch engine export task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
findByExecuteStatus_PrevAndNext
public static BatchEngineExportTask[] findByExecuteStatus_PrevAndNext(long batchEngineExportTaskId, String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) throws NoSuchExportTaskException Returns the batch engine export tasks before and after the current batch engine export task in the ordered set where executeStatus = ?.- Parameters:
batchEngineExportTaskId- the primary key of the current batch engine export taskexecuteStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine export task
- Throws:
NoSuchExportTaskException- if a batch engine export task with the primary key could not be foundNoSuchExportTaskException
-
removeByExecuteStatus
Removes all the batch engine export tasks where executeStatus = ? from the database.- Parameters:
executeStatus- the execute status
-
countByExecuteStatus
Returns the number of batch engine export tasks where executeStatus = ?.- Parameters:
executeStatus- the execute status- Returns:
- the number of matching batch engine export tasks
-
findByERC_C
public static BatchEngineExportTask findByERC_C(String externalReferenceCode, long companyId) throws NoSuchExportTaskException Returns the batch engine export task where externalReferenceCode = ? and companyId = ? or throws aNoSuchExportTaskExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching batch engine export task
- Throws:
NoSuchExportTaskException- if a matching batch engine export task could not be foundNoSuchExportTaskException
-
fetchByERC_C
Returns the batch engine export task where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
fetchByERC_C
public static BatchEngineExportTask fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the batch engine export task where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching batch engine export task, or
nullif a matching batch engine export task could not be found
-
removeByERC_C
public static BatchEngineExportTask removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchExportTaskException Removes the batch engine export task where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the batch engine export task that was removed
- Throws:
NoSuchExportTaskException
-
countByERC_C
Returns the number of batch engine export tasks where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching batch engine export tasks
-
cacheResult
Caches the batch engine export task in the entity cache if it is enabled.- Parameters:
batchEngineExportTask- the batch engine export task
-
cacheResult
Caches the batch engine export tasks in the entity cache if it is enabled.- Parameters:
batchEngineExportTasks- the batch engine export tasks
-
create
Creates a new batch engine export task with the primary key. Does not add the batch engine export task to the database.- Parameters:
batchEngineExportTaskId- the primary key for the new batch engine export task- Returns:
- the new batch engine export task
-
remove
public static BatchEngineExportTask remove(long batchEngineExportTaskId) throws NoSuchExportTaskException Removes the batch engine export task with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
batchEngineExportTaskId- the primary key of the batch engine export task- Returns:
- the batch engine export task that was removed
- Throws:
NoSuchExportTaskException- if a batch engine export task with the primary key could not be foundNoSuchExportTaskException
-
updateImpl
-
findByPrimaryKey
public static BatchEngineExportTask findByPrimaryKey(long batchEngineExportTaskId) throws NoSuchExportTaskException Returns the batch engine export task with the primary key or throws aNoSuchExportTaskExceptionif it could not be found.- Parameters:
batchEngineExportTaskId- the primary key of the batch engine export task- Returns:
- the batch engine export task
- Throws:
NoSuchExportTaskException- if a batch engine export task with the primary key could not be foundNoSuchExportTaskException
-
fetchByPrimaryKey
Returns the batch engine export task with the primary key or returnsnullif it could not be found.- Parameters:
batchEngineExportTaskId- the primary key of the batch engine export task- Returns:
- the batch engine export task, or
nullif a batch engine export task with the primary key could not be found
-
findAll
Returns all the batch engine export tasks.- Returns:
- the batch engine export tasks
-
findAll
Returns a range of all the batch engine export tasks.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
start- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)- Returns:
- the range of batch engine export tasks
-
findAll
public static List<BatchEngineExportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator) Returns an ordered range of all the batch engine export tasks.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
start- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of batch engine export tasks
-
findAll
public static List<BatchEngineExportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineExportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine export tasks.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBatchEngineExportTaskModelImpl.- Parameters:
start- the lower bound of the range of batch engine export tasksend- the upper bound of the range of batch engine export tasks (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 export tasks
-
removeAll
public static void removeAll()Removes all the batch engine export tasks from the database. -
countAll
public static int countAll()Returns the number of batch engine export tasks.- Returns:
- the number of batch engine export tasks
-
getPersistence
-
setPersistence
-