Class TaskNotificationContentProvider

All Implemented Interfaces:
Serializable

public class TaskNotificationContentProvider extends PubSubContentProvider
Bean which is implements sending task notifications and to subscribe/un-subscribe users to task subscriptions
See Also:
  • Field Details

    • m_taskClientBean

      protected ITaskContentProvider m_taskClientBean
      Represents instance of the task to send notification about
    • m_notifyAssignedUsers

      protected boolean m_notifyAssignedUsers
      Flag on whether to send notification only to users assigned to a task (or user is member of group or role assigned to a task)
  • Constructor Details

    • TaskNotificationContentProvider

      public TaskNotificationContentProvider()
  • Method Details

    • getTaskClientBean

      public ITaskContentProvider getTaskClientBean()
      Returns instance of the task object when sending notification
    • setTaskClientBean

      public void setTaskClientBean(ITaskContentProvider taskClientBean)
      Sets instance of task object to send notification about
    • isNotifyAssignedUsers

      public boolean isNotifyAssignedUsers()
      Return flag if to notify only users assigned to the task. Default is true
    • setNotifyAssignedUsers

      public void setNotifyAssignedUsers(boolean notifyAssignedUsers)
      Sets flag to notify only users assigned to the task. Default is true
    • publish

      public void publish() throws ContentProviderException
      Description copied from class: PubSubContentProvider
      Publish new notification for source object. Every user subscribed to this source will be notified via email.
      Overrides:
      publish in class PubSubContentProvider
      Throws:
      ContentProviderException