|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AuditableEvent instances provide a long term record of events that effect a change of state in a RegistryObject. Such events are usually a result of a client initiated request. AuditableEvent instances are generated by the registry service to log such events.
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
Field Summary | |
static int |
EVENT_TYPE_CREATED
An event where a RegistryObject is created. |
static int |
EVENT_TYPE_DELETED
An event where a RegistryObject is deleted. |
static int |
EVENT_TYPE_DEPRECATED
An event where a RegistryObject is deprecated. |
static int |
EVENT_TYPE_UNDEPRECATED
An event where a RegistryObject is undeprecated. |
static int |
EVENT_TYPE_UPDATED
An event where a RegistryObject is updated. |
static int |
EVENT_TYPE_VERSIONED
An event where a RegistryObject is versioned. |
Method Summary | |
int |
getEventType()
Gets the type of this event. |
RegistryObject |
getRegistryObject()
Gets the RegistryObject associated with this AuditableEvent. |
Timestamp |
getTimestamp()
Gets the Timestamp for when this event occurred. |
User |
getUser()
Gets the User associated with this object. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Field Detail |
public static final int EVENT_TYPE_CREATED
public static final int EVENT_TYPE_DELETED
public static final int EVENT_TYPE_DEPRECATED
public static final int EVENT_TYPE_UPDATED
public static final int EVENT_TYPE_VERSIONED
public static final int EVENT_TYPE_UNDEPRECATED
Method Detail |
public User getUser() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic Timestamp getTimestamp() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic int getEventType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorEVENT_TYPE_CREATED
public RegistryObject getRegistryObject() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.