@Entity public class NotificationChannelBo extends PersistableBusinessObjectBase implements NotificationChannelContract
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
NotificationChannelBo()
Constructs a NotificationChannel instance.
|
Modifier and Type | Method and Description |
---|---|
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
|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
toString
public NotificationChannelBo()
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 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 objectpublic static NotificationChannelBo from(NotificationChannel im)
im
- immutable objectCopyright © 2005–2015 The Kuali Foundation. All rights reserved.