Class KaleoDefinitionUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoDefinitionPersistenceImpl 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(KaleoDefinition kaleoDefinition) static voidcacheResult(List<KaleoDefinition> kaleoDefinitions) static voidstatic voidclearCache(KaleoDefinition kaleoDefinition) static intcountByActive(boolean active) Returns the number of kaleo definitions where active = ?.static intcountByC_A(long companyId, boolean active) Returns the number of kaleo definitions where companyId = ? and active = ?.static intcountByC_N(long companyId, String name) Returns the number of kaleo definitions where companyId = ? and name = ?.static intcountByC_N_A(long companyId, String name, boolean active) Returns the number of kaleo definitions where companyId = ? and name = ? and active = ?.static intcountByC_N_V(long companyId, String name, int version) Returns the number of kaleo definitions where companyId = ? and name = ? and version = ?.static intcountByCompanyId(long companyId) Returns the number of kaleo definitions where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of kaleo definitions where externalReferenceCode = ? and companyId = ?.static intcountByG_C_S(long groupId, long companyId, String scope) Returns the number of kaleo definitions where groupId = ? and companyId = ? and scope = ?.static intcountByG_C_S_A(long groupId, long companyId, String scope, boolean active) Returns the number of kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.static intcountByUuid(String uuid) Returns the number of kaleo definitions where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of kaleo definitions where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of kaleo definitions where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoDefinitioncreate(long kaleoDefinitionId) Creates a new kaleo definition with the primary key.static KaleoDefinitionfetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where active = ?.static KaleoDefinitionfetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and active = ?.static KaleoDefinitionfetchByC_N(long companyId, String name) Returns the kaleo definition where companyId = ? and name = ? or returnsnullif it could not be found.static KaleoDefinitionfetchByC_N(long companyId, String name, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.static KaleoDefinitionfetchByC_N_A(long companyId, String name, boolean active) Returns the kaleo definition where companyId = ? and name = ? and active = ? or returnsnullif it could not be found.static KaleoDefinitionfetchByC_N_A(long companyId, String name, boolean active, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? and active = ? or returnsnullif it could not be found, optionally using the finder cache.static KaleoDefinitionfetchByC_N_V(long companyId, String name, int version) Returns the kaleo definition where companyId = ? and name = ? and version = ? or returnsnullif it could not be found.static KaleoDefinitionfetchByC_N_V(long companyId, String name, int version, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.static KaleoDefinitionfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ?.static KaleoDefinitionfetchByERC_C(String externalReferenceCode, long companyId) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static KaleoDefinitionfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static KaleoDefinitionfetchByG_C_S_A_First(long groupId, long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ? and active = ?.static KaleoDefinitionfetchByG_C_S_First(long groupId, long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ?.static KaleoDefinitionfetchByPrimaryKey(long kaleoDefinitionId) Returns the kaleo definition with the primary key or returnsnullif it could not be found.static Map<Serializable, KaleoDefinition> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static KaleoDefinitionfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ? and companyId = ?.static KaleoDefinitionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ?.static KaleoDefinitionfetchByUUID_G(String uuid, long groupId) Returns the kaleo definition where uuid = ? and groupId = ? or returnsnullif it could not be found.static KaleoDefinitionfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the kaleo definition where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static List<KaleoDefinition> findByActive(boolean active) Returns all the kaleo definitions where active = ?.static List<KaleoDefinition> findByActive(boolean active, int start, int end) Returns a range of all the kaleo definitions where active = ?.static List<KaleoDefinition> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where active = ?.static List<KaleoDefinition> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where active = ?.static KaleoDefinitionfindByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where active = ?.static List<KaleoDefinition> findByC_A(long companyId, boolean active) Returns all the kaleo definitions where companyId = ? and active = ?.static List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end) Returns a range of all the kaleo definitions where companyId = ? and active = ?.static List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where companyId = ? and active = ?.static List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where companyId = ? and active = ?.static KaleoDefinitionfindByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and active = ?.static KaleoDefinitionReturns the kaleo definition where companyId = ? and name = ? or throws aNoSuchDefinitionExceptionif it could not be found.static KaleoDefinitionfindByC_N_A(long companyId, String name, boolean active) Returns the kaleo definition where companyId = ? and name = ? and active = ? or throws aNoSuchDefinitionExceptionif it could not be found.static KaleoDefinitionfindByC_N_V(long companyId, String name, int version) Returns the kaleo definition where companyId = ? and name = ? and version = ? or throws aNoSuchDefinitionExceptionif it could not be found.static List<KaleoDefinition> findByCompanyId(long companyId) Returns all the kaleo definitions where companyId = ?.static List<KaleoDefinition> findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo definitions where companyId = ?.static List<KaleoDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where companyId = ?.static List<KaleoDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where companyId = ?.static KaleoDefinitionfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ?.static KaleoDefinitionfindByERC_C(String externalReferenceCode, long companyId) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or throws aNoSuchDefinitionExceptionif it could not be found.static List<KaleoDefinition> findByG_C_S(long groupId, long companyId, String scope) Returns all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.static List<KaleoDefinition> findByG_C_S(long groupId, long companyId, String scope, int start, int end) Returns a range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.static List<KaleoDefinition> findByG_C_S(long groupId, long companyId, String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.static List<KaleoDefinition> findByG_C_S(long groupId, long companyId, String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active) Returns all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active, int start, int end) Returns a range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.static KaleoDefinitionfindByG_C_S_A_First(long groupId, long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ? and active = ?.static KaleoDefinitionfindByG_C_S_First(long groupId, long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ?.static KaleoDefinitionfindByPrimaryKey(long kaleoDefinitionId) Returns the kaleo definition with the primary key or throws aNoSuchDefinitionExceptionif it could not be found.static List<KaleoDefinition> findByUuid(String uuid) Returns all the kaleo definitions where uuid = ?.static List<KaleoDefinition> findByUuid(String uuid, int start, int end) Returns a range of all the kaleo definitions where uuid = ?.static List<KaleoDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where uuid = ?.static List<KaleoDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where uuid = ?.static List<KaleoDefinition> findByUuid_C(String uuid, long companyId) Returns all the kaleo definitions where uuid = ? and companyId = ?.static List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the kaleo definitions where uuid = ? and companyId = ?.static List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where uuid = ? and companyId = ?.static List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where uuid = ? and companyId = ?.static KaleoDefinitionfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ? and companyId = ?.static KaleoDefinitionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ?.static KaleoDefinitionfindByUUID_G(String uuid, long groupId) Returns the kaleo definition where uuid = ? and groupId = ? or throws aNoSuchDefinitionExceptionif it could not be found.static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) static KaleoDefinitionPersistencestatic KaleoDefinitionremove(long kaleoDefinitionId) Removes the kaleo definition with the primary key from the database.static voidremoveByActive(boolean active) Removes all the kaleo definitions where active = ? from the database.static voidremoveByC_A(long companyId, boolean active) Removes all the kaleo definitions where companyId = ? and active = ? from the database.static KaleoDefinitionremoveByC_N(long companyId, String name) Removes the kaleo definition where companyId = ? and name = ? from the database.static KaleoDefinitionremoveByC_N_A(long companyId, String name, boolean active) Removes the kaleo definition where companyId = ? and name = ? and active = ? from the database.static KaleoDefinitionremoveByC_N_V(long companyId, String name, int version) Removes the kaleo definition where companyId = ? and name = ? and version = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the kaleo definitions where companyId = ? from the database.static KaleoDefinitionremoveByERC_C(String externalReferenceCode, long companyId) Removes the kaleo definition where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByG_C_S(long groupId, long companyId, String scope) Removes all the kaleo definitions where groupId = ? and companyId = ? and scope = ? from the database.static voidremoveByG_C_S_A(long groupId, long companyId, String scope, boolean active) Removes all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ? from the database.static voidremoveByUuid(String uuid) Removes all the kaleo definitions where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the kaleo definitions where uuid = ? and companyId = ? from the database.static KaleoDefinitionremoveByUUID_G(String uuid, long groupId) Removes the kaleo definition where uuid = ? and groupId = ? from the database.static voidsetPersistence(KaleoDefinitionPersistence persistence) static KaleoDefinitionupdate(KaleoDefinition kaleoDefinition) static KaleoDefinitionupdate(KaleoDefinition kaleoDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoDefinitionupdateImpl(KaleoDefinition kaleoDefinition)
-
Constructor Details
-
KaleoDefinitionUtil
public KaleoDefinitionUtil()
-
-
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<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static KaleoDefinition update(KaleoDefinition kaleoDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<KaleoDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where uuid = ?.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.KaleoDefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (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 definitions
-
findByUuid_First
public static KaleoDefinition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition
-
fetchByUuid_First
public static KaleoDefinition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByUuid
Removes all the kaleo definitions where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of kaleo definitions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching kaleo definitions
-
findByUUID_G
public static KaleoDefinition findByUUID_G(String uuid, long groupId) throws NoSuchDefinitionException Returns the kaleo definition where uuid = ? and groupId = ? or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching kaleo definition
-
fetchByUUID_G
Returns the kaleo definition where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByUUID_G
public static KaleoDefinition removeByUUID_G(String uuid, long groupId) throws NoSuchDefinitionException Removes the kaleo definition where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the kaleo definition that was removed
- Throws:
NoSuchDefinitionException
-
countByUUID_G
Returns the number of kaleo definitions where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching kaleo definitions
-
findByUuid_C
public static List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where uuid = ? and 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.KaleoDefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (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 definitions
-
findByUuid_C_First
public static KaleoDefinition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition
-
fetchByUuid_C_First
public static KaleoDefinition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByUuid_C
Removes all the kaleo definitions where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of kaleo definitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching kaleo definitions
-
findByCompanyId
public static List<KaleoDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions 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.KaleoDefinitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (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 definitions
-
findByCompanyId_First
public static KaleoDefinition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition
-
fetchByCompanyId_First
public static KaleoDefinition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo definitions where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of kaleo definitions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching kaleo definitions
-
findByActive
public static List<KaleoDefinition> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where active = ?.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.KaleoDefinitionModelImpl.- Parameters:
active- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (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 definitions
-
findByActive_First
public static KaleoDefinition findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition
-
fetchByActive_First
public static KaleoDefinition fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByActive
public static void removeByActive(boolean active) Removes all the kaleo definitions where active = ? from the database.- Parameters:
active- the active
-
countByActive
public static int countByActive(boolean active) Returns the number of kaleo definitions where active = ?.- Parameters:
active- the active- Returns:
- the number of matching kaleo definitions
-
findByC_N
public static KaleoDefinition findByC_N(long companyId, String name) throws NoSuchDefinitionException Returns the kaleo definition where companyId = ? and name = ? or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching kaleo definition
-
fetchByC_N
Returns the kaleo definition where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByC_N
public static KaleoDefinition removeByC_N(long companyId, String name) throws NoSuchDefinitionException Removes the kaleo definition where companyId = ? and name = ? from the database.- Parameters:
companyId- the company IDname- the name- Returns:
- the kaleo definition that was removed
- Throws:
NoSuchDefinitionException
-
countByC_N
Returns the number of kaleo definitions where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching kaleo definitions
-
findByC_A
public static List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where companyId = ? and active = ?.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.KaleoDefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (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 definitions
-
findByC_A_First
public static KaleoDefinition findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition
-
fetchByC_A_First
public static KaleoDefinition fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByC_A
public static void removeByC_A(long companyId, boolean active) Removes all the kaleo definitions where companyId = ? and active = ? from the database.- Parameters:
companyId- the company IDactive- the active
-
countByC_A
public static int countByC_A(long companyId, boolean active) Returns the number of kaleo definitions where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching kaleo definitions
-
findByG_C_S
public static List<KaleoDefinition> findByG_C_S(long groupId, long companyId, String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.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.KaleoDefinitionModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (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 definitions
-
findByG_C_S_First
public static KaleoDefinition findByG_C_S_First(long groupId, long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition
-
fetchByG_C_S_First
public static KaleoDefinition fetchByG_C_S_First(long groupId, long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByG_C_S
Removes all the kaleo definitions where groupId = ? and companyId = ? and scope = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scope
-
countByG_C_S
Returns the number of kaleo definitions where groupId = ? and companyId = ? and scope = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scope- Returns:
- the number of matching kaleo definitions
-
findByC_N_V
public static KaleoDefinition findByC_N_V(long companyId, String name, int version) throws NoSuchDefinitionException Returns the kaleo definition where companyId = ? and name = ? and version = ? or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
companyId- the company IDname- the nameversion- the version- Returns:
- the matching kaleo definition
-
fetchByC_N_V
public static KaleoDefinition fetchByC_N_V(long companyId, String name, int version, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDname- the nameversion- the versionuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByC_N_V
public static KaleoDefinition removeByC_N_V(long companyId, String name, int version) throws NoSuchDefinitionException Removes the kaleo definition where companyId = ? and name = ? and version = ? from the database.- Parameters:
companyId- the company IDname- the nameversion- the version- Returns:
- the kaleo definition that was removed
- Throws:
NoSuchDefinitionException
-
countByC_N_V
Returns the number of kaleo definitions where companyId = ? and name = ? and version = ?.- Parameters:
companyId- the company IDname- the nameversion- the version- Returns:
- the number of matching kaleo definitions
-
findByC_N_A
public static KaleoDefinition findByC_N_A(long companyId, String name, boolean active) throws NoSuchDefinitionException Returns the kaleo definition where companyId = ? and name = ? and active = ? or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
companyId- the company IDname- the nameactive- the active- Returns:
- the matching kaleo definition
-
fetchByC_N_A
public static KaleoDefinition fetchByC_N_A(long companyId, String name, boolean active, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? and active = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDname- the nameactive- the activeuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByC_N_A
public static KaleoDefinition removeByC_N_A(long companyId, String name, boolean active) throws NoSuchDefinitionException Removes the kaleo definition where companyId = ? and name = ? and active = ? from the database.- Parameters:
companyId- the company IDname- the nameactive- the active- Returns:
- the kaleo definition that was removed
- Throws:
NoSuchDefinitionException
-
countByC_N_A
Returns the number of kaleo definitions where companyId = ? and name = ? and active = ?.- Parameters:
companyId- the company IDname- the nameactive- the active- Returns:
- the number of matching kaleo definitions
-
findByG_C_S_A
public static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.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.KaleoDefinitionModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (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 definitions
-
findByG_C_S_A_First
public static KaleoDefinition findByG_C_S_A_First(long groupId, long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ? and active = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition
-
fetchByG_C_S_A_First
public static KaleoDefinition fetchByG_C_S_A_First(long groupId, long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where groupId = ? and companyId = ? and scope = ? and active = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByG_C_S_A
Removes all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the active
-
countByG_C_S_A
Returns the number of kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the active- Returns:
- the number of matching kaleo definitions
-
findByERC_C
public static KaleoDefinition findByERC_C(String externalReferenceCode, long companyId) throws NoSuchDefinitionException Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching kaleo definition
-
fetchByERC_C
public static KaleoDefinition fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
removeByERC_C
public static KaleoDefinition removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchDefinitionException Removes the kaleo definition where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the kaleo definition that was removed
- Throws:
NoSuchDefinitionException
-
countByERC_C
Returns the number of kaleo definitions where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching kaleo definitions
-
create
Creates a new kaleo definition with the primary key. Does not add the kaleo definition to the database.- Parameters:
kaleoDefinitionId- the primary key for the new kaleo definition- Returns:
- the new kaleo definition
-
remove
Removes the kaleo definition with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoDefinitionId- the primary key of the kaleo definition- Returns:
- the kaleo definition that was removed
-
updateImpl
-
findByPrimaryKey
public static KaleoDefinition findByPrimaryKey(long kaleoDefinitionId) throws NoSuchDefinitionException Returns the kaleo definition with the primary key or throws aNoSuchDefinitionExceptionif it could not be found.- Parameters:
kaleoDefinitionId- the primary key of the kaleo definition- Returns:
- the kaleo definition
-
fetchByPrimaryKey
Returns the kaleo definition with the primary key or returnsnullif it could not be found.- Parameters:
kaleoDefinitionId- the primary key of the kaleo definition- Returns:
- the kaleo definition, or
nullif a kaleo definition with the primary key could not be found
-
fetchByUUID_G
Returns the kaleo definition where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
fetchByC_N
Returns the kaleo definition where companyId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
fetchByC_N_V
Returns the kaleo definition where companyId = ? and name = ? and version = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDname- the nameversion- the version- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
fetchByC_N_A
Returns the kaleo definition where companyId = ? and name = ? and active = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDname- the nameactive- the active- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
fetchByERC_C
Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
findByUuid
Returns all the kaleo definitions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching kaleo definitions
-
findByUuid
Returns a range of all the kaleo definitions where uuid = ?.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.KaleoDefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of matching kaleo definitions
-
findByUuid
public static List<KaleoDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where uuid = ?.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.KaleoDefinitionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo definitions
-
findByUuid_C
Returns all the kaleo definitions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching kaleo definitions
-
findByUuid_C
Returns a range of all the kaleo definitions where uuid = ? and 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.KaleoDefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of matching kaleo definitions
-
findByUuid_C
public static List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where uuid = ? and 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.KaleoDefinitionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo definitions
-
findByCompanyId
Returns all the kaleo definitions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching kaleo definitions
-
findByCompanyId
Returns a range of all the kaleo definitions 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.KaleoDefinitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of matching kaleo definitions
-
findByCompanyId
public static List<KaleoDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions 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.KaleoDefinitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo definitions
-
findByActive
Returns all the kaleo definitions where active = ?.- Parameters:
active- the active- Returns:
- the matching kaleo definitions
-
findByActive
Returns a range of all the kaleo definitions where active = ?.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.KaleoDefinitionModelImpl.- Parameters:
active- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of matching kaleo definitions
-
findByActive
public static List<KaleoDefinition> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where active = ?.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.KaleoDefinitionModelImpl.- Parameters:
active- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo definitions
-
findByC_A
Returns all the kaleo definitions where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching kaleo definitions
-
findByC_A
Returns a range of all the kaleo definitions where companyId = ? and active = ?.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.KaleoDefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of matching kaleo definitions
-
findByC_A
public static List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where companyId = ? and active = ?.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.KaleoDefinitionModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo definitions
-
findByG_C_S
Returns all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scope- Returns:
- the matching kaleo definitions
-
findByG_C_S
public static List<KaleoDefinition> findByG_C_S(long groupId, long companyId, String scope, int start, int end) Returns a range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.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.KaleoDefinitionModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of matching kaleo definitions
-
findByG_C_S
public static List<KaleoDefinition> findByG_C_S(long groupId, long companyId, String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ?.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.KaleoDefinitionModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo definitions
-
findByG_C_S_A
public static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active) Returns all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the active- Returns:
- the matching kaleo definitions
-
findByG_C_S_A
public static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active, int start, int end) Returns a range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.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.KaleoDefinitionModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of matching kaleo definitions
-
findByG_C_S_A
public static List<KaleoDefinition> findByG_C_S_A(long groupId, long companyId, String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions where groupId = ? and companyId = ? and scope = ? and active = ?.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.KaleoDefinitionModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDscope- the scopeactive- the activestart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo definitions
-
getPersistence
-
setPersistence
-