Interface KaleoNodeSettingPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByKaleoNodeId(long kaleoNodeId)
    Returns the number of kaleo node settings where kaleoNodeId = ?.
    int
    countByKNI_N(long kaleoNodeId, String name)
    Returns the number of kaleo node settings where kaleoNodeId = ? and name = ?.
    create(long kaleoNodeSettingId)
    Creates a new kaleo node setting with the primary key.
    fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator)
    Returns the first kaleo node setting in the ordered set where kaleoNodeId = ?.
    fetchByKNI_N(long kaleoNodeId, String name)
    Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returns null if it could not be found.
    fetchByKNI_N(long kaleoNodeId, String name, boolean useFinderCache)
    Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long kaleoNodeSettingId)
    Returns the kaleo node setting with the primary key or returns null if it could not be found.
    findByKaleoNodeId(long kaleoNodeId)
    Returns all the kaleo node settings where kaleoNodeId = ?.
    findByKaleoNodeId(long kaleoNodeId, int start, int end)
    Returns a range of all the kaleo node settings where kaleoNodeId = ?.
    findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator)
    Returns an ordered range of all the kaleo node settings where kaleoNodeId = ?.
    findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo node settings where kaleoNodeId = ?.
    findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator)
    Returns the first kaleo node setting in the ordered set where kaleoNodeId = ?.
    findByKNI_N(long kaleoNodeId, String name)
    Returns the kaleo node setting where kaleoNodeId = ? and name = ? or throws a NoSuchNodeSettingException if it could not be found.
    findByPrimaryKey(long kaleoNodeSettingId)
    Returns the kaleo node setting with the primary key or throws a NoSuchNodeSettingException if it could not be found.
    remove(long kaleoNodeSettingId)
    Removes the kaleo node setting with the primary key from the database.
    void
    removeByKaleoNodeId(long kaleoNodeId)
    Removes all the kaleo node settings where kaleoNodeId = ? from the database.
    removeByKNI_N(long kaleoNodeId, String name)
    Removes the kaleo node setting where kaleoNodeId = ? and name = ? from the database.
    updateImpl(KaleoNodeSetting kaleoNodeSetting)
     

    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

    • findByKaleoNodeId

      List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo node settings where kaleoNodeId = ?.

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

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo node settings
      end - the upper bound of the range of kaleo node settings (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 node settings
    • findByKaleoNodeId_First

      KaleoNodeSetting findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator) throws NoSuchNodeSettingException
      Returns the first kaleo node setting in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo node setting
      Throws:
      NoSuchNodeSettingException - if a matching kaleo node setting could not be found
    • fetchByKaleoNodeId_First

      KaleoNodeSetting fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator)
      Returns the first kaleo node setting in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo node setting, or null if a matching kaleo node setting could not be found
    • removeByKaleoNodeId

      void removeByKaleoNodeId(long kaleoNodeId)
      Removes all the kaleo node settings where kaleoNodeId = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
    • countByKaleoNodeId

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

      KaleoNodeSetting findByKNI_N(long kaleoNodeId, String name) throws NoSuchNodeSettingException
      Returns the kaleo node setting where kaleoNodeId = ? and name = ? or throws a NoSuchNodeSettingException if it could not be found.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the matching kaleo node setting
      Throws:
      NoSuchNodeSettingException - if a matching kaleo node setting could not be found
    • fetchByKNI_N

      KaleoNodeSetting fetchByKNI_N(long kaleoNodeId, String name, boolean useFinderCache)
      Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo node setting, or null if a matching kaleo node setting could not be found
    • removeByKNI_N

      KaleoNodeSetting removeByKNI_N(long kaleoNodeId, String name) throws NoSuchNodeSettingException
      Removes the kaleo node setting where kaleoNodeId = ? and name = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the kaleo node setting that was removed
      Throws:
      NoSuchNodeSettingException
    • countByKNI_N

      int countByKNI_N(long kaleoNodeId, String name)
      Returns the number of kaleo node settings where kaleoNodeId = ? and name = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the number of matching kaleo node settings
    • create

      KaleoNodeSetting create(long kaleoNodeSettingId)
      Creates a new kaleo node setting with the primary key. Does not add the kaleo node setting to the database.
      Parameters:
      kaleoNodeSettingId - the primary key for the new kaleo node setting
      Returns:
      the new kaleo node setting
    • remove

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

      KaleoNodeSetting updateImpl(KaleoNodeSetting kaleoNodeSetting)
    • findByPrimaryKey

      KaleoNodeSetting findByPrimaryKey(long kaleoNodeSettingId) throws NoSuchNodeSettingException
      Returns the kaleo node setting with the primary key or throws a NoSuchNodeSettingException if it could not be found.
      Parameters:
      kaleoNodeSettingId - the primary key of the kaleo node setting
      Returns:
      the kaleo node setting
      Throws:
      NoSuchNodeSettingException - if a kaleo node setting with the primary key could not be found
    • fetchByPrimaryKey

      KaleoNodeSetting fetchByPrimaryKey(long kaleoNodeSettingId)
      Returns the kaleo node setting with the primary key or returns null if it could not be found.
      Parameters:
      kaleoNodeSettingId - the primary key of the kaleo node setting
      Returns:
      the kaleo node setting, or null if a kaleo node setting with the primary key could not be found
    • fetchByKNI_N

      default KaleoNodeSetting fetchByKNI_N(long kaleoNodeId, String name)
      Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the matching kaleo node setting, or null if a matching kaleo node setting could not be found
    • findByKaleoNodeId

      default List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId)
      Returns all the kaleo node settings where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the matching kaleo node settings
    • findByKaleoNodeId

      default List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId, int start, int end)
      Returns a range of all the kaleo node settings where kaleoNodeId = ?.

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

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo node settings
      end - the upper bound of the range of kaleo node settings (not inclusive)
      Returns:
      the range of matching kaleo node settings
    • findByKaleoNodeId

      default List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator)
      Returns an ordered range of all the kaleo node settings where kaleoNodeId = ?.

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

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