Class KaleoDefinitionUtil

java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.KaleoDefinitionUtil

public class KaleoDefinitionUtil extends Object
The persistence utility for the kaleo definition service. This utility wraps com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoDefinitionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(KaleoDefinition kaleoDefinition)
    Caches the kaleo definition in the entity cache if it is enabled.
    static void
    cacheResult(List<KaleoDefinition> kaleoDefinitions)
    Caches the kaleo definitions in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(KaleoDefinition kaleoDefinition)
     
    static int
    Returns the number of kaleo definitions.
    static int
    countByActive(boolean active)
    Returns the number of kaleo definitions where active = ?.
    static int
    countByC_A(long companyId, boolean active)
    Returns the number of kaleo definitions where companyId = ? and active = ?.
    static int
    countByC_N(long companyId, String name)
    Returns the number of kaleo definitions where companyId = ? and name = ?.
    static int
    countByC_N_A(long companyId, String name, boolean active)
    Returns the number of kaleo definitions where companyId = ? and name = ? and active = ?.
    static int
    countByC_N_V(long companyId, String name, int version)
    Returns the number of kaleo definitions where companyId = ? and name = ? and version = ?.
    static int
    countByC_S(long companyId, String scope)
    Returns the number of kaleo definitions where companyId = ? and scope = ?.
    static int
    countByC_S_A(long companyId, String scope, boolean active)
    Returns the number of kaleo definitions where companyId = ? and scope = ? and active = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of kaleo definitions where companyId = ?.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of kaleo definitions where externalReferenceCode = ? and companyId = ?.
    static int
    Returns the number of kaleo definitions where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of kaleo definitions where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of kaleo definitions where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
     
     
    remove(long kaleoDefinitionId)
    Removes the kaleo definition with the primary key from the database.
    static void
    Removes all the kaleo definitions from the database.
    static void
    removeByActive(boolean active)
    Removes all the kaleo definitions where active = ? from the database.
    static void
    removeByC_A(long companyId, boolean active)
    Removes all the kaleo definitions where companyId = ? and active = ? from the database.
    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.
    static void
    removeByC_S(long companyId, String scope)
    Removes all the kaleo definitions where companyId = ? and scope = ? from the database.
    static void
    removeByC_S_A(long companyId, String scope, boolean active)
    Removes all the kaleo definitions where companyId = ? and scope = ? and active = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the kaleo definitions where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the kaleo definition where externalReferenceCode = ? and companyId = ? from the database.
    static void
    Removes all the kaleo definitions where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the kaleo definitions where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the kaleo definition where uuid = ? and groupId = ? from the database.
    static void
     
    update(KaleoDefinition kaleoDefinition)
     
    update(KaleoDefinition kaleoDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(KaleoDefinition kaleoDefinition)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KaleoDefinitionUtil

      public KaleoDefinitionUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(KaleoDefinition kaleoDefinition)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,KaleoDefinition> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<KaleoDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static KaleoDefinition update(KaleoDefinition kaleoDefinition)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static KaleoDefinition update(KaleoDefinition kaleoDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

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

      public static 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

      public static List<KaleoDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static KaleoDefinition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the first kaleo definition in the ordered set where uuid = ?.
      Parameters:
      uuid - the 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
      NoSuchDefinitionException
    • fetchByUuid_First

      public static KaleoDefinition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the first kaleo definition in the ordered set where uuid = ?.
      Parameters:
      uuid - the 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

      public static KaleoDefinition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the last kaleo definition in the ordered set where uuid = ?.
      Parameters:
      uuid - the 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
      NoSuchDefinitionException
    • fetchByUuid_Last

      public static KaleoDefinition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the last kaleo definition in the ordered set where uuid = ?.
      Parameters:
      uuid - the 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

      public static KaleoDefinition[] findByUuid_PrevAndNext(long kaleoDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the kaleo definitions before and after the current kaleo definition in the ordered set where uuid = ?.
      Parameters:
      kaleoDefinitionId - the primary key of the current kaleo 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
      NoSuchDefinitionException
    • removeByUuid

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

      public static 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

      public static 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
      NoSuchDefinitionException
    • fetchByUUID_G

      public static 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

      public static 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

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

      public static 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

      public static 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

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

      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

      public static List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static KaleoDefinition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the first kaleo definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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
      NoSuchDefinitionException
    • fetchByUuid_C_First

      public static KaleoDefinition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the first kaleo definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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

      public static KaleoDefinition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the last kaleo definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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
      NoSuchDefinitionException
    • fetchByUuid_C_Last

      public static KaleoDefinition fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the last kaleo definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the 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

      public static KaleoDefinition[] findByUuid_C_PrevAndNext(long kaleoDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the kaleo definitions before and after the current kaleo definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      kaleoDefinitionId - the primary key of the current kaleo 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
      NoSuchDefinitionException
    • removeByUuid_C

      public static 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

      public static 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

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

      public static 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

      public static List<KaleoDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static KaleoDefinition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the first kaleo definition in the ordered set where companyId = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByCompanyId_First

      public static KaleoDefinition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the first kaleo definition in the ordered set where companyId = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the last kaleo definition in the ordered set where companyId = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByCompanyId_Last

      public static KaleoDefinition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the last kaleo definition in the ordered set where companyId = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition[] findByCompanyId_PrevAndNext(long kaleoDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ?.
      Parameters:
      kaleoDefinitionId - the primary key of the current kaleo 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
      NoSuchDefinitionException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the kaleo definitions where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of kaleo definitions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching kaleo definitions
    • findByActive

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

      public static 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

      public static List<KaleoDefinition> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions where active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions where active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static KaleoDefinition findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the first kaleo definition in the ordered set where active = ?.
      Parameters:
      active - the 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
      NoSuchDefinitionException
    • fetchByActive_First

      public static KaleoDefinition fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the first kaleo definition in the ordered set where active = ?.
      Parameters:
      active - the 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

      public static KaleoDefinition findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the last kaleo definition in the ordered set where active = ?.
      Parameters:
      active - the 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
      NoSuchDefinitionException
    • fetchByActive_Last

      public static KaleoDefinition fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the last kaleo definition in the ordered set where active = ?.
      Parameters:
      active - the 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

      public static KaleoDefinition[] findByActive_PrevAndNext(long kaleoDefinitionId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the kaleo definitions before and after the current kaleo definition in the ordered set where active = ?.
      Parameters:
      kaleoDefinitionId - the primary key of the current kaleo 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
      NoSuchDefinitionException
    • removeByActive

      public static void removeByActive(boolean active)
      Removes all the kaleo definitions where active = ? from the database.
      Parameters:
      active - the active
    • countByActive

      public static int countByActive(boolean active)
      Returns the number of kaleo definitions where active = ?.
      Parameters:
      active - the active
      Returns:
      the number of matching kaleo definitions
    • findByC_N

      public static KaleoDefinition findByC_N(long companyId, String name) throws NoSuchDefinitionException
      Returns the kaleo definition where companyId = ? and name = ? or throws 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
      NoSuchDefinitionException
    • fetchByC_N

      public static 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

      public static 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

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

      public static 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

      public static 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

      public static 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

      public static List<KaleoDefinition> findByC_S(long companyId, String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions where companyId = ? and scope = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByC_S(long companyId, String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions where companyId = ? and scope = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static KaleoDefinition findByC_S_First(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the first kaleo definition in the ordered set where companyId = ? and scope = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByC_S_First

      public static KaleoDefinition fetchByC_S_First(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the first kaleo definition in the ordered set where companyId = ? and scope = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition findByC_S_Last(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the last kaleo definition in the ordered set where companyId = ? and scope = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByC_S_Last

      public static KaleoDefinition fetchByC_S_Last(long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the last kaleo definition in the ordered set where companyId = ? and scope = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition[] findByC_S_PrevAndNext(long kaleoDefinitionId, long companyId, String scope, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and scope = ?.
      Parameters:
      kaleoDefinitionId - the primary key of the current kaleo 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
      NoSuchDefinitionException
    • removeByC_S

      public static 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

      public static 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

      public static 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

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

      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

      public static List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions where companyId = ? and active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions where companyId = ? and active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static KaleoDefinition findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the first kaleo definition in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByC_A_First

      public static KaleoDefinition fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the first kaleo definition in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the last kaleo definition in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByC_A_Last

      public static KaleoDefinition fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the last kaleo definition in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition[] findByC_A_PrevAndNext(long kaleoDefinitionId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and active = ?.
      Parameters:
      kaleoDefinitionId - the primary key of the current kaleo 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
      NoSuchDefinitionException
    • removeByC_A

      public static void removeByC_A(long companyId, boolean active)
      Removes all the kaleo definitions where companyId = ? and active = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
    • countByC_A

      public static int countByC_A(long companyId, boolean active)
      Returns the number of kaleo definitions where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the number of matching kaleo definitions
    • findByC_N_V

      public static KaleoDefinition findByC_N_V(long companyId, String name, int version) throws NoSuchDefinitionException
      Returns the kaleo definition where companyId = ? and name = ? and version = ? or throws 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
      NoSuchDefinitionException
    • fetchByC_N_V

      public static 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

      public static KaleoDefinition fetchByC_N_V(long companyId, String name, int version, boolean useFinderCache)
      Returns the kaleo definition where companyId = ? and name = ? and version = ? or 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

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

      public static 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

      public static KaleoDefinition findByC_N_A(long companyId, String name, boolean active) throws NoSuchDefinitionException
      Returns the kaleo definition where companyId = ? and name = ? and active = ? or throws 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
      NoSuchDefinitionException
    • fetchByC_N_A

      public static 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

      public static KaleoDefinition fetchByC_N_A(long companyId, String name, boolean active, boolean useFinderCache)
      Returns the kaleo definition where companyId = ? and name = ? and active = ? or 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

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

      public static 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

      public static 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

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

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByC_S_A(long companyId, String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions where companyId = ? and scope = ? and active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findByC_S_A(long companyId, String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions where companyId = ? and scope = ? and active = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static KaleoDefinition findByC_S_A_First(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the first kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByC_S_A_First

      public static KaleoDefinition fetchByC_S_A_First(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the first kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition findByC_S_A_Last(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the last kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.
      Parameters:
      companyId - the company 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
      NoSuchDefinitionException
    • fetchByC_S_A_Last

      public static KaleoDefinition fetchByC_S_A_Last(long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns the last kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.
      Parameters:
      companyId - the company 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

      public static KaleoDefinition[] findByC_S_A_PrevAndNext(long kaleoDefinitionId, long companyId, String scope, boolean active, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) throws NoSuchDefinitionException
      Returns the kaleo definitions before and after the current kaleo definition in the ordered set where companyId = ? and scope = ? and active = ?.
      Parameters:
      kaleoDefinitionId - the primary key of the current kaleo 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
      NoSuchDefinitionException
    • removeByC_S_A

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

      public static 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

      public static 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
      NoSuchDefinitionException
    • fetchByERC_C

      public static 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

      public static 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

      public static KaleoDefinition removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchDefinitionException
      Removes the kaleo definition where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the kaleo definition that was removed
      Throws:
      NoSuchDefinitionException
    • countByERC_C

      public static 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

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

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

      public static 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

      public static 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
      NoSuchDefinitionException
    • updateImpl

      public static KaleoDefinition updateImpl(KaleoDefinition kaleoDefinition)
    • findByPrimaryKey

      public static 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
      NoSuchDefinitionException
    • fetchByPrimaryKey

      public static 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

      public static List<KaleoDefinition> findAll()
      Returns all the kaleo definitions.
      Returns:
      the kaleo definitions
    • findAll

      public static 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

      public static List<KaleoDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator)
      Returns an ordered range of all the kaleo definitions.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static List<KaleoDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo definitions.

      Useful when paginating results. Returns a maximum of end - start instances. start 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

      public static void removeAll()
      Removes all the kaleo definitions from the database.
    • countAll

      public static int countAll()
      Returns the number of kaleo definitions.
      Returns:
      the number of kaleo definitions
    • getPersistence

      public static KaleoDefinitionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoDefinitionPersistence persistence)