|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface AuditableEvent
- 所有父接口:
- ExtensibleObject, RegistryObject
public interface AuditableEvent
- extends RegistryObject
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.
- 作者:
- Farrukh S. Najmi
- 另请参见:
RegistryObject
字段摘要 | |
---|---|
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. |
方法摘要 | |
---|---|
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 |
字段详细信息 |
---|
EVENT_TYPE_CREATED
static final int EVENT_TYPE_CREATED
- An event where a RegistryObject is created.
- 另请参见:
- 常量字段
EVENT_TYPE_DELETED
static final int EVENT_TYPE_DELETED
- An event where a RegistryObject is deleted.
- 另请参见:
- 常量字段
EVENT_TYPE_DEPRECATED
static final int EVENT_TYPE_DEPRECATED
- An event where a RegistryObject is deprecated.
- 另请参见:
- 常量字段
EVENT_TYPE_UPDATED
static final int EVENT_TYPE_UPDATED
- An event where a RegistryObject is updated.
- 另请参见:
- 常量字段
EVENT_TYPE_VERSIONED
static final int EVENT_TYPE_VERSIONED
- An event where a RegistryObject is versioned.
- 另请参见:
- 常量字段
EVENT_TYPE_UNDEPRECATED
static final int EVENT_TYPE_UNDEPRECATED
- An event where a RegistryObject is undeprecated.
- 另请参见:
- 常量字段
方法详细信息 |
---|
getUser
User getUser() throws JAXRException
- Gets the User associated with this object.
- Capability Level: 1
- 返回:
- the User that sent the request that generated this this AuditableEvent. Must not be null
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getTimestamp
Timestamp getTimestamp() throws JAXRException
- Gets the Timestamp for when this event occurred.
- Capability Level: 1
- 返回:
- the timestamp that records the time the event occured
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getEventType
int getEventType() throws JAXRException
- Gets the type of this event.
- Capability Level: 1
- 返回:
- the type of this event
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
EVENT_TYPE_CREATED
getRegistryObject
RegistryObject getRegistryObject() throws JAXRException
- Gets the RegistryObject associated with this AuditableEvent.
- Capability Level: 1
- 返回:
- the RegistryObject that was the focus of this event
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.