Often such events effect a change in the life cycle of a RegistryObject. For example a client request could Create, Update, Deprecate or Delete a RegistryObject. No AuditableEvent is created for requests that do not alter the state of a RegistryObject. Specifically, read-only requests do not generate an AuditableEvent. No AuditableEvent is generated for a RegistryObject when it is classified, assigned to a Package or associated with another Object.
A RegistryObject is associated with an ordered Collection of AuditableEvent instances that provide a complete audit trail for that Object.
RegistryObject
| Modifier and Type | Field and Description |
|---|---|
| public static final int | EVENT_TYPE_CREATED
An event where a RegistryObject is created. |
| public static final int | EVENT_TYPE_DELETED
An event where a RegistryObject is deleted. |
| public static final int | EVENT_TYPE_DEPRECATED
An event where a RegistryObject is deprecated. |
| public static final int | EVENT_TYPE_UNDEPRECATED
An event where a RegistryObject is undeprecated. |
| public static final int | EVENT_TYPE_UPDATED
An event where a RegistryObject is updated. |
| public static final int | EVENT_TYPE_VERSIONED
An event where a RegistryObject is versioned. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public RegistryObject | Returns: the RegistryObject that was the focus of this eventGets the RegistryObject associated with this AuditableEvent. |
| public Timestamp | Returns: the timestamp that records the time the event occuredGets the Timestamp for when this event occurred. |
| public User | Returns: the User that sent the request that generated this this AuditableEvent. Must not be nullGets the User associated with this object. |
| EVENT_TYPE_CREATED | back to summary |
|---|---|
| public static final int EVENT_TYPE_CREATED An event where a RegistryObject is created. | |
| EVENT_TYPE_DELETED | back to summary |
|---|---|
| public static final int EVENT_TYPE_DELETED An event where a RegistryObject is deleted. | |
| EVENT_TYPE_DEPRECATED | back to summary |
|---|---|
| public static final int EVENT_TYPE_DEPRECATED An event where a RegistryObject is deprecated. | |
| EVENT_TYPE_UNDEPRECATED | back to summary |
|---|---|
| public static final int EVENT_TYPE_UNDEPRECATED An event where a RegistryObject is undeprecated. | |
| EVENT_TYPE_UPDATED | back to summary |
|---|---|
| public static final int EVENT_TYPE_UPDATED An event where a RegistryObject is updated. | |
| EVENT_TYPE_VERSIONED | back to summary |
|---|---|
| public static final int EVENT_TYPE_VERSIONED An event where a RegistryObject is versioned. | |
| getEventType | back to summary |
|---|---|
| public int getEventType() throws JAXRException Gets the type of this event.
| |
| getRegistryObject | back to summary |
|---|---|
| public RegistryObject getRegistryObject() throws JAXRException Gets the RegistryObject associated with this AuditableEvent.
| |
| getTimestamp | back to summary |
|---|---|
| public Timestamp getTimestamp() throws JAXRException Gets the Timestamp for when this event occurred.
| |
| getUser | back to summary |
|---|---|
| public User getUser() throws JAXRException Gets the User associated with this object.
| |