public static final class NotificationChannel.Builder extends Object implements Serializable, ModelBuilder, NotificationChannelContract
NotificationChannel
instances. Enforces the constraints of the NotificationChannelContract
.public static NotificationChannel.Builder create()
public static NotificationChannel.Builder create(NotificationChannelContract contract)
public NotificationChannel build()
ModelBuilder
build
in interface ModelBuilder
public String getName()
getName
in interface NotificationChannelContract
public String getDescription()
getDescription
in interface NotificationChannelContract
public boolean isSubscribable()
isSubscribable
in interface NotificationChannelContract
public List<NotificationListRecipient.Builder> getRecipientLists()
getRecipientLists
in interface NotificationChannelContract
public List<NotificationProducer.Builder> getProducers()
getProducers
in interface NotificationChannelContract
public List<NotificationChannelReviewer.Builder> getReviewers()
getReviewers
in interface NotificationChannelContract
public List<UserChannelSubscription.Builder> getSubscriptions()
getSubscriptions
in interface NotificationChannelContract
public Long getId()
getId
in interface KenIdentifiable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setDescription(String description)
public void setSubscribable(boolean subscribable)
public void setRecipientLists(List<NotificationListRecipient.Builder> recipientLists)
public void setProducers(List<NotificationProducer.Builder> producers)
public void setReviewers(List<NotificationChannelReviewer.Builder> reviewers)
public void setSubscriptions(List<UserChannelSubscription.Builder> subscriptions)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.