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

public class KaleoNodeUtil extends Object
The persistence utility for the kaleo node service. This utility wraps com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNodePersistenceImpl 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
    Caches the kaleo node in the entity cache if it is enabled.
    static void
    cacheResult(List<KaleoNode> kaleoNodes)
    Caches the kaleo nodes in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(KaleoNode kaleoNode)
     
    static int
    Returns the number of kaleo nodes.
    static int
    countByC_KDVI(long companyId, long kaleoDefinitionVersionId)
    Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of kaleo nodes where companyId = ?.
    static int
    countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns the number of kaleo nodes where kaleoDefinitionVersionId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static KaleoNode
    create(long kaleoNodeId)
    Creates a new kaleo node with the primary key.
    static KaleoNode
    fetchByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
    static KaleoNode
    fetchByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
    static KaleoNode
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where companyId = ?.
    static KaleoNode
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the last kaleo node in the ordered set where companyId = ?.
    static KaleoNode
    fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
    static KaleoNode
    fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
    static KaleoNode
    fetchByPrimaryKey(long kaleoNodeId)
    Returns the kaleo node with the primary key or returns null if it could not be found.
     
    static List<KaleoNode>
    Returns all the kaleo nodes.
    static List<KaleoNode>
    findAll(int start, int end)
    Returns a range of all the kaleo nodes.
    static List<KaleoNode>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns an ordered range of all the kaleo nodes.
    static List<KaleoNode>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo nodes.
    static List<KaleoNode>
    findByC_KDVI(long companyId, long kaleoDefinitionVersionId)
    Returns all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    static List<KaleoNode>
    findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    static List<KaleoNode>
    findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    static List<KaleoNode>
    findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    static KaleoNode
    findByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
    static KaleoNode
    findByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
    static KaleoNode[]
    findByC_KDVI_PrevAndNext(long kaleoNodeId, long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
    static List<KaleoNode>
    findByCompanyId(long companyId)
    Returns all the kaleo nodes where companyId = ?.
    static List<KaleoNode>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the kaleo nodes where companyId = ?.
    static List<KaleoNode>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns an ordered range of all the kaleo nodes where companyId = ?.
    static List<KaleoNode>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo nodes where companyId = ?.
    static KaleoNode
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where companyId = ?.
    static KaleoNode
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the last kaleo node in the ordered set where companyId = ?.
    static KaleoNode[]
    findByCompanyId_PrevAndNext(long kaleoNodeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ?.
    static List<KaleoNode>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns all the kaleo nodes where kaleoDefinitionVersionId = ?.
    static List<KaleoNode>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo nodes where kaleoDefinitionVersionId = ?.
    static List<KaleoNode>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns an ordered range of all the kaleo nodes where kaleoDefinitionVersionId = ?.
    static List<KaleoNode>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo nodes where kaleoDefinitionVersionId = ?.
    static KaleoNode
    findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
    static KaleoNode
    findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
    static KaleoNode[]
    findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNodeId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the kaleo nodes before and after the current kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
    static KaleoNode
    findByPrimaryKey(long kaleoNodeId)
    Returns the kaleo node with the primary key or throws a NoSuchNodeException if it could not be found.
    static List<KaleoNode>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static List<KaleoNode>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    static List<KaleoNode>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
     
     
    static KaleoNode
    remove(long kaleoNodeId)
    Removes the kaleo node with the primary key from the database.
    static void
    Removes all the kaleo nodes from the database.
    static void
    removeByC_KDVI(long companyId, long kaleoDefinitionVersionId)
    Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the kaleo nodes where companyId = ? from the database.
    static void
    removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.
    static void
     
    static KaleoNode
    update(KaleoNode kaleoNode)
     
    static KaleoNode
    update(KaleoNode kaleoNode, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static KaleoNode
    updateImpl(KaleoNode kaleoNode)
     

    Methods inherited from class java.lang.Object

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

    • KaleoNodeUtil

      public KaleoNodeUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(KaleoNode kaleoNode)
      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,KaleoNode> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

      public static KaleoNode update(KaleoNode kaleoNode, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

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

      public static List<KaleoNode> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo nodes 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 KaleoNodeModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      Returns:
      the range of matching kaleo nodes
    • findByCompanyId

      public static List<KaleoNode> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns an ordered range of all the kaleo nodes 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 KaleoNodeModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo nodes
    • findByCompanyId

      public static List<KaleoNode> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo nodes 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 KaleoNodeModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (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 nodes
    • findByCompanyId_First

      public static KaleoNode findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the first kaleo node 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 node
      Throws:
      NoSuchNodeException - if a matching kaleo node could not be found
      NoSuchNodeException
    • fetchByCompanyId_First

      public static KaleoNode fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns the first kaleo node 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 node, or null if a matching kaleo node could not be found
    • findByCompanyId_Last

      public static KaleoNode findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the last kaleo node 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 node
      Throws:
      NoSuchNodeException - if a matching kaleo node could not be found
      NoSuchNodeException
    • fetchByCompanyId_Last

      public static KaleoNode fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns the last kaleo node 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 node, or null if a matching kaleo node could not be found
    • findByCompanyId_PrevAndNext

      public static KaleoNode[] findByCompanyId_PrevAndNext(long kaleoNodeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ?.
      Parameters:
      kaleoNodeId - the primary key of the current kaleo node
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo node
      Throws:
      NoSuchNodeException - if a kaleo node with the primary key could not be found
      NoSuchNodeException
    • removeByCompanyId

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

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

      public static List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns all the kaleo nodes where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo nodes
    • findByKaleoDefinitionVersionId

      public static List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo nodes where kaleoDefinitionVersionId = ?.

      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 KaleoNodeModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      Returns:
      the range of matching kaleo nodes
    • findByKaleoDefinitionVersionId

      public static List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns an ordered range of all the kaleo nodes where kaleoDefinitionVersionId = ?.

      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 KaleoNodeModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo nodes
    • findByKaleoDefinitionVersionId

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

      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 KaleoNodeModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (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 nodes
    • findByKaleoDefinitionVersionId_First

      public static KaleoNode findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo node
      Throws:
      NoSuchNodeException - if a matching kaleo node could not be found
      NoSuchNodeException
    • fetchByKaleoDefinitionVersionId_First

      public static KaleoNode fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo node, or null if a matching kaleo node could not be found
    • findByKaleoDefinitionVersionId_Last

      public static KaleoNode findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo node
      Throws:
      NoSuchNodeException - if a matching kaleo node could not be found
      NoSuchNodeException
    • fetchByKaleoDefinitionVersionId_Last

      public static KaleoNode fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo node, or null if a matching kaleo node could not be found
    • findByKaleoDefinitionVersionId_PrevAndNext

      public static KaleoNode[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNodeId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the kaleo nodes before and after the current kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoNodeId - the primary key of the current kaleo node
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo node
      Throws:
      NoSuchNodeException - if a kaleo node with the primary key could not be found
      NoSuchNodeException
    • removeByKaleoDefinitionVersionId

      public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
    • countByKaleoDefinitionVersionId

      public static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns the number of kaleo nodes where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo nodes
    • findByC_KDVI

      public static List<KaleoNode> findByC_KDVI(long companyId, long kaleoDefinitionVersionId)
      Returns all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo nodes
    • findByC_KDVI

      public static List<KaleoNode> findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.

      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 KaleoNodeModelImpl.

      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      Returns:
      the range of matching kaleo nodes
    • findByC_KDVI

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

      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 KaleoNodeModelImpl.

      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo nodes
    • findByC_KDVI

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

      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 KaleoNodeModelImpl.

      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (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 nodes
    • findByC_KDVI_First

      public static KaleoNode findByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo node
      Throws:
      NoSuchNodeException - if a matching kaleo node could not be found
      NoSuchNodeException
    • fetchByC_KDVI_First

      public static KaleoNode fetchByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo node, or null if a matching kaleo node could not be found
    • findByC_KDVI_Last

      public static KaleoNode findByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo node
      Throws:
      NoSuchNodeException - if a matching kaleo node could not be found
      NoSuchNodeException
    • fetchByC_KDVI_Last

      public static KaleoNode fetchByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
      Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo node, or null if a matching kaleo node could not be found
    • findByC_KDVI_PrevAndNext

      public static KaleoNode[] findByC_KDVI_PrevAndNext(long kaleoNodeId, long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
      Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoNodeId - the primary key of the current kaleo node
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo node
      Throws:
      NoSuchNodeException - if a kaleo node with the primary key could not be found
      NoSuchNodeException
    • removeByC_KDVI

      public static void removeByC_KDVI(long companyId, long kaleoDefinitionVersionId)
      Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.
      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
    • countByC_KDVI

      public static int countByC_KDVI(long companyId, long kaleoDefinitionVersionId)
      Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo nodes
    • cacheResult

      public static void cacheResult(KaleoNode kaleoNode)
      Caches the kaleo node in the entity cache if it is enabled.
      Parameters:
      kaleoNode - the kaleo node
    • cacheResult

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

      public static KaleoNode create(long kaleoNodeId)
      Creates a new kaleo node with the primary key. Does not add the kaleo node to the database.
      Parameters:
      kaleoNodeId - the primary key for the new kaleo node
      Returns:
      the new kaleo node
    • remove

      public static KaleoNode remove(long kaleoNodeId) throws NoSuchNodeException
      Removes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      kaleoNodeId - the primary key of the kaleo node
      Returns:
      the kaleo node that was removed
      Throws:
      NoSuchNodeException - if a kaleo node with the primary key could not be found
      NoSuchNodeException
    • updateImpl

      public static KaleoNode updateImpl(KaleoNode kaleoNode)
    • findByPrimaryKey

      public static KaleoNode findByPrimaryKey(long kaleoNodeId) throws NoSuchNodeException
      Returns the kaleo node with the primary key or throws a NoSuchNodeException if it could not be found.
      Parameters:
      kaleoNodeId - the primary key of the kaleo node
      Returns:
      the kaleo node
      Throws:
      NoSuchNodeException - if a kaleo node with the primary key could not be found
      NoSuchNodeException
    • fetchByPrimaryKey

      public static KaleoNode fetchByPrimaryKey(long kaleoNodeId)
      Returns the kaleo node with the primary key or returns null if it could not be found.
      Parameters:
      kaleoNodeId - the primary key of the kaleo node
      Returns:
      the kaleo node, or null if a kaleo node with the primary key could not be found
    • findAll

      public static List<KaleoNode> findAll()
      Returns all the kaleo nodes.
      Returns:
      the kaleo nodes
    • findAll

      public static List<KaleoNode> findAll(int start, int end)
      Returns a range of all the kaleo nodes.

      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 KaleoNodeModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      Returns:
      the range of kaleo nodes
    • findAll

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

      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 KaleoNodeModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of kaleo nodes
    • findAll

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

      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 KaleoNodeModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo nodes
      end - the upper bound of the range of kaleo nodes (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 nodes
    • removeAll

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

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

      public static KaleoNodePersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoNodePersistence persistence)