Class KaleoTaskFormInstanceUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskFormInstancePersistenceImpl 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 voidcacheResult(KaleoTaskFormInstance kaleoTaskFormInstance) Caches the kaleo task form instance in the entity cache if it is enabled.static voidcacheResult(List<KaleoTaskFormInstance> kaleoTaskFormInstances) Caches the kaleo task form instances in the entity cache if it is enabled.static voidstatic voidclearCache(KaleoTaskFormInstance kaleoTaskFormInstance) static intcountAll()Returns the number of kaleo task form instances.static intcountByCompanyId(long companyId) Returns the number of kaleo task form instances where companyId = ?.static intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo task form instances where kaleoDefinitionVersionId = ?.static intcountByKaleoInstanceId(long kaleoInstanceId) Returns the number of kaleo task form instances where kaleoInstanceId = ?.static intcountByKaleoTaskFormId(long kaleoTaskFormId) Returns the number of kaleo task form instances where kaleoTaskFormId = ?.static intcountByKaleoTaskId(long kaleoTaskId) Returns the number of kaleo task form instances where kaleoTaskId = ?.static intcountByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) Returns the number of kaleo task form instances where kaleoTaskInstanceTokenId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoTaskFormInstancecreate(long kaleoTaskFormInstanceId) Creates a new kaleo task form instance with the primary key.static KaleoTaskFormInstancefetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where companyId = ?.static KaleoTaskFormInstancefetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where companyId = ?.static KaleoTaskFormInstancefetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskFormInstancefetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskFormInstancefetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoInstanceId = ?.static KaleoTaskFormInstancefetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoInstanceId = ?.static KaleoTaskFormInstancefetchByKaleoTaskFormId(long kaleoTaskFormId) Returns the kaleo task form instance where kaleoTaskFormId = ? or returnsnullif it could not be found.static KaleoTaskFormInstancefetchByKaleoTaskFormId(long kaleoTaskFormId, boolean useFinderCache) Returns the kaleo task form instance where kaleoTaskFormId = ? or returnsnullif it could not be found, optionally using the finder cache.static KaleoTaskFormInstancefetchByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoTaskId = ?.static KaleoTaskFormInstancefetchByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoTaskId = ?.static KaleoTaskFormInstancefetchByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.static KaleoTaskFormInstancefetchByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.static KaleoTaskFormInstancefetchByPrimaryKey(long kaleoTaskFormInstanceId) Returns the kaleo task form instance with the primary key or returnsnullif it could not be found.static Map<Serializable,KaleoTaskFormInstance> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<KaleoTaskFormInstance>findAll()Returns all the kaleo task form instances.static List<KaleoTaskFormInstance>findAll(int start, int end) Returns a range of all the kaleo task form instances.static List<KaleoTaskFormInstance>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances.static List<KaleoTaskFormInstance>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances.static List<KaleoTaskFormInstance>findByCompanyId(long companyId) Returns all the kaleo task form instances where companyId = ?.static List<KaleoTaskFormInstance>findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo task form instances where companyId = ?.static List<KaleoTaskFormInstance>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where companyId = ?.static List<KaleoTaskFormInstance>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where companyId = ?.static KaleoTaskFormInstancefindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where companyId = ?.static KaleoTaskFormInstancefindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where companyId = ?.static KaleoTaskFormInstance[]findByCompanyId_PrevAndNext(long kaleoTaskFormInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where companyId = ?.static List<KaleoTaskFormInstance>findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo task form instances where kaleoDefinitionVersionId = ?.static List<KaleoTaskFormInstance>findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.static List<KaleoTaskFormInstance>findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.static List<KaleoTaskFormInstance>findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.static KaleoTaskFormInstancefindByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskFormInstancefindByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskFormInstance[]findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.static List<KaleoTaskFormInstance>findByKaleoInstanceId(long kaleoInstanceId) Returns all the kaleo task form instances where kaleoInstanceId = ?.static List<KaleoTaskFormInstance>findByKaleoInstanceId(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo task form instances where kaleoInstanceId = ?.static List<KaleoTaskFormInstance>findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoInstanceId = ?.static List<KaleoTaskFormInstance>findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoInstanceId = ?.static KaleoTaskFormInstancefindByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoInstanceId = ?.static KaleoTaskFormInstancefindByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoInstanceId = ?.static KaleoTaskFormInstance[]findByKaleoInstanceId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoInstanceId = ?.static KaleoTaskFormInstancefindByKaleoTaskFormId(long kaleoTaskFormId) Returns the kaleo task form instance where kaleoTaskFormId = ? or throws aNoSuchTaskFormInstanceExceptionif it could not be found.static List<KaleoTaskFormInstance>findByKaleoTaskId(long kaleoTaskId) Returns all the kaleo task form instances where kaleoTaskId = ?.static List<KaleoTaskFormInstance>findByKaleoTaskId(long kaleoTaskId, int start, int end) Returns a range of all the kaleo task form instances where kaleoTaskId = ?.static List<KaleoTaskFormInstance>findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.static List<KaleoTaskFormInstance>findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.static KaleoTaskFormInstancefindByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoTaskId = ?.static KaleoTaskFormInstancefindByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoTaskId = ?.static KaleoTaskFormInstance[]findByKaleoTaskId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoTaskId = ?.static List<KaleoTaskFormInstance>findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) Returns all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.static List<KaleoTaskFormInstance>findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end) Returns a range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.static List<KaleoTaskFormInstance>findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.static List<KaleoTaskFormInstance>findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.static KaleoTaskFormInstancefindByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.static KaleoTaskFormInstancefindByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.static KaleoTaskFormInstance[]findByKaleoTaskInstanceTokenId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.static KaleoTaskFormInstancefindByPrimaryKey(long kaleoTaskFormInstanceId) Returns the kaleo task form instance with the primary key or throws aNoSuchTaskFormInstanceExceptionif it could not be found.static List<KaleoTaskFormInstance>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoTaskFormInstance>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoTaskFormInstance>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) static KaleoTaskFormInstanceremove(long kaleoTaskFormInstanceId) Removes the kaleo task form instance with the primary key from the database.static voidRemoves all the kaleo task form instances from the database.static voidremoveByCompanyId(long companyId) Removes all the kaleo task form instances where companyId = ? from the database.static voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo task form instances where kaleoDefinitionVersionId = ? from the database.static voidremoveByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo task form instances where kaleoInstanceId = ? from the database.static KaleoTaskFormInstanceremoveByKaleoTaskFormId(long kaleoTaskFormId) Removes the kaleo task form instance where kaleoTaskFormId = ? from the database.static voidremoveByKaleoTaskId(long kaleoTaskId) Removes all the kaleo task form instances where kaleoTaskId = ? from the database.static voidremoveByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) Removes all the kaleo task form instances where kaleoTaskInstanceTokenId = ? from the database.static voidsetPersistence(KaleoTaskFormInstancePersistence persistence) static KaleoTaskFormInstanceupdate(KaleoTaskFormInstance kaleoTaskFormInstance) static KaleoTaskFormInstanceupdate(KaleoTaskFormInstance kaleoTaskFormInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoTaskFormInstanceupdateImpl(KaleoTaskFormInstance kaleoTaskFormInstance)
-
Constructor Details
-
KaleoTaskFormInstanceUtil
public KaleoTaskFormInstanceUtil()
-
-
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,KaleoTaskFormInstance> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoTaskFormInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoTaskFormInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoTaskFormInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoTaskFormInstance update(KaleoTaskFormInstance kaleoTaskFormInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCompanyId
Returns all the kaleo task form instances where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching kaleo task form instances
-
findByCompanyId
Returns a range of all the kaleo task form instances where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)- Returns:
- the range of matching kaleo task form instances
-
findByCompanyId
public static List<KaleoTaskFormInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo task form instances
-
findByCompanyId
public static List<KaleoTaskFormInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (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 form instances
-
findByCompanyId_First
public static KaleoTaskFormInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the first kaleo task form instance 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 form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByCompanyId_First
public static KaleoTaskFormInstance fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance 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 form instance, or
nullif a matching kaleo task form instance could not be found
-
findByCompanyId_Last
public static KaleoTaskFormInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the last kaleo task form instance 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 form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByCompanyId_Last
public static KaleoTaskFormInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance 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 form instance, or
nullif a matching kaleo task form instance could not be found
-
findByCompanyId_PrevAndNext
public static KaleoTaskFormInstance[] findByCompanyId_PrevAndNext(long kaleoTaskFormInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where companyId = ?.- Parameters:
kaleoTaskFormInstanceId- the primary key of the current kaleo task form instancecompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a kaleo task form instance with the primary key could not be foundNoSuchTaskFormInstanceException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo task form instances where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of kaleo task form instances where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching kaleo task form instances
-
findByKaleoDefinitionVersionId
public static List<KaleoTaskFormInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo task form instances where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo task form instances
-
findByKaleoDefinitionVersionId
public static List<KaleoTaskFormInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)- Returns:
- the range of matching kaleo task form instances
-
findByKaleoDefinitionVersionId
public static List<KaleoTaskFormInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo task form instances
-
findByKaleoDefinitionVersionId
public static List<KaleoTaskFormInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (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 form instances
-
findByKaleoDefinitionVersionId_First
public static KaleoTaskFormInstance findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the first kaleo task form instance 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 form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoDefinitionVersionId_First
public static KaleoTaskFormInstance fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance 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 form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoDefinitionVersionId_Last
public static KaleoTaskFormInstance findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the last kaleo task form instance 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 form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoDefinitionVersionId_Last
public static KaleoTaskFormInstance fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance 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 form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
public static KaleoTaskFormInstance[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoTaskFormInstanceId- the primary key of the current kaleo task form instancekaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a kaleo task form instance with the primary key could not be foundNoSuchTaskFormInstanceException
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo task form instances 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 form instances where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the number of matching kaleo task form instances
-
findByKaleoInstanceId
Returns all the kaleo task form instances where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance ID- Returns:
- the matching kaleo task form instances
-
findByKaleoInstanceId
public static List<KaleoTaskFormInstance> findByKaleoInstanceId(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo task form instances where kaleoInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoInstanceId- the kaleo instance IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)- Returns:
- the range of matching kaleo task form instances
-
findByKaleoInstanceId
public static List<KaleoTaskFormInstance> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoInstanceId- the kaleo instance IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo task form instances
-
findByKaleoInstanceId
public static List<KaleoTaskFormInstance> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoInstanceId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoInstanceId- the kaleo instance IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (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 form instances
-
findByKaleoInstanceId_First
public static KaleoTaskFormInstance findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the first kaleo task form instance in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoInstanceId_First
public static KaleoTaskFormInstance fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoInstanceId_Last
public static KaleoTaskFormInstance findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the last kaleo task form instance in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoInstanceId_Last
public static KaleoTaskFormInstance fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoInstanceId_PrevAndNext
public static KaleoTaskFormInstance[] findByKaleoInstanceId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoTaskFormInstanceId- the primary key of the current kaleo task form instancekaleoInstanceId- the kaleo instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a kaleo task form instance with the primary key could not be foundNoSuchTaskFormInstanceException
-
removeByKaleoInstanceId
public static void removeByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo task form instances where kaleoInstanceId = ? from the database.- Parameters:
kaleoInstanceId- the kaleo instance ID
-
countByKaleoInstanceId
public static int countByKaleoInstanceId(long kaleoInstanceId) Returns the number of kaleo task form instances where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId- the kaleo instance ID- Returns:
- the number of matching kaleo task form instances
-
findByKaleoTaskId
Returns all the kaleo task form instances where kaleoTaskId = ?.- Parameters:
kaleoTaskId- the kaleo task ID- Returns:
- the matching kaleo task form instances
-
findByKaleoTaskId
Returns a range of all the kaleo task form instances where kaleoTaskId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoTaskId- the kaleo task IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)- Returns:
- the range of matching kaleo task form instances
-
findByKaleoTaskId
public static List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoTaskId- the kaleo task IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo task form instances
-
findByKaleoTaskId
public static List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoTaskId- the kaleo task IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (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 form instances
-
findByKaleoTaskId_First
public static KaleoTaskFormInstance findByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the first kaleo task form instance in the ordered set where kaleoTaskId = ?.- Parameters:
kaleoTaskId- the kaleo task IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoTaskId_First
public static KaleoTaskFormInstance fetchByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoTaskId = ?.- Parameters:
kaleoTaskId- the kaleo task IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoTaskId_Last
public static KaleoTaskFormInstance findByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the last kaleo task form instance in the ordered set where kaleoTaskId = ?.- Parameters:
kaleoTaskId- the kaleo task IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoTaskId_Last
public static KaleoTaskFormInstance fetchByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoTaskId = ?.- Parameters:
kaleoTaskId- the kaleo task IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoTaskId_PrevAndNext
public static KaleoTaskFormInstance[] findByKaleoTaskId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoTaskId = ?.- Parameters:
kaleoTaskFormInstanceId- the primary key of the current kaleo task form instancekaleoTaskId- the kaleo task IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a kaleo task form instance with the primary key could not be foundNoSuchTaskFormInstanceException
-
removeByKaleoTaskId
public static void removeByKaleoTaskId(long kaleoTaskId) Removes all the kaleo task form instances where kaleoTaskId = ? from the database.- Parameters:
kaleoTaskId- the kaleo task ID
-
countByKaleoTaskId
public static int countByKaleoTaskId(long kaleoTaskId) Returns the number of kaleo task form instances where kaleoTaskId = ?.- Parameters:
kaleoTaskId- the kaleo task ID- Returns:
- the number of matching kaleo task form instances
-
findByKaleoTaskInstanceTokenId
public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) Returns all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token ID- Returns:
- the matching kaleo task form instances
-
findByKaleoTaskInstanceTokenId
public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end) Returns a range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)- Returns:
- the range of matching kaleo task form instances
-
findByKaleoTaskInstanceTokenId
public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo task form instances
-
findByKaleoTaskInstanceTokenId
public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token IDstart- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (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 form instances
-
findByKaleoTaskInstanceTokenId_First
public static KaleoTaskFormInstance findByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the first kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoTaskInstanceTokenId_First
public static KaleoTaskFormInstance fetchByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the first kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoTaskInstanceTokenId_Last
public static KaleoTaskFormInstance findByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the last kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoTaskInstanceTokenId_Last
public static KaleoTaskFormInstance fetchByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns the last kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
findByKaleoTaskInstanceTokenId_PrevAndNext
public static KaleoTaskFormInstance[] findByKaleoTaskInstanceTokenId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.- Parameters:
kaleoTaskFormInstanceId- the primary key of the current kaleo task form instancekaleoTaskInstanceTokenId- the kaleo task instance token IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a kaleo task form instance with the primary key could not be foundNoSuchTaskFormInstanceException
-
removeByKaleoTaskInstanceTokenId
public static void removeByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) Removes all the kaleo task form instances where kaleoTaskInstanceTokenId = ? from the database.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token ID
-
countByKaleoTaskInstanceTokenId
public static int countByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId) Returns the number of kaleo task form instances where kaleoTaskInstanceTokenId = ?.- Parameters:
kaleoTaskInstanceTokenId- the kaleo task instance token ID- Returns:
- the number of matching kaleo task form instances
-
findByKaleoTaskFormId
public static KaleoTaskFormInstance findByKaleoTaskFormId(long kaleoTaskFormId) throws NoSuchTaskFormInstanceException Returns the kaleo task form instance where kaleoTaskFormId = ? or throws aNoSuchTaskFormInstanceExceptionif it could not be found.- Parameters:
kaleoTaskFormId- the kaleo task form ID- Returns:
- the matching kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a matching kaleo task form instance could not be foundNoSuchTaskFormInstanceException
-
fetchByKaleoTaskFormId
Returns the kaleo task form instance where kaleoTaskFormId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
kaleoTaskFormId- the kaleo task form ID- Returns:
- the matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
fetchByKaleoTaskFormId
public static KaleoTaskFormInstance fetchByKaleoTaskFormId(long kaleoTaskFormId, boolean useFinderCache) Returns the kaleo task form instance where kaleoTaskFormId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
kaleoTaskFormId- the kaleo task form IDuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo task form instance, or
nullif a matching kaleo task form instance could not be found
-
removeByKaleoTaskFormId
public static KaleoTaskFormInstance removeByKaleoTaskFormId(long kaleoTaskFormId) throws NoSuchTaskFormInstanceException Removes the kaleo task form instance where kaleoTaskFormId = ? from the database.- Parameters:
kaleoTaskFormId- the kaleo task form ID- Returns:
- the kaleo task form instance that was removed
- Throws:
NoSuchTaskFormInstanceException
-
countByKaleoTaskFormId
public static int countByKaleoTaskFormId(long kaleoTaskFormId) Returns the number of kaleo task form instances where kaleoTaskFormId = ?.- Parameters:
kaleoTaskFormId- the kaleo task form ID- Returns:
- the number of matching kaleo task form instances
-
cacheResult
Caches the kaleo task form instance in the entity cache if it is enabled.- Parameters:
kaleoTaskFormInstance- the kaleo task form instance
-
cacheResult
Caches the kaleo task form instances in the entity cache if it is enabled.- Parameters:
kaleoTaskFormInstances- the kaleo task form instances
-
create
Creates a new kaleo task form instance with the primary key. Does not add the kaleo task form instance to the database.- Parameters:
kaleoTaskFormInstanceId- the primary key for the new kaleo task form instance- Returns:
- the new kaleo task form instance
-
remove
public static KaleoTaskFormInstance remove(long kaleoTaskFormInstanceId) throws NoSuchTaskFormInstanceException Removes the kaleo task form instance with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoTaskFormInstanceId- the primary key of the kaleo task form instance- Returns:
- the kaleo task form instance that was removed
- Throws:
NoSuchTaskFormInstanceException- if a kaleo task form instance with the primary key could not be foundNoSuchTaskFormInstanceException
-
updateImpl
-
findByPrimaryKey
public static KaleoTaskFormInstance findByPrimaryKey(long kaleoTaskFormInstanceId) throws NoSuchTaskFormInstanceException Returns the kaleo task form instance with the primary key or throws aNoSuchTaskFormInstanceExceptionif it could not be found.- Parameters:
kaleoTaskFormInstanceId- the primary key of the kaleo task form instance- Returns:
- the kaleo task form instance
- Throws:
NoSuchTaskFormInstanceException- if a kaleo task form instance with the primary key could not be foundNoSuchTaskFormInstanceException
-
fetchByPrimaryKey
Returns the kaleo task form instance with the primary key or returnsnullif it could not be found.- Parameters:
kaleoTaskFormInstanceId- the primary key of the kaleo task form instance- Returns:
- the kaleo task form instance, or
nullif a kaleo task form instance with the primary key could not be found
-
findAll
Returns all the kaleo task form instances.- Returns:
- the kaleo task form instances
-
findAll
Returns a range of all the kaleo task form instances.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
start- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)- Returns:
- the range of kaleo task form instances
-
findAll
public static List<KaleoTaskFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) Returns an ordered range of all the kaleo task form instances.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
start- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of kaleo task form instances
-
findAll
public static List<KaleoTaskFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task form instances.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTaskFormInstanceModelImpl.- Parameters:
start- the lower bound of the range of kaleo task form instancesend- the upper bound of the range of kaleo task form instances (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 form instances
-
removeAll
public static void removeAll()Removes all the kaleo task form instances from the database. -
countAll
public static int countAll()Returns the number of kaleo task form instances.- Returns:
- the number of kaleo task form instances
-
getPersistence
-
setPersistence
-