Class ModelNotification


  • public class ModelNotification
    extends java.lang.Object
    ModelNotification
    • Constructor Detail

      • ModelNotification

        public ModelNotification()
    • Method Detail

      • getNotificationGroupName

        public java.lang.String getNotificationGroupName()
        Gets notification group name.
        Returns:
        the notification group name
      • setNotificationGroupName

        public void setNotificationGroupName​(java.lang.String notificationGroupName)
        Sets notification group name.
        Parameters:
        notificationGroupName - the notification group name
      • getNotificationEvent

        public java.lang.String getNotificationEvent()
        Gets notification event.
        Returns:
        the notification event
      • setNotificationEvent

        public void setNotificationEvent​(java.lang.String notificationEvent)
        Sets notification event.
        Parameters:
        notificationEvent - the notification event
      • getNotificationMode

        public java.lang.String getNotificationMode()
        Gets notification mode.
        Returns:
        the notification mode
      • setNotificationMode

        public void setNotificationMode​(java.lang.String notificationMode)
        Sets notification mode.
        Parameters:
        notificationMode - the notification mode
      • callNotify

        public void callNotify​(DispatchContext dctx,
                               ModelService model,
                               java.util.Map<java.lang.String,​? extends java.lang.Object> context,
                               java.util.Map<java.lang.String,​java.lang.Object> result)
        Call notify.
        Parameters:
        dctx - the dctx
        model - the model
        context - the context
        result - the result
      • buildContext

        public java.util.Map<java.lang.String,​java.lang.Object> buildContext​(java.util.Map<java.lang.String,​? extends java.lang.Object> context,
                                                                                   java.util.Map<java.lang.String,​java.lang.Object> result,
                                                                                   ModelService model)
                                                                            throws GenericServiceException
        Build context map.
        Parameters:
        context - the context
        result - the result
        model - the model
        Returns:
        the map
        Throws:
        GenericServiceException - the generic service exception
      • buildTo

        public java.lang.String buildTo()
        Build to string.
        Returns:
        the string
      • buildCc

        public java.lang.String buildCc()
        Build cc string.
        Returns:
        the string
      • buildBcc

        public java.lang.String buildBcc()
        Build bcc string.
        Returns:
        the string
      • buildFrom

        public java.lang.String buildFrom()
        Build from string.
        Returns:
        the string
      • getSubject

        public java.lang.String getSubject()
        Gets subject.
        Returns:
        the subject
      • getScreen

        public java.lang.String getScreen()
        Gets screen.
        Returns:
        the screen
      • getService

        public java.lang.String getService()
        Gets service.
        Returns:
        the service