Interface KaleoDefinitionPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoDefinition>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition>

@ProviderType public interface KaleoDefinitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoDefinition>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition>
The persistence interface for the kaleo definition service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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
    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 returns null if it could not be found.
    fetchByC_N(long companyId, String name, boolean useFinderCache)
    Returns the kaleo definition where companyId = ? and name = ? or returns null 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 returns null 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 returns null 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 returns null 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 returns null 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 returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long kaleoDefinitionId)
    Returns the kaleo definition with the primary key or returns null 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 returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the kaleo definition where uuid = ? and groupId = ? or returns null 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 = ?.
    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 = ?.
    findByC_N(long companyId, String name)
    Returns the kaleo definition where companyId = ? and name = ? or throws a NoSuchDefinitionException 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 a NoSuchDefinitionException 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 a NoSuchDefinitionException if it could not be found.
    findByC_S(long companyId, String scope)
    Returns all the kaleo definitions where companyId = ? and scope = ?.
    findByC_S(long companyId, String scope, int start, int end)
    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 a NoSuchDefinitionException if it could not be found.
    findByPrimaryKey(long kaleoDefinitionId)
    Returns the kaleo definition with the primary key or throws a NoSuchDefinitionException if it could not be found.
    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 a NoSuchDefinitionException 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
    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

      List<KaleoDefinition> findByUuid(String uuid)
      Returns all the kaleo definitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching kaleo definitions
    • findByUuid

      List<KaleoDefinition> findByUuid(String uuid, int start, int end)
      Returns a range of all the kaleo definitions where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo definition
      Throws:
      NoSuchDefinitionException - if a kaleo definition with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the kaleo definitions where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of kaleo definitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching kaleo definitions
    • findByUUID_G

      KaleoDefinition findByUUID_G(String uuid, long groupId) throws NoSuchDefinitionException
      Returns the kaleo definition where uuid = ? and groupId = ? or throws a NoSuchDefinitionException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kaleo definition
      Throws:
      NoSuchDefinitionException - if a matching kaleo definition could not be found
    • fetchByUUID_G

      KaleoDefinition fetchByUUID_G(String uuid, long groupId)
      Returns the kaleo definition where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kaleo definition, or null if a matching kaleo definition could not be found
    • fetchByUUID_G

      KaleoDefinition fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the kaleo definition where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo definition, or null if a matching kaleo definition could not be found
    • removeByUUID_G

      KaleoDefinition removeByUUID_G(String uuid, long groupId) throws NoSuchDefinitionException
      Removes the kaleo definition where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the kaleo definition that was removed
      Throws:
      NoSuchDefinitionException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of kaleo definitions where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching kaleo definitions
    • findByUuid_C

      List<KaleoDefinition> findByUuid_C(String uuid, long companyId)
      Returns all the kaleo definitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching kaleo definitions
    • findByUuid_C

      List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the kaleo definitions where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo definition
      Throws:
      NoSuchDefinitionException - if a kaleo definition with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the kaleo definitions where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of kaleo definitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching kaleo definitions
    • findByCompanyId

      List<KaleoDefinition> findByCompanyId(long companyId)
      Returns all the kaleo definitions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching kaleo definitions
    • findByCompanyId

      List<KaleoDefinition> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo definitions where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<KaleoDefinition> findByActive(boolean active)
      Returns all the kaleo definitions where active = ?.
      Parameters:
      active - the active
      Returns:
      the matching kaleo definitions
    • findByActive

      List<KaleoDefinition> findByActive(boolean active, int start, int end)
      Returns a range of all the kaleo definitions where active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 active
      orderByComparator - the comparator to order the set by (optionally null)
      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 active
      orderByComparator - the comparator to order the set by (optionally null)
      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 active
      orderByComparator - the comparator to order the set by (optionally null)
      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 active
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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

      KaleoDefinition findByC_N(long companyId, String name) throws NoSuchDefinitionException
      Returns the kaleo definition where companyId = ? and name = ? or throws a NoSuchDefinitionException if it could not be found.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching kaleo definition
      Throws:
      NoSuchDefinitionException - if a matching kaleo definition could not be found
    • fetchByC_N

      KaleoDefinition fetchByC_N(long companyId, String name)
      Returns the kaleo definition where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching kaleo definition, or null if a matching kaleo definition could not be found
    • fetchByC_N

      KaleoDefinition fetchByC_N(long companyId, String name, boolean useFinderCache)
      Returns the kaleo definition where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo definition, or null if a matching kaleo definition could not be found
    • removeByC_N

      KaleoDefinition removeByC_N(long companyId, String name) throws NoSuchDefinitionException
      Removes the kaleo definition where companyId = ? and name = ? from the database.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the kaleo definition that was removed
      Throws:
      NoSuchDefinitionException
    • countByC_N

      int countByC_N(long companyId, String name)
      Returns the number of kaleo definitions where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching kaleo definitions
    • findByC_S

      List<KaleoDefinition> findByC_S(long companyId, String scope)
      Returns all the kaleo definitions where companyId = ? and scope = ?.
      Parameters:
      companyId - the company ID
      scope - the scope
      Returns:
      the matching kaleo definitions
    • findByC_S

      List<KaleoDefinition> findByC_S(long companyId, String scope, int start, int end)
      Returns a range of all the kaleo definitions where companyId = ? and scope = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      scope - the scope
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      scope - the scope
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      scope - the scope
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      scope - the scope
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      scope - the scope
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      scope - the scope
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      scope - the scope
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      scope - the scope
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo definition
      Throws:
      NoSuchDefinitionException - if a kaleo definition with the primary key could not be found
    • removeByC_S

      void removeByC_S(long companyId, String scope)
      Removes all the kaleo definitions where companyId = ? and scope = ? from the database.
      Parameters:
      companyId - the company ID
      scope - the scope
    • countByC_S

      int countByC_S(long companyId, String scope)
      Returns the number of kaleo definitions where companyId = ? and scope = ?.
      Parameters:
      companyId - the company ID
      scope - the scope
      Returns:
      the number of matching kaleo definitions
    • findByC_A

      List<KaleoDefinition> findByC_A(long companyId, boolean active)
      Returns all the kaleo definitions where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the matching kaleo definitions
    • findByC_A

      List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end)
      Returns a range of all the kaleo definitions where companyId = ? and active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - 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 ID
      active - 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 a NoSuchDefinitionException if it could not be found.
      Parameters:
      companyId - the company ID
      name - the name
      version - the version
      Returns:
      the matching kaleo definition
      Throws:
      NoSuchDefinitionException - if a matching kaleo definition could not be found
    • fetchByC_N_V

      KaleoDefinition fetchByC_N_V(long companyId, String name, int version)
      Returns the kaleo definition where companyId = ? and name = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      version - the version
      Returns:
      the matching kaleo definition, or null if a matching kaleo definition could not be found
    • fetchByC_N_V

      KaleoDefinition fetchByC_N_V(long companyId, String name, int version, boolean useFinderCache)
      Returns the kaleo definition where companyId = ? and name = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      version - the version
      useFinderCache - 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 ID
      name - the name
      version - the version
      Returns:
      the kaleo definition that was removed
      Throws:
      NoSuchDefinitionException
    • countByC_N_V

      int countByC_N_V(long companyId, String name, int version)
      Returns the number of kaleo definitions where companyId = ? and name = ? and version = ?.
      Parameters:
      companyId - the company ID
      name - the name
      version - 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 a NoSuchDefinitionException if it could not be found.
      Parameters:
      companyId - the company ID
      name - the name
      active - the active
      Returns:
      the matching kaleo definition
      Throws:
      NoSuchDefinitionException - if a matching kaleo definition could not be found
    • fetchByC_N_A

      KaleoDefinition fetchByC_N_A(long companyId, String name, boolean active)
      Returns the kaleo definition where companyId = ? and name = ? and active = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      active - the active
      Returns:
      the matching kaleo definition, or null if a matching kaleo definition could not be found
    • fetchByC_N_A

      KaleoDefinition fetchByC_N_A(long companyId, String name, boolean active, boolean useFinderCache)
      Returns the kaleo definition where companyId = ? and name = ? and active = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      active - the active
      useFinderCache - 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 ID
      name - the name
      active - the active
      Returns:
      the kaleo definition that was removed
      Throws:
      NoSuchDefinitionException
    • countByC_N_A

      int countByC_N_A(long companyId, String name, boolean active)
      Returns the number of kaleo definitions where companyId = ? and name = ? and active = ?.
      Parameters:
      companyId - the company ID
      name - the name
      active - the active
      Returns:
      the number of matching kaleo definitions
    • findByC_S_A

      List<KaleoDefinition> findByC_S_A(long companyId, String scope, boolean active)
      Returns all the kaleo definitions where companyId = ? and scope = ? and active = ?.
      Parameters:
      companyId - the company ID
      scope - the scope
      active - the active
      Returns:
      the matching kaleo definitions
    • findByC_S_A

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      scope - the scope
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      scope - the scope
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      scope - the scope
      active - the active
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      scope - the scope
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      scope - the scope
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      scope - the scope
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      scope - the scope
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      scope - the scope
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByC_S_A(long companyId, String scope, boolean active)
      Removes all the kaleo definitions where companyId = ? and scope = ? and active = ? from the database.
      Parameters:
      companyId - the company ID
      scope - the scope
      active - the active
    • countByC_S_A

      int countByC_S_A(long companyId, String scope, boolean active)
      Returns the number of kaleo definitions where companyId = ? and scope = ? and active = ?.
      Parameters:
      companyId - the company ID
      scope - the scope
      active - 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 a NoSuchDefinitionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching kaleo definition
      Throws:
      NoSuchDefinitionException - if a matching kaleo definition could not be found
    • fetchByERC_C

      KaleoDefinition fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching kaleo definition, or null if a matching kaleo definition could not be found
    • fetchByERC_C

      KaleoDefinition fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the kaleo definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - 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 code
      companyId - the company ID
      Returns:
      the kaleo definition that was removed
      Throws:
      NoSuchDefinitionException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of kaleo definitions where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching kaleo definitions
    • cacheResult

      void cacheResult(KaleoDefinition kaleoDefinition)
      Caches the kaleo definition in the entity cache if it is enabled.
      Parameters:
      kaleoDefinition - the kaleo definition
    • cacheResult

      void cacheResult(List<KaleoDefinition> kaleoDefinitions)
      Caches the kaleo definitions in the entity cache if it is enabled.
      Parameters:
      kaleoDefinitions - the kaleo definitions
    • create

      KaleoDefinition create(long kaleoDefinitionId)
      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

      KaleoDefinition remove(long kaleoDefinitionId) throws NoSuchDefinitionException
      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

      KaleoDefinition updateImpl(KaleoDefinition kaleoDefinition)
    • findByPrimaryKey

      KaleoDefinition findByPrimaryKey(long kaleoDefinitionId) throws NoSuchDefinitionException
      Returns the kaleo definition with the primary key or throws a NoSuchDefinitionException 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

      KaleoDefinition fetchByPrimaryKey(long kaleoDefinitionId)
      Returns the kaleo definition with the primary key or returns null 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

      List<KaleoDefinition> findAll(int start, int end)
      Returns a range of all the kaleo definitions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo definitions
      end - the upper bound of the range of kaleo definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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