Class KaleoNodeSettingLocalServiceUtil
com.liferay.portal.workflow.kaleo.service.impl.KaleoNodeSettingLocalServiceImpl and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KaleoNodeSettingaddKaleoNodeSetting(long userId, long kaleoNodeId, String name, String value) static KaleoNodeSettingaddKaleoNodeSetting(KaleoNodeSetting kaleoNodeSetting) Adds the kaleo node setting to the database.static KaleoNodeSettingcreateKaleoNodeSetting(long kaleoNodeSettingId) Creates a new kaleo node setting with the primary key.static com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) static KaleoNodeSettingdeleteKaleoNodeSetting(long kaleoNodeSettingId) Deletes the kaleo node setting with the primary key from the database.static KaleoNodeSettingdeleteKaleoNodeSetting(KaleoNodeSetting kaleoNodeSetting) Deletes the kaleo node setting from the database.static com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) static <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static com.liferay.portal.kernel.dao.orm.DynamicQuerystatic <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.static longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.static longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.static KaleoNodeSettingfetchKaleoNodeSetting(long kaleoNodeSettingId) static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerystatic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerystatic KaleoNodeSettinggetKaleoNodeSetting(long kaleoNodeSettingId) Returns the kaleo node setting with the primary key.static List<KaleoNodeSetting> getKaleoNodeSettings(int start, int end) Returns a range of all the kaleo node settings.static List<KaleoNodeSetting> getKaleoNodeSettings(long kaleoNodeId) static intReturns the number of kaleo node settings.static StringReturns the OSGi service identifier.static com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) static KaleoNodeSettingLocalServicestatic KaleoNodeSettingupdateKaleoNodeSetting(KaleoNodeSetting kaleoNodeSetting) Updates the kaleo node setting in the database or adds it if it does not yet exist.
-
Constructor Details
-
KaleoNodeSettingLocalServiceUtil
public KaleoNodeSettingLocalServiceUtil()
-
-
Method Details
-
addKaleoNodeSetting
Adds the kaleo node setting to the database. Also notifies the appropriate model listeners.Important: Inspect KaleoNodeSettingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
kaleoNodeSetting- the kaleo node setting- Returns:
- the kaleo node setting that was added
-
addKaleoNodeSetting
public static KaleoNodeSetting addKaleoNodeSetting(long userId, long kaleoNodeId, String name, String value) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
createKaleoNodeSetting
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
-
createPersistedModel
public static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKaleoNodeSetting
Deletes the kaleo node setting from the database. Also notifies the appropriate model listeners.Important: Inspect KaleoNodeSettingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
kaleoNodeSetting- the kaleo node setting- Returns:
- the kaleo node setting that was removed
-
deleteKaleoNodeSetting
public static KaleoNodeSetting deleteKaleoNodeSetting(long kaleoNodeSettingId) throws com.liferay.portal.kernel.exception.PortalException Deletes the kaleo node setting with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect KaleoNodeSettingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
kaleoNodeSettingId- the primary key of the kaleo node setting- Returns:
- the kaleo node setting that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a kaleo node setting with the primary key could not be found
-
deletePersistedModel
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dslQueryCount
public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dynamicQuery
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.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:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.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:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchKaleoNodeSetting
-
getActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getIndexableActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getKaleoNodeSetting
public static KaleoNodeSetting getKaleoNodeSetting(long kaleoNodeSettingId) throws com.liferay.portal.kernel.exception.PortalException Returns the kaleo node setting with the primary key.- Parameters:
kaleoNodeSettingId- the primary key of the kaleo node setting- Returns:
- the kaleo node setting
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a kaleo node setting with the primary key could not be found
-
getKaleoNodeSettings
Returns a range of all the kaleo node settings.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:
start- 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 kaleo node settings
-
getKaleoNodeSettings
-
getKaleoNodeSettingsCount
public static int getKaleoNodeSettingsCount()Returns the number of kaleo node settings.- Returns:
- the number of kaleo node settings
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKaleoNodeSetting
Updates the kaleo node setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect KaleoNodeSettingLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
kaleoNodeSetting- the kaleo node setting- Returns:
- the kaleo node setting that was updated
-
getService
-