@ProviderType
public class BackgroundTaskUtil
extends java.lang.Object
com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
BackgroundTaskPersistence
,
com.liferay.portal.background.task.service.persistence.impl.BackgroundTaskPersistenceImpl
Constructor and Description |
---|
BackgroundTaskUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(BackgroundTask backgroundTask)
Caches the background task in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<BackgroundTask> backgroundTasks)
Caches the background tasks in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(BackgroundTask backgroundTask) |
static int |
countAll()
Returns the number of background tasks.
|
static int |
countByCompanyId(long companyId)
Returns the number of background tasks where companyId = ?.
|
static int |
countByCompleted(boolean completed)
Returns the number of background tasks where completed = ?.
|
static int |
countByG_N_T_C(long[] groupIds,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
Returns the number of background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
static int |
countByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
Returns the number of background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
static int |
countByG_N_T(long[] groupIds,
java.lang.String name,
java.lang.String taskExecutorClassName)
Returns the number of background tasks where groupId = any ? and name = ? and taskExecutorClassName = ?.
|
static int |
countByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName)
Returns the number of background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.
|
static int |
countByG_S(long groupId,
int status)
Returns the number of background tasks where groupId = ? and status = ?.
|
static int |
countByG_T_C(long[] groupIds,
java.lang.String[] taskExecutorClassNames,
boolean completed)
Returns the number of background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.
|
static int |
countByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
static int |
countByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.
|
static int |
countByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.
|
static int |
countByG_T(long[] groupIds,
java.lang.String[] taskExecutorClassNames)
Returns the number of background tasks where groupId = any ? and taskExecutorClassName = any ?.
|
static int |
countByG_T(long groupId,
java.lang.String taskExecutorClassName)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of background tasks where groupId = ?.
|
static int |
countByStatus(int status)
Returns the number of background tasks where status = ?.
|
static int |
countByT_S(java.lang.String[] taskExecutorClassNames,
int status)
Returns the number of background tasks where taskExecutorClassName = any ? and status = ?.
|
static int |
countByT_S(java.lang.String taskExecutorClassName,
int status)
Returns the number of background tasks where taskExecutorClassName = ? and status = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static BackgroundTask |
create(long backgroundTaskId)
Creates a new background task with the primary key.
|
static BackgroundTask |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where companyId = ?.
|
static BackgroundTask |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where companyId = ?.
|
static BackgroundTask |
fetchByCompleted_First(boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where completed = ?.
|
static BackgroundTask |
fetchByCompleted_Last(boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where completed = ?.
|
static BackgroundTask |
fetchByG_N_T_C_First(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static BackgroundTask |
fetchByG_N_T_C_Last(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static BackgroundTask |
fetchByG_N_T_First(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static BackgroundTask |
fetchByG_N_T_Last(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static BackgroundTask |
fetchByG_T_C_First(long groupId,
java.lang.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 = ?.
|
static BackgroundTask |
fetchByG_T_C_Last(long groupId,
java.lang.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 = ?.
|
static BackgroundTask |
fetchByG_T_First(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
static BackgroundTask |
fetchByG_T_Last(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
static BackgroundTask |
fetchByG_T_S_First(long groupId,
java.lang.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 = ?.
|
static BackgroundTask |
fetchByG_T_S_Last(long groupId,
java.lang.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 = ?.
|
static BackgroundTask |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where groupId = ?.
|
static BackgroundTask |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where groupId = ?.
|
static BackgroundTask |
fetchByPrimaryKey(long backgroundTaskId)
Returns the background task with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,BackgroundTask> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static BackgroundTask |
fetchByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where status = ?.
|
static BackgroundTask |
fetchByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where status = ?.
|
static BackgroundTask |
fetchByT_S_First(java.lang.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 = ?.
|
static BackgroundTask |
fetchByT_S_Last(java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findAll()
Returns all the background tasks.
|
static java.util.List<BackgroundTask> |
findAll(int start,
int end)
Returns a range of all the background tasks.
|
static java.util.List<BackgroundTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns an ordered range of all the background tasks.
|
static java.util.List<BackgroundTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks.
|
static BackgroundTask |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where companyId = ?.
|
static BackgroundTask |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where companyId = ?.
|
static BackgroundTask[] |
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 = ?.
|
static java.util.List<BackgroundTask> |
findByCompanyId(long companyId)
Returns all the background tasks where companyId = ?.
|
static java.util.List<BackgroundTask> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the background tasks where companyId = ?.
|
static java.util.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 = ?.
|
static java.util.List<BackgroundTask> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where companyId = ?.
|
static BackgroundTask |
findByCompleted_First(boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where completed = ?.
|
static BackgroundTask |
findByCompleted_Last(boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where completed = ?.
|
static BackgroundTask[] |
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 = ?.
|
static java.util.List<BackgroundTask> |
findByCompleted(boolean completed)
Returns all the background tasks where completed = ?.
|
static java.util.List<BackgroundTask> |
findByCompleted(boolean completed,
int start,
int end)
Returns a range of all the background tasks where completed = ?.
|
static java.util.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 = ?.
|
static java.util.List<BackgroundTask> |
findByCompleted(boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where completed = ?.
|
static BackgroundTask |
findByG_N_T_C_First(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static BackgroundTask |
findByG_N_T_C_Last(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static BackgroundTask[] |
findByG_N_T_C_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long[] groupIds,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
Returns all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long[] groupIds,
java.lang.String name,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long[] groupIds,
java.lang.String name,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long[] groupIds,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?, optionally using the finder cache.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
static BackgroundTask |
findByG_N_T_First(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static BackgroundTask |
findByG_N_T_Last(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static BackgroundTask[] |
findByG_N_T_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long[] groupIds,
java.lang.String name,
java.lang.String taskExecutorClassName)
Returns all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long[] groupIds,
java.lang.String name,
java.lang.String taskExecutorClassName,
int start,
int end)
Returns a range of all the background tasks where groupId = any ? and name = ? and taskExecutorClassName = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long[] groupIds,
java.lang.String name,
java.lang.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 = any ? and name = ? and taskExecutorClassName = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long[] groupIds,
java.lang.String name,
java.lang.String taskExecutorClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?, optionally using the finder cache.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName)
Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long groupId,
java.lang.String name,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.
|
static BackgroundTask |
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 = ?.
|
static BackgroundTask |
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 = ?.
|
static BackgroundTask[] |
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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_S(long groupId,
int status)
Returns all the background tasks where groupId = ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and status = ?.
|
static BackgroundTask |
findByG_T_C_First(long groupId,
java.lang.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 = ?.
|
static BackgroundTask |
findByG_T_C_Last(long groupId,
java.lang.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 = ?.
|
static BackgroundTask[] |
findByG_T_C_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long[] groupIds,
java.lang.String[] taskExecutorClassNames,
boolean completed)
Returns all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long[] groupIds,
java.lang.String[] taskExecutorClassNames,
boolean completed,
int start,
int end)
Returns a range of all the background tasks where groupId = any ? and taskExecutorClassName = any ? and completed = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long[] groupIds,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long[] groupIds,
java.lang.String[] taskExecutorClassNames,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?, optionally using the finder cache.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long groupId,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
static BackgroundTask |
findByG_T_First(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
static BackgroundTask |
findByG_T_Last(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
static BackgroundTask[] |
findByG_T_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.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 = ?.
|
static BackgroundTask |
findByG_T_S_First(long groupId,
java.lang.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 = ?.
|
static BackgroundTask |
findByG_T_S_Last(long groupId,
java.lang.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 = ?.
|
static BackgroundTask[] |
findByG_T_S_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status)
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?, optionally using the finder cache.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByG_T(long[] groupIds,
java.lang.String[] taskExecutorClassNames)
Returns all the background tasks where groupId = any ? and taskExecutorClassName = any ?.
|
static java.util.List<BackgroundTask> |
findByG_T(long[] groupIds,
java.lang.String[] taskExecutorClassNames,
int start,
int end)
Returns a range of all the background tasks where groupId = any ? and taskExecutorClassName = any ?.
|
static java.util.List<BackgroundTask> |
findByG_T(long[] groupIds,
java.lang.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 ?.
|
static java.util.List<BackgroundTask> |
findByG_T(long[] groupIds,
java.lang.String[] taskExecutorClassNames,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?, optionally using the finder cache.
|
static java.util.List<BackgroundTask> |
findByG_T(long groupId,
java.lang.String taskExecutorClassName)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ?.
|
static java.util.List<BackgroundTask> |
findByG_T(long groupId,
java.lang.String taskExecutorClassName,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ?.
|
static java.util.List<BackgroundTask> |
findByG_T(long groupId,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByG_T(long groupId,
java.lang.String taskExecutorClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?.
|
static BackgroundTask |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where groupId = ?.
|
static BackgroundTask |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where groupId = ?.
|
static BackgroundTask[] |
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 = ?.
|
static java.util.List<BackgroundTask> |
findByGroupId(long groupId)
Returns all the background tasks where groupId = ?.
|
static java.util.List<BackgroundTask> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the background tasks where groupId = ?.
|
static java.util.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 = ?.
|
static java.util.List<BackgroundTask> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where groupId = ?.
|
static BackgroundTask |
findByPrimaryKey(long backgroundTaskId)
Returns the background task with the primary key or throws a
NoSuchBackgroundTaskException if it could not be found. |
static BackgroundTask |
findByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the first background task in the ordered set where status = ?.
|
static BackgroundTask |
findByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Returns the last background task in the ordered set where status = ?.
|
static BackgroundTask[] |
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 = ?.
|
static java.util.List<BackgroundTask> |
findByStatus(int status)
Returns all the background tasks where status = ?.
|
static java.util.List<BackgroundTask> |
findByStatus(int status,
int start,
int end)
Returns a range of all the background tasks where status = ?.
|
static java.util.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 = ?.
|
static java.util.List<BackgroundTask> |
findByStatus(int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where status = ?.
|
static BackgroundTask |
findByT_S_First(java.lang.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 = ?.
|
static BackgroundTask |
findByT_S_Last(java.lang.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 = ?.
|
static BackgroundTask[] |
findByT_S_PrevAndNext(long backgroundTaskId,
java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.String[] taskExecutorClassNames,
int status)
Returns all the background tasks where taskExecutorClassName = any ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end)
Returns a range of all the background tasks where taskExecutorClassName = any ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?, optionally using the finder cache.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.String taskExecutorClassName,
int status)
Returns all the background tasks where taskExecutorClassName = ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.String taskExecutorClassName,
int status,
int start,
int end)
Returns a range of all the background tasks where taskExecutorClassName = ? and status = ?.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.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 = ?.
|
static java.util.List<BackgroundTask> |
findByT_S(java.lang.String taskExecutorClassName,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?.
|
static java.util.List<BackgroundTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<BackgroundTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<BackgroundTask> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) |
static BackgroundTaskPersistence |
getPersistence() |
static BackgroundTask |
remove(long backgroundTaskId)
Removes the background task with the primary key from the database.
|
static void |
removeAll()
Removes all the background tasks from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the background tasks where companyId = ? from the database.
|
static void |
removeByCompleted(boolean completed)
Removes all the background tasks where completed = ? from the database.
|
static void |
removeByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
Removes all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ? from the database.
|
static void |
removeByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName)
Removes all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? from the database.
|
static void |
removeByG_S(long groupId,
int status)
Removes all the background tasks where groupId = ? and status = ? from the database.
|
static void |
removeByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ? from the database.
|
static void |
removeByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ? from the database.
|
static void |
removeByG_T(long groupId,
java.lang.String taskExecutorClassName)
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the background tasks where groupId = ? from the database.
|
static void |
removeByStatus(int status)
Removes all the background tasks where status = ? from the database.
|
static void |
removeByT_S(java.lang.String taskExecutorClassName,
int status)
Removes all the background tasks where taskExecutorClassName = ? and status = ? from the database.
|
static BackgroundTask |
update(BackgroundTask backgroundTask) |
static BackgroundTask |
update(BackgroundTask backgroundTask,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static BackgroundTask |
updateImpl(BackgroundTask backgroundTask) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(BackgroundTask backgroundTask)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<BackgroundTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<BackgroundTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<BackgroundTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static BackgroundTask update(BackgroundTask backgroundTask)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static BackgroundTask update(BackgroundTask backgroundTask, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<BackgroundTask> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<BackgroundTask> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)public static java.util.List<BackgroundTask> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByGroupId_PrevAndNext(long backgroundTaskId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<BackgroundTask> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<BackgroundTask> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)public static java.util.List<BackgroundTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByCompanyId_PrevAndNext(long backgroundTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the current background taskcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<BackgroundTask> findByCompleted(boolean completed)
completed
- the completedpublic static java.util.List<BackgroundTask> findByCompleted(boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
completed
- the completedstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)public static java.util.List<BackgroundTask> findByCompleted(boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByCompleted(boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByCompleted_First(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
completed
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByCompleted_First(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
completed
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByCompleted_Last(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
completed
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByCompleted_Last(boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
completed
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByCompleted_PrevAndNext(long backgroundTaskId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the current background taskcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static void removeByCompleted(boolean completed)
completed
- the completedpublic static int countByCompleted(boolean completed)
completed
- the completedpublic static java.util.List<BackgroundTask> findByStatus(int status)
status
- the statuspublic static java.util.List<BackgroundTask> findByStatus(int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
status
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)public static java.util.List<BackgroundTask> findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByStatus_PrevAndNext(long backgroundTaskId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the current background taskstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static void removeByStatus(int status)
status
- the statuspublic static int countByStatus(int status)
status
- the statuspublic static java.util.List<BackgroundTask> findByG_T(long groupId, java.lang.String taskExecutorClassName)
groupId
- the group IDtaskExecutorClassName
- the task executor class namepublic static java.util.List<BackgroundTask> findByG_T(long groupId, java.lang.String taskExecutorClassName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_T(long groupId, java.lang.String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_T(long groupId, java.lang.String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByG_T_First(long groupId, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_T_First(long groupId, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByG_T_Last(long groupId, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_T_Last(long groupId, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByG_T_PrevAndNext(long backgroundTaskId, long groupId, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static java.util.List<BackgroundTask> findByG_T(long[] groupIds, java.lang.String[] taskExecutorClassNames)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDstaskExecutorClassNames
- the task executor class namespublic static java.util.List<BackgroundTask> findByG_T(long[] groupIds, java.lang.String[] taskExecutorClassNames, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_T(long[] groupIds, java.lang.String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_T(long[] groupIds, java.lang.String[] taskExecutorClassNames, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByG_T(long groupId, java.lang.String taskExecutorClassName)
groupId
- the group IDtaskExecutorClassName
- the task executor class namepublic static int countByG_T(long groupId, java.lang.String taskExecutorClassName)
groupId
- the group IDtaskExecutorClassName
- the task executor class namepublic static int countByG_T(long[] groupIds, java.lang.String[] taskExecutorClassNames)
groupIds
- the group IDstaskExecutorClassNames
- the task executor class namespublic static java.util.List<BackgroundTask> findByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static java.util.List<BackgroundTask> findByG_S(long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByG_S_PrevAndNext(long backgroundTaskId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static void removeByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static int countByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static java.util.List<BackgroundTask> findByT_S(java.lang.String taskExecutorClassName, int status)
taskExecutorClassName
- the task executor class namestatus
- the statuspublic static java.util.List<BackgroundTask> findByT_S(java.lang.String taskExecutorClassName, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByT_S(java.lang.String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByT_S(java.lang.String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByT_S_First(java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByT_S_First(java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByT_S_Last(java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByT_S_Last(java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByT_S_PrevAndNext(long backgroundTaskId, java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the current background tasktaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static java.util.List<BackgroundTask> findByT_S(java.lang.String[] taskExecutorClassNames, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
taskExecutorClassNames
- the task executor class namesstatus
- the statuspublic static java.util.List<BackgroundTask> findByT_S(java.lang.String[] taskExecutorClassNames, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByT_S(java.lang.String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByT_S(java.lang.String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByT_S(java.lang.String taskExecutorClassName, int status)
taskExecutorClassName
- the task executor class namestatus
- the statuspublic static int countByT_S(java.lang.String taskExecutorClassName, int status)
taskExecutorClassName
- the task executor class namestatus
- the statuspublic static int countByT_S(java.lang.String[] taskExecutorClassNames, int status)
taskExecutorClassNames
- the task executor class namesstatus
- the statuspublic static java.util.List<BackgroundTask> findByG_N_T(long groupId, java.lang.String name, java.lang.String taskExecutorClassName)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namepublic static java.util.List<BackgroundTask> findByG_N_T(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_N_T(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_N_T(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByG_N_T_First(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_N_T_First(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByG_N_T_Last(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_N_T_Last(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByG_N_T_PrevAndNext(long backgroundTaskId, long groupId, java.lang.String name, java.lang.String taskExecutorClassName, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
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 (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static java.util.List<BackgroundTask> findByG_N_T(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsname
- the nametaskExecutorClassName
- the task executor class namepublic static java.util.List<BackgroundTask> findByG_N_T(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsname
- 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)public static java.util.List<BackgroundTask> findByG_N_T(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsname
- 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 (optionally null
)public static java.util.List<BackgroundTask> findByG_N_T(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByG_N_T(long groupId, java.lang.String name, java.lang.String taskExecutorClassName)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namepublic static int countByG_N_T(long groupId, java.lang.String name, java.lang.String taskExecutorClassName)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namepublic static int countByG_N_T(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName)
groupIds
- the group IDsname
- the nametaskExecutorClassName
- the task executor class namepublic static java.util.List<BackgroundTask> findByG_T_C(long groupId, java.lang.String taskExecutorClassName, boolean completed)
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static java.util.List<BackgroundTask> findByG_T_C(long groupId, java.lang.String taskExecutorClassName, boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_T_C(long groupId, java.lang.String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_T_C(long groupId, java.lang.String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByG_T_C_First(long groupId, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_T_C_First(long groupId, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByG_T_C_Last(long groupId, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_T_C_Last(long groupId, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByG_T_C_PrevAndNext(long backgroundTaskId, long groupId, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
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 (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static java.util.List<BackgroundTask> findByG_T_C(long[] groupIds, java.lang.String[] taskExecutorClassNames, boolean completed)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDstaskExecutorClassNames
- the task executor class namescompleted
- the completedpublic static java.util.List<BackgroundTask> findByG_T_C(long[] groupIds, java.lang.String[] taskExecutorClassNames, boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_T_C(long[] groupIds, java.lang.String[] taskExecutorClassNames, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_T_C(long[] groupIds, java.lang.String[] taskExecutorClassNames, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByG_T_C(long groupId, java.lang.String taskExecutorClassName, boolean completed)
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static int countByG_T_C(long groupId, java.lang.String taskExecutorClassName, boolean completed)
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static int countByG_T_C(long[] groupIds, java.lang.String[] taskExecutorClassNames, boolean completed)
groupIds
- the group IDstaskExecutorClassNames
- the task executor class namescompleted
- the completedpublic static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String taskExecutorClassName, int status)
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statuspublic static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String taskExecutorClassName, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String taskExecutorClassName, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByG_T_S_First(long groupId, java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_T_S_First(long groupId, java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByG_T_S_Last(long groupId, java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_T_S_Last(long groupId, java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByG_T_S_PrevAndNext(long backgroundTaskId, long groupId, java.lang.String taskExecutorClassName, int status, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
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 (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String[] taskExecutorClassNames, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDtaskExecutorClassNames
- the task executor class namesstatus
- the statuspublic static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String[] taskExecutorClassNames, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_T_S(long groupId, java.lang.String[] taskExecutorClassNames, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByG_T_S(long groupId, java.lang.String taskExecutorClassName, int status)
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statuspublic static int countByG_T_S(long groupId, java.lang.String taskExecutorClassName, int status)
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statuspublic static int countByG_T_S(long groupId, java.lang.String[] taskExecutorClassNames, int status)
groupId
- the group IDtaskExecutorClassNames
- the task executor class namesstatus
- the statuspublic static java.util.List<BackgroundTask> findByG_N_T_C(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static java.util.List<BackgroundTask> findByG_N_T_C(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_N_T_C(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_N_T_C(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static BackgroundTask findByG_N_T_C_First(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_N_T_C_First(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask findByG_N_T_C_Last(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchBackgroundTaskException
- if a matching background task could not be foundpublic static BackgroundTask fetchByG_N_T_C_Last(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching background task could not be foundpublic static BackgroundTask[] findByG_N_T_C_PrevAndNext(long backgroundTaskId, long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator) throws NoSuchBackgroundTaskException
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 (optionally null
)NoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static java.util.List<BackgroundTask> findByG_N_T_C(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds
- the group IDsname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static java.util.List<BackgroundTask> findByG_N_T_C(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<BackgroundTask> findByG_N_T_C(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findByG_N_T_C(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByG_N_T_C(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static int countByG_N_T_C(long groupId, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed)
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static int countByG_N_T_C(long[] groupIds, java.lang.String name, java.lang.String taskExecutorClassName, boolean completed)
groupIds
- the group IDsname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedpublic static void cacheResult(BackgroundTask backgroundTask)
backgroundTask
- the background taskpublic static void cacheResult(java.util.List<BackgroundTask> backgroundTasks)
backgroundTasks
- the background taskspublic static BackgroundTask create(long backgroundTaskId)
backgroundTaskId
- the primary key for the new background taskpublic static BackgroundTask remove(long backgroundTaskId) throws NoSuchBackgroundTaskException
backgroundTaskId
- the primary key of the background taskNoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static BackgroundTask updateImpl(BackgroundTask backgroundTask)
public static BackgroundTask findByPrimaryKey(long backgroundTaskId) throws NoSuchBackgroundTaskException
NoSuchBackgroundTaskException
if it could not be found.backgroundTaskId
- the primary key of the background taskNoSuchBackgroundTaskException
- if a background task with the primary key could not be foundpublic static BackgroundTask fetchByPrimaryKey(long backgroundTaskId)
null
if it could not be found.backgroundTaskId
- the primary key of the background tasknull
if a background task with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,BackgroundTask> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<BackgroundTask> findAll()
public static java.util.List<BackgroundTask> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)public static java.util.List<BackgroundTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<BackgroundTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BackgroundTask> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from BackgroundTaskModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static BackgroundTaskPersistence getPersistence()