Class BatchEngineImportTaskUtil
com.liferay.batch.engine.service.persistence.impl.BatchEngineImportTaskPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(BatchEngineImportTask batchEngineImportTask) Caches the batch engine import task in the entity cache if it is enabled.static voidcacheResult(List<BatchEngineImportTask> batchEngineImportTasks) Caches the batch engine import tasks in the entity cache if it is enabled.static voidstatic voidclearCache(BatchEngineImportTask batchEngineImportTask) static intcountAll()Returns the number of batch engine import tasks.static intcountByCompanyId(long companyId) Returns the number of batch engine import tasks where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of batch engine import tasks where externalReferenceCode = ? and companyId = ?.static intcountByExecuteStatus(String executeStatus) Returns the number of batch engine import tasks where executeStatus = ?.static intcountByUuid(String uuid) Returns the number of batch engine import tasks where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of batch engine import tasks where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static BatchEngineImportTaskcreate(long batchEngineImportTaskId) Creates a new batch engine import task with the primary key.static BatchEngineImportTaskfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where companyId = ?.static BatchEngineImportTaskfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where companyId = ?.static BatchEngineImportTaskfetchByERC_C(String externalReferenceCode, long companyId) Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static BatchEngineImportTaskfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static BatchEngineImportTaskfetchByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where executeStatus = ?.static BatchEngineImportTaskfetchByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where executeStatus = ?.static BatchEngineImportTaskfetchByPrimaryKey(long batchEngineImportTaskId) Returns the batch engine import task with the primary key or returnsnullif it could not be found.static Map<Serializable,BatchEngineImportTask> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static BatchEngineImportTaskfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.static BatchEngineImportTaskfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.static BatchEngineImportTaskfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where uuid = ?.static BatchEngineImportTaskfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where uuid = ?.static List<BatchEngineImportTask>findAll()Returns all the batch engine import tasks.static List<BatchEngineImportTask>findAll(int start, int end) Returns a range of all the batch engine import tasks.static List<BatchEngineImportTask>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks.static List<BatchEngineImportTask>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks.static List<BatchEngineImportTask>findByCompanyId(long companyId) Returns all the batch engine import tasks where companyId = ?.static List<BatchEngineImportTask>findByCompanyId(long companyId, int start, int end) Returns a range of all the batch engine import tasks where companyId = ?.static List<BatchEngineImportTask>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where companyId = ?.static List<BatchEngineImportTask>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where companyId = ?.static BatchEngineImportTaskfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where companyId = ?.static BatchEngineImportTaskfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where companyId = ?.static BatchEngineImportTask[]findByCompanyId_PrevAndNext(long batchEngineImportTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where companyId = ?.static BatchEngineImportTaskfindByERC_C(String externalReferenceCode, long companyId) Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or throws aNoSuchImportTaskExceptionif it could not be found.static List<BatchEngineImportTask>findByExecuteStatus(String executeStatus) Returns all the batch engine import tasks where executeStatus = ?.static List<BatchEngineImportTask>findByExecuteStatus(String executeStatus, int start, int end) Returns a range of all the batch engine import tasks where executeStatus = ?.static List<BatchEngineImportTask>findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where executeStatus = ?.static List<BatchEngineImportTask>findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where executeStatus = ?.static BatchEngineImportTaskfindByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where executeStatus = ?.static BatchEngineImportTaskfindByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where executeStatus = ?.static BatchEngineImportTask[]findByExecuteStatus_PrevAndNext(long batchEngineImportTaskId, String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where executeStatus = ?.static BatchEngineImportTaskfindByPrimaryKey(long batchEngineImportTaskId) Returns the batch engine import task with the primary key or throws aNoSuchImportTaskExceptionif it could not be found.static List<BatchEngineImportTask>findByUuid(String uuid) Returns all the batch engine import tasks where uuid = ?.static List<BatchEngineImportTask>findByUuid(String uuid, int start, int end) Returns a range of all the batch engine import tasks where uuid = ?.static List<BatchEngineImportTask>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where uuid = ?.static List<BatchEngineImportTask>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where uuid = ?.static List<BatchEngineImportTask>findByUuid_C(String uuid, long companyId) Returns all the batch engine import tasks where uuid = ? and companyId = ?.static List<BatchEngineImportTask>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the batch engine import tasks where uuid = ? and companyId = ?.static List<BatchEngineImportTask>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.static List<BatchEngineImportTask>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.static BatchEngineImportTaskfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.static BatchEngineImportTaskfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.static BatchEngineImportTask[]findByUuid_C_PrevAndNext(long batchEngineImportTaskId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ? and companyId = ?.static BatchEngineImportTaskfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where uuid = ?.static BatchEngineImportTaskfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where uuid = ?.static BatchEngineImportTask[]findByUuid_PrevAndNext(long batchEngineImportTaskId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ?.static List<BatchEngineImportTask>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<BatchEngineImportTask>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<BatchEngineImportTask>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) static BatchEngineImportTaskremove(long batchEngineImportTaskId) Removes the batch engine import task with the primary key from the database.static voidRemoves all the batch engine import tasks from the database.static voidremoveByCompanyId(long companyId) Removes all the batch engine import tasks where companyId = ? from the database.static BatchEngineImportTaskremoveByERC_C(String externalReferenceCode, long companyId) Removes the batch engine import task where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByExecuteStatus(String executeStatus) Removes all the batch engine import tasks where executeStatus = ? from the database.static voidremoveByUuid(String uuid) Removes all the batch engine import tasks where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the batch engine import tasks where uuid = ? and companyId = ? from the database.static voidsetPersistence(BatchEngineImportTaskPersistence persistence) static BatchEngineImportTaskupdate(BatchEngineImportTask batchEngineImportTask) static BatchEngineImportTaskupdate(BatchEngineImportTask batchEngineImportTask, com.liferay.portal.kernel.service.ServiceContext serviceContext) static BatchEngineImportTaskupdateImpl(BatchEngineImportTask batchEngineImportTask)
-
Constructor Details
-
BatchEngineImportTaskUtil
public BatchEngineImportTaskUtil()
-
-
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,BatchEngineImportTask> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<BatchEngineImportTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static BatchEngineImportTask update(BatchEngineImportTask batchEngineImportTask, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the batch engine import tasks where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching batch engine import tasks
-
findByUuid
Returns a range of all the batch engine import 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 fromBatchEngineImportTaskModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)- Returns:
- the range of matching batch engine import tasks
-
findByUuid
public static List<BatchEngineImportTask> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine import tasks
-
findByUuid
public static List<BatchEngineImportTask> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where uuid = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import 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 import tasks
-
findByUuid_First
public static BatchEngineImportTask findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the first batch engine import task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByUuid_First
public static BatchEngineImportTask fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByUuid_Last
public static BatchEngineImportTask findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the last batch engine import task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByUuid_Last
public static BatchEngineImportTask fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByUuid_PrevAndNext
public static BatchEngineImportTask[] findByUuid_PrevAndNext(long batchEngineImportTaskId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ?.- Parameters:
batchEngineImportTaskId- the primary key of the current batch engine import taskuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine import task
- Throws:
NoSuchImportTaskException- if a batch engine import task with the primary key could not be foundNoSuchImportTaskException
-
removeByUuid
Removes all the batch engine import tasks where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of batch engine import tasks where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching batch engine import tasks
-
findByUuid_C
Returns all the batch engine import tasks where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching batch engine import tasks
-
findByUuid_C
public static List<BatchEngineImportTask> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the batch engine import tasks where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)- Returns:
- the range of matching batch engine import tasks
-
findByUuid_C
public static List<BatchEngineImportTask> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine import tasks
-
findByUuid_C
public static List<BatchEngineImportTask> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import 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 import tasks
-
findByUuid_C_First
public static BatchEngineImportTask findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByUuid_C_First
public static BatchEngineImportTask fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByUuid_C_Last
public static BatchEngineImportTask findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByUuid_C_Last
public static BatchEngineImportTask fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByUuid_C_PrevAndNext
public static BatchEngineImportTask[] findByUuid_C_PrevAndNext(long batchEngineImportTaskId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where uuid = ? and companyId = ?.- Parameters:
batchEngineImportTaskId- the primary key of the current batch engine import taskuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine import task
- Throws:
NoSuchImportTaskException- if a batch engine import task with the primary key could not be foundNoSuchImportTaskException
-
removeByUuid_C
Removes all the batch engine import tasks where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of batch engine import tasks where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching batch engine import tasks
-
findByCompanyId
Returns all the batch engine import tasks where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching batch engine import tasks
-
findByCompanyId
Returns a range of all the batch engine import 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 fromBatchEngineImportTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)- Returns:
- the range of matching batch engine import tasks
-
findByCompanyId
public static List<BatchEngineImportTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine import tasks
-
findByCompanyId
public static List<BatchEngineImportTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import 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 import tasks
-
findByCompanyId_First
public static BatchEngineImportTask findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the first batch engine import task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByCompanyId_First
public static BatchEngineImportTask fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByCompanyId_Last
public static BatchEngineImportTask findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the last batch engine import task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByCompanyId_Last
public static BatchEngineImportTask fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByCompanyId_PrevAndNext
public static BatchEngineImportTask[] findByCompanyId_PrevAndNext(long batchEngineImportTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where companyId = ?.- Parameters:
batchEngineImportTaskId- the primary key of the current batch engine import taskcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine import task
- Throws:
NoSuchImportTaskException- if a batch engine import task with the primary key could not be foundNoSuchImportTaskException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the batch engine import tasks where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of batch engine import tasks where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching batch engine import tasks
-
findByExecuteStatus
Returns all the batch engine import tasks where executeStatus = ?.- Parameters:
executeStatus- the execute status- Returns:
- the matching batch engine import tasks
-
findByExecuteStatus
public static List<BatchEngineImportTask> findByExecuteStatus(String executeStatus, int start, int end) Returns a range of all the batch engine import tasks where executeStatus = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
executeStatus- the execute statusstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)- Returns:
- the range of matching batch engine import tasks
-
findByExecuteStatus
public static List<BatchEngineImportTask> findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks where executeStatus = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
executeStatus- the execute statusstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching batch engine import tasks
-
findByExecuteStatus
public static List<BatchEngineImportTask> findByExecuteStatus(String executeStatus, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks where executeStatus = ?.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
executeStatus- the execute statusstart- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import 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 import tasks
-
findByExecuteStatus_First
public static BatchEngineImportTask findByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the first batch engine import task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByExecuteStatus_First
public static BatchEngineImportTask fetchByExecuteStatus_First(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the first batch engine import task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByExecuteStatus_Last
public static BatchEngineImportTask findByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the last batch engine import task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByExecuteStatus_Last
public static BatchEngineImportTask fetchByExecuteStatus_Last(String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns the last batch engine import task in the ordered set where executeStatus = ?.- Parameters:
executeStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching batch engine import task, or
nullif a matching batch engine import task could not be found
-
findByExecuteStatus_PrevAndNext
public static BatchEngineImportTask[] findByExecuteStatus_PrevAndNext(long batchEngineImportTaskId, String executeStatus, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) throws NoSuchImportTaskException Returns the batch engine import tasks before and after the current batch engine import task in the ordered set where executeStatus = ?.- Parameters:
batchEngineImportTaskId- the primary key of the current batch engine import taskexecuteStatus- the execute statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next batch engine import task
- Throws:
NoSuchImportTaskException- if a batch engine import task with the primary key could not be foundNoSuchImportTaskException
-
removeByExecuteStatus
Removes all the batch engine import tasks where executeStatus = ? from the database.- Parameters:
executeStatus- the execute status
-
countByExecuteStatus
Returns the number of batch engine import tasks where executeStatus = ?.- Parameters:
executeStatus- the execute status- Returns:
- the number of matching batch engine import tasks
-
findByERC_C
public static BatchEngineImportTask findByERC_C(String externalReferenceCode, long companyId) throws NoSuchImportTaskException Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or throws aNoSuchImportTaskExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching batch engine import task
- Throws:
NoSuchImportTaskException- if a matching batch engine import task could not be foundNoSuchImportTaskException
-
fetchByERC_C
Returns the batch engine import 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 import task, or
nullif a matching batch engine import task could not be found
-
fetchByERC_C
public static BatchEngineImportTask fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the batch engine import task where externalReferenceCode = ? and companyId = ? or 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 import task, or
nullif a matching batch engine import task could not be found
-
removeByERC_C
public static BatchEngineImportTask removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchImportTaskException Removes the batch engine import task where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the batch engine import task that was removed
- Throws:
NoSuchImportTaskException
-
countByERC_C
Returns the number of batch engine import tasks where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching batch engine import tasks
-
cacheResult
Caches the batch engine import task in the entity cache if it is enabled.- Parameters:
batchEngineImportTask- the batch engine import task
-
cacheResult
Caches the batch engine import tasks in the entity cache if it is enabled.- Parameters:
batchEngineImportTasks- the batch engine import tasks
-
create
Creates a new batch engine import task with the primary key. Does not add the batch engine import task to the database.- Parameters:
batchEngineImportTaskId- the primary key for the new batch engine import task- Returns:
- the new batch engine import task
-
remove
public static BatchEngineImportTask remove(long batchEngineImportTaskId) throws NoSuchImportTaskException Removes the batch engine import task with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
batchEngineImportTaskId- the primary key of the batch engine import task- Returns:
- the batch engine import task that was removed
- Throws:
NoSuchImportTaskException- if a batch engine import task with the primary key could not be foundNoSuchImportTaskException
-
updateImpl
-
findByPrimaryKey
public static BatchEngineImportTask findByPrimaryKey(long batchEngineImportTaskId) throws NoSuchImportTaskException Returns the batch engine import task with the primary key or throws aNoSuchImportTaskExceptionif it could not be found.- Parameters:
batchEngineImportTaskId- the primary key of the batch engine import task- Returns:
- the batch engine import task
- Throws:
NoSuchImportTaskException- if a batch engine import task with the primary key could not be foundNoSuchImportTaskException
-
fetchByPrimaryKey
Returns the batch engine import task with the primary key or returnsnullif it could not be found.- Parameters:
batchEngineImportTaskId- the primary key of the batch engine import task- Returns:
- the batch engine import task, or
nullif a batch engine import task with the primary key could not be found
-
findAll
Returns all the batch engine import tasks.- Returns:
- the batch engine import tasks
-
findAll
Returns a range of all the batch engine import 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 fromBatchEngineImportTaskModelImpl.- Parameters:
start- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)- Returns:
- the range of batch engine import tasks
-
findAll
public static List<BatchEngineImportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) Returns an ordered range of all the batch engine import tasks.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
start- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of batch engine import tasks
-
findAll
public static List<BatchEngineImportTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the batch engine import tasks.Useful when paginating results. Returns a maximum of
end - 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 fromBatchEngineImportTaskModelImpl.- Parameters:
start- the lower bound of the range of batch engine import tasksend- the upper bound of the range of batch engine import 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 import tasks
-
removeAll
public static void removeAll()Removes all the batch engine import tasks from the database. -
countAll
public static int countAll()Returns the number of batch engine import tasks.- Returns:
- the number of batch engine import tasks
-
getPersistence
-
setPersistence
-