public static final class Notification.Builder extends Object implements Serializable, ModelBuilder, NotificationContract
Notification instances. Enforces the constraints of the NotificationContract.public static Notification.Builder create()
public static Notification.Builder create(NotificationContract contract)
public Notification build()
ModelBuilderbuild in interface ModelBuilderpublic NotificationPriority.Builder getPriority()
getPriority in interface NotificationContractpublic String getContent()
getContent in interface NotificationContractpublic NotificationChannel.Builder getChannel()
getChannel in interface NotificationContractpublic NotificationContentType.Builder getContentType()
getContentType in interface NotificationContractpublic org.joda.time.DateTime getCreationDateTime()
NotificationContractThis is a namespace code assigned to a Group. Together with name, it makes up another unique identifier for Group
getCreationDateTime in interface NotificationContractpublic List<NotificationRecipient.Builder> getRecipients()
getRecipients in interface NotificationContractpublic List<NotificationSender.Builder> getSenders()
getSenders in interface NotificationContractpublic org.joda.time.DateTime getAutoRemoveDateTime()
getAutoRemoveDateTime in interface NotificationContractpublic String getDeliveryType()
getDeliveryType in interface NotificationContractpublic NotificationProducer.Builder getProducer()
getProducer in interface NotificationContractpublic org.joda.time.DateTime getSendDateTime()
getSendDateTime in interface NotificationContractpublic String getProcessingFlag()
getProcessingFlag in interface NotificationContractpublic org.joda.time.DateTime getLockedDate()
getLockedDate in interface NotificationContractpublic String getTitle()
getTitle in interface NotificationContractpublic String getContentMessage()
getContentMessage in interface NotificationContractpublic Long getId()
getId in interface KenIdentifiablepublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic String getDocTypeName()
NotificationContract
If null, the system will use the default KualiNotification document type when routing the notification
getDocTypeName in interface NotificationContractpublic void setPriority(NotificationPriority.Builder priority)
public void setContent(String content)
public void setChannel(NotificationChannel.Builder channel)
public void setContentType(NotificationContentType.Builder contentType)
public void setCreationDateTime(org.joda.time.DateTime creationDateTime)
public void setRecipients(List<NotificationRecipient.Builder> recipients)
public void setSenders(List<NotificationSender.Builder> senders)
public void setAutoRemoveDateTime(org.joda.time.DateTime autoRemoveDateTime)
public void setDeliveryType(String deliveryType)
public void setProducer(NotificationProducer.Builder producer)
public void setSendDateTime(org.joda.time.DateTime sendDateTime)
public void setProcessingFlag(String processingFlag)
public void setLockedDate(org.joda.time.DateTime lockedDate)
public void setContentMessage(String contentMessage)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setDocTypeName(String docTypeName)
If null, the system will use the default KualiNotification document type when routing the notification.
If the document type does not match any document type name in the system, the system behavior is undefined.
docTypeName - document type name of this notificationCopyright © 2005–2016 The Kuali Foundation. All rights reserved.