Class KaleoActionUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoActionPersistenceImpl 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(KaleoAction kaleoAction) static voidcacheResult(List<KaleoAction> kaleoActions) static voidstatic voidclearCache(KaleoAction kaleoAction) static intcountByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK) Returns the number of kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.static intcountByCompanyId(long companyId) Returns the number of kaleo actions where companyId = ?.static intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo actions where kaleoDefinitionVersionId = ?.static intcountByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Returns the number of kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.static intcountByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId) Returns the number of kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoActioncreate(long kaleoActionId) Creates a new kaleo action with the primary key.static KaleoActionfetchByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.static KaleoActionfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where companyId = ?.static KaleoActionfetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where kaleoDefinitionVersionId = ?.static KaleoActionfetchByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoActionfetchByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static KaleoActionfetchByPrimaryKey(long kaleoActionId) Returns the kaleo action with the primary key or returnsnullif it could not be found.static Map<Serializable, KaleoAction> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK) Returns all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.static KaleoActionfindByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByCompanyId(long companyId) Returns all the kaleo actions where companyId = ?.static List<KaleoAction> findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo actions where companyId = ?.static List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where companyId = ?.static List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where companyId = ?.static KaleoActionfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where companyId = ?.static List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo actions where kaleoDefinitionVersionId = ?.static List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo actions where kaleoDefinitionVersionId = ?.static List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where kaleoDefinitionVersionId = ?.static List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where kaleoDefinitionVersionId = ?.static KaleoActionfindByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where kaleoDefinitionVersionId = ?.static List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Returns all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.static KaleoActionfindByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId) Returns all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static KaleoActionfindByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static KaleoActionfindByPrimaryKey(long kaleoActionId) Returns the kaleo action with the primary key or throws aNoSuchActionExceptionif it could not be found.static List<KaleoAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) static KaleoActionPersistencestatic KaleoActionremove(long kaleoActionId) Removes the kaleo action with the primary key from the database.static voidremoveByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK) Removes all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the kaleo actions where companyId = ? from the database.static voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo actions where kaleoDefinitionVersionId = ? from the database.static voidremoveByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Removes all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? from the database.static voidremoveByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId) Removes all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ? from the database.static voidsetPersistence(KaleoActionPersistence persistence) static KaleoActionupdate(KaleoAction kaleoAction) static KaleoActionupdate(KaleoAction kaleoAction, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoActionupdateImpl(KaleoAction kaleoAction)
-
Constructor Details
-
KaleoActionUtil
public KaleoActionUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<KaleoAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<KaleoAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<KaleoAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static KaleoAction update(KaleoAction kaleoAction, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByCompanyId
public static List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (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 actions
-
findByCompanyId_First
public static KaleoAction findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException Returns the first kaleo action in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo action
-
fetchByCompanyId_First
public static KaleoAction fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo action, or
nullif a matching kaleo action could not be found
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo actions where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of kaleo actions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching kaleo actions
-
findByKaleoDefinitionVersionId
public static List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (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 actions
-
findByKaleoDefinitionVersionId_First
public static KaleoAction findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException Returns the first kaleo action 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 action
-
fetchByKaleoDefinitionVersionId_First
public static KaleoAction fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action 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 action, or
nullif a matching kaleo action could not be found
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo actions where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo actions where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the number of matching kaleo actions
-
findByKCN_KCPK
public static List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (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 actions
-
findByKCN_KCPK_First
public static KaleoAction findByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException Returns the first kaleo action 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 action
-
fetchByKCN_KCPK_First
public static KaleoAction fetchByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action 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 action, or
nullif a matching kaleo action could not be found
-
removeByKCN_KCPK
Removes all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? from the database.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk
-
countByKCN_KCPK
Returns the number of kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk- Returns:
- the number of matching kaleo actions
-
findByKCN_KDVI
public static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (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 actions
-
findByKCN_KDVI_First
public static KaleoAction findByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo action
-
fetchByKCN_KDVI_First
public static KaleoAction fetchByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo action, or
nullif a matching kaleo action could not be found
-
removeByKCN_KDVI
Removes all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version ID
-
countByKCN_KDVI
Returns the number of kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the number of matching kaleo actions
-
findByC_KCN_KCPK
public static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (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 actions
-
findByC_KCN_KCPK_First
public static KaleoAction findByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo action
-
fetchByC_KCN_KCPK_First
public static KaleoAction fetchByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo action, or
nullif a matching kaleo action could not be found
-
removeByC_KCN_KCPK
Removes all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ? from the database.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk
-
countByC_KCN_KCPK
Returns the number of kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk- Returns:
- the number of matching kaleo actions
-
create
Creates a new kaleo action with the primary key. Does not add the kaleo action to the database.- Parameters:
kaleoActionId- the primary key for the new kaleo action- Returns:
- the new kaleo action
-
remove
Removes the kaleo action with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoActionId- the primary key of the kaleo action- Returns:
- the kaleo action that was removed
-
updateImpl
-
findByPrimaryKey
Returns the kaleo action with the primary key or throws aNoSuchActionExceptionif it could not be found.- Parameters:
kaleoActionId- the primary key of the kaleo action- Returns:
- the kaleo action
-
fetchByPrimaryKey
Returns the kaleo action with the primary key or returnsnullif it could not be found.- Parameters:
kaleoActionId- the primary key of the kaleo action- Returns:
- the kaleo action, or
nullif a kaleo action with the primary key could not be found
-
findByCompanyId
Returns all the kaleo actions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching kaleo actions
-
findByCompanyId
Returns a range of all the kaleo actions 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)- Returns:
- the range of matching kaleo actions
-
findByCompanyId
public static List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo actions
-
findByKaleoDefinitionVersionId
Returns all the kaleo actions where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo actions
-
findByKaleoDefinitionVersionId
public static List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo actions 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)- Returns:
- the range of matching kaleo actions
-
findByKaleoDefinitionVersionId
public static List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo actions
-
findByKCN_KCPK
Returns all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk- Returns:
- the matching kaleo actions
-
findByKCN_KCPK
public static List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)- Returns:
- the range of matching kaleo actions
-
findByKCN_KCPK
public static List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo actions
-
findByKCN_KDVI
public static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId) Returns all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo actions
-
findByKCN_KDVI
public static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo actions where kaleoClassName = ? and 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)- Returns:
- the range of matching kaleo actions
-
findByKCN_KDVI
public static List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where kaleoClassName = ? and 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo actions
-
findByC_KCN_KCPK
public static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK) Returns all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk- Returns:
- the matching kaleo actions
-
findByC_KCN_KCPK
public static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)- Returns:
- the range of matching kaleo actions
-
findByC_KCN_KCPK
public static List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.- Parameters:
companyId- the company IDkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo actionsend- the upper bound of the range of kaleo actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo actions
-
getPersistence
-
setPersistence
-