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 void
cacheResult
(KaleoDefinition kaleoDefinition) Caches the kaleo definition in the entity cache if it is enabled.static void
cacheResult
(List<KaleoDefinition> kaleoDefinitions) Caches the kaleo definitions in the entity cache if it is enabled.static void
static void
clearCache
(KaleoDefinition kaleoDefinition) static int
countAll()
Returns the number of kaleo definitions.static int
countByActive
(boolean active) Returns the number of kaleo definitions where active = ?.static int
countByC_A
(long companyId, boolean active) Returns the number of kaleo definitions where companyId = ? and active = ?.static int
countByC_N
(long companyId, String name) Returns the number of kaleo definitions where companyId = ? and name = ?.static int
countByC_N_A
(long companyId, String name, boolean active) Returns the number of kaleo definitions where companyId = ? and name = ? and active = ?.static int
countByC_N_V
(long companyId, String name, int version) Returns the number of kaleo definitions where companyId = ? and name = ? and version = ?.static int
countByC_S
(long companyId, String scope) Returns the number of kaleo definitions where companyId = ? and scope = ?.static int
countByC_S_A
(long companyId, String scope, boolean active) Returns the number of kaleo definitions where companyId = ? and scope = ? and active = ?.static int
countByCompanyId
(long companyId) Returns the number of kaleo definitions where companyId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of kaleo definitions where externalReferenceCode = ? and companyId = ?.static int
countByUuid
(String uuid) Returns the number of kaleo definitions where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of kaleo definitions where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of kaleo definitions where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoDefinition
create
(long kaleoDefinitionId) Creates a new kaleo definition with the primary key.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 = ?.static KaleoDefinition
fetchByActive_Last
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where active = ?.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 = ?.static KaleoDefinition
fetchByC_A_Last
(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and active = ?.static KaleoDefinition
fetchByC_N
(long companyId, String name) Returns the kaleo definition where companyId = ? and name = ? or returnsnull
if it could not be found.static KaleoDefinition
fetchByC_N
(long companyId, String name, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoDefinition
fetchByC_N_A
(long companyId, String name, boolean active) Returns the kaleo definition where companyId = ? and name = ? and active = ? or returnsnull
if it could not be found.static KaleoDefinition
fetchByC_N_A
(long companyId, String name, boolean active, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? and active = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoDefinition
fetchByC_N_V
(long companyId, String name, int version) Returns the kaleo definition where companyId = ? and name = ? and version = ? or returnsnull
if it could not be found.static KaleoDefinition
fetchByC_N_V
(long companyId, String name, int version, boolean useFinderCache) Returns the kaleo definition where companyId = ? and name = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoDefinition
fetchByC_S_A_First
(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.static KaleoDefinition
fetchByC_S_A_Last
(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.static KaleoDefinition
fetchByC_S_First
(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and scope = ?.static KaleoDefinition
fetchByC_S_Last
(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and scope = ?.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 = ?.static KaleoDefinition
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ?.static KaleoDefinition
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static KaleoDefinition
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoDefinition
fetchByPrimaryKey
(long kaleoDefinitionId) Returns the kaleo definition with the primary key or returnsnull
if it could not be found.static Map<Serializable,
KaleoDefinition> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.static KaleoDefinition
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where uuid = ? and companyId = ?.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 = ?.static KaleoDefinition
fetchByUUID_G
(String uuid, long groupId) Returns the kaleo definition where uuid = ? and groupId = ? or returnsnull
if it could not be found.static KaleoDefinition
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the kaleo definition where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoDefinition
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where uuid = ?.static List<KaleoDefinition>
findAll()
Returns all the kaleo definitions.static List<KaleoDefinition>
findAll
(int start, int end) Returns a range of all the kaleo definitions.static List<KaleoDefinition>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions.static List<KaleoDefinition>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions.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 KaleoDefinition
findByActive_First
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where active = ?.static KaleoDefinition
findByActive_Last
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where active = ?.static KaleoDefinition[]
findByActive_PrevAndNext
(long kaleoDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the kaleo definitions before and after the current 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 KaleoDefinition
findByC_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 KaleoDefinition
findByC_A_Last
(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and active = ?.static KaleoDefinition[]
findByC_A_PrevAndNext
(long kaleoDefinitionId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and active = ?.static KaleoDefinition
Returns the kaleo definition where companyId = ? and name = ? or throws aNoSuchDefinitionException
if it could not be found.static KaleoDefinition
findByC_N_A
(long companyId, String name, boolean active) Returns the kaleo definition where companyId = ? and name = ? and active = ? or throws aNoSuchDefinitionException
if it could not be found.static KaleoDefinition
findByC_N_V
(long companyId, String name, int version) Returns the kaleo definition where companyId = ? and name = ? and version = ? or throws aNoSuchDefinitionException
if it could not be found.static List<KaleoDefinition>
Returns all the kaleo definitions where companyId = ? and scope = ?.static List<KaleoDefinition>
Returns a range of all the kaleo definitions where companyId = ? and scope = ?.static List<KaleoDefinition>
findByC_S
(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 companyId = ? and scope = ?.static List<KaleoDefinition>
findByC_S
(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 companyId = ? and scope = ?.static List<KaleoDefinition>
findByC_S_A
(long companyId, String scope, boolean active) Returns all the kaleo definitions where companyId = ? and scope = ? and active = ?.static List<KaleoDefinition>
findByC_S_A
(long companyId, String scope, boolean active, int start, int end) Returns a range of all the kaleo definitions where companyId = ? and scope = ? and active = ?.static List<KaleoDefinition>
findByC_S_A
(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 companyId = ? and scope = ? and active = ?.static List<KaleoDefinition>
findByC_S_A
(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 companyId = ? and scope = ? and active = ?.static KaleoDefinition
findByC_S_A_First
(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.static KaleoDefinition
findByC_S_A_Last
(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.static KaleoDefinition[]
findByC_S_A_PrevAndNext
(long kaleoDefinitionId, long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.static KaleoDefinition
findByC_S_First
(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and scope = ?.static KaleoDefinition
findByC_S_Last
(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and scope = ?.static KaleoDefinition[]
findByC_S_PrevAndNext
(long kaleoDefinitionId, long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and scope = ?.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 KaleoDefinition
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ?.static KaleoDefinition
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ?.static KaleoDefinition[]
findByCompanyId_PrevAndNext
(long kaleoDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ?.static KaleoDefinition
findByERC_C
(String externalReferenceCode, long companyId) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or throws aNoSuchDefinitionException
if it could not be found.static KaleoDefinition
findByPrimaryKey
(long kaleoDefinitionId) Returns the kaleo definition with the primary key or throws aNoSuchDefinitionException
if 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 KaleoDefinition
findByUuid_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 KaleoDefinition
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where uuid = ? and companyId = ?.static KaleoDefinition[]
findByUuid_C_PrevAndNext
(long kaleoDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the kaleo definitions before and after the current kaleo definition in the ordered set where uuid = ? and companyId = ?.static KaleoDefinition
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ?.static KaleoDefinition
findByUUID_G
(String uuid, long groupId) Returns the kaleo definition where uuid = ? and groupId = ? or throws aNoSuchDefinitionException
if it could not be found.static KaleoDefinition
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where uuid = ?.static KaleoDefinition[]
findByUuid_PrevAndNext
(long kaleoDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the kaleo definitions before and after the current kaleo definition in the ordered set where uuid = ?.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 KaleoDefinitionPersistence
static KaleoDefinition
remove
(long kaleoDefinitionId) Removes the kaleo definition with the primary key from the database.static void
Removes all the kaleo definitions from the database.static void
removeByActive
(boolean active) Removes all the kaleo definitions where active = ? from the database.static void
removeByC_A
(long companyId, boolean active) Removes all the kaleo definitions where companyId = ? and active = ? from the database.static KaleoDefinition
removeByC_N
(long companyId, String name) Removes the kaleo definition where companyId = ? and name = ? from the database.static KaleoDefinition
removeByC_N_A
(long companyId, String name, boolean active) Removes the kaleo definition where companyId = ? and name = ? and active = ? from the database.static KaleoDefinition
removeByC_N_V
(long companyId, String name, int version) Removes the kaleo definition where companyId = ? and name = ? and version = ? from the database.static void
removeByC_S
(long companyId, String scope) Removes all the kaleo definitions where companyId = ? and scope = ? from the database.static void
removeByC_S_A
(long companyId, String scope, boolean active) Removes all the kaleo definitions where companyId = ? and scope = ? and active = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the kaleo definitions where companyId = ? from the database.static KaleoDefinition
removeByERC_C
(String externalReferenceCode, long companyId) Removes the kaleo definition where externalReferenceCode = ? and companyId = ? from the database.static void
removeByUuid
(String uuid) Removes all the kaleo definitions where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the kaleo definitions where uuid = ? and companyId = ? from the database.static KaleoDefinition
removeByUUID_G
(String uuid, long groupId) Removes the kaleo definition where uuid = ? and groupId = ? from the database.static void
setPersistence
(KaleoDefinitionPersistence persistence) static KaleoDefinition
update
(KaleoDefinition kaleoDefinition) static KaleoDefinition
update
(KaleoDefinition kaleoDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoDefinition
updateImpl
(KaleoDefinition kaleoDefinition)
-
Constructor Details
-
KaleoDefinitionUtil
public KaleoDefinitionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
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:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoDefinition update(KaleoDefinition kaleoDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
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
null
if a matching kaleo definition could not be found
-
findByUuid_Last
public static KaleoDefinition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the last kaleo definition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByUuid_Last
public static KaleoDefinition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByUuid_PrevAndNext
public static KaleoDefinition[] findByUuid_PrevAndNext(long kaleoDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the kaleo definitions before and after the current kaleo definition in the ordered set where uuid = ?.- Parameters:
kaleoDefinitionId
- the primary key of the current kaleo definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
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 aNoSuchDefinitionException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByUUID_G
Returns the kaleo definition where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
fetchByUUID_G
Returns the kaleo definition where uuid = ? and groupId = ? or returnsnull
if 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
null
if 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
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
null
if a matching kaleo definition could not be found
-
findByUuid_C_Last
public static KaleoDefinition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the last 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 last matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByUuid_C_Last
public static KaleoDefinition fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last 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 last matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByUuid_C_PrevAndNext
public static KaleoDefinition[] findByUuid_C_PrevAndNext(long kaleoDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the kaleo definitions before and after the current kaleo definition in the ordered set where uuid = ? and companyId = ?.- Parameters:
kaleoDefinitionId
- the primary key of the current kaleo definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
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
null
if a matching kaleo definition could not be found
-
findByCompanyId_Last
public static KaleoDefinition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the last kaleo definition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByCompanyId_Last
public static KaleoDefinition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByCompanyId_PrevAndNext
public static KaleoDefinition[] findByCompanyId_PrevAndNext(long kaleoDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ?.- Parameters:
kaleoDefinitionId
- the primary key of the current kaleo definitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
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
null
if a matching kaleo definition could not be found
-
findByActive_Last
public static KaleoDefinition findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the last kaleo definition in the ordered set where active = ?.- Parameters:
active
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByActive_Last
public static KaleoDefinition fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where active = ?.- Parameters:
active
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByActive_PrevAndNext
public static KaleoDefinition[] findByActive_PrevAndNext(long kaleoDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the kaleo definitions before and after the current kaleo definition in the ordered set where active = ?.- Parameters:
kaleoDefinitionId
- the primary key of the current kaleo definitionactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
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 aNoSuchDefinitionException
if it could not be found.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_N
Returns the kaleo definition where companyId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
fetchByC_N
Returns the kaleo definition where companyId = ? and name = ? or returnsnull
if 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
null
if 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_S
Returns all the kaleo definitions where companyId = ? and scope = ?.- Parameters:
companyId
- the company IDscope
- the scope- Returns:
- the matching kaleo definitions
-
findByC_S
Returns a range of all the kaleo definitions where companyId = ? and scope = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
companyId
- 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
-
findByC_S
public static List<KaleoDefinition> findByC_S(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 companyId = ? and scope = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
companyId
- 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
-
findByC_S
public static List<KaleoDefinition> findByC_S(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 companyId = ? and scope = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
companyId
- 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
-
findByC_S_First
public static KaleoDefinition findByC_S_First(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the first kaleo definition in the ordered set where companyId = ? and scope = ?.- Parameters:
companyId
- the company IDscope
- the scopeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_S_First
public static KaleoDefinition fetchByC_S_First(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and scope = ?.- Parameters:
companyId
- the company IDscope
- the scopeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByC_S_Last
public static KaleoDefinition findByC_S_Last(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the last kaleo definition in the ordered set where companyId = ? and scope = ?.- Parameters:
companyId
- the company IDscope
- the scopeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_S_Last
public static KaleoDefinition fetchByC_S_Last(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and scope = ?.- Parameters:
companyId
- the company IDscope
- the scopeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByC_S_PrevAndNext
public static KaleoDefinition[] findByC_S_PrevAndNext(long kaleoDefinitionId, long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and scope = ?.- Parameters:
kaleoDefinitionId
- the primary key of the current kaleo definitioncompanyId
- the company IDscope
- the scopeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
removeByC_S
Removes all the kaleo definitions where companyId = ? and scope = ? from the database.- Parameters:
companyId
- the company IDscope
- the scope
-
countByC_S
Returns the number of kaleo definitions where companyId = ? and scope = ?.- Parameters:
companyId
- the company IDscope
- the scope- Returns:
- the number 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- 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
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
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
null
if a matching kaleo definition could not be found
-
findByC_A_Last
public static KaleoDefinition findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the last 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 last matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_A_Last
public static KaleoDefinition fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last 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 last matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByC_A_PrevAndNext
public static KaleoDefinition[] findByC_A_PrevAndNext(long kaleoDefinitionId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and active = ?.- Parameters:
kaleoDefinitionId
- the primary key of the current kaleo definitioncompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
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
-
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 aNoSuchDefinitionException
if it could not be found.- Parameters:
companyId
- the company IDname
- the nameversion
- the version- Returns:
- the matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_N_V
Returns the kaleo definition where companyId = ? and name = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the nameversion
- the version- Returns:
- the matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
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 returnsnull
if 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
null
if 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 aNoSuchDefinitionException
if it could not be found.- Parameters:
companyId
- the company IDname
- the nameactive
- the active- Returns:
- the matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_N_A
Returns the kaleo definition where companyId = ? and name = ? and active = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the nameactive
- the active- Returns:
- the matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
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 returnsnull
if 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
null
if 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
-
findByC_S_A
Returns all the kaleo definitions where companyId = ? and scope = ? and active = ?.- Parameters:
companyId
- the company IDscope
- the scopeactive
- the active- Returns:
- the matching kaleo definitions
-
findByC_S_A
public static List<KaleoDefinition> findByC_S_A(long companyId, String scope, boolean active, int start, int end) Returns a range of all the kaleo definitions where companyId = ? and scope = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
companyId
- 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
-
findByC_S_A
public static List<KaleoDefinition> findByC_S_A(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 companyId = ? and scope = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
companyId
- 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
-
findByC_S_A
public static List<KaleoDefinition> findByC_S_A(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 companyId = ? and scope = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
companyId
- 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
-
findByC_S_A_First
public static KaleoDefinition findByC_S_A_First(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 companyId = ? and scope = ? and active = ?.- Parameters:
companyId
- the company IDscope
- the scopeactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_S_A_First
public static KaleoDefinition fetchByC_S_A_First(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.- Parameters:
companyId
- the company IDscope
- the scopeactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByC_S_A_Last
public static KaleoDefinition findByC_S_A_Last(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the last kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.- Parameters:
companyId
- the company IDscope
- the scopeactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByC_S_A_Last
public static KaleoDefinition fetchByC_S_A_Last(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.- Parameters:
companyId
- the company IDscope
- the scopeactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
findByC_S_A_PrevAndNext
public static KaleoDefinition[] findByC_S_A_PrevAndNext(long kaleoDefinitionId, long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.- Parameters:
kaleoDefinitionId
- the primary key of the current kaleo definitioncompanyId
- the company IDscope
- the scopeactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
removeByC_S_A
Removes all the kaleo definitions where companyId = ? and scope = ? and active = ? from the database.- Parameters:
companyId
- the company IDscope
- the scopeactive
- the active
-
countByC_S_A
Returns the number of kaleo definitions where companyId = ? and scope = ? and active = ?.- Parameters:
companyId
- 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 aNoSuchDefinitionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching kaleo definition
- Throws:
NoSuchDefinitionException
- if a matching kaleo definition could not be foundNoSuchDefinitionException
-
fetchByERC_C
Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
fetchByERC_C
public static KaleoDefinition fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if 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
-
cacheResult
Caches the kaleo definition in the entity cache if it is enabled.- Parameters:
kaleoDefinition
- the kaleo definition
-
cacheResult
Caches the kaleo definitions in the entity cache if it is enabled.- Parameters:
kaleoDefinitions
- the 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
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
updateImpl
-
findByPrimaryKey
public static KaleoDefinition findByPrimaryKey(long kaleoDefinitionId) throws NoSuchDefinitionException Returns the kaleo definition with the primary key or throws aNoSuchDefinitionException
if it could not be found.- Parameters:
kaleoDefinitionId
- the primary key of the kaleo definition- Returns:
- the kaleo definition
- Throws:
NoSuchDefinitionException
- if a kaleo definition with the primary key could not be foundNoSuchDefinitionException
-
fetchByPrimaryKey
Returns the kaleo definition with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoDefinitionId
- the primary key of the kaleo definition- Returns:
- the kaleo definition, or
null
if a kaleo definition with the primary key could not be found
-
findAll
Returns all the kaleo definitions.- Returns:
- the kaleo definitions
-
findAll
Returns a range of all the kaleo definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo definitionsend
- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of kaleo definitions
-
findAll
public static List<KaleoDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
start
- 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 kaleo definitions
-
findAll
public static List<KaleoDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoDefinitionModelImpl
.- Parameters:
start
- 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 kaleo definitions
-
removeAll
public static void removeAll()Removes all the kaleo definitions from the database. -
countAll
public static int countAll()Returns the number of kaleo definitions.- Returns:
- the number of kaleo definitions
-
getPersistence
-
setPersistence
-