|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.ken.bo.NotificationChannelBo
@Entity public class NotificationChannelBo
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 |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
NotificationChannelBo()
Constructs a NotificationChannel instance. |
Method Summary | |
---|---|
void |
addRecipientList(NotificationRecipientListBo 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. |
static NotificationChannelBo |
from(NotificationChannel im)
Converts a immutable object to its mutable counterpart |
String |
getDescription()
Gets the description attribute. |
Long |
getId()
Gets the id attribute. |
String |
getName()
Gets the name attribute. |
List<NotificationProducerBo> |
getProducers()
Gets the producers attribute. |
List<NotificationRecipientListBo> |
getRecipientLists()
Gets the recipientLists attribute. |
List<NotificationChannelReviewerBo> |
getReviewers()
Gets the list of reviewers for notification publications to this channel |
List<UserChannelSubscriptionBo> |
getSubscriptions()
Gets the list of subscriptions to this channel |
boolean |
isSubscribable()
Gets the subscribable attribute. |
void |
removeRecipientList(NotificationRecipientListBo 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<NotificationProducerBo> producers)
Sets the producers attribute value. |
void |
setRecipientLists(List<NotificationRecipientListBo> recipientLists)
Sets the recipientLists attribute value. |
void |
setReviewers(List<NotificationChannelReviewerBo> reviewers)
Sets the list of reviewers for notification publications to this channel |
void |
setSubscribable(boolean subscribable)
Sets the subscribable attribute value. |
void |
setSubscriptions(List<UserChannelSubscriptionBo> subscriptions)
Sets the list of subscriptions to this channel |
static NotificationChannel |
to(NotificationChannelBo bo)
Converts a mutable bo to its immutable counterpart |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
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.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public NotificationChannelBo()
Method Detail |
---|
public List<NotificationRecipientListBo> getRecipientLists()
getRecipientLists
in interface NotificationChannelContract
public void setRecipientLists(List<NotificationRecipientListBo> recipientLists)
recipientLists
- The recipientLists to set.public void addRecipientList(NotificationRecipientListBo recipientList)
recipientList
- public void removeRecipientList(NotificationRecipientListBo recipientList)
recipientList
- public String getDescription()
getDescription
in interface NotificationChannelContract
public void setDescription(String description)
description
- The description to set.public Long getId()
getId
in interface KenIdentifiable
public void setId(Long id)
id
- The id to set.public String getName()
getName
in interface NotificationChannelContract
public void setName(String name)
name
- The name to set.public boolean isSubscribable()
isSubscribable
in interface NotificationChannelContract
public void setSubscribable(boolean subscribable)
subscribable
- The subscribable to set.public List<NotificationProducerBo> getProducers()
getProducers
in interface NotificationChannelContract
public void setProducers(List<NotificationProducerBo> producers)
producers
- The producers to set.public List<NotificationChannelReviewerBo> getReviewers()
getReviewers
in interface NotificationChannelContract
public void setReviewers(List<NotificationChannelReviewerBo> reviewers)
reviewers
- the list of reviewers for notification publications to this channelpublic List<UserChannelSubscriptionBo> getSubscriptions()
getSubscriptions
in interface NotificationChannelContract
public void setSubscriptions(List<UserChannelSubscriptionBo> subscriptions)
subscriptions
- the list of subscriptions to this channelpublic boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public static NotificationChannel to(NotificationChannelBo bo)
bo
- the mutable business object
public static NotificationChannelBo from(NotificationChannel im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |