|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.ken.bo.Notification
@Entity public class Notification
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 | |
|---|---|
Notification()
Constructs a Notification instance. |
|
| Method Summary | |
|---|---|
void |
addRecipient(NotificationRecipient recipient)
Adds a recipient |
void |
addSender(NotificationSender sender)
Adds a sender |
Timestamp |
getAutoRemoveDateTime()
Gets the autoRemoveDateTime attribute. |
NotificationChannel |
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 |
NotificationContentType |
getContentType()
Gets the contentType attribute. |
Timestamp |
getCreationDateTime()
Returns when this Notification entry was created |
String |
getDeliveryType()
Gets the deliveryType attribute. |
Long |
getId()
Gets the id attribute. |
Timestamp |
getLockedDate()
Gets the lockedDate attribute. |
Integer |
getLockVerNbr()
Return value of lock column for OJB optimistic locking |
NotificationPriority |
getPriority()
Gets the priority attribute. |
String |
getProcessingFlag()
Gets the processingFlag attribute. |
NotificationProducer |
getProducer()
Gets the producer attribute. |
NotificationRecipient |
getRecipient(int index)
Retrieves a recipient at the specified index |
List<NotificationRecipient> |
getRecipients()
Gets the recipients attribute. |
Timestamp |
getSendDateTime()
Gets the sendDateTime attribute. |
NotificationSender |
getSender(int index)
Retrieves a sender at the specified index |
List<NotificationSender> |
getSenders()
Gets the senders attribute. |
String |
getTitle()
Gets the title |
void |
setAutoRemoveDateTime(Timestamp autoRemoveDateTime)
Sets the autoRemoveDateTime attribute value. |
void |
setChannel(NotificationChannel channel)
Sets the channel attribute value. |
void |
setContent(String content)
Sets the content attribute value. |
void |
setContentType(NotificationContentType contentType)
Sets the contentType attribute value. |
void |
setCreationDateTime(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 |
setLockedDate(Timestamp lockedDate)
Sets the lockedDate attribute value. |
void |
setLockVerNbr(Integer lockVerNbr)
Set value of lock column for OJB optimistic locking |
void |
setPriority(NotificationPriority priority)
Sets the priority attribute value. |
void |
setProcessingFlag(String processingFlag)
Sets the processingFlag attribute value. |
void |
setProducer(NotificationProducer producer)
Sets the producer attribute value. |
void |
setRecipients(List<NotificationRecipient> recipients)
Sets the recipients attribute value. |
void |
setSendDateTime(Timestamp sendDateTime)
Sets the sendDateTime attribute value. |
void |
setSenders(List<NotificationSender> senders)
Sets the senders attribute value. |
void |
setTitle(String title)
Sets the title |
| Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
|---|
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
| 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.ModelObjectBasic |
|---|
toString |
| Constructor Detail |
|---|
public Notification()
| Method Detail |
|---|
public Timestamp getCreationDateTime()
public void setCreationDateTime(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<NotificationRecipient> getRecipients()
public void setRecipients(List<NotificationRecipient> recipients)
recipients - The recipients to set.public NotificationRecipient getRecipient(int index)
index - the index in the recipients collection
public void addRecipient(NotificationRecipient recipient)
recipient - The recipient to addpublic List<NotificationSender> getSenders()
public void setSenders(List<NotificationSender> senders)
senders - The senders to set.public NotificationSender getSender(int index)
index - the index in the senders collection
public void addSender(NotificationSender sender)
sender - The sender to addpublic Timestamp getAutoRemoveDateTime()
public void setAutoRemoveDateTime(Timestamp autoRemoveDateTime)
autoRemoveDateTime - The autoRemoveDateTime to set.public NotificationChannel getChannel()
public void setChannel(NotificationChannel channel)
channel - The channel to set.public String getContent()
public void setContent(String content)
content - The content to set.public NotificationContentType getContentType()
public void setContentType(NotificationContentType contentType)
contentType - The contentType to set.public String getDeliveryType()
public void setDeliveryType(String deliveryType)
deliveryType - The deliveryType to set.public Long getId()
public void setId(Long id)
id - The id to set.public NotificationPriority getPriority()
public void setPriority(NotificationPriority priority)
priority - The priority to set.public NotificationProducer getProducer()
public void setProducer(NotificationProducer producer)
producer - The producer to set.public Timestamp getSendDateTime()
public void setSendDateTime(Timestamp sendDateTime)
sendDateTime - The sendDateTime to set.public String getProcessingFlag()
public void setProcessingFlag(String processingFlag)
processingFlag - The processingFlag to set.public Timestamp getLockedDate()
getLockedDate in interface Lockablepublic void setLockedDate(Timestamp lockedDate)
setLockedDate in interface LockablelockedDate - The lockedDate to set.public String getTitle()
public void setTitle(String title)
title - the title of this notificationpublic String getContentMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||