|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.iam.notification.vo.NotificationEvent
public class NotificationEvent
This object represents a notification event
Constructor Summary | |
---|---|
NotificationEvent() |
|
NotificationEvent(java.lang.String eventId, java.lang.String[] userIds, java.lang.String[] userKeys, java.lang.String contextId, java.lang.String templateName, java.lang.String description, java.lang.String sender, java.util.HashMap params, java.util.Date createdOn, java.util.Date validTill) Constructor to construct a notification event |
|
NotificationEvent(java.lang.String eventId, java.lang.String[] userIds, java.lang.String contextId, java.lang.String templateName, java.lang.String description, java.lang.String sender, java.util.HashMap params, java.util.Date createdOn, java.util.Date validTill) Constructor to construct a notification event |
Method Summary | |
---|---|
java.util.Date |
getCreatedOn() Provides the date on which event occurs |
java.lang.String |
getDescription() Provides Description for the event |
java.lang.String |
getEventId() Provides ID of the event |
java.util.HashMap |
getParams() Provides Map containing attribute-value pair for the parameters corresponding to the event |
java.lang.String |
getSender() Provides username of the user sending the notification for the event |
java.lang.String |
getTemplateName() Provides template name associated with the event |
java.lang.String[] |
getUserIds() Provides the Array of the recepient's username to whom notification is to be sent |
java.lang.String[] |
getUserKeys() Provides the Array of the recepient's user Keys to whom notification is to be sent. |
java.util.Date |
getValidTill() Provides the date till which the event is valid |
void |
setCreatedOn(java.util.Date createdOn) Sets date on which the event occurs |
void |
setDescription(java.lang.String description) Adds description for the event |
void |
setEventId(java.lang.String eventId) Sets ID for the event |
void |
setParams(java.util.HashMap params) Sets value to the parameters corresponding to the event as per Map of attribute-value pair passed |
void |
setSender(java.lang.String sender) Sets username of the user sending the notification for the event |
void |
setTemplateName(java.lang.String templateName) Adds name of the template to be associated with the event |
void |
setUserIds(java.lang.String[] userIds) Adds recepient's username of the notification for the event |
void |
setUserKeys(java.lang.String[] userKeys) Adds recepient's user keys of the notification for the event. |
void |
setValidTill(java.util.Date validTill) Sets date till which the event is valid |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationEvent(java.lang.String eventId, java.lang.String[] userIds, java.lang.String contextId, java.lang.String templateName, java.lang.String description, java.lang.String sender, java.util.HashMap params, java.util.Date createdOn, java.util.Date validTill)
eventId
- ID of the eventuserIds
- Array
of the receipient's usernamecontextId
-templateName
- Template name associated with the eventdescription
- Description for the eventsender
- Username of the user sending the notification for the eventparams
- Map
containing attribute-value pair for the parameters corresponding to the eventcreatedOn
- Date on which event occursvalidTill
- Date till which the event is validpublic NotificationEvent(java.lang.String eventId, java.lang.String[] userIds, java.lang.String[] userKeys, java.lang.String contextId, java.lang.String templateName, java.lang.String description, java.lang.String sender, java.util.HashMap params, java.util.Date createdOn, java.util.Date validTill)
eventId
- ID of the eventuserIds
- Array
of the receipient's usernameuserKeys
- Array
of the receipient's user keys. These values will get preference over User IDs.contextId
-templateName
- Template name associated with the eventdescription
- Description for the eventsender
- Username of the user sending the notification for the eventparams
- Map
containing attribute-value pair for the parameters corresponding to the eventcreatedOn
- Date on which event occursvalidTill
- Date till which the event is validpublic NotificationEvent()
Method Detail |
---|
public java.lang.String getDescription()
public java.lang.String[] getUserIds()
Array
of the recepient's username to whom notification is to be sentArray
of the receipient's usernamepublic java.lang.String[] getUserKeys()
Array
of the recepient's user Keys to whom notification is to be sent. These values will get preference over User IDs.Array
of the receipient's user Keyspublic java.util.Date getCreatedOn()
public java.lang.String getTemplateName()
public java.util.Date getValidTill()
public java.lang.String getEventId()
public java.util.HashMap getParams()
Map
containing attribute-value pair for the parameters corresponding to the eventMap
containing attribute-value pairpublic void setParams(java.util.HashMap params)
Map
of attribute-value pair passedparams
- Map
of attribute-value pairpublic void setUserIds(java.lang.String[] userIds)
userIds
- Array
of the recepient's usernamepublic void setUserKeys(java.lang.String[] userKeys)
userIds
- Array
of the recepient's user keyspublic void setCreatedOn(java.util.Date createdOn)
createdOn
- Date object to be setpublic void setValidTill(java.util.Date validTill)
validTill
- Date object till which the event is validpublic void setTemplateName(java.lang.String templateName)
templateName
- template name to be associatedpublic void setDescription(java.lang.String description)
description
- description to be addedpublic void setEventId(java.lang.String eventId)
eventId
- value of ID to be setpublic java.lang.String getSender()
public void setSender(java.lang.String sender)
sender
- Sender's username
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |