|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.bo.BusinessObjectBase org.kuali.rice.kns.bo.PersistableBusinessObjectBase org.kuali.rice.ken.bo.NotificationChannel
@Entity public class NotificationChannel
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.
Field Summary | |
---|---|
private String |
description
|
private Long |
id
|
private String |
name
|
private List<NotificationProducer> |
producers
|
private List<NotificationRecipientList> |
recipientLists
|
private List<NotificationChannelReviewer> |
reviewers
|
private boolean |
subscribable
|
private List<UserChannelSubscription> |
subscriptions
|
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
NotificationChannel()
Constructs a NotificationChannel instance. |
Method Summary | |
---|---|
void |
addRecipientList(NotificationRecipientList recipientList)
This method adds a recipient list to the overall set of recipient lists that are associated with this channnel. |
boolean |
equals(Object obj)
Compares the id values of each NotificationChannel object. |
String |
getDescription()
Gets the description attribute. |
Long |
getId()
Gets the id attribute. |
String |
getName()
Gets the name attribute. |
List<NotificationProducer> |
getProducers()
Gets the producers attribute. |
List<NotificationRecipientList> |
getRecipientLists()
Gets the recipientLists attribute. |
List<NotificationChannelReviewer> |
getReviewers()
Gets the list of reviewers for notification publications to this channel |
List<UserChannelSubscription> |
getSubscriptions()
Gets the list of subscriptions to this channel |
boolean |
isSubscribable()
Gets the subscribable attribute. |
void |
removeRecipientList(NotificationRecipientList recipientList)
This method removes a recipient list object from the overall list. |
void |
setDescription(String description)
Sets the description attribute value. |
void |
setId(Long id)
Sets the id attribute value. |
void |
setName(String name)
Sets the name attribute value. |
void |
setProducers(List<NotificationProducer> producers)
Sets the producers attribute value. |
void |
setRecipientLists(List<NotificationRecipientList> recipientLists)
Sets the recipientLists attribute value. |
void |
setReviewers(List<NotificationChannelReviewer> reviewers)
Sets the list of reviewers for notification publications to this channel |
void |
setSubscribable(boolean subscribable)
Sets the subscribable attribute value. |
void |
setSubscriptions(List<UserChannelSubscription> subscriptions)
Sets the list of subscriptions to this channel |
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
---|
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Field Detail |
---|
private Long id
private String name
private String description
private boolean subscribable
private List<NotificationRecipientList> recipientLists
private List<NotificationProducer> producers
private List<NotificationChannelReviewer> reviewers
private List<UserChannelSubscription> subscriptions
Constructor Detail |
---|
public NotificationChannel()
Method Detail |
---|
public List<NotificationRecipientList> getRecipientLists()
public void setRecipientLists(List<NotificationRecipientList> recipientLists)
recipientLists
- The recipientLists to set.public void addRecipientList(NotificationRecipientList recipientList)
recipientList
- public void removeRecipientList(NotificationRecipientList recipientList)
recipientList
- public String getDescription()
public void setDescription(String description)
description
- The description to set.public Long getId()
public void setId(Long id)
id
- The id to set.public String getName()
public void setName(String name)
name
- The name to set.public boolean isSubscribable()
public void setSubscribable(boolean subscribable)
subscribable
- The subscribable to set.public List<NotificationProducer> getProducers()
public void setProducers(List<NotificationProducer> producers)
producers
- The producers to set.public List<NotificationChannelReviewer> getReviewers()
public void setReviewers(List<NotificationChannelReviewer> reviewers)
reviewers
- the list of reviewers for notification publications to this channelpublic List<UserChannelSubscription> getSubscriptions()
public void setSubscriptions(List<UserChannelSubscription> subscriptions)
subscriptions
- the list of subscriptions to this channelpublic boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |