Interface BackgroundTaskPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<BackgroundTask>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(BackgroundTask backgroundTask) Caches the background task in the entity cache if it is enabled.voidcacheResult(List<BackgroundTask> backgroundTasks) Caches the background tasks in the entity cache if it is enabled.intcountAll()Returns the number of background tasks.intcountByCompanyId(long companyId) Returns the number of background tasks where companyId = ?.intcountByCompleted(boolean completed) Returns the number of background tasks where completed = ?.intcountByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames) Returns the number of background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.intcountByG_N_T(long groupId, String name, String taskExecutorClassName) Returns the number of background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.intcountByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed) Returns the number of background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.intcountByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed) Returns the number of background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.intcountByG_S(long groupId, int status) Returns the number of background tasks where groupId = ? and status = ?.intcountByG_T(long[] groupIds, String[] taskExecutorClassNames) Returns the number of background tasks where groupId = any ? and taskExecutorClassName = any ?.intcountByG_T(long groupId, String taskExecutorClassName) Returns the number of background tasks where groupId = ? and taskExecutorClassName = ?.intcountByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed) Returns the number of background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.intcountByG_T_C(long groupId, String taskExecutorClassName, boolean completed) Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.intcountByG_T_S(long groupId, String[] taskExecutorClassNames, int status) Returns the number of background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.intcountByG_T_S(long groupId, String taskExecutorClassName, int status) Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.intcountByGroupId(long groupId) Returns the number of background tasks where groupId = ?.intcountByStatus(int status) Returns the number of background tasks where status = ?.intcountByT_S(String[] taskExecutorClassNames, int status) Returns the number of background tasks where taskExecutorClassName = any ? and status = ?.intcountByT_S(String taskExecutorClassName, int status) Returns the number of background tasks where taskExecutorClassName = ? and status = ?.create(long backgroundTaskId) Creates a new background task with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where companyId = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where companyId = ?.fetchByCompleted_First(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where completed = ?.fetchByCompleted_Last(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where completed = ?.fetchByG_N_T_C_First(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.fetchByG_N_T_C_Last(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.fetchByG_N_T_First(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.fetchByG_N_T_Last(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and status = ?.fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and status = ?.fetchByG_T_C_First(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.fetchByG_T_C_Last(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.fetchByG_T_First(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.fetchByG_T_Last(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.fetchByG_T_S_First(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.fetchByG_T_S_Last(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ?.fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ?.fetchByPrimaryKey(long backgroundTaskId) Returns the background task with the primary key or returnsnullif it could not be found.fetchByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where status = ?.fetchByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where status = ?.fetchByT_S_First(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?.fetchByT_S_Last(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?.findAll()Returns all the background tasks.findAll(int start, int end) Returns a range of all the background tasks.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks.findByCompanyId(long companyId) Returns all the background tasks where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the background tasks where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where companyId = ?.findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where companyId = ?.findByCompanyId_PrevAndNext(long backgroundTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where companyId = ?.findByCompleted(boolean completed) Returns all the background tasks where completed = ?.findByCompleted(boolean completed, int start, int end) Returns a range of all the background tasks where completed = ?.findByCompleted(boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where completed = ?.findByCompleted(boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where completed = ?.findByCompleted_First(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where completed = ?.findByCompleted_Last(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where completed = ?.findByCompleted_PrevAndNext(long backgroundTaskId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where completed = ?.findByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames) Returns all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.findByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames, int start, int end) Returns a range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.findByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.findByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?, optionally using the finder cache.findByG_N_T(long groupId, String name, String taskExecutorClassName) Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end) Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed) Returns all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?, optionally using the finder cache.findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed) Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C_First(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C_Last(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_C_PrevAndNext(long backgroundTaskId, long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.findByG_N_T_First(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.findByG_N_T_Last(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.findByG_N_T_PrevAndNext(long backgroundTaskId, long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.findByG_S(long groupId, int status) Returns all the background tasks where groupId = ? and status = ?.findByG_S(long groupId, int status, int start, int end) Returns a range of all the background tasks where groupId = ? and status = ?.findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and status = ?.findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and status = ?.findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and status = ?.findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and status = ?.findByG_S_PrevAndNext(long backgroundTaskId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where groupId = ? and status = ?.Returns all the background tasks where groupId = any ? and taskExecutorClassName = any ?.Returns a range of all the background tasks where groupId = any ? and taskExecutorClassName = any ?.findByG_T(long[] groupIds, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and taskExecutorClassName = any ?.findByG_T(long[] groupIds, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?, optionally using the finder cache.Returns all the background tasks where groupId = ? and taskExecutorClassName = ?.Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ?.findByG_T(long groupId, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?.findByG_T(long groupId, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?.findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed) Returns all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?, optionally using the finder cache.findByG_T_C(long groupId, String taskExecutorClassName, boolean completed) Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.findByG_T_C_First(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.findByG_T_C_Last(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.findByG_T_C_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.findByG_T_First(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.findByG_T_Last(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.findByG_T_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ?.findByG_T_S(long groupId, String[] taskExecutorClassNames, int status) Returns all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end) Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?, optionally using the finder cache.findByG_T_S(long groupId, String taskExecutorClassName, int status) Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end) Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.findByG_T_S_First(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.findByG_T_S_Last(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.findByG_T_S_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.findByGroupId(long groupId) Returns all the background tasks where groupId = ?.findByGroupId(long groupId, int start, int end) Returns a range of all the background tasks where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ?.findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ?.findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ?.findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ?.findByGroupId_PrevAndNext(long backgroundTaskId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where groupId = ?.findByPrimaryKey(long backgroundTaskId) Returns the background task with the primary key or throws aNoSuchBackgroundTaskExceptionif it could not be found.findByStatus(int status) Returns all the background tasks where status = ?.findByStatus(int status, int start, int end) Returns a range of all the background tasks where status = ?.findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where status = ?.findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where status = ?.findByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where status = ?.findByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where status = ?.findByStatus_PrevAndNext(long backgroundTaskId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where status = ?.Returns all the background tasks where taskExecutorClassName = any ? and status = ?.Returns a range of all the background tasks where taskExecutorClassName = any ? and status = ?.findByT_S(String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where taskExecutorClassName = any ? and status = ?.findByT_S(String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?, optionally using the finder cache.Returns all the background tasks where taskExecutorClassName = ? and status = ?.Returns a range of all the background tasks where taskExecutorClassName = ? and status = ?.findByT_S(String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?.findByT_S(String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?.findByT_S_First(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?.findByT_S_Last(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?.findByT_S_PrevAndNext(long backgroundTaskId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the background tasks before and after the current background task in the ordered set where taskExecutorClassName = ? and status = ?.remove(long backgroundTaskId) Removes the background task with the primary key from the database.voidRemoves all the background tasks from the database.voidremoveByCompanyId(long companyId) Removes all the background tasks where companyId = ? from the database.voidremoveByCompleted(boolean completed) Removes all the background tasks where completed = ? from the database.voidremoveByG_N_T(long groupId, String name, String taskExecutorClassName) Removes all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? from the database.voidremoveByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed) Removes all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ? from the database.voidremoveByG_S(long groupId, int status) Removes all the background tasks where groupId = ? and status = ? from the database.voidremoveByG_T(long groupId, String taskExecutorClassName) Removes all the background tasks where groupId = ? and taskExecutorClassName = ? from the database.voidremoveByG_T_C(long groupId, String taskExecutorClassName, boolean completed) Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ? from the database.voidremoveByG_T_S(long groupId, String taskExecutorClassName, int status) Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ? from the database.voidremoveByGroupId(long groupId) Removes all the background tasks where groupId = ? from the database.voidremoveByStatus(int status) Removes all the background tasks where status = ? from the database.voidremoveByT_S(String taskExecutorClassName, int status) Removes all the background tasks where taskExecutorClassName = ? and status = ? from the database.updateImpl(BackgroundTask backgroundTask) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByGroupId
Returns all the background tasks where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching background tasks
-
findByGroupId
Returns a range of all the background tasks where groupId = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByGroupId
List<BackgroundTask> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByGroupId
List<BackgroundTask> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByGroupId_First
BackgroundTask findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByGroupId_First
BackgroundTask fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByGroupId_Last
BackgroundTask findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByGroupId_Last
BackgroundTask fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByGroupId_PrevAndNext
BackgroundTask[] findByGroupId_PrevAndNext(long backgroundTaskId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where groupId = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the background tasks where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of background tasks where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching background tasks
-
findByCompanyId
Returns all the background tasks where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching background tasks
-
findByCompanyId
Returns a range of all the background 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 fromBackgroundTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByCompanyId
List<BackgroundTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background 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 fromBackgroundTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByCompanyId
List<BackgroundTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background 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 fromBackgroundTaskModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByCompanyId_First
BackgroundTask findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByCompanyId_First
BackgroundTask fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByCompanyId_Last
BackgroundTask findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByCompanyId_Last
BackgroundTask fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByCompanyId_PrevAndNext
BackgroundTask[] findByCompanyId_PrevAndNext(long backgroundTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where companyId = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the background tasks where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of background tasks where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching background tasks
-
findByCompleted
Returns all the background tasks where completed = ?.- Parameters:
completed- the completed- Returns:
- the matching background tasks
-
findByCompleted
Returns a range of all the background tasks where completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
completed- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByCompleted
List<BackgroundTask> findByCompleted(boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
completed- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByCompleted
List<BackgroundTask> findByCompleted(boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
completed- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByCompleted_First
BackgroundTask findByCompleted_First(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where completed = ?.- Parameters:
completed- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByCompleted_First
BackgroundTask fetchByCompleted_First(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where completed = ?.- Parameters:
completed- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByCompleted_Last
BackgroundTask findByCompleted_Last(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where completed = ?.- Parameters:
completed- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByCompleted_Last
BackgroundTask fetchByCompleted_Last(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where completed = ?.- Parameters:
completed- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByCompleted_PrevAndNext
BackgroundTask[] findByCompleted_PrevAndNext(long backgroundTaskId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where completed = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskcompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
removeByCompleted
void removeByCompleted(boolean completed) Removes all the background tasks where completed = ? from the database.- Parameters:
completed- the completed
-
countByCompleted
int countByCompleted(boolean completed) Returns the number of background tasks where completed = ?.- Parameters:
completed- the completed- Returns:
- the number of matching background tasks
-
findByStatus
Returns all the background tasks where status = ?.- Parameters:
status- the status- Returns:
- the matching background tasks
-
findByStatus
Returns a range of all the background tasks where status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
status- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByStatus
List<BackgroundTask> findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
status- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByStatus
List<BackgroundTask> findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
status- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByStatus_First
BackgroundTask findByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByStatus_First
BackgroundTask fetchByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByStatus_Last
BackgroundTask findByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByStatus_Last
BackgroundTask fetchByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where status = ?.- Parameters:
status- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByStatus_PrevAndNext
BackgroundTask[] findByStatus_PrevAndNext(long backgroundTaskId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where status = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
removeByStatus
void removeByStatus(int status) Removes all the background tasks where status = ? from the database.- Parameters:
status- the status
-
countByStatus
int countByStatus(int status) Returns the number of background tasks where status = ?.- Parameters:
status- the status- Returns:
- the number of matching background tasks
-
findByG_T
Returns all the background tasks where groupId = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class name- Returns:
- the matching background tasks
-
findByG_T
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_T
List<BackgroundTask> findByG_T(long groupId, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_T
List<BackgroundTask> findByG_T(long groupId, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByG_T_First
BackgroundTask findByG_T_First(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_T_First
BackgroundTask fetchByG_T_First(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByG_T_Last
BackgroundTask findByG_T_Last(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_T_Last
BackgroundTask fetchByG_T_Last(long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByG_T_PrevAndNext
BackgroundTask[] findByG_T_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskgroupId- the group IDtaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
findByG_T
Returns all the background tasks where groupId = any ? and taskExecutorClassName = any ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class names- Returns:
- the matching background tasks
-
findByG_T
List<BackgroundTask> findByG_T(long[] groupIds, String[] taskExecutorClassNames, int start, int end) Returns a range of all the background tasks where groupId = any ? and taskExecutorClassName = any ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namesstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_T
List<BackgroundTask> findByG_T(long[] groupIds, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and taskExecutorClassName = any ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namesstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_T
List<BackgroundTask> findByG_T(long[] groupIds, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?, optionally using the finder cache.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namesstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
removeByG_T
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? from the database.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class name
-
countByG_T
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class name- Returns:
- the number of matching background tasks
-
countByG_T
Returns the number of background tasks where groupId = any ? and taskExecutorClassName = any ?.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class names- Returns:
- the number of matching background tasks
-
findByG_S
Returns all the background tasks where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the matching background tasks
-
findByG_S
Returns a range of all the background tasks where groupId = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_S
List<BackgroundTask> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_S
List<BackgroundTask> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByG_S_First
BackgroundTask findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_S_First
BackgroundTask fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByG_S_Last
BackgroundTask findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_S_Last
BackgroundTask fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByG_S_PrevAndNext
BackgroundTask[] findByG_S_PrevAndNext(long backgroundTaskId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where groupId = ? and status = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskgroupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
removeByG_S
void removeByG_S(long groupId, int status) Removes all the background tasks where groupId = ? and status = ? from the database.- Parameters:
groupId- the group IDstatus- the status
-
countByG_S
int countByG_S(long groupId, int status) Returns the number of background tasks where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the number of matching background tasks
-
findByT_S
Returns all the background tasks where taskExecutorClassName = ? and status = ?.- Parameters:
taskExecutorClassName- the task executor class namestatus- the status- Returns:
- the matching background tasks
-
findByT_S
Returns a range of all the background tasks where taskExecutorClassName = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
taskExecutorClassName- the task executor class namestatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByT_S
List<BackgroundTask> findByT_S(String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
taskExecutorClassName- the task executor class namestatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByT_S
List<BackgroundTask> findByT_S(String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
taskExecutorClassName- the task executor class namestatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByT_S_First
BackgroundTask findByT_S_First(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?.- Parameters:
taskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByT_S_First
BackgroundTask fetchByT_S_First(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?.- Parameters:
taskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByT_S_Last
BackgroundTask findByT_S_Last(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?.- Parameters:
taskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByT_S_Last
BackgroundTask fetchByT_S_Last(String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?.- Parameters:
taskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByT_S_PrevAndNext
BackgroundTask[] findByT_S_PrevAndNext(long backgroundTaskId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where taskExecutorClassName = ? and status = ?.- Parameters:
backgroundTaskId- the primary key of the current background tasktaskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
findByT_S
Returns all the background tasks where taskExecutorClassName = any ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
taskExecutorClassNames- the task executor class namesstatus- the status- Returns:
- the matching background tasks
-
findByT_S
Returns a range of all the background tasks where taskExecutorClassName = any ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
taskExecutorClassNames- the task executor class namesstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByT_S
List<BackgroundTask> findByT_S(String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where taskExecutorClassName = any ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
taskExecutorClassNames- the task executor class namesstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByT_S
List<BackgroundTask> findByT_S(String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?, optionally using the finder cache.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 fromBackgroundTaskModelImpl.- Parameters:
taskExecutorClassNames- the task executor class namesstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
removeByT_S
Removes all the background tasks where taskExecutorClassName = ? and status = ? from the database.- Parameters:
taskExecutorClassName- the task executor class namestatus- the status
-
countByT_S
Returns the number of background tasks where taskExecutorClassName = ? and status = ?.- Parameters:
taskExecutorClassName- the task executor class namestatus- the status- Returns:
- the number of matching background tasks
-
countByT_S
Returns the number of background tasks where taskExecutorClassName = any ? and status = ?.- Parameters:
taskExecutorClassNames- the task executor class namesstatus- the status- Returns:
- the number of matching background tasks
-
findByG_N_T
Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class name- Returns:
- the matching background tasks
-
findByG_N_T
List<BackgroundTask> findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end) Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namestart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_N_T
List<BackgroundTask> findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namestart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_N_T
List<BackgroundTask> findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namestart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByG_N_T_First
BackgroundTask findByG_N_T_First(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_N_T_First
BackgroundTask fetchByG_N_T_First(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByG_N_T_Last
BackgroundTask findByG_N_T_Last(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_N_T_Last
BackgroundTask fetchByG_N_T_Last(long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByG_N_T_PrevAndNext
BackgroundTask[] findByG_N_T_PrevAndNext(long backgroundTaskId, long groupId, String name, String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskgroupId- the group IDname- the nametaskExecutorClassName- the task executor class nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
findByG_N_T
Returns all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassNames- the task executor class names- Returns:
- the matching background tasks
-
findByG_N_T
List<BackgroundTask> findByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames, int start, int end) Returns a range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassNames- the task executor class namesstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_N_T
List<BackgroundTask> findByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassNames- the task executor class namesstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_N_T
List<BackgroundTask> findByG_N_T(long[] groupIds, String name, String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?, optionally using the finder cache.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassNames- the task executor class namesstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
removeByG_N_T
Removes all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? from the database.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class name
-
countByG_N_T
Returns the number of background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class name- Returns:
- the number of matching background tasks
-
countByG_N_T
Returns the number of background tasks where groupId = any ? and name = ? and taskExecutorClassName = any ?.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassNames- the task executor class names- Returns:
- the number of matching background tasks
-
findByG_T_C
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completed- Returns:
- the matching background tasks
-
findByG_T_C
List<BackgroundTask> findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_T_C
List<BackgroundTask> findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_T_C
List<BackgroundTask> findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByG_T_C_First
BackgroundTask findByG_T_C_First(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_T_C_First
BackgroundTask fetchByG_T_C_First(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByG_T_C_Last
BackgroundTask findByG_T_C_Last(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_T_C_Last
BackgroundTask fetchByG_T_C_Last(long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByG_T_C_PrevAndNext
BackgroundTask[] findByG_T_C_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskgroupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
findByG_T_C
List<BackgroundTask> findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed) Returns all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namescompleted- the completed- Returns:
- the matching background tasks
-
findByG_T_C
List<BackgroundTask> findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namescompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_T_C
List<BackgroundTask> findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namescompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_T_C
List<BackgroundTask> findByG_T_C(long[] groupIds, String[] taskExecutorClassNames, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?, optionally using the finder cache.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namescompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
removeByG_T_C
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ? from the database.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completed
-
countByG_T_C
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namecompleted- the completed- Returns:
- the number of matching background tasks
-
countByG_T_C
Returns the number of background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.- Parameters:
groupIds- the group IDstaskExecutorClassNames- the task executor class namescompleted- the completed- Returns:
- the number of matching background tasks
-
findByG_T_S
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the status- Returns:
- the matching background tasks
-
findByG_T_S
List<BackgroundTask> findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end) Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_T_S
List<BackgroundTask> findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_T_S
List<BackgroundTask> findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByG_T_S_First
BackgroundTask findByG_T_S_First(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_T_S_First
BackgroundTask fetchByG_T_S_First(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByG_T_S_Last
BackgroundTask findByG_T_S_Last(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_T_S_Last
BackgroundTask fetchByG_T_S_Last(long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByG_T_S_PrevAndNext
BackgroundTask[] findByG_T_S_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskgroupId- the group IDtaskExecutorClassName- the task executor class namestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
findByG_T_S
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassNames- the task executor class namesstatus- the status- Returns:
- the matching background tasks
-
findByG_T_S
List<BackgroundTask> findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end) Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassNames- the task executor class namesstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_T_S
List<BackgroundTask> findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassNames- the task executor class namesstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_T_S
List<BackgroundTask> findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?, optionally using the finder cache.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDtaskExecutorClassNames- the task executor class namesstatus- the statusstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
removeByG_T_S
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ? from the database.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the status
-
countByG_T_S
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.- Parameters:
groupId- the group IDtaskExecutorClassName- the task executor class namestatus- the status- Returns:
- the number of matching background tasks
-
countByG_T_S
Returns the number of background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.- Parameters:
groupId- the group IDtaskExecutorClassNames- the task executor class namesstatus- the status- Returns:
- the number of matching background tasks
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed) Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completed- Returns:
- the matching background tasks
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
findByG_N_T_C_First
BackgroundTask findByG_N_T_C_First(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_N_T_C_First
BackgroundTask fetchByG_N_T_C_First(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching background task, or
nullif a matching background task could not be found
-
findByG_N_T_C_Last
BackgroundTask findByG_N_T_C_Last(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task
- Throws:
NoSuchBackgroundTaskException- if a matching background task could not be found
-
fetchByG_N_T_C_Last
BackgroundTask fetchByG_N_T_C_Last(long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching background task, or
nullif a matching background task could not be found
-
findByG_N_T_C_PrevAndNext
BackgroundTask[] findByG_N_T_C_PrevAndNext(long backgroundTaskId, long groupId, String name, String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException Returns the background tasks before and after the current background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
backgroundTaskId- the primary key of the current background taskgroupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed) Returns all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassName- the task executor class namecompleted- the completed- Returns:
- the matching background tasks
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed, int start, int end) Returns a range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of matching background tasks
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching background tasks
-
findByG_N_T_C
List<BackgroundTask> findByG_N_T_C(long[] groupIds, String name, String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?, optionally using the finder cache.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 fromBackgroundTaskModelImpl.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassName- the task executor class namecompleted- the completedstart- the lower bound of the range of background tasksend- the upper bound of the range of background 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 background tasks
-
removeByG_N_T_C
Removes all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ? from the database.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completed
-
countByG_N_T_C
Returns the number of background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupId- the group IDname- the nametaskExecutorClassName- the task executor class namecompleted- the completed- Returns:
- the number of matching background tasks
-
countByG_N_T_C
Returns the number of background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.- Parameters:
groupIds- the group IDsname- the nametaskExecutorClassName- the task executor class namecompleted- the completed- Returns:
- the number of matching background tasks
-
cacheResult
Caches the background task in the entity cache if it is enabled.- Parameters:
backgroundTask- the background task
-
cacheResult
Caches the background tasks in the entity cache if it is enabled.- Parameters:
backgroundTasks- the background tasks
-
create
Creates a new background task with the primary key. Does not add the background task to the database.- Parameters:
backgroundTaskId- the primary key for the new background task- Returns:
- the new background task
-
remove
Removes the background task with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
backgroundTaskId- the primary key of the background task- Returns:
- the background task that was removed
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the background task with the primary key or throws aNoSuchBackgroundTaskExceptionif it could not be found.- Parameters:
backgroundTaskId- the primary key of the background task- Returns:
- the background task
- Throws:
NoSuchBackgroundTaskException- if a background task with the primary key could not be found
-
fetchByPrimaryKey
Returns the background task with the primary key or returnsnullif it could not be found.- Parameters:
backgroundTaskId- the primary key of the background task- Returns:
- the background task, or
nullif a background task with the primary key could not be found
-
findAll
List<BackgroundTask> findAll()Returns all the background tasks.- Returns:
- the background tasks
-
findAll
Returns a range of all the background 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 fromBackgroundTaskModelImpl.- Parameters:
start- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)- Returns:
- the range of background tasks
-
findAll
List<BackgroundTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) Returns an ordered range of all the background 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 fromBackgroundTaskModelImpl.- Parameters:
start- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of background tasks
-
findAll
List<BackgroundTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean useFinderCache) Returns an ordered range of all the background 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 fromBackgroundTaskModelImpl.- Parameters:
start- the lower bound of the range of background tasksend- the upper bound of the range of background tasks (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of background tasks
-
removeAll
void removeAll()Removes all the background tasks from the database. -
countAll
int countAll()Returns the number of background tasks.- Returns:
- the number of background tasks
-