Interface KaleoNodePersistence

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

@ProviderType public interface KaleoNodePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNode>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoNode>
The persistence interface for the kaleo node service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_KDVI(long companyId, long kaleoDefinitionVersionId)
    Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of kaleo nodes where companyId = ?.
    int
    countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns the number of kaleo nodes where kaleoDefinitionVersionId = ?.
    create(long kaleoNodeId)
    Creates a new kaleo node with the primary key.
    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 = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where companyId = ?.
    fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByPrimaryKey(long kaleoNodeId)
    Returns the kaleo node with the primary key or returns null if it could not be found.
    default List<KaleoNode>
    findByC_KDVI(long companyId, long kaleoDefinitionVersionId)
    Returns all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    default List<KaleoNode>
    findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
    default 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 = ?.
    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 = ?.
    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 = ?.
    default List<KaleoNode>
    findByCompanyId(long companyId)
    Returns all the kaleo nodes where companyId = ?.
    default List<KaleoNode>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the kaleo nodes where companyId = ?.
    default 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 = ?.
    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 = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where companyId = ?.
    default List<KaleoNode>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns all the kaleo nodes where kaleoDefinitionVersionId = ?.
    default List<KaleoNode>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo nodes where kaleoDefinitionVersionId = ?.
    default 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 = ?.
    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 = ?.
    findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
    Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
    findByPrimaryKey(long kaleoNodeId)
    Returns the kaleo node with the primary key or throws a NoSuchNodeException if it could not be found.
    remove(long kaleoNodeId)
    Removes the kaleo node with the primary key from the database.
    void
    removeByC_KDVI(long companyId, long kaleoDefinitionVersionId)
    Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the kaleo nodes where companyId = ? from the database.
    void
    removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.
    updateImpl(KaleoNode kaleoNode)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByCompanyId

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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

      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
    • fetchByCompanyId_First

      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
    • removeByCompanyId

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

      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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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

      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
    • fetchByKaleoDefinitionVersionId_First

      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
    • removeByKaleoDefinitionVersionId

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

      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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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

      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
    • fetchByC_KDVI_First

      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
    • removeByC_KDVI

      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

      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
    • create

      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

      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
    • updateImpl

      KaleoNode updateImpl(KaleoNode kaleoNode)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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
    • findByCompanyId

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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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
    • findByKaleoDefinitionVersionId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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
    • findByC_KDVI

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.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