Class KaleoTaskAssignmentUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(KaleoTaskAssignment kaleoTaskAssignment) Caches the kaleo task assignment in the entity cache if it is enabled.static void
cacheResult
(List<KaleoTaskAssignment> kaleoTaskAssignments) Caches the kaleo task assignments in the entity cache if it is enabled.static void
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
(String kaleoClassName, long kaleoClassPK) Returns the number of kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.static int
countByKCN_KCPK_ACN
(String kaleoClassName, long kaleoClassPK, String assigneeClassName) Returns the number of kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.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
(String kaleoClassName, long kaleoClassPK, 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
(String kaleoClassName, long kaleoClassPK, 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
(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
(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 returnsnull
if it could not be found.static Map<Serializable,
KaleoTaskAssignment> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<KaleoTaskAssignment>
findAll()
Returns all the kaleo task assignments.static List<KaleoTaskAssignment>
findAll
(int start, int end) Returns a range of all the kaleo task assignments.static 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 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 List<KaleoTaskAssignment>
findByCompanyId
(long companyId) Returns all the kaleo task assignments where companyId = ?.static List<KaleoTaskAssignment>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo task assignments where companyId = ?.static 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 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
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 List<KaleoTaskAssignment>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo task assignments where kaleoDefinitionVersionId = ?.static List<KaleoTaskAssignment>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo task assignments where kaleoDefinitionVersionId = ?.static 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 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
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 List<KaleoTaskAssignment>
findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK) Returns all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoTaskAssignment>
findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoTaskAssignment>
findByKCN_KCPK
(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 List<KaleoTaskAssignment>
findByKCN_KCPK
(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 List<KaleoTaskAssignment>
findByKCN_KCPK_ACN
(String kaleoClassName, long kaleoClassPK, String assigneeClassName) Returns all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.static List<KaleoTaskAssignment>
findByKCN_KCPK_ACN
(String kaleoClassName, long kaleoClassPK, String assigneeClassName, int start, int end) Returns a range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.static List<KaleoTaskAssignment>
findByKCN_KCPK_ACN
(String kaleoClassName, long kaleoClassPK, 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 List<KaleoTaskAssignment>
findByKCN_KCPK_ACN
(String kaleoClassName, long kaleoClassPK, 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_ACN_First
(String kaleoClassName, long kaleoClassPK, 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
(String kaleoClassName, long kaleoClassPK, 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, String kaleoClassName, long kaleoClassPK, 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 KaleoTaskAssignment
findByKCN_KCPK_First
(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
(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, 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 KaleoTaskAssignment
findByPrimaryKey
(long kaleoTaskAssignmentId) Returns the kaleo task assignment with the primary key or throws aNoSuchTaskAssignmentException
if it could not be found.static List<KaleoTaskAssignment>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoTaskAssignment>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoTaskAssignment>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) static KaleoTaskAssignment
remove
(long kaleoTaskAssignmentId) Removes the kaleo task assignment with the primary key from the database.static void
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
(String kaleoClassName, long kaleoClassPK) Removes all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? from the database.static void
removeByKCN_KCPK_ACN
(String kaleoClassName, long kaleoClassPK, String assigneeClassName) Removes all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ? from the database.static void
setPersistence
(KaleoTaskAssignmentPersistence persistence) static KaleoTaskAssignment
update
(KaleoTaskAssignment kaleoTaskAssignment) static KaleoTaskAssignment
update
(KaleoTaskAssignment kaleoTaskAssignment, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoTaskAssignment
updateImpl
(KaleoTaskAssignment kaleoTaskAssignment)
-
Constructor Details
-
KaleoTaskAssignmentUtil
public KaleoTaskAssignmentUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,KaleoTaskAssignment> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoTaskAssignment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoTaskAssignment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoTaskAssignment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoTaskAssignment update(KaleoTaskAssignment kaleoTaskAssignment, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCompanyId
Returns all the kaleo task assignments where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo task assignments
-
findByCompanyId
Returns a range of all the kaleo task assignments where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task assignments
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task assignments
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task assignments
-
findByCompanyId_First
public static KaleoTaskAssignment findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the first kaleo task assignment in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByCompanyId_Last
public static KaleoTaskAssignment findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the last kaleo task assignment in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByCompanyId_PrevAndNext
public static KaleoTaskAssignment[] findByCompanyId_PrevAndNext(long kaleoTaskAssignmentId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where companyId = ?.- Parameters:
kaleoTaskAssignmentId
- the primary key of the current kaleo task assignmentcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundNoSuchTaskAssignmentException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo task assignments where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of kaleo task assignments where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo task assignments
-
findByKaleoDefinitionVersionId
public static List<KaleoTaskAssignment> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo task assignments where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo task assignments
-
findByKaleoDefinitionVersionId
public static List<KaleoTaskAssignment> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo task assignments where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task assignments
-
findByKaleoDefinitionVersionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task assignments
-
findByKaleoDefinitionVersionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task assignments
-
findByKaleoDefinitionVersionId_First
public static KaleoTaskAssignment findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the first kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByKaleoDefinitionVersionId_First
public 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 = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByKaleoDefinitionVersionId_Last
public static KaleoTaskAssignment findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the last kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByKaleoDefinitionVersionId_Last
public 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 = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
public static KaleoTaskAssignment[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskAssignmentId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoTaskAssignmentId
- the primary key of the current kaleo task assignmentkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundNoSuchTaskAssignmentException
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo task assignments where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo task assignments where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo task assignments
-
findByKCN_KCPK
Returns all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pk- Returns:
- the matching kaleo task assignments
-
findByKCN_KCPK
public static List<KaleoTaskAssignment> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task assignments
-
findByKCN_KCPK
public static List<KaleoTaskAssignment> findByKCN_KCPK(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task assignments
-
findByKCN_KCPK
public static List<KaleoTaskAssignment> findByKCN_KCPK(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task assignments
-
findByKCN_KCPK_First
public static KaleoTaskAssignment findByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the first kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByKCN_KCPK_First
public static KaleoTaskAssignment fetchByKCN_KCPK_First(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 = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByKCN_KCPK_Last
public static KaleoTaskAssignment findByKCN_KCPK_Last(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the last kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByKCN_KCPK_Last
public static KaleoTaskAssignment fetchByKCN_KCPK_Last(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 = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByKCN_KCPK_PrevAndNext
public static KaleoTaskAssignment[] findByKCN_KCPK_PrevAndNext(long kaleoTaskAssignmentId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundNoSuchTaskAssignmentException
-
removeByKCN_KCPK
Removes all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? from the database.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pk
-
countByKCN_KCPK
Returns the number of kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pk- Returns:
- the number of matching kaleo task assignments
-
findByKCN_KCPK_ACN
public static List<KaleoTaskAssignment> findByKCN_KCPK_ACN(String kaleoClassName, long kaleoClassPK, String assigneeClassName) Returns all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class name- Returns:
- the matching kaleo task assignments
-
findByKCN_KCPK_ACN
public static List<KaleoTaskAssignment> findByKCN_KCPK_ACN(String kaleoClassName, long kaleoClassPK, String assigneeClassName, int start, int end) Returns a range of all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task assignments
-
findByKCN_KCPK_ACN
public static List<KaleoTaskAssignment> findByKCN_KCPK_ACN(String kaleoClassName, long kaleoClassPK, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task assignments
-
findByKCN_KCPK_ACN
public static List<KaleoTaskAssignment> findByKCN_KCPK_ACN(String kaleoClassName, long kaleoClassPK, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task assignments
-
findByKCN_KCPK_ACN_First
public static KaleoTaskAssignment findByKCN_KCPK_ACN_First(String kaleoClassName, long kaleoClassPK, String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the first kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByKCN_KCPK_ACN_First
public static KaleoTaskAssignment fetchByKCN_KCPK_ACN_First(String kaleoClassName, long kaleoClassPK, 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 = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByKCN_KCPK_ACN_Last
public static KaleoTaskAssignment findByKCN_KCPK_ACN_Last(String kaleoClassName, long kaleoClassPK, String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the last kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a matching kaleo task assignment could not be foundNoSuchTaskAssignmentException
-
fetchByKCN_KCPK_ACN_Last
public static KaleoTaskAssignment fetchByKCN_KCPK_ACN_Last(String kaleoClassName, long kaleoClassPK, 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 = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task assignment, or
null
if a matching kaleo task assignment could not be found
-
findByKCN_KCPK_ACN_PrevAndNext
public static KaleoTaskAssignment[] findByKCN_KCPK_ACN_PrevAndNext(long kaleoTaskAssignmentId, String kaleoClassName, long kaleoClassPK, String assigneeClassName, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskAssignment> orderByComparator) throws NoSuchTaskAssignmentException Returns the kaleo task assignments before and after the current kaleo task assignment in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundNoSuchTaskAssignmentException
-
removeByKCN_KCPK_ACN
public static void removeByKCN_KCPK_ACN(String kaleoClassName, long kaleoClassPK, String assigneeClassName) Removes all the kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ? from the database.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class name
-
countByKCN_KCPK_ACN
public static int countByKCN_KCPK_ACN(String kaleoClassName, long kaleoClassPK, String assigneeClassName) Returns the number of kaleo task assignments where kaleoClassName = ? and kaleoClassPK = ? and assigneeClassName = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkassigneeClassName
- the assignee class name- Returns:
- the number of matching kaleo task assignments
-
cacheResult
Caches the kaleo task assignment in the entity cache if it is enabled.- Parameters:
kaleoTaskAssignment
- the kaleo task assignment
-
cacheResult
Caches the kaleo task assignments in the entity cache if it is enabled.- Parameters:
kaleoTaskAssignments
- the kaleo task assignments
-
create
Creates a new kaleo task assignment with the primary key. Does not add the kaleo task assignment to the database.- Parameters:
kaleoTaskAssignmentId
- the primary key for the new kaleo task assignment- Returns:
- the new kaleo task assignment
-
remove
public static KaleoTaskAssignment remove(long kaleoTaskAssignmentId) throws NoSuchTaskAssignmentException Removes the kaleo task assignment with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoTaskAssignmentId
- the primary key of the kaleo task assignment- Returns:
- the kaleo task assignment that was removed
- Throws:
NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundNoSuchTaskAssignmentException
-
updateImpl
-
findByPrimaryKey
public static KaleoTaskAssignment findByPrimaryKey(long kaleoTaskAssignmentId) throws NoSuchTaskAssignmentException Returns the kaleo task assignment with the primary key or throws aNoSuchTaskAssignmentException
if it could not be found.- Parameters:
kaleoTaskAssignmentId
- the primary key of the kaleo task assignment- Returns:
- the kaleo task assignment
- Throws:
NoSuchTaskAssignmentException
- if a kaleo task assignment with the primary key could not be foundNoSuchTaskAssignmentException
-
fetchByPrimaryKey
Returns the kaleo task assignment with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoTaskAssignmentId
- the primary key of the kaleo task assignment- Returns:
- the kaleo task assignment, or
null
if a kaleo task assignment with the primary key could not be found
-
findAll
Returns all the kaleo task assignments.- Returns:
- the kaleo task assignments
-
findAll
Returns a range of all the kaleo task assignments.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo task assignmentsend
- the upper bound of the range of kaleo task assignments (not inclusive)- Returns:
- the range of kaleo task assignments
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of kaleo task assignments
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskAssignmentModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo task assignments
-
removeAll
public static void removeAll()Removes all the kaleo task assignments from the database. -
countAll
public static int countAll()Returns the number of kaleo task assignments.- Returns:
- the number of kaleo task assignments
-
getPersistence
-
setPersistence
-