|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<BackgroundTask> com.liferay.portal.service.persistence.BackgroundTaskPersistenceImpl
public class BackgroundTaskPersistenceImpl
The persistence implementation for the background task service.
Caching information and settings can be found in portal.properties
BackgroundTaskPersistence
,
BackgroundTaskUtil
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
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 Summary | |
---|---|
BackgroundTaskPersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the background task persistence. |
void |
cacheResult(BackgroundTask backgroundTask)
Caches the background task in the entity cache if it is enabled. |
void |
cacheResult(List<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(BackgroundTask backgroundTask)
Clears the cache for the background task. |
void |
clearCache(List<BackgroundTask> backgroundTasks)
Clears the cache for a List instances of this model. |
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,
String name,
String taskExecutorClassName,
boolean completed)
Returns the number of background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
int |
countByG_N_T(long groupId,
String name,
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,
String[] taskExecutorClassNames,
boolean completed)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?. |
int |
countByG_T_C(long groupId,
String taskExecutorClassName,
boolean completed)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?. |
int |
countByG_T_S(long groupId,
String[] taskExecutorClassNames,
int status)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?. |
int |
countByG_T_S(long groupId,
String taskExecutorClassName,
int status)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ? and status = ?. |
int |
countByG_T(long groupId,
String taskExecutorClassName)
Returns the number of background tasks where groupId = ? and taskExecutorClassName = ?. |
int |
countByG_T(long groupId,
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(String[] taskExecutorClassNames,
int status)
Returns the number of background tasks where taskExecutorClassName = any ? and status = ?. |
int |
countByT_S(String taskExecutorClassName,
int status)
Returns the number of background tasks where taskExecutorClassName = ? and status = ?. |
BackgroundTask |
create(long backgroundTaskId)
Creates a new background task with the primary key. |
void |
destroy()
|
BackgroundTask |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where companyId = ?. |
BackgroundTask |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where companyId = ?. |
BackgroundTask |
fetchByG_N_T_C_First(long groupId,
String name,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
fetchByG_N_T_C_Last(long groupId,
String name,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
fetchByG_N_T_First(long groupId,
String name,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?. |
BackgroundTask |
fetchByG_N_T_Last(long groupId,
String name,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?. |
BackgroundTask |
fetchByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and status = ?. |
BackgroundTask |
fetchByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and status = ?. |
BackgroundTask |
fetchByG_T_C_First(long groupId,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
fetchByG_T_C_Last(long groupId,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
fetchByG_T_First(long groupId,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?. |
BackgroundTask |
fetchByG_T_Last(long groupId,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?. |
BackgroundTask |
fetchByG_T_S_First(long groupId,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?. |
BackgroundTask |
fetchByG_T_S_Last(long groupId,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?. |
BackgroundTask |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ?. |
BackgroundTask |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ?. |
BackgroundTask |
fetchByPrimaryKey(long backgroundTaskId)
Returns the background task with the primary key or returns null if it could not be found. |
BackgroundTask |
fetchByPrimaryKey(Serializable primaryKey)
Returns the background task with the primary key or returns null if it could not be found. |
BackgroundTask |
fetchByStatus_First(int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where status = ?. |
BackgroundTask |
fetchByStatus_Last(int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where status = ?. |
BackgroundTask |
fetchByT_S_First(String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?. |
BackgroundTask |
fetchByT_S_Last(String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findAll()
Returns all the background tasks. |
List<BackgroundTask> |
findAll(int start,
int end)
Returns a range of all the background tasks. |
List<BackgroundTask> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks. |
BackgroundTask |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where companyId = ?. |
BackgroundTask |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where companyId = ?. |
BackgroundTask[] |
findByCompanyId_PrevAndNext(long backgroundTaskId,
long companyId,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where companyId = ?. |
List<BackgroundTask> |
findByCompanyId(long companyId)
Returns all the background tasks where companyId = ?. |
List<BackgroundTask> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the background tasks where companyId = ?. |
List<BackgroundTask> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where companyId = ?. |
BackgroundTask |
findByG_N_T_C_First(long groupId,
String name,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
findByG_N_T_C_Last(long groupId,
String name,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask[] |
findByG_N_T_C_PrevAndNext(long backgroundTaskId,
long groupId,
String name,
String taskExecutorClassName,
boolean completed,
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 = ?. |
List<BackgroundTask> |
findByG_N_T_C(long groupId,
String name,
String taskExecutorClassName,
boolean completed)
Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
List<BackgroundTask> |
findByG_N_T_C(long groupId,
String name,
String taskExecutorClassName,
boolean completed,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
List<BackgroundTask> |
findByG_N_T_C(long groupId,
String name,
String taskExecutorClassName,
boolean completed,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
findByG_N_T_First(long groupId,
String name,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?. |
BackgroundTask |
findByG_N_T_Last(long groupId,
String name,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?. |
BackgroundTask[] |
findByG_N_T_PrevAndNext(long backgroundTaskId,
long groupId,
String name,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and name = ? and taskExecutorClassName = ?. |
List<BackgroundTask> |
findByG_N_T(long groupId,
String name,
String taskExecutorClassName)
Returns all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?. |
List<BackgroundTask> |
findByG_N_T(long groupId,
String name,
String taskExecutorClassName,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?. |
List<BackgroundTask> |
findByG_N_T(long groupId,
String name,
String taskExecutorClassName,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and name = ? and taskExecutorClassName = ?. |
BackgroundTask |
findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and status = ?. |
BackgroundTask |
findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and status = ?. |
BackgroundTask[] |
findByG_S_PrevAndNext(long backgroundTaskId,
long groupId,
int status,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and status = ?. |
List<BackgroundTask> |
findByG_S(long groupId,
int status)
Returns all the background tasks where groupId = ? and status = ?. |
List<BackgroundTask> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and status = ?. |
List<BackgroundTask> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and status = ?. |
BackgroundTask |
findByG_T_C_First(long groupId,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
findByG_T_C_Last(long groupId,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask[] |
findByG_T_C_PrevAndNext(long backgroundTaskId,
long groupId,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and completed = ?. |
List<BackgroundTask> |
findByG_T_C(long groupId,
String[] taskExecutorClassNames,
boolean completed)
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?. |
List<BackgroundTask> |
findByG_T_C(long groupId,
String[] taskExecutorClassNames,
boolean completed,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?. |
List<BackgroundTask> |
findByG_T_C(long groupId,
String[] taskExecutorClassNames,
boolean completed,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and completed = ?. |
List<BackgroundTask> |
findByG_T_C(long groupId,
String taskExecutorClassName,
boolean completed)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?. |
List<BackgroundTask> |
findByG_T_C(long groupId,
String taskExecutorClassName,
boolean completed,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?. |
List<BackgroundTask> |
findByG_T_C(long groupId,
String taskExecutorClassName,
boolean completed,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ?. |
BackgroundTask |
findByG_T_First(long groupId,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ?. |
BackgroundTask |
findByG_T_Last(long groupId,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ?. |
BackgroundTask[] |
findByG_T_PrevAndNext(long backgroundTaskId,
long groupId,
String taskExecutorClassName,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ?. |
BackgroundTask |
findByG_T_S_First(long groupId,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?. |
BackgroundTask |
findByG_T_S_Last(long groupId,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?. |
BackgroundTask[] |
findByG_T_S_PrevAndNext(long backgroundTaskId,
long groupId,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ? and taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findByG_T_S(long groupId,
String[] taskExecutorClassNames,
int status)
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?. |
List<BackgroundTask> |
findByG_T_S(long groupId,
String[] taskExecutorClassNames,
int status,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?. |
List<BackgroundTask> |
findByG_T_S(long groupId,
String[] taskExecutorClassNames,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ? and status = ?. |
List<BackgroundTask> |
findByG_T_S(long groupId,
String taskExecutorClassName,
int status)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findByG_T_S(long groupId,
String taskExecutorClassName,
int status,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findByG_T_S(long groupId,
String taskExecutorClassName,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findByG_T(long groupId,
String taskExecutorClassName)
Returns all the background tasks where groupId = ? and taskExecutorClassName = ?. |
List<BackgroundTask> |
findByG_T(long groupId,
String[] taskExecutorClassNames)
Returns all the background tasks where groupId = ? and taskExecutorClassName = any ?. |
List<BackgroundTask> |
findByG_T(long groupId,
String[] taskExecutorClassNames,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = any ?. |
List<BackgroundTask> |
findByG_T(long groupId,
String[] taskExecutorClassNames,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = any ?. |
List<BackgroundTask> |
findByG_T(long groupId,
String taskExecutorClassName,
int start,
int end)
Returns a range of all the background tasks where groupId = ? and taskExecutorClassName = ?. |
List<BackgroundTask> |
findByG_T(long groupId,
String taskExecutorClassName,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ? and taskExecutorClassName = ?. |
BackgroundTask |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where groupId = ?. |
BackgroundTask |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where groupId = ?. |
BackgroundTask[] |
findByGroupId_PrevAndNext(long backgroundTaskId,
long groupId,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where groupId = ?. |
List<BackgroundTask> |
findByGroupId(long groupId)
Returns all the background tasks where groupId = ?. |
List<BackgroundTask> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the background tasks where groupId = ?. |
List<BackgroundTask> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where groupId = ?. |
BackgroundTask |
findByPrimaryKey(long backgroundTaskId)
Returns the background task with the primary key or throws a NoSuchBackgroundTaskException if it could not be found. |
BackgroundTask |
findByPrimaryKey(Serializable primaryKey)
Returns the background task with the primary key or throws a NoSuchModelException if it could not be found. |
BackgroundTask |
findByStatus_First(int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where status = ?. |
BackgroundTask |
findByStatus_Last(int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where status = ?. |
BackgroundTask[] |
findByStatus_PrevAndNext(long backgroundTaskId,
int status,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where status = ?. |
List<BackgroundTask> |
findByStatus(int status)
Returns all the background tasks where status = ?. |
List<BackgroundTask> |
findByStatus(int status,
int start,
int end)
Returns a range of all the background tasks where status = ?. |
List<BackgroundTask> |
findByStatus(int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where status = ?. |
BackgroundTask |
findByT_S_First(String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the first background task in the ordered set where taskExecutorClassName = ? and status = ?. |
BackgroundTask |
findByT_S_Last(String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the last background task in the ordered set where taskExecutorClassName = ? and status = ?. |
BackgroundTask[] |
findByT_S_PrevAndNext(long backgroundTaskId,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator)
Returns the background tasks before and after the current background task in the ordered set where taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findByT_S(String[] taskExecutorClassNames,
int status)
Returns all the background tasks where taskExecutorClassName = any ? and status = ?. |
List<BackgroundTask> |
findByT_S(String[] taskExecutorClassNames,
int status,
int start,
int end)
Returns a range of all the background tasks where taskExecutorClassName = any ? and status = ?. |
List<BackgroundTask> |
findByT_S(String[] taskExecutorClassNames,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where taskExecutorClassName = any ? and status = ?. |
List<BackgroundTask> |
findByT_S(String taskExecutorClassName,
int status)
Returns all the background tasks where taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findByT_S(String taskExecutorClassName,
int status,
int start,
int end)
Returns a range of all the background tasks where taskExecutorClassName = ? and status = ?. |
List<BackgroundTask> |
findByT_S(String taskExecutorClassName,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the background tasks where taskExecutorClassName = ? and status = ?. |
protected BackgroundTask |
getByCompanyId_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByG_N_T_C_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long groupId,
String name,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByG_N_T_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long groupId,
String name,
String taskExecutorClassName,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByG_S_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long groupId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByG_T_C_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long groupId,
String taskExecutorClassName,
boolean completed,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByG_T_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long groupId,
String taskExecutorClassName,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByG_T_S_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long groupId,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByGroupId_PrevAndNext(Session session,
BackgroundTask backgroundTask,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByStatus_PrevAndNext(Session session,
BackgroundTask backgroundTask,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected BackgroundTask |
getByT_S_PrevAndNext(Session session,
BackgroundTask backgroundTask,
String taskExecutorClassName,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
BackgroundTask |
remove(long backgroundTaskId)
Removes the background task with the primary key from the database. |
BackgroundTask |
remove(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,
String name,
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,
String name,
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,
String taskExecutorClassName,
boolean completed)
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and completed = ? from the database. |
void |
removeByG_T_S(long groupId,
String taskExecutorClassName,
int status)
Removes all the background tasks where groupId = ? and taskExecutorClassName = ? and status = ? from the database. |
void |
removeByG_T(long groupId,
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(String taskExecutorClassName,
int status)
Removes all the background tasks where taskExecutorClassName = ? and status = ? from the database. |
protected BackgroundTask |
removeImpl(BackgroundTask backgroundTask)
Removes the model instance from the database. |
protected BackgroundTask |
toUnwrappedModel(BackgroundTask backgroundTask)
|
BackgroundTask |
updateImpl(BackgroundTask backgroundTask)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
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, updateImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STATUS
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STATUS
public static final FinderPath FINDER_PATH_COUNT_BY_STATUS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_T_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_T_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_N_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_T_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_T_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_T_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_T_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_N_T_C
Constructor Detail |
---|
public BackgroundTaskPersistenceImpl()
Method Detail |
---|
public List<BackgroundTask> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface BackgroundTaskPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByGroupId(long groupId, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByGroupId_First
in interface BackgroundTaskPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_First
in interface BackgroundTaskPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByGroupId_Last
in interface BackgroundTaskPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_Last
in interface BackgroundTaskPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByGroupId_PrevAndNext(long backgroundTaskId, long groupId, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByGroupId_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByGroupId_PrevAndNext(Session session, BackgroundTask backgroundTask, long groupId, OrderByComparator orderByComparator, boolean previous)
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface BackgroundTaskPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface BackgroundTaskPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface BackgroundTaskPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByCompanyId(long companyId, int start, int end) throws 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 BackgroundTaskPersistence
companyId
- the company IDstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
companyId
- the company IDstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByCompanyId_First
in interface BackgroundTaskPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_First
in interface BackgroundTaskPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByCompanyId_Last
in interface BackgroundTaskPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_Last
in interface BackgroundTaskPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByCompanyId_PrevAndNext(long backgroundTaskId, long companyId, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByCompanyId_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByCompanyId_PrevAndNext(Session session, BackgroundTask backgroundTask, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface BackgroundTaskPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface BackgroundTaskPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByStatus(int status) throws SystemException
findByStatus
in interface BackgroundTaskPersistence
status
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByStatus(int status, int start, int end) throws 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 BackgroundTaskPersistence
status
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByStatus(int status, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
status
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByStatus_First(int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByStatus_First
in interface BackgroundTaskPersistence
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByStatus_First(int status, OrderByComparator orderByComparator) throws SystemException
fetchByStatus_First
in interface BackgroundTaskPersistence
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByStatus_Last(int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByStatus_Last
in interface BackgroundTaskPersistence
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByStatus_Last(int status, OrderByComparator orderByComparator) throws SystemException
fetchByStatus_Last
in interface BackgroundTaskPersistence
status
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByStatus_PrevAndNext(long backgroundTaskId, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByStatus_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByStatus_PrevAndNext(Session session, BackgroundTask backgroundTask, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByStatus(int status) throws SystemException
removeByStatus
in interface BackgroundTaskPersistence
status
- the status
SystemException
- if a system exception occurredpublic int countByStatus(int status) throws SystemException
countByStatus
in interface BackgroundTaskPersistence
status
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T(long groupId, String taskExecutorClassName) throws SystemException
findByG_T
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class name
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T(long groupId, String taskExecutorClassName, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T(long groupId, String taskExecutorClassName, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByG_T_First(long groupId, String taskExecutorClassName, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_First
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_T_First(long groupId, String taskExecutorClassName, OrderByComparator orderByComparator) throws SystemException
fetchByG_T_First
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByG_T_Last(long groupId, String taskExecutorClassName, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_Last
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_T_Last(long groupId, String taskExecutorClassName, OrderByComparator orderByComparator) throws SystemException
fetchByG_T_Last
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByG_T_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDtaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByG_T_PrevAndNext(Session session, BackgroundTask backgroundTask, long groupId, String taskExecutorClassName, OrderByComparator orderByComparator, boolean previous)
public List<BackgroundTask> findByG_T(long groupId, String[] taskExecutorClassNames) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class names
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T(long groupId, String[] taskExecutorClassNames, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- 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)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T(long groupId, String[] taskExecutorClassNames, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- 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
)
SystemException
- if a system exception occurredpublic void removeByG_T(long groupId, String taskExecutorClassName) throws SystemException
removeByG_T
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class name
SystemException
- if a system exception occurredpublic int countByG_T(long groupId, String taskExecutorClassName) throws SystemException
countByG_T
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class name
SystemException
- if a system exception occurredpublic int countByG_T(long groupId, String[] taskExecutorClassNames) throws SystemException
countByG_T
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class names
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_S(long groupId, int status) throws SystemException
findByG_S
in interface BackgroundTaskPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_S(long groupId, int status, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByG_S_First(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_S_First
in interface BackgroundTaskPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_S_First(long groupId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_S_First
in interface BackgroundTaskPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_S_Last
in interface BackgroundTaskPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_S_Last(long groupId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_S_Last
in interface BackgroundTaskPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByG_S_PrevAndNext(long backgroundTaskId, long groupId, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_S_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByG_S_PrevAndNext(Session session, BackgroundTask backgroundTask, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByG_S(long groupId, int status) throws SystemException
removeByG_S
in interface BackgroundTaskPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_S(long groupId, int status) throws SystemException
countByG_S
in interface BackgroundTaskPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByT_S(String taskExecutorClassName, int status) throws SystemException
findByT_S
in interface BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByT_S(String taskExecutorClassName, int status, int start, int end) throws 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 BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByT_S(String taskExecutorClassName, int status, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByT_S_First(String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByT_S_First
in interface BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByT_S_First(String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws SystemException
fetchByT_S_First
in interface BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByT_S_Last(String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByT_S_Last
in interface BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByT_S_Last(String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws SystemException
fetchByT_S_Last
in interface BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByT_S_PrevAndNext(long backgroundTaskId, String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByT_S_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background tasktaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByT_S_PrevAndNext(Session session, BackgroundTask backgroundTask, String taskExecutorClassName, int status, OrderByComparator orderByComparator, boolean previous)
public List<BackgroundTask> findByT_S(String[] taskExecutorClassNames, int status) throws 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 BackgroundTaskPersistence
taskExecutorClassNames
- the task executor class namesstatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByT_S(String[] taskExecutorClassNames, int status, int start, int end) throws 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 BackgroundTaskPersistence
taskExecutorClassNames
- the task executor class namesstatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByT_S(String[] taskExecutorClassNames, int status, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
taskExecutorClassNames
- the task executor class namesstatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByT_S(String taskExecutorClassName, int status) throws SystemException
removeByT_S
in interface BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the status
SystemException
- if a system exception occurredpublic int countByT_S(String taskExecutorClassName, int status) throws SystemException
countByT_S
in interface BackgroundTaskPersistence
taskExecutorClassName
- the task executor class namestatus
- the status
SystemException
- if a system exception occurredpublic int countByT_S(String[] taskExecutorClassNames, int status) throws SystemException
countByT_S
in interface BackgroundTaskPersistence
taskExecutorClassNames
- the task executor class namesstatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_N_T(long groupId, String name, String taskExecutorClassName) throws SystemException
findByG_N_T
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class name
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namestart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_N_T(long groupId, String name, String taskExecutorClassName, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namestart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByG_N_T_First(long groupId, String name, String taskExecutorClassName, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_N_T_First
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_N_T_First(long groupId, String name, String taskExecutorClassName, OrderByComparator orderByComparator) throws SystemException
fetchByG_N_T_First
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByG_N_T_Last(long groupId, String name, String taskExecutorClassName, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_N_T_Last
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_N_T_Last(long groupId, String name, String taskExecutorClassName, OrderByComparator orderByComparator) throws SystemException
fetchByG_N_T_Last
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByG_N_T_PrevAndNext(long backgroundTaskId, long groupId, String name, String taskExecutorClassName, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_N_T_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByG_N_T_PrevAndNext(Session session, BackgroundTask backgroundTask, long groupId, String name, String taskExecutorClassName, OrderByComparator orderByComparator, boolean previous)
public void removeByG_N_T(long groupId, String name, String taskExecutorClassName) throws SystemException
removeByG_N_T
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class name
SystemException
- if a system exception occurredpublic int countByG_N_T(long groupId, String name, String taskExecutorClassName) throws SystemException
countByG_N_T
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class name
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_C(long groupId, String taskExecutorClassName, boolean completed) throws SystemException
findByG_T_C
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completed
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_C(long groupId, String taskExecutorClassName, boolean completed, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByG_T_C_First(long groupId, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_C_First
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_T_C_First(long groupId, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws SystemException
fetchByG_T_C_First
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByG_T_C_Last(long groupId, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_C_Last
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_T_C_Last(long groupId, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws SystemException
fetchByG_T_C_Last
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByG_T_C_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_C_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByG_T_C_PrevAndNext(Session session, BackgroundTask backgroundTask, long groupId, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator, boolean previous)
public List<BackgroundTask> findByG_T_C(long groupId, String[] taskExecutorClassNames, boolean completed) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class namescompleted
- the completed
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_C(long groupId, String[] taskExecutorClassNames, boolean completed, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- 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)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_C(long groupId, String[] taskExecutorClassNames, boolean completed, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- 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
)
SystemException
- if a system exception occurredpublic void removeByG_T_C(long groupId, String taskExecutorClassName, boolean completed) throws SystemException
removeByG_T_C
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completed
SystemException
- if a system exception occurredpublic int countByG_T_C(long groupId, String taskExecutorClassName, boolean completed) throws SystemException
countByG_T_C
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namecompleted
- the completed
SystemException
- if a system exception occurredpublic int countByG_T_C(long groupId, String[] taskExecutorClassNames, boolean completed) throws SystemException
countByG_T_C
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class namescompleted
- the completed
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_S(long groupId, String taskExecutorClassName, int status) throws SystemException
findByG_T_S
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_S(long groupId, String taskExecutorClassName, int status, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByG_T_S_First(long groupId, String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_S_First
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_T_S_First(long groupId, String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_T_S_First
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByG_T_S_Last(long groupId, String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_S_Last
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_T_S_Last(long groupId, String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_T_S_Last
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByG_T_S_PrevAndNext(long backgroundTaskId, long groupId, String taskExecutorClassName, int status, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_T_S_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByG_T_S_PrevAndNext(Session session, BackgroundTask backgroundTask, long groupId, String taskExecutorClassName, int status, OrderByComparator orderByComparator, boolean previous)
public List<BackgroundTask> findByG_T_S(long groupId, String[] taskExecutorClassNames, int status) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class namesstatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class namesstatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_T_S(long groupId, String[] taskExecutorClassNames, int status, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class namesstatus
- the statusstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByG_T_S(long groupId, String taskExecutorClassName, int status) throws SystemException
removeByG_T_S
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the status
SystemException
- if a system exception occurredpublic int countByG_T_S(long groupId, String taskExecutorClassName, int status) throws SystemException
countByG_T_S
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassName
- the task executor class namestatus
- the status
SystemException
- if a system exception occurredpublic int countByG_T_S(long groupId, String[] taskExecutorClassNames, int status) throws SystemException
countByG_T_S
in interface BackgroundTaskPersistence
groupId
- the group IDtaskExecutorClassNames
- the task executor class namesstatus
- the status
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed) throws SystemException
findByG_N_T_C
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completed
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end) throws 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 BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed, int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedstart
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic BackgroundTask findByG_N_T_C_First(long groupId, String name, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_N_T_C_First
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_N_T_C_First(long groupId, String name, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws SystemException
fetchByG_N_T_C_First
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByG_N_T_C_Last(long groupId, String name, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_N_T_C_Last
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByG_N_T_C_Last(long groupId, String name, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws SystemException
fetchByG_N_T_C_Last
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching background task could not be found
SystemException
- if a system exception occurredpublic BackgroundTask[] findByG_N_T_C_PrevAndNext(long backgroundTaskId, long groupId, String name, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator) throws NoSuchBackgroundTaskException, SystemException
findByG_N_T_C_PrevAndNext
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the current background taskgroupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask getByG_N_T_C_PrevAndNext(Session session, BackgroundTask backgroundTask, long groupId, String name, String taskExecutorClassName, boolean completed, OrderByComparator orderByComparator, boolean previous)
public void removeByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed) throws SystemException
removeByG_N_T_C
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completed
SystemException
- if a system exception occurredpublic int countByG_N_T_C(long groupId, String name, String taskExecutorClassName, boolean completed) throws SystemException
countByG_N_T_C
in interface BackgroundTaskPersistence
groupId
- the group IDname
- the nametaskExecutorClassName
- the task executor class namecompleted
- the completed
SystemException
- if a system exception occurredpublic void cacheResult(BackgroundTask backgroundTask)
cacheResult
in interface BackgroundTaskPersistence
backgroundTask
- the background taskpublic void cacheResult(List<BackgroundTask> backgroundTasks)
cacheResult
in interface BackgroundTaskPersistence
backgroundTasks
- the background taskspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<BackgroundTask>
clearCache
in class BasePersistenceImpl<BackgroundTask>
public void clearCache(BackgroundTask backgroundTask)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<BackgroundTask>
clearCache
in class BasePersistenceImpl<BackgroundTask>
backgroundTask
- the instance of this model to clear the cache forpublic void clearCache(List<BackgroundTask> backgroundTasks)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<BackgroundTask>
clearCache
in class BasePersistenceImpl<BackgroundTask>
backgroundTasks
- the List instances of this model to clear the cache forpublic BackgroundTask create(long backgroundTaskId)
create
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key for the new background task
public BackgroundTask remove(long backgroundTaskId) throws NoSuchBackgroundTaskException, SystemException
remove
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the background task
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredpublic BackgroundTask remove(Serializable primaryKey) throws NoSuchBackgroundTaskException, SystemException
remove
in interface BasePersistence<BackgroundTask>
remove
in class BasePersistenceImpl<BackgroundTask>
primaryKey
- the primary key of the background task
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredprotected BackgroundTask removeImpl(BackgroundTask backgroundTask) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<BackgroundTask>
backgroundTask
- the model instance to remove
SystemException
- if a system exception occurredpublic BackgroundTask updateImpl(BackgroundTask backgroundTask) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface BackgroundTaskPersistence
updateImpl
in class BasePersistenceImpl<BackgroundTask>
backgroundTask
- the model instance to update
SystemException
- if a system exception occurredprotected BackgroundTask toUnwrappedModel(BackgroundTask backgroundTask)
public BackgroundTask findByPrimaryKey(Serializable primaryKey) throws NoSuchBackgroundTaskException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<BackgroundTask>
findByPrimaryKey
in class BasePersistenceImpl<BackgroundTask>
primaryKey
- the primary key of the background task
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredpublic BackgroundTask findByPrimaryKey(long backgroundTaskId) throws NoSuchBackgroundTaskException, SystemException
NoSuchBackgroundTaskException
if it could not be found.
findByPrimaryKey
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the background task
NoSuchBackgroundTaskException
- if a background task with the primary key could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<BackgroundTask>
fetchByPrimaryKey
in class BasePersistenceImpl<BackgroundTask>
primaryKey
- the primary key of the background task
null
if a background task with the primary key could not be found
SystemException
- if a system exception occurredpublic BackgroundTask fetchByPrimaryKey(long backgroundTaskId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BackgroundTaskPersistence
backgroundTaskId
- the primary key of the background task
null
if a background task with the primary key could not be found
SystemException
- if a system exception occurredpublic List<BackgroundTask> findAll() throws SystemException
findAll
in interface BackgroundTaskPersistence
SystemException
- if a system exception occurredpublic List<BackgroundTask> findAll(int start, int end) throws 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 BackgroundTaskPersistence
start
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)
SystemException
- if a system exception occurredpublic List<BackgroundTask> findAll(int start, int end, OrderByComparator orderByComparator) throws 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 BackgroundTaskPersistence
start
- the lower bound of the range of background tasksend
- the upper bound of the range of background tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface BackgroundTaskPersistence
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface BackgroundTaskPersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |