|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Client accessible audit API.
Supported API: false
Extendable: false
Method Summary | |
void |
createAuditEvent(AuditEventType event_type,
WTPrincipalReference user_ref,
ObjectReference audit_ref)
Records event in the database and updates the last event association if audit_ref is not null. |
void |
deleteAuditEvents(AuditPeriod period,
ObjectReference audit_ref,
AuditEventType event_type)
Deletes events. |
QueryResult |
getAuditEvents(AuditPeriod period,
ObjectReference audit_ref,
AuditEventType event_type,
WTPrincipalReference user_ref)
Returns all the audit events in a given period with the characteristics passed as arguments. |
AuditReport |
getAuditReport(AuditPeriod period,
Vector audit_objs,
AuditEventType event_type,
boolean only_latest)
Returns an audit report with information concerning an auditing period, a set of target objects and a specific event type. |
Timestamp |
getLastEventTime(AuditEventType event_type,
WTPrincipalReference user_ref,
ObjectReference audit_ref)
Returns the time of the last event of a certain type involving a given user and a target object. |
boolean |
isAuditEnabled()
Determines if auditing is enabled. |
Method Detail |
public void createAuditEvent(AuditEventType event_type, WTPrincipalReference user_ref, ObjectReference audit_ref) throws WTException
event_type
- user_ref
- audit_ref
-
WTException
public void deleteAuditEvents(AuditPeriod period, ObjectReference audit_ref, AuditEventType event_type) throws WTException
period
- audit_ref
- event_type
-
WTException
public QueryResult getAuditEvents(AuditPeriod period, ObjectReference audit_ref, AuditEventType event_type, WTPrincipalReference user_ref) throws WTException
period
- audit_ref
- event_type
- user_ref
-
WTException
public AuditReport getAuditReport(AuditPeriod period, Vector audit_objs, AuditEventType event_type, boolean only_latest) throws WTException
If only latest is 'true' only the latest event for the same user and target object is included in the report; otherwise all are included.
Each element of the vector of target objects may be a reference or
the object itself.
Supported API: false
period
- audit_objs
- event_type
- only_latest
-
WTException
public Timestamp getLastEventTime(AuditEventType event_type, WTPrincipalReference user_ref, ObjectReference audit_ref) throws WTException
event_type
- user_ref
- audit_ref
-
WTException
public boolean isAuditEnabled() throws WTException
ProjectAuditEvent
);
otherwise returns 'false'. Auditing is enabled if and only if
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |