Class NotificationChannel.Builder
java.lang.Object
org.kuali.rice.ken.api.notification.NotificationChannel.Builder
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelBuilder,KenIdentifiable,NotificationChannelContract
- Enclosing class:
NotificationChannel
public static final class NotificationChannel.Builder
extends Object
implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, NotificationChannelContract
A builder which can be used to construct
NotificationChannel instances. Enforces the constraints of the NotificationChannelContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static NotificationChannel.Buildercreate()static NotificationChannel.Buildercreate(NotificationChannelContract contract) getId()getName()booleanvoidsetDescription(String description) voidvoidvoidsetObjectId(String objectId) voidsetProducers(List<NotificationProducer.Builder> producers) voidsetRecipientLists(List<NotificationListRecipient.Builder> recipientLists) voidsetReviewers(List<NotificationChannelReviewer.Builder> reviewers) voidsetSubscribable(boolean subscribable) voidsetSubscriptions(List<UserChannelSubscription.Builder> subscriptions) voidsetVersionNumber(Long versionNumber)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-
getName
- Specified by:
getNamein interfaceNotificationChannelContract
-
getDescription
- Specified by:
getDescriptionin interfaceNotificationChannelContract
-
isSubscribable
public boolean isSubscribable()- Specified by:
isSubscribablein interfaceNotificationChannelContract
-
getRecipientLists
- Specified by:
getRecipientListsin interfaceNotificationChannelContract
-
getProducers
- Specified by:
getProducersin interfaceNotificationChannelContract
-
getReviewers
- Specified by:
getReviewersin interfaceNotificationChannelContract
-
getSubscriptions
- Specified by:
getSubscriptionsin interfaceNotificationChannelContract
-
getId
- Specified by:
getIdin interfaceKenIdentifiable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
getObjectId
- Specified by:
getObjectIdin interfaceorg.kuali.rice.core.api.mo.common.GloballyUnique
-
setName
-
setDescription
-
setSubscribable
public void setSubscribable(boolean subscribable) -
setRecipientLists
-
setProducers
-
setReviewers
-
setSubscriptions
-
setId
-
setVersionNumber
-
setObjectId
-