public class KaleoTaskAssignmentUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskAssignmentPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
KaleoTaskAssignmentPersistence
Constructor and Description |
---|
KaleoTaskAssignmentUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoTaskAssignment kaleoTaskAssignment)
Caches the kaleo task assignment in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoTaskAssignment> kaleoTaskAssignments)
Caches the kaleo task assignments in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoTaskAssignment kaleoTaskAssignment) |
static int |
countAll()
Returns the number of kaleo task assignments.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo task assignments where companyId = ?.
|
static int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo task assignments where kaleoDefinitionVersionId = ?.
|
static int |
countByKCN_KCPK_ACN(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName)
Returns the number of kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static int |
countByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns the number of kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoTaskAssignment |
create(long kaleoTaskAssignmentId)
Creates a new kaleo task assignment with the primary key.
|
static KaleoTaskAssignment |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where companyId = ?.
|
static KaleoTaskAssignment |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where companyId = ?.
|
static KaleoTaskAssignment |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskAssignment |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskAssignment |
fetchByKCN_KCPK_ACN_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static KaleoTaskAssignment |
fetchByKCN_KCPK_ACN_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static KaleoTaskAssignment |
fetchByKCN_KCPK_First(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoTaskAssignment |
fetchByKCN_KCPK_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoTaskAssignment |
fetchByPrimaryKey(long kaleoTaskAssignmentId)
Returns the kaleo task assignment with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoTaskAssignment> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoTaskAssignment> |
findAll()
Returns all the kaleo task assignments.
|
static java.util.List<KaleoTaskAssignment> |
findAll(int start,
int end)
Returns a range of all the kaleo task assignments.
|
static java.util.List<KaleoTaskAssignment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns an ordered range of all the kaleo task assignments.
|
static java.util.List<KaleoTaskAssignment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task assignments.
|
static KaleoTaskAssignment |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where companyId = ?.
|
static KaleoTaskAssignment |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where companyId = ?.
|
static KaleoTaskAssignment[] |
findByCompanyId_PrevAndNext(long kaleoTaskAssignmentId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where companyId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByCompanyId(long companyId)
Returns all the kaleo task assignments where companyId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo task assignments where companyId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns an ordered range of all the kaleo task assignments where companyId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task assignments where companyId = ?.
|
static KaleoTaskAssignment |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskAssignment |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskAssignment[] |
findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskAssignmentId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo task assignments where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo task assignments where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns an ordered range of all the kaleo task assignments where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task assignments where kaleoDefinitionVersionId = ?.
|
static KaleoTaskAssignment |
findByKCN_KCPK_ACN_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static KaleoTaskAssignment |
findByKCN_KCPK_ACN_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static KaleoTaskAssignment[] |
findByKCN_KCPK_ACN_PrevAndNext(long kaleoTaskAssignmentId,
java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK_ACN(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName)
Returns all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK_ACN(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
int start,
int end)
Returns a range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK_ACN(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns an ordered range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK_ACN(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.
|
static KaleoTaskAssignment |
findByKCN_KCPK_First(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the first kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoTaskAssignment |
findByKCN_KCPK_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the last kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoTaskAssignment[] |
findByKCN_KCPK_PrevAndNext(long kaleoTaskAssignmentId,
java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end)
Returns a range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Returns an ordered range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoTaskAssignment> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoTaskAssignment |
findByPrimaryKey(long kaleoTaskAssignmentId)
Returns the kaleo task assignment with the primary key or throws a
NoSuchTaskAssignmentException if it could not be found. |
static java.util.List<KaleoTaskAssignment> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoTaskAssignment> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoTaskAssignment> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) |
static KaleoTaskAssignmentPersistence |
getPersistence() |
static KaleoTaskAssignment |
remove(long kaleoTaskAssignmentId)
Removes the kaleo task assignment with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo task assignments from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo task assignments where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo task assignments where kaleoDefinitionVersionId = ? from the database.
|
static void |
removeByKCN_KCPK_ACN(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String assigneeClassName)
Removes all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ? from the database.
|
static void |
removeByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Removes all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? from the database.
|
static KaleoTaskAssignment |
update(KaleoTaskAssignment kaleoTaskAssignment) |
static KaleoTaskAssignment |
update(KaleoTaskAssignment kaleoTaskAssignment,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoTaskAssignment |
updateImpl(KaleoTaskAssignment kaleoTaskAssignment) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoTaskAssignment kaleoTaskAssignment)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,KaleoTaskAssignment> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoTaskAssignment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTaskAssignment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoTaskAssignment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoTaskAssignment update(KaleoTaskAssignment kaleoTaskAssignment)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoTaskAssignment update(KaleoTaskAssignment kaleoTaskAssignment, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoTaskAssignment> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoTaskAssignment> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)public static java.util.List<KaleoTaskAssignment> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskAssignment> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskAssignment findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment[] findByCompanyId_PrevAndNext(long kaleoTaskAssignmentId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoTaskAssignmentId
- the primary key of the current kaleo task assignmentcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoTaskAssignment> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoTaskAssignment> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)public static java.util.List<KaleoTaskAssignment> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskAssignment> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskAssignment findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskAssignmentId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoTaskAssignmentId
- the primary key of the current kaleo task assignmentkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundpublic static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoTaskAssignment> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static java.util.List<KaleoTaskAssignment> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)public static java.util.List<KaleoTaskAssignment> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskAssignment> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskAssignment findByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment findByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment[] findByKCN_KCPK_PrevAndNext(long kaleoTaskAssignmentId, java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoTaskAssignmentId
- the primary key of the current kaleo task assignmentkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundpublic static void removeByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static int countByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static java.util.List<KaleoTaskAssignment> findByKCN_KCPK_ACN(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class namepublic static java.util.List<KaleoTaskAssignment> findByKCN_KCPK_ACN(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class namestart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)public static java.util.List<KaleoTaskAssignment> findByKCN_KCPK_ACN(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class namestart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskAssignment> findByKCN_KCPK_ACN(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class namestart
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskAssignment findByKCN_KCPK_ACN_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByKCN_KCPK_ACN_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment findByKCN_KCPK_ACN_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment fetchByKCN_KCPK_ACN_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task assignment could not be foundpublic static KaleoTaskAssignment[] findByKCN_KCPK_ACN_PrevAndNext(long kaleoTaskAssignmentId, java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException
kaleoTaskAssignmentId
- the primary key of the current kaleo task assignmentkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundpublic static void removeByKCN_KCPK_ACN(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class namepublic static int countByKCN_KCPK_ACN(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String assigneeClassName)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class namepublic static void cacheResult(KaleoTaskAssignment kaleoTaskAssignment)
kaleoTaskAssignment
- the kaleo task assignmentpublic static void cacheResult(java.util.List<KaleoTaskAssignment> kaleoTaskAssignments)
kaleoTaskAssignments
- the kaleo task assignmentspublic static KaleoTaskAssignment create(long kaleoTaskAssignmentId)
kaleoTaskAssignmentId
- the primary key for the new kaleo task assignmentpublic static KaleoTaskAssignment remove(long kaleoTaskAssignmentId) throws NoSuchTaskAssignmentException
kaleoTaskAssignmentId
- the primary key of the kaleo task assignmentNoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundpublic static KaleoTaskAssignment updateImpl(KaleoTaskAssignment kaleoTaskAssignment)
public static KaleoTaskAssignment findByPrimaryKey(long kaleoTaskAssignmentId) throws NoSuchTaskAssignmentException
NoSuchTaskAssignmentException
if it could not be found.kaleoTaskAssignmentId
- the primary key of the kaleo task assignmentNoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundpublic static KaleoTaskAssignment fetchByPrimaryKey(long kaleoTaskAssignmentId)
null
if it could not be found.kaleoTaskAssignmentId
- the primary key of the kaleo task assignmentnull
if a kaleo task assignment with the primary key could not be foundpublic static java.util.List<KaleoTaskAssignment> findAll()
public static java.util.List<KaleoTaskAssignment> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
start
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)public static java.util.List<KaleoTaskAssignment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
start
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskAssignment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTaskAssignmentModelImpl
.
start
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoTaskAssignmentPersistence getPersistence()