Interface KaleoNodeSettingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNodeSetting>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoNodeSetting>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByKaleoNodeId(long kaleoNodeId) Returns the number of kaleo node settings where kaleoNodeId = ?.intcountByKNI_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 = ?.default KaleoNodeSettingfetchByKNI_N(long kaleoNodeId, String name) Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returnsnullif it could not be found.fetchByKNI_N(long kaleoNodeId, String name, boolean useFinderCache) Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long kaleoNodeSettingId) Returns the kaleo node setting with the primary key or returnsnullif it could not be found.default List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId) Returns all the kaleo node settings where kaleoNodeId = ?.default List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId, int start, int end) Returns a range of all the kaleo node settings where kaleoNodeId = ?.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 = ?.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 aNoSuchNodeSettingExceptionif it could not be found.findByPrimaryKey(long kaleoNodeSettingId) Returns the kaleo node setting with the primary key or throws aNoSuchNodeSettingExceptionif it could not be found.remove(long kaleoNodeSettingId) Removes the kaleo node setting with the primary key from the database.voidremoveByKaleoNodeId(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, updateMethods 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeSettingModelImpl.- Parameters:
kaleoNodeId- the kaleo node IDstart- the lower bound of the range of kaleo node settingsend- the upper bound of the range of kaleo node settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo node setting, or
nullif 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
Returns the kaleo node setting where kaleoNodeId = ? and name = ? or throws aNoSuchNodeSettingExceptionif it could not be found.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the matching kaleo node setting
- Throws:
NoSuchNodeSettingException- if a matching kaleo node setting could not be found
-
fetchByKNI_N
Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
kaleoNodeId- the kaleo node IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo node setting, or
nullif a matching kaleo node setting could not be found
-
removeByKNI_N
Removes the kaleo node setting where kaleoNodeId = ? and name = ? from the database.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the kaleo node setting that was removed
- Throws:
NoSuchNodeSettingException
-
countByKNI_N
Returns the number of kaleo node settings where kaleoNodeId = ? and name = ?.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the number of matching kaleo node settings
-
create
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
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
-
findByPrimaryKey
Returns the kaleo node setting with the primary key or throws aNoSuchNodeSettingExceptionif 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
Returns the kaleo node setting with the primary key or returnsnullif it could not be found.- Parameters:
kaleoNodeSettingId- the primary key of the kaleo node setting- Returns:
- the kaleo node setting, or
nullif a kaleo node setting with the primary key could not be found
-
fetchByKNI_N
Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the matching kaleo node setting, or
nullif a matching kaleo node setting could not be found
-
findByKaleoNodeId
Returns all the kaleo node settings where kaleoNodeId = ?.- Parameters:
kaleoNodeId- the kaleo node ID- Returns:
- the matching kaleo node settings
-
findByKaleoNodeId
Returns a range of all the kaleo node settings where kaleoNodeId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeSettingModelImpl.- Parameters:
kaleoNodeId- the kaleo node IDstart- the lower bound of the range of kaleo node settingsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeSettingModelImpl.- Parameters:
kaleoNodeId- the kaleo node IDstart- the lower bound of the range of kaleo node settingsend- the upper bound of the range of kaleo node settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo node settings
-