Interface KaleoDefinitionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoDefinition>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoDefinition kaleoDefinition) Caches the kaleo definition in the entity cache if it is enabled.void
cacheResult
(List<KaleoDefinition> kaleoDefinitions) Caches the kaleo definitions in the entity cache if it is enabled.int
countAll()
Returns the number of kaleo definitions.int
countByActive
(boolean active) Returns the number of kaleo definitions where active = ?.int
countByC_A
(long companyId, boolean active) Returns the number of kaleo definitions where companyId = ? and active = ?.int
countByC_N
(long companyId, String name) Returns the number of kaleo definitions where companyId = ? and name = ?.int
countByC_N_A
(long companyId, String name, boolean active) Returns the number of kaleo definitions where companyId = ? and name = ? and active = ?.int
countByC_N_V
(long companyId, String name, int version) Returns the number of kaleo definitions where companyId = ? and name = ? and version = ?.int
countByC_S
(long companyId, String scope) Returns the number of kaleo definitions where companyId = ? and scope = ?.int
countByC_S_A
(long companyId, String scope, boolean active) Returns the number of kaleo definitions where companyId = ? and scope = ? and active = ?.int
countByCompanyId
(long companyId) Returns the number of kaleo definitions where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of kaleo definitions where externalReferenceCode = ? and companyId = ?.int
countByUuid
(String uuid) Returns the number of kaleo definitions where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of kaleo definitions where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of kaleo definitions where uuid = ? and groupId = ?.create
(long kaleoDefinitionId) Creates a new kaleo definition with the primary key.fetchByActive_First
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where active = ?.fetchByActive_Last
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where active = ?.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 = ?.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 = ?.fetchByC_N
(long companyId, String name) Returns the kaleo definition where companyId = ? and name = ? or returnsnull
if it could not be found.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.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.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.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.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.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 = ?.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 = ?.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 = ?.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 = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.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.fetchByPrimaryKey
(long kaleoDefinitionId) Returns the kaleo definition with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the kaleo definition where uuid = ? and groupId = ? or returnsnull
if it could not be found.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.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where uuid = ?.findAll()
Returns all the kaleo definitions.findAll
(int start, int end) Returns a range of all the kaleo definitions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns an ordered range of all the kaleo definitions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definitions.findByActive
(boolean active) Returns all the kaleo definitions where active = ?.findByActive
(boolean active, int start, int end) Returns a range of all the kaleo definitions where active = ?.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 = ?.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 = ?.findByActive_First
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where active = ?.findByActive_Last
(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where active = ?.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 = ?.findByC_A
(long companyId, boolean active) Returns all the kaleo definitions where companyId = ? and active = ?.findByC_A
(long companyId, boolean active, int start, int end) Returns a range of all the kaleo definitions where companyId = ? and active = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.Returns the kaleo definition where companyId = ? and name = ? or throws aNoSuchDefinitionException
if it could not be found.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.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.Returns all the kaleo definitions where companyId = ? and scope = ?.Returns a range of all the kaleo definitions where companyId = ? and scope = ?.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 = ?.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 = ?.findByC_S_A
(long companyId, String scope, boolean active) Returns all the kaleo definitions where companyId = ? and scope = ? and active = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCompanyId
(long companyId) Returns all the kaleo definitions where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo definitions where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where companyId = ?.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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or throws aNoSuchDefinitionException
if it could not be found.findByPrimaryKey
(long kaleoDefinitionId) Returns the kaleo definition with the primary key or throws aNoSuchDefinitionException
if it could not be found.findByUuid
(String uuid) Returns all the kaleo definitions where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the kaleo definitions where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the kaleo definitions where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the kaleo definitions where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the first kaleo definition in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the kaleo definition where uuid = ? and groupId = ? or throws aNoSuchDefinitionException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns the last kaleo definition in the ordered set where uuid = ?.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 = ?.remove
(long kaleoDefinitionId) Removes the kaleo definition with the primary key from the database.void
Removes all the kaleo definitions from the database.void
removeByActive
(boolean active) Removes all the kaleo definitions where active = ? from the database.void
removeByC_A
(long companyId, boolean active) Removes all the kaleo definitions where companyId = ? and active = ? from the database.removeByC_N
(long companyId, String name) Removes the kaleo definition where companyId = ? and name = ? from the database.removeByC_N_A
(long companyId, String name, boolean active) Removes the kaleo definition where companyId = ? and name = ? and active = ? from the database.removeByC_N_V
(long companyId, String name, int version) Removes the kaleo definition where companyId = ? and name = ? and version = ? from the database.void
removeByC_S
(long companyId, String scope) Removes all the kaleo definitions where companyId = ? and scope = ? from the database.void
removeByC_S_A
(long companyId, String scope, boolean active) Removes all the kaleo definitions where companyId = ? and scope = ? and active = ? from the database.void
removeByCompanyId
(long companyId) Removes all the kaleo definitions where companyId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the kaleo definition where externalReferenceCode = ? and companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the kaleo definitions where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the kaleo definitions where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the kaleo definition where uuid = ? and groupId = ? from the database.updateImpl
(KaleoDefinition kaleoDefinition) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 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
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 found
-
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
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 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
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo definitions where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
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
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 found
-
fetchByActive_First
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
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 found
-
fetchByActive_Last
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
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 found
-
removeByActive
void removeByActive(boolean active) Removes all the kaleo definitions where active = ? from the database.- Parameters:
active
- the active
-
countByActive
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
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 found
-
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
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
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
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
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 found
-
fetchByC_S_First
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
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 found
-
fetchByC_S_Last
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
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 found
-
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
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
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
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 found
-
fetchByC_A_First
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
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 found
-
fetchByC_A_Last
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
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 found
-
removeByC_A
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
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
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 found
-
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
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
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
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 found
-
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
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
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
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
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
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
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 found
-
fetchByC_S_A_First
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
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 found
-
fetchByC_S_A_Last
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
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 found
-
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
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 found
-
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
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<KaleoDefinition> 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
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
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
void removeAll()Removes all the kaleo definitions from the database. -
countAll
int countAll()Returns the number of kaleo definitions.- Returns:
- the number of kaleo definitions
-