|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bitrepository.audittrails.AuditTrailService
public class AuditTrailService
Class to expose the functionality of the AuditTrailService. Aggregates the needed classes.
Constructor Summary | |
---|---|
AuditTrailService(AuditTrailStore store,
AuditTrailCollector collector,
ContributorMediator mediator,
Settings settings)
Constructor. |
Method Summary | |
---|---|
void |
collectAuditTrails()
Collects all the newest audit trails from the given collection. |
AuditEventIterator |
queryAuditTrailEventsByIterator(Date fromDate,
Date toDate,
String fileID,
String collectionID,
String reportingComponent,
String actor,
FileAction action,
String fingerprint,
String operationID)
Retrieve an iterator to all AuditTrailEvents matching the criteria from the parameters. |
void |
shutdown()
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditTrailService(AuditTrailStore store, AuditTrailCollector collector, ContributorMediator mediator, Settings settings)
store
- The store for the audit trail data.collector
- The collector of new audit trail data.mediator
- The mediator for the communication of this contributor.settings
- The AuditTrailService settings.Method Detail |
---|
public AuditEventIterator queryAuditTrailEventsByIterator(Date fromDate, Date toDate, String fileID, String collectionID, String reportingComponent, String actor, FileAction action, String fingerprint, String operationID)
fromDate
- Restrict the results to only provide events after this point in timetoDate
- Restrict the results to only provide events up till this point in timefileID
- Restrict the results to only be about this fileIDreportingComponent
- Restrict the results to only be reported by this componentactor
- Restrict the results to only be events caused by this actoraction
- Restrict the results to only be about this type of actionpublic void collectAuditTrails()
public void start()
start
in interface LifeCycledService
public void shutdown()
shutdown
in interface LifeCycledService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |