|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.audit.AuditServiceFwd
Client accessible audit API.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
AuditServiceFwd()
|
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. |
private static Manager |
getManager()
|
boolean |
isAuditEnabled()
Determines if auditing is enabled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public AuditServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public void createAuditEvent(AuditEventType event_type, WTPrincipalReference user_ref, ObjectReference audit_ref) throws WTException
createAuditEvent
in interface AuditService
event_type
- user_ref
- audit_ref
-
WTException
public void deleteAuditEvents(AuditPeriod period, ObjectReference audit_ref, AuditEventType event_type) throws WTException
deleteAuditEvents
in interface AuditService
period
- audit_ref
- event_type
-
WTException
public QueryResult getAuditEvents(AuditPeriod period, ObjectReference audit_ref, AuditEventType event_type, WTPrincipalReference user_ref) throws WTException
getAuditEvents
in interface AuditService
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
getAuditReport
in interface AuditService
period
- audit_objs
- event_type
- only_latest
-
WTException
public Timestamp getLastEventTime(AuditEventType event_type, WTPrincipalReference user_ref, ObjectReference audit_ref) throws WTException
getLastEventTime
in interface AuditService
event_type
- user_ref
- audit_ref
-
WTException
public boolean isAuditEnabled() throws WTException
ProjectAuditEvent
);
otherwise returns 'false'. Auditing is enabled if and only if
isAuditEnabled
in interface AuditService
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |