public abstract class AbstractNotification extends Object implements Serializable
| Constructor and Description |
|---|
AbstractNotification() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canDelete()
Returns true if this notification can be deleted.
|
int |
findParam(String param)
Locate a parameter from name/value pairs in extra info.
|
org.carewebframework.vista.mbroker.FMDate |
getDeliveryDate()
Returns the delivery date of this notification.
|
abstract String |
getDfn()
Returns the DFN of the associated patient.
|
String |
getDisplayText()
Returns the display text for this notification.
|
String[] |
getExtraInfo()
Returns extra information associated with this notification.
|
List<String> |
getMessage()
Returns the message associated with this notification.
|
String |
getParam(String param)
Extract a parameter from name/value pairs in extra info.
|
String |
getPatientName()
Returns the name of the associated patient.
|
abstract Priority |
getPriority()
Returns the priority of this notification.
|
String |
getSenderName()
Returns the name of the sender of this notification.
|
String |
getSubject()
Returns the subject line of this notification.
|
boolean |
hasPatient()
Returns true if the notification has a patient association.
|
abstract boolean |
isActionable()
Returns true if this notification has an associated action.
|
protected void |
setDeliveryDate(org.carewebframework.vista.mbroker.FMDate deliveryDate)
Sets the delivery date of this notification.
|
protected abstract void |
setDfn(String dfn)
Sets the DFN of the associated patient.
|
protected void |
setExtraInfo(String[] extraInfo)
Sets extra information associated with this notification.
|
protected void |
setMessage(List<String> message)
Sets the message associated with this notification.
|
protected int |
setParam(String param,
Object value)
Sets the value for a parameter in extra info.
|
protected void |
setPatientName(String patientName)
Sets the name of the associated patient.
|
protected abstract void |
setPriority(Priority priority)
Sets the priority of this notification.
|
protected void |
setSenderName(String senderName)
Sets the name of the sender of this notification.
|
protected void |
setSubject(String subject)
Sets the subject line of this notification.
|
public abstract boolean isActionable()
public abstract boolean canDelete()
public abstract Priority getPriority()
protected abstract void setPriority(Priority priority)
priority - Notification priority.public abstract String getDfn()
protected abstract void setDfn(String dfn)
dfn - DFN of the associated patient (null if no patient association).public String getPatientName()
protected void setPatientName(String patientName)
patientName - Name of the associated patient (null if no patient association).public boolean hasPatient()
public String getSubject()
protected void setSubject(String subject)
subject - Subject line.public org.carewebframework.vista.mbroker.FMDate getDeliveryDate()
protected void setDeliveryDate(org.carewebframework.vista.mbroker.FMDate deliveryDate)
deliveryDate - Delivery date.public String getSenderName()
protected void setSenderName(String senderName)
senderName - Sender name.public String[] getExtraInfo()
protected void setExtraInfo(String[] extraInfo)
extraInfo - Extra information.public List<String> getMessage()
protected void setMessage(List<String> message)
message - The associated message. May be null.public int findParam(String param)
param - Parameter name.public String getParam(String param)
param - Parameter name.protected int setParam(String param, Object value)
param - Parameter name.value - Parameter value (null to remove).public String getDisplayText()
Copyright © 2014 Regenstrief Center for Biomedical Informatics. All rights reserved.