|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.ken.bo.NotificationBo
@Entity public class NotificationBo
This class represents an instace of a notification message that is received by the overall system.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
NotificationBo()
Constructs a Notification instance. |
Method Summary | |
---|---|
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 |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public NotificationBo()
Method Detail |
---|
public Timestamp getCreationDateTimeValue()
public org.joda.time.DateTime getCreationDateTime()
NotificationContract
This is a namespace code assigned to a Group. Together with name, it makes up another unique identifier for Group
getCreationDateTime
in interface NotificationContract
public 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 NotificationContract
public void setRecipients(List<NotificationRecipientBo> recipients)
recipients
- The recipients to set.public NotificationRecipientBo getRecipient(int index)
index
- the index in the recipients collection
public void addRecipient(NotificationRecipientBo recipient)
recipient
- The recipient to addpublic List<NotificationSenderBo> getSenders()
getSenders
in interface NotificationContract
public void setSenders(List<NotificationSenderBo> senders)
senders
- The senders to set.public NotificationSenderBo getSender(int index)
index
- the index in the senders collection
public void addSender(NotificationSenderBo sender)
sender
- The sender to addpublic Timestamp getAutoRemoveDateTimeValue()
public org.joda.time.DateTime getAutoRemoveDateTime()
getAutoRemoveDateTime
in interface NotificationContract
public void setAutoRemoveDateTimeValue(Timestamp autoRemoveDateTimeValue)
autoRemoveDateTimeValue
- The autoRemoveDateTime to set.public NotificationChannelBo getChannel()
getChannel
in interface NotificationContract
public void setChannel(NotificationChannelBo channel)
channel
- The channel to set.public String getContent()
getContent
in interface NotificationContract
public void setContent(String content)
content
- The content to set.public NotificationContentTypeBo getContentType()
getContentType
in interface NotificationContract
public void setContentType(NotificationContentTypeBo contentType)
contentType
- The contentType to set.public String getDeliveryType()
getDeliveryType
in interface NotificationContract
public void setDeliveryType(String deliveryType)
deliveryType
- The deliveryType to set.public Long getId()
getId
in interface KenIdentifiable
public void setId(Long id)
id
- The id to set.public NotificationPriorityBo getPriority()
getPriority
in interface NotificationContract
public void setPriority(NotificationPriorityBo priority)
priority
- The priority to set.public NotificationProducerBo getProducer()
getProducer
in interface NotificationContract
public void setProducer(NotificationProducerBo producer)
producer
- The producer to set.public Timestamp getSendDateTimeValue()
public org.joda.time.DateTime getSendDateTime()
getSendDateTime
in interface NotificationContract
public void setSendDateTimeValue(Timestamp sendDateTimeValue)
sendDateTimeValue
- The sendDateTime to set.public String getProcessingFlag()
getProcessingFlag
in interface NotificationContract
public void setProcessingFlag(String processingFlag)
processingFlag
- The processingFlag to set.public Timestamp getLockedDateValue()
getLockedDateValue
in interface Lockable
public org.joda.time.DateTime getLockedDate()
getLockedDate
in interface NotificationContract
public void setLockedDateValue(Timestamp lockedDateValue)
setLockedDateValue
in interface Lockable
lockedDateValue
- The lockedDate to set.public String getTitle()
getTitle
in interface NotificationContract
public void setTitle(String title)
title
- the title of this notificationpublic String getContentMessage()
getContentMessage
in interface NotificationContract
public static Notification to(NotificationBo bo)
bo
- the mutable business object
public static NotificationBo from(Notification im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |