public class EventNotification extends Object
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_INITIALIZED
Enumerated value indicating the initial status of an EventNotification.
|
Constructor and Description |
---|
EventNotification()
Constructs an empty EventNotification.
|
EventNotification(AuditEvent event,
LibraryObjectInterface notifyee)
Constructs an EventNotification in preparation for saving
into the repository.
|
EventNotification(AuditEvent event,
Long notifyeeId,
Long notifyeeClassId,
Date notifyDate,
int status)
Constructs an EventNotification in preparation for saving
into the repository.
|
Modifier and Type | Method and Description |
---|---|
AuditEvent |
getAuditEvent()
Gets the AuditEvent comprises the notification.
|
Date |
getNotificationDate()
Gets the date the notification was created.
|
Long |
getNotifyeeClassId()
Gets the Class ID of the entity that is being notified.
|
long |
getNotifyeeClassIdValue()
Gets the value of the ID of the entity that is being notified.
|
Long |
getNotifyeeId()
Gets the ID of the entity that is being notified.
|
long |
getNotifyeeIdValue()
Gets the value of the ID of the entity that is being notified.
|
int |
getStatus()
Gets the status of the notification.
|
public static final int STATUS_INITIALIZED
Has the numeric value of 1.
public EventNotification()
public EventNotification(AuditEvent event, LibraryObjectInterface notifyee) throws IfsException
event
- the event to notifynotifyee
- the entity to be notifiedIfsException
public EventNotification(AuditEvent event, Long notifyeeId, Long notifyeeClassId, Date notifyDate, int status) throws IfsException
event
- the event to notifynotifyeeId
- the ID of the entity to be notifiednotifyeeClassId
- the Class ID of the entity to be notifiednotifyDate
- the date of the notificationstatus
- the status of the notificationIfsException
public AuditEvent getAuditEvent()
Returns null for an EventNotification that is not fully specified.
public Long getNotifyeeId()
public long getNotifyeeIdValue()
public Long getNotifyeeClassId()
public long getNotifyeeClassIdValue()
public Date getNotificationDate()
public int getStatus()
Copyright © 2023. All rights reserved.