Uses of Interface
net.pricefx.server.dto.calculation.notification.NotificationApi
Package
Description
Provides API related to scripting, including interface
PublicGroovyAPI
, that represents what can be reached in the Groovy element syntax as api
.-
Uses of NotificationApi in net.pricefx.formulaengine.scripting
Modifier and TypeMethodDescriptionPublicGroovyAPI.notificationApi()
Returns aNotificationApi
instance for operations related to Notifications. -
Uses of NotificationApi in net.pricefx.server.dto.calculation.notification
Modifier and TypeMethodDescriptionNotificationApi.withActionLabel
(String actionLabel) Sets the action label of notification.NotificationApi.withContextLink
(String targetPage) Sets the action type of the Notification to context link.NotificationApi.withContextLink
(String targetPage, Object targetPageState) Sets the action type of the Notification to context link.NotificationApi.withContextLink
(String actionLabel, String targetPage) Set action type of the Notification to context link.NotificationApi.withContextLink
(String actionLabel, String targetPage, Object targetPageState) Sets the action type of the Notification to context link.NotificationApi.withDownloadAction
(String action) Sets the action type of the Notification to DOWNLOAD.NotificationApi.withErrorStatus()
Sets the status of the Notification to ERROR.NotificationApi.withInfoStatus()
Sets the status of the Notification to INFO.NotificationApi.withLinkAction
(String action) Sets the action type of the Notification to LINK.NotificationApi.withMessage
(String message) Specifies the message of the Notification.NotificationApi.withMessageLinkAction
(String action) Sets the action type of the Notification to the message link.NotificationApi.withNoAction()
Sets the action type of the Notification to INFO_MESSAGE.NotificationApi.withRecipient
(Long id) Sets the recipient of the Notification.NotificationApi.withRecipient
(String loginName) Sets the recipient of the Notification.NotificationApi.withRecipient
(List<Long> ids) Sets recipients of the notification.NotificationApi.withRecipientLogin
(List<String> loginNames) Sets recipients of the notification.NotificationApi.withSource
(String source) Sets the source of the Notification.NotificationApi.withSuccessStatus()
Sets the status of the Notification to SUCCESS.Sets the title of the Notification.NotificationApi.withUserGroupId
(Long id) Sets the user group as the recipient of the notification.NotificationApi.withUserGroupId
(List<Long> ids) Sets user groups as recipients of the notification.NotificationApi.withUserGroupUqName
(String uniqueName) Sets the user group as the recipient of the notification.NotificationApi.withUserGroupUqName
(List<String> uniqueNames) Sets user groups as recipients of the notification.NotificationApi.withWarningStatus()
Sets the status of the Notification to WARNING.