Class KaleoNodeSettingUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNodeSettingPersistenceImpl 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(KaleoNodeSetting kaleoNodeSetting) static voidcacheResult(List<KaleoNodeSetting> kaleoNodeSettings) static voidstatic voidclearCache(KaleoNodeSetting kaleoNodeSetting) static intcountByKaleoNodeId(long kaleoNodeId) Returns the number of kaleo node settings where kaleoNodeId = ?.static intcountByKNI_N(long kaleoNodeId, String name) Returns the number of kaleo node settings where kaleoNodeId = ? and name = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoNodeSettingcreate(long kaleoNodeSettingId) Creates a new kaleo node setting with the primary key.static KaleoNodeSettingfetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator) Returns the first kaleo node setting in the ordered set where kaleoNodeId = ?.static KaleoNodeSettingfetchByKNI_N(long kaleoNodeId, String name) Returns the kaleo node setting where kaleoNodeId = ? and name = ? or returnsnullif it could not be found.static KaleoNodeSettingfetchByKNI_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.static KaleoNodeSettingfetchByPrimaryKey(long kaleoNodeSettingId) Returns the kaleo node setting with the primary key or returnsnullif it could not be found.static Map<Serializable, KaleoNodeSetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId) Returns all the kaleo node settings where kaleoNodeId = ?.static List<KaleoNodeSetting> findByKaleoNodeId(long kaleoNodeId, int start, int end) Returns a range of all the kaleo node settings where kaleoNodeId = ?.static 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 = ?.static 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 = ?.static KaleoNodeSettingfindByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator) Returns the first kaleo node setting in the ordered set where kaleoNodeId = ?.static KaleoNodeSettingfindByKNI_N(long kaleoNodeId, String name) Returns the kaleo node setting where kaleoNodeId = ? and name = ? or throws aNoSuchNodeSettingExceptionif it could not be found.static KaleoNodeSettingfindByPrimaryKey(long kaleoNodeSettingId) Returns the kaleo node setting with the primary key or throws aNoSuchNodeSettingExceptionif it could not be found.static List<KaleoNodeSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoNodeSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoNodeSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator) static KaleoNodeSettingPersistencestatic KaleoNodeSettingremove(long kaleoNodeSettingId) Removes the kaleo node setting with the primary key from the database.static voidremoveByKaleoNodeId(long kaleoNodeId) Removes all the kaleo node settings where kaleoNodeId = ? from the database.static KaleoNodeSettingremoveByKNI_N(long kaleoNodeId, String name) Removes the kaleo node setting where kaleoNodeId = ? and name = ? from the database.static voidsetPersistence(KaleoNodeSettingPersistence persistence) static KaleoNodeSettingupdate(KaleoNodeSetting kaleoNodeSetting) static KaleoNodeSettingupdate(KaleoNodeSetting kaleoNodeSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoNodeSettingupdateImpl(KaleoNodeSetting kaleoNodeSetting)
-
Constructor Details
-
KaleoNodeSettingUtil
public KaleoNodeSettingUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<KaleoNodeSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<KaleoNodeSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<KaleoNodeSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNodeSetting> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static KaleoNodeSetting update(KaleoNodeSetting kaleoNodeSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByKaleoNodeId
public static 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
public static 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
-
fetchByKaleoNodeId_First
public static 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
public static void removeByKaleoNodeId(long kaleoNodeId) Removes all the kaleo node settings where kaleoNodeId = ? from the database.- Parameters:
kaleoNodeId- the kaleo node ID
-
countByKaleoNodeId
public static 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
public static KaleoNodeSetting findByKNI_N(long kaleoNodeId, String name) throws NoSuchNodeSettingException 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
-
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
public static 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 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
-
updateImpl
-
findByPrimaryKey
public static KaleoNodeSetting findByPrimaryKey(long kaleoNodeSettingId) throws NoSuchNodeSettingException 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
-
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
public static 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
-
getPersistence
-
setPersistence
-