@Entity public class NotificationBo extends PersistableBusinessObjectBase implements NotificationContract, Lockable
extension, versionNumber| Constructor and Description |
|---|
NotificationBo()
Constructs a Notification instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipient(NotificationRecipientBo recipient)
Adds a recipient
|
void |
addSender(NotificationSenderBo sender)
Adds a sender
|
static NotificationBo |
from(Notification im)
Converts a immutable object to its mutable counterpart
|
org.joda.time.DateTime |
getAutoRemoveDateTime() |
Timestamp |
getAutoRemoveDateTimeValue()
Gets the autoRemoveDateTime attribute.
|
NotificationChannelBo |
getChannel()
Gets the channel attribute.
|
String |
getContent()
Gets the content attribute.
|
String |
getContentMessage()
This method just uses StringUtils to get at the content of the
|
NotificationContentTypeBo |
getContentType()
Gets the contentType attribute.
|
org.joda.time.DateTime |
getCreationDateTime()
This is the namespace code for the Group.
|
Timestamp |
getCreationDateTimeValue()
Returns when this Notification entry was created
|
String |
getDeliveryType()
Gets the deliveryType attribute.
|
Long |
getId()
Gets the id attribute.
|
org.joda.time.DateTime |
getLockedDate() |
Timestamp |
getLockedDateValue()
Gets the lockedDate attribute.
|
Integer |
getLockVerNbr()
Return value of lock column for OJB optimistic locking
|
NotificationPriorityBo |
getPriority()
Gets the priority attribute.
|
String |
getProcessingFlag()
Gets the processingFlag attribute.
|
NotificationProducerBo |
getProducer()
Gets the producer attribute.
|
NotificationRecipientBo |
getRecipient(int index)
Retrieves a recipient at the specified index
|
List<NotificationRecipientBo> |
getRecipients()
Gets the recipients attribute.
|
org.joda.time.DateTime |
getSendDateTime() |
Timestamp |
getSendDateTimeValue()
Gets the sendDateTime attribute.
|
NotificationSenderBo |
getSender(int index)
Retrieves a sender at the specified index
|
List<NotificationSenderBo> |
getSenders()
Gets the senders attribute.
|
String |
getTitle()
Gets the title
|
void |
setAutoRemoveDateTimeValue(Timestamp autoRemoveDateTimeValue)
Sets the autoRemoveDateTime attribute value.
|
void |
setChannel(NotificationChannelBo channel)
Sets the channel attribute value.
|
void |
setContent(String content)
Sets the content attribute value.
|
void |
setContentType(NotificationContentTypeBo contentType)
Sets the contentType attribute value.
|
void |
setCreationDateTimeValue(Timestamp created)
Sets the creation date of this Notification entry
|
void |
setDeliveryType(String deliveryType)
Sets the deliveryType attribute value.
|
void |
setId(Long id)
Sets the id attribute value.
|
void |
setLockedDateValue(Timestamp lockedDateValue)
Sets the lockedDate attribute value.
|
void |
setLockVerNbr(Integer lockVerNbr)
Set value of lock column for OJB optimistic locking
|
void |
setPriority(NotificationPriorityBo priority)
Sets the priority attribute value.
|
void |
setProcessingFlag(String processingFlag)
Sets the processingFlag attribute value.
|
void |
setProducer(NotificationProducerBo producer)
Sets the producer attribute value.
|
void |
setRecipients(List<NotificationRecipientBo> recipients)
Sets the recipients attribute value.
|
void |
setSendDateTimeValue(Timestamp sendDateTimeValue)
Sets the sendDateTime attribute value.
|
void |
setSenders(List<NotificationSenderBo> senders)
Sets the senders attribute value.
|
void |
setTitle(String title)
Sets the title
|
static Notification |
to(NotificationBo bo)
Converts a mutable bo to its immutable counterpart
|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumbertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersionNumbergetObjectIdtoStringpublic NotificationBo()
public Timestamp getCreationDateTimeValue()
public 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 void setCreationDateTimeValue(Timestamp created)
created - the creation date of this Notification entrypublic Integer getLockVerNbr()
public void setLockVerNbr(Integer lockVerNbr)
lockVerNbr - value of lock column for OJB optimistic lockingpublic List<NotificationRecipientBo> getRecipients()
getRecipients in interface NotificationContractpublic void setRecipients(List<NotificationRecipientBo> recipients)
recipients - The recipients to set.public NotificationRecipientBo getRecipient(int index)
index - the index in the recipients collectionpublic void addRecipient(NotificationRecipientBo recipient)
recipient - The recipient to addpublic List<NotificationSenderBo> getSenders()
getSenders in interface NotificationContractpublic void setSenders(List<NotificationSenderBo> senders)
senders - The senders to set.public NotificationSenderBo getSender(int index)
index - the index in the senders collectionpublic void addSender(NotificationSenderBo sender)
sender - The sender to addpublic Timestamp getAutoRemoveDateTimeValue()
public org.joda.time.DateTime getAutoRemoveDateTime()
getAutoRemoveDateTime in interface NotificationContractpublic void setAutoRemoveDateTimeValue(Timestamp autoRemoveDateTimeValue)
autoRemoveDateTimeValue - The autoRemoveDateTime to set.public NotificationChannelBo getChannel()
getChannel in interface NotificationContractpublic void setChannel(NotificationChannelBo channel)
channel - The channel to set.public String getContent()
getContent in interface NotificationContractpublic void setContent(String content)
content - The content to set.public NotificationContentTypeBo getContentType()
getContentType in interface NotificationContractpublic void setContentType(NotificationContentTypeBo contentType)
contentType - The contentType to set.public String getDeliveryType()
getDeliveryType in interface NotificationContractpublic void setDeliveryType(String deliveryType)
deliveryType - The deliveryType to set.public Long getId()
getId in interface KenIdentifiablepublic NotificationPriorityBo getPriority()
getPriority in interface NotificationContractpublic void setPriority(NotificationPriorityBo priority)
priority - The priority to set.public NotificationProducerBo getProducer()
getProducer in interface NotificationContractpublic void setProducer(NotificationProducerBo producer)
producer - The producer to set.public Timestamp getSendDateTimeValue()
public org.joda.time.DateTime getSendDateTime()
getSendDateTime in interface NotificationContractpublic void setSendDateTimeValue(Timestamp sendDateTimeValue)
sendDateTimeValue - The sendDateTime to set.public String getProcessingFlag()
getProcessingFlag in interface NotificationContractpublic void setProcessingFlag(String processingFlag)
processingFlag - The processingFlag to set.public Timestamp getLockedDateValue()
getLockedDateValue in interface Lockablepublic org.joda.time.DateTime getLockedDate()
getLockedDate in interface NotificationContractpublic void setLockedDateValue(Timestamp lockedDateValue)
setLockedDateValue in interface LockablelockedDateValue - The lockedDate to set.public String getTitle()
getTitle in interface NotificationContractpublic void setTitle(String title)
title - the title of this notificationpublic String getContentMessage()
getContentMessage in interface NotificationContractpublic static Notification to(NotificationBo bo)
bo - the mutable business objectpublic static NotificationBo from(Notification im)
im - immutable objectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.