public class BackgroundTaskPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>
implements com.liferay.portal.service.persistence.BackgroundTaskPersistence
Caching information and settings can be found in portal.properties
BackgroundTaskPersistence,
BackgroundTaskUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_N_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_N_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_STATUS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_STATUS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATUS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_S |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
BackgroundTaskPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the background task persistence.
|
void |
cacheResult(com.liferay.portal.model.BackgroundTask backgroundTask)
Caches the background task in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.model.BackgroundTask> backgroundTasks)
Caches the background tasks in the entity cache if it is enabled.
|
void |
clearCache()
Clears the cache for all background tasks.
|
void |
clearCache(com.liferay.portal.model.BackgroundTask backgroundTask)
Clears the cache for the background task.
|
void |
clearCache(java.util.List<com.liferay.portal.model.BackgroundTask> backgroundTasks) |
int |
countAll()
Returns the number of background tasks.
|
int |
countByCompanyId(long companyId)
Returns the number of background tasks where companyId = ?.
|
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 = ?.
|
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 = ?.
|
int |
countByG_S(long groupId,
int status)
Returns the number of background tasks where groupId = ? and status = ?.
|
int |
countByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?.
|
int |
countByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
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 = ?.
|
int |
countByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.
|
int |
countByG_T(long groupId,
java.lang.String taskExecutorClassName)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ?.
|
int |
countByG_T(long groupId,
java.lang.String[] taskExecutorClassNames)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = any ?.
|
int |
countByGroupId(long groupId)
Returns the number of background tasks where groupId = ?.
|
int |
countByStatus(int status)
Returns the number of background tasks where status = ?.
|
int |
countByT_S(java.lang.String[] taskExecutorClassNames,
int status)
Returns the number of background tasks where taskExecutorClassName = any ? and status = ?.
|
int |
countByT_S(java.lang.String taskExecutorClassName,
int status)
Returns the number of background tasks where taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
create(long backgroundTaskId)
Creates a new background task with the primary key.
|
void |
destroy() |
com.liferay.portal.model.BackgroundTask |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where companyId = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where companyId = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_N_T_C_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_N_T_C_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_N_T_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_N_T_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_T_C_First(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_T_C_Last(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_T_First(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_T_Last(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_T_S_First(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByG_T_S_Last(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByPrimaryKey(long backgroundTaskId)
Returns the background task with the primary key or returns
null if it could not be found. |
com.liferay.portal.model.BackgroundTask |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the background task with the primary key or returns
null if it could not be found. |
com.liferay.portal.model.BackgroundTask |
fetchByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where status = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where status = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByT_S_First(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
fetchByT_S_Last(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findAll()
Returns all the background tasks.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findAll(int start,
int end)
Returns a range of all the background tasks.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks.
|
com.liferay.portal.model.BackgroundTask |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where companyId = ?.
|
com.liferay.portal.model.BackgroundTask |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where companyId = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByCompanyId_PrevAndNext(long backgroundTaskId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByCompanyId(long companyId)
Returns all the background tasks where companyId = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the background tasks where companyId = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where companyId = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_N_T_C_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_N_T_C_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.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 orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.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 orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_N_T_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_N_T_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByG_N_T_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByG_S_PrevAndNext(long backgroundTaskId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_S(long groupId,
int status)
Returns all the background tasks where groupId = ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_T_C_First(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_T_C_Last(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByG_T_C_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed)
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_T_First(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_T_Last(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByG_T_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_T_S_First(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
findByG_T_S_Last(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByG_T_S_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status)
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T(long groupId,
java.lang.String taskExecutorClassName)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T(long groupId,
java.lang.String[] taskExecutorClassNames)
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T(long groupId,
java.lang.String[] taskExecutorClassNames,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T(long groupId,
java.lang.String[] taskExecutorClassNames,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByG_T(long groupId,
java.lang.String taskExecutorClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?.
|
com.liferay.portal.model.BackgroundTask |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ?.
|
com.liferay.portal.model.BackgroundTask |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByGroupId_PrevAndNext(long backgroundTaskId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByGroupId(long groupId)
Returns all the background tasks where groupId = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the background tasks where groupId = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ?.
|
com.liferay.portal.model.BackgroundTask |
findByPrimaryKey(long backgroundTaskId)
Returns the background task with the primary key or throws a
NoSuchBackgroundTaskException if it could not be found. |
com.liferay.portal.model.BackgroundTask |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the background task with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portal.model.BackgroundTask |
findByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where status = ?.
|
com.liferay.portal.model.BackgroundTask |
findByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where status = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByStatus_PrevAndNext(long backgroundTaskId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByStatus(int status)
Returns all the background tasks where status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByStatus(int status,
int start,
int end)
Returns a range of all the background tasks where status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByStatus(int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where status = ?.
|
com.liferay.portal.model.BackgroundTask |
findByT_S_First(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask |
findByT_S_Last(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?.
|
com.liferay.portal.model.BackgroundTask[] |
findByT_S_PrevAndNext(long backgroundTaskId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where taskExecutorClassName = ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByT_S(java.lang.String[] taskExecutorClassNames,
int status)
Returns all the background tasks where taskExecutorClassName = any ? and status = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByT_S(java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where taskExecutorClassName = any ? and status = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByT_S(java.lang.String taskExecutorClassName,
int status)
Returns all the background tasks where taskExecutorClassName = ? and status = ?.
|
java.util.List<com.liferay.portal.model.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 = ?.
|
java.util.List<com.liferay.portal.model.BackgroundTask> |
findByT_S(java.lang.String taskExecutorClassName,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?.
|
protected com.liferay.portal.model.BackgroundTask |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByG_N_T_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByG_N_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByG_T_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByG_T_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByStatus_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.BackgroundTask |
getByT_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portal.model.BackgroundTask |
remove(long backgroundTaskId)
Removes the background task with the primary key from the database.
|
com.liferay.portal.model.BackgroundTask |
remove(java.io.Serializable primaryKey)
Removes the background task with the primary key from the database.
|
void |
removeAll()
Removes all the background tasks from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the background tasks where companyId = ? from the database.
|
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.
|
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.
|
void |
removeByG_S(long groupId,
int status)
Removes all the background tasks where groupId = ? and status = ? from the database.
|
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.
|
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.
|
void |
removeByG_T(long groupId,
java.lang.String taskExecutorClassName)
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the background tasks where groupId = ? from the database.
|
void |
removeByStatus(int status)
Removes all the background tasks where status = ? from the database.
|
void |
removeByT_S(java.lang.String taskExecutorClassName,
int status)
Removes all the background tasks where taskExecutorClassName = ? and status = ? from the database.
|
protected com.liferay.portal.model.BackgroundTask |
removeImpl(com.liferay.portal.model.BackgroundTask backgroundTask) |
protected com.liferay.portal.model.BackgroundTask |
toUnwrappedModel(com.liferay.portal.model.BackgroundTask backgroundTask) |
com.liferay.portal.model.BackgroundTask |
updateImpl(com.liferay.portal.model.BackgroundTask backgroundTask) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STATUS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATUS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_STATUS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_N_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_N_T_C
public java.util.List<com.liferay.portal.model.BackgroundTask> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
findByGroupId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByGroupId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstart - the lower bound of the range of background tasksend - the upper bound of the range of background tasks (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByGroupId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByGroupId_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByGroupId_PrevAndNext(long backgroundTaskId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByGroupId_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the current background taskgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByGroupId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByGroupId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByCompanyId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByCompanyId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDstart - the lower bound of the range of background tasksend - the upper bound of the range of background tasks (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByCompanyId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByCompanyId_PrevAndNext(long backgroundTaskId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the current background taskcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByCompanyId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByCompanyId in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByStatus(int status)
throws com.liferay.portal.kernel.exception.SystemException
findByStatus in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByStatus(int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByStatus in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statusstart - the lower bound of the range of background tasksend - the upper bound of the range of background tasks (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByStatus(int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByStatus in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByStatus_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByStatus_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByStatus_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByStatus_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByStatus_PrevAndNext(long backgroundTaskId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByStatus_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the current background taskstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByStatus_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByStatus(int status)
throws com.liferay.portal.kernel.exception.SystemException
removeByStatus in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByStatus(int status)
throws com.liferay.portal.kernel.exception.SystemException
countByStatus in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T(long groupId,
java.lang.String taskExecutorClassName)
throws com.liferay.portal.kernel.exception.SystemException
findByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T(long groupId,
java.lang.String taskExecutorClassName,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T(long groupId,
java.lang.String taskExecutorClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_T_First(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_T_First(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_T_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_T_Last(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_T_Last(long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_T_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByG_T_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - 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)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByG_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T(long groupId,
java.lang.String[] taskExecutorClassNames)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - the task executor class namescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T(long groupId,
java.lang.String[] taskExecutorClassNames,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T(long groupId,
java.lang.String[] taskExecutorClassNames,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeByG_T(long groupId,
java.lang.String taskExecutorClassName)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_T(long groupId,
java.lang.String taskExecutorClassName)
throws com.liferay.portal.kernel.exception.SystemException
countByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_T(long groupId,
java.lang.String[] taskExecutorClassNames)
throws com.liferay.portal.kernel.exception.SystemException
countByG_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - the task executor class namescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_S(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
findByG_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_S(long groupId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_S_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_S_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_S_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_S_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByG_S_PrevAndNext(long backgroundTaskId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_S_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the current background taskgroupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_S(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_S(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByG_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByT_S(java.lang.String taskExecutorClassName,
int status)
throws com.liferay.portal.kernel.exception.SystemException
findByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - the task executor class namestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByT_S(java.lang.String taskExecutorClassName,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByT_S(java.lang.String taskExecutorClassName,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByT_S_First(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByT_S_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - the task executor class namestatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByT_S_First(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByT_S_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByT_S_Last(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByT_S_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - the task executor class namestatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByT_S_Last(java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByT_S_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByT_S_PrevAndNext(long backgroundTaskId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByT_S_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the current background tasktaskExecutorClassName - the task executor class namestatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByT_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.BackgroundTask> findByT_S(java.lang.String[] taskExecutorClassNames,
int status)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassNames - the task executor class namesstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByT_S(java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassNames - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByT_S(java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassNames - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeByT_S(java.lang.String taskExecutorClassName,
int status)
throws com.liferay.portal.kernel.exception.SystemException
removeByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - the task executor class namestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByT_S(java.lang.String taskExecutorClassName,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassName - the task executor class namestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByT_S(java.lang.String[] taskExecutorClassNames,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByT_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencetaskExecutorClassNames - the task executor class namesstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName)
throws com.liferay.portal.kernel.exception.SystemException
findByG_N_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_N_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_N_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_N_T_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_N_T_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_N_T_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_N_T_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_N_T_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_N_T_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_N_T_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_N_T_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByG_N_T_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_N_T_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - 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)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByG_N_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_N_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_N_T(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName)
throws com.liferay.portal.kernel.exception.SystemException
countByG_N_T in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
findByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_T_C_First(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_C_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecompleted - the completedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_T_C_First(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_T_C_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_T_C_Last(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_C_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecompleted - the completedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_T_C_Last(long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_T_C_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByG_T_C_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_C_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - 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)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByG_T_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - the task executor class namescompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_T_C(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
countByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namecompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_T_C(long groupId,
java.lang.String[] taskExecutorClassNames,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
countByG_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - the task executor class namescompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
throws com.liferay.portal.kernel.exception.SystemException
findByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_T_S_First(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_S_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namestatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_T_S_First(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_T_S_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_T_S_Last(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_S_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namestatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_T_S_Last(long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_T_S_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask[] findByG_T_S_PrevAndNext(long backgroundTaskId,
long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_T_S_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - 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)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByG_T_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String taskExecutorClassName,
int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - the task executor class namesstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_T_S(long groupId,
java.lang.String taskExecutorClassName,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassName - the task executor class namestatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_T_S(long groupId,
java.lang.String[] taskExecutorClassNames,
int status)
throws com.liferay.portal.kernel.exception.SystemException
countByG_T_S in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDtaskExecutorClassNames - the task executor class namesstatus - the statuscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
findByG_N_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_N_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.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 orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByG_N_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_N_T_C_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_N_T_C_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecompleted - the completedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_N_T_C_First(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_N_T_C_First in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByG_N_T_C_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_N_T_C_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecompleted - the completedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchBackgroundTaskException - if a matching background task could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByG_N_T_C_Last(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_N_T_C_Last in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - 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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.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 orderByComparator)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
findByG_N_T_C_PrevAndNext in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - 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)com.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask getByG_N_T_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.BackgroundTask backgroundTask,
long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_N_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_N_T_C(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
countByG_N_T_C in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencegroupId - the group IDname - the nametaskExecutorClassName - the task executor class namecompleted - the completedcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portal.model.BackgroundTask backgroundTask)
cacheResult in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTask - the background taskpublic void cacheResult(java.util.List<com.liferay.portal.model.BackgroundTask> backgroundTasks)
cacheResult in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTasks - the background taskspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.BackgroundTask>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>public void clearCache(com.liferay.portal.model.BackgroundTask backgroundTask)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.BackgroundTask>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>public void clearCache(java.util.List<com.liferay.portal.model.BackgroundTask> backgroundTasks)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.BackgroundTask>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>public com.liferay.portal.model.BackgroundTask create(long backgroundTaskId)
create in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key for the new background taskpublic com.liferay.portal.model.BackgroundTask remove(long backgroundTaskId)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the background taskcom.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask remove(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.BackgroundTask>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>primaryKey - the primary key of the background taskcom.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.BackgroundTask removeImpl(com.liferay.portal.model.BackgroundTask backgroundTask)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.model.BackgroundTask updateImpl(com.liferay.portal.model.BackgroundTask backgroundTask)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portal.service.persistence.BackgroundTaskPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.model.BackgroundTask toUnwrappedModel(com.liferay.portal.model.BackgroundTask backgroundTask)
public com.liferay.portal.model.BackgroundTask findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.BackgroundTask>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>primaryKey - the primary key of the background taskcom.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask findByPrimaryKey(long backgroundTaskId)
throws com.liferay.portal.NoSuchBackgroundTaskException,
com.liferay.portal.kernel.exception.SystemException
NoSuchBackgroundTaskException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the background taskcom.liferay.portal.NoSuchBackgroundTaskException - if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.BackgroundTask>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.BackgroundTask>primaryKey - the primary key of the background tasknull if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.BackgroundTask fetchByPrimaryKey(long backgroundTaskId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencebackgroundTaskId - the primary key of the background tasknull if a background task with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestart - the lower bound of the range of background tasksend - the upper bound of the range of background tasks (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.BackgroundTask> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencestart - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portal.service.persistence.BackgroundTaskPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()