Class NotificationChannelBo

All Implemented Interfaces:
Serializable, Cloneable, org.apache.ojb.broker.PersistenceBrokerAware, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.internal.weaving.PersistenceWeavedRest, org.eclipse.persistence.queries.FetchGroupTracker, GloballyUnique, Versioned, ModelObjectBasic, KenIdentifiable, NotificationChannelContract, BusinessObject, PersistableBusinessObject

@Entity public class NotificationChannelBo extends PersistableBusinessObjectBase implements NotificationChannelContract
This class represents and instance of a Notification Channel. A Notification Channel is correlated to a specific class of notification, or in other words a specific business purpose. For instance, all overdue books from a specific library could be a channel or a channel for concerts coming to campus could be another channel.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • NotificationChannelBo

      public NotificationChannelBo()
      Constructs a NotificationChannel instance.
  • Method Details

    • getRecipientLists

      public List<NotificationRecipientListBo> getRecipientLists()
      Gets the recipientLists attribute.
      Specified by:
      getRecipientLists in interface NotificationChannelContract
      Returns:
      Returns the recipientLists.
    • setRecipientLists

      public void setRecipientLists(List<NotificationRecipientListBo> recipientLists)
      Sets the recipientLists attribute value.
      Parameters:
      recipientLists - The recipientLists to set.
    • addRecipientList

      public void addRecipientList(NotificationRecipientListBo recipientList)
      This method adds a recipient list to the overall set of recipient lists that are associated with this channnel.
      Parameters:
      recipientList -
    • removeRecipientList

      public void removeRecipientList(NotificationRecipientListBo recipientList)
      This method removes a recipient list object from the overall list.
      Parameters:
      recipientList -
    • getDescription

      public String getDescription()
      Gets the description attribute.
      Specified by:
      getDescription in interface NotificationChannelContract
      Returns:
      Returns the description.
    • setDescription

      public void setDescription(String description)
      Sets the description attribute value.
      Parameters:
      description - The description to set.
    • getId

      public Long getId()
      Gets the id attribute.
      Specified by:
      getId in interface KenIdentifiable
      Returns:
      Returns the id.
    • setId

      public void setId(Long id)
      Sets the id attribute value.
      Parameters:
      id - The id to set.
    • getName

      public String getName()
      Gets the name attribute.
      Specified by:
      getName in interface NotificationChannelContract
      Returns:
      Returns the name.
    • setName

      public void setName(String name)
      Sets the name attribute value.
      Parameters:
      name - The name to set.
    • isSubscribable

      public boolean isSubscribable()
      Gets the subscribable attribute.
      Specified by:
      isSubscribable in interface NotificationChannelContract
      Returns:
      Returns the subscribable.
    • setSubscribable

      public void setSubscribable(boolean subscribable)
      Sets the subscribable attribute value.
      Parameters:
      subscribable - The subscribable to set.
    • getProducers

      public List<NotificationProducerBo> getProducers()
      Gets the producers attribute.
      Specified by:
      getProducers in interface NotificationChannelContract
      Returns:
      Returns the producers.
    • setProducers

      public void setProducers(List<NotificationProducerBo> producers)
      Sets the producers attribute value.
      Parameters:
      producers - The producers to set.
    • getReviewers

      public List<NotificationChannelReviewerBo> getReviewers()
      Gets the list of reviewers for notification publications to this channel
      Specified by:
      getReviewers in interface NotificationChannelContract
      Returns:
      the list of reviewers for notification publications to this channel
    • setReviewers

      public void setReviewers(List<NotificationChannelReviewerBo> reviewers)
      Sets the list of reviewers for notification publications to this channel
      Parameters:
      reviewers - the list of reviewers for notification publications to this channel
    • getSubscriptions

      public List<UserChannelSubscriptionBo> getSubscriptions()
      Gets the list of subscriptions to this channel
      Specified by:
      getSubscriptions in interface NotificationChannelContract
      Returns:
      the list of subscriptions to this channel
    • setSubscriptions

      public void setSubscriptions(List<UserChannelSubscriptionBo> subscriptions)
      Sets the list of subscriptions to this channel
      Parameters:
      subscriptions - the list of subscriptions to this channel
    • equals

      public boolean equals(Object obj)
      Compares the id values of each NotificationChannel object.
      Overrides:
      equals in class Object
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • to

      Converts a mutable bo to its immutable counterpart
      Parameters:
      bo - the mutable business object
      Returns:
      the immutable object
    • from

      public static NotificationChannelBo from(NotificationChannel im)
      Converts a immutable object to its mutable counterpart
      Parameters:
      im - immutable object
      Returns:
      the mutable bo