Interface KaleoConditionPersistence

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

@ProviderType public interface KaleoConditionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoCondition>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoCondition>
The persistence interface for the kaleo condition service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByCompanyId(long companyId)
    Returns the number of kaleo conditions where companyId = ?.
    int
    countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns the number of kaleo conditions where kaleoDefinitionVersionId = ?.
    int
    countByKaleoNodeId(long kaleoNodeId)
    Returns the number of kaleo conditions where kaleoNodeId = ?.
    create(long kaleoConditionId)
    Creates a new kaleo condition with the primary key.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
    Returns the first kaleo condition in the ordered set where companyId = ?.
    fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
    Returns the first kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByKaleoNodeId(long kaleoNodeId)
    Returns the kaleo condition where kaleoNodeId = ? or returns null if it could not be found.
    fetchByKaleoNodeId(long kaleoNodeId, boolean useFinderCache)
    Returns the kaleo condition where kaleoNodeId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long kaleoConditionId)
    Returns the kaleo condition with the primary key or returns null if it could not be found.
    findByCompanyId(long companyId)
    Returns all the kaleo conditions where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the kaleo conditions where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
    Returns an ordered range of all the kaleo conditions where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo conditions where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
    Returns the first kaleo condition in the ordered set where companyId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns all the kaleo conditions where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
    Returns an ordered range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo conditions where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
    Returns the first kaleo condition in the ordered set where kaleoDefinitionVersionId = ?.
    findByKaleoNodeId(long kaleoNodeId)
    Returns the kaleo condition where kaleoNodeId = ? or throws a NoSuchConditionException if it could not be found.
    findByPrimaryKey(long kaleoConditionId)
    Returns the kaleo condition with the primary key or throws a NoSuchConditionException if it could not be found.
    remove(long kaleoConditionId)
    Removes the kaleo condition with the primary key from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the kaleo conditions where companyId = ? from the database.
    void
    removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Removes all the kaleo conditions where kaleoDefinitionVersionId = ? from the database.
    removeByKaleoNodeId(long kaleoNodeId)
    Removes the kaleo condition where kaleoNodeId = ? from the database.
    updateImpl(KaleoCondition kaleoCondition)
     

    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<KaleoCondition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo conditions 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.KaleoConditionModelImpl.

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

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

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

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

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

      List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo conditions 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.KaleoConditionModelImpl.

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

      KaleoCondition findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator) throws NoSuchConditionException
      Returns the first kaleo condition 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 condition
      Throws:
      NoSuchConditionException - if a matching kaleo condition could not be found
    • fetchByKaleoDefinitionVersionId_First

      KaleoCondition fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
      Returns the first kaleo condition 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 condition, or null if a matching kaleo condition could not be found
    • removeByKaleoDefinitionVersionId

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

      int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns the number of kaleo conditions where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo conditions
    • findByKaleoNodeId

      KaleoCondition findByKaleoNodeId(long kaleoNodeId) throws NoSuchConditionException
      Returns the kaleo condition where kaleoNodeId = ? or throws a NoSuchConditionException if it could not be found.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the matching kaleo condition
      Throws:
      NoSuchConditionException - if a matching kaleo condition could not be found
    • fetchByKaleoNodeId

      KaleoCondition fetchByKaleoNodeId(long kaleoNodeId, boolean useFinderCache)
      Returns the kaleo condition where kaleoNodeId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo condition, or null if a matching kaleo condition could not be found
    • removeByKaleoNodeId

      KaleoCondition removeByKaleoNodeId(long kaleoNodeId) throws NoSuchConditionException
      Removes the kaleo condition where kaleoNodeId = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the kaleo condition that was removed
      Throws:
      NoSuchConditionException
    • countByKaleoNodeId

      int countByKaleoNodeId(long kaleoNodeId)
      Returns the number of kaleo conditions where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the number of matching kaleo conditions
    • create

      KaleoCondition create(long kaleoConditionId)
      Creates a new kaleo condition with the primary key. Does not add the kaleo condition to the database.
      Parameters:
      kaleoConditionId - the primary key for the new kaleo condition
      Returns:
      the new kaleo condition
    • remove

      KaleoCondition remove(long kaleoConditionId) throws NoSuchConditionException
      Removes the kaleo condition with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      kaleoConditionId - the primary key of the kaleo condition
      Returns:
      the kaleo condition that was removed
      Throws:
      NoSuchConditionException - if a kaleo condition with the primary key could not be found
    • updateImpl

      KaleoCondition updateImpl(KaleoCondition kaleoCondition)
    • findByPrimaryKey

      KaleoCondition findByPrimaryKey(long kaleoConditionId) throws NoSuchConditionException
      Returns the kaleo condition with the primary key or throws a NoSuchConditionException if it could not be found.
      Parameters:
      kaleoConditionId - the primary key of the kaleo condition
      Returns:
      the kaleo condition
      Throws:
      NoSuchConditionException - if a kaleo condition with the primary key could not be found
    • fetchByPrimaryKey

      KaleoCondition fetchByPrimaryKey(long kaleoConditionId)
      Returns the kaleo condition with the primary key or returns null if it could not be found.
      Parameters:
      kaleoConditionId - the primary key of the kaleo condition
      Returns:
      the kaleo condition, or null if a kaleo condition with the primary key could not be found
    • fetchByKaleoNodeId

      default KaleoCondition fetchByKaleoNodeId(long kaleoNodeId)
      Returns the kaleo condition where kaleoNodeId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the matching kaleo condition, or null if a matching kaleo condition could not be found
    • findByCompanyId

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

      default List<KaleoCondition> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo conditions 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.KaleoConditionModelImpl.

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

      default List<KaleoCondition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
      Returns an ordered range of all the kaleo conditions 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.KaleoConditionModelImpl.

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

      default List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns all the kaleo conditions where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo conditions
    • findByKaleoDefinitionVersionId

      default List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo conditions 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.KaleoConditionModelImpl.

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

      default List<KaleoCondition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoCondition> orderByComparator)
      Returns an ordered range of all the kaleo conditions 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.KaleoConditionModelImpl.

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