Package stroom.query.audit
Class BaseAuditWrapper<CHILD_CLASS extends BaseAuditWrapper<?>>
- java.lang.Object
-
- stroom.query.audit.BaseAuditWrapper<CHILD_CLASS>
-
- Direct Known Subclasses:
DocRefAuditWrapper,SimpleAuditWrapper
public abstract class BaseAuditWrapper<CHILD_CLASS extends BaseAuditWrapper<?>> extends java.lang.ObjectInstances of this are 'built' to manage audited function calls in a standard way. Some function calls require Doc Refs, and therefore authorisation for actions on those Doc Refs, others simply require to be called and audited with no doc ref checking
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBaseAuditWrapper.PopulateEventDetail
-
Constructor Summary
Constructors Constructor Description BaseAuditWrapper(ServiceUser user)
-
Method Summary
Modifier and Type Method Description protected abstract javax.ws.rs.core.Responseaudit(event.logging.EventLoggingService eventLoggingService)javax.ws.rs.core.ResponsecallAndAudit(event.logging.EventLoggingService eventLoggingService)protected abstract voidcheckArgs()protected BaseAuditWrapper.PopulateEventDetailpopulateEventDetail()protected abstract CHILD_CLASSself()protected ServiceUseruser()CHILD_CLASSwithPopulateAudit(BaseAuditWrapper.PopulateEventDetail populateEventDetail)
-
-
-
Constructor Detail
-
BaseAuditWrapper
public BaseAuditWrapper(ServiceUser user)
-
-
Method Detail
-
withPopulateAudit
public CHILD_CLASS withPopulateAudit(BaseAuditWrapper.PopulateEventDetail populateEventDetail)
-
callAndAudit
public javax.ws.rs.core.Response callAndAudit(event.logging.EventLoggingService eventLoggingService)
-
checkArgs
protected abstract void checkArgs()
-
audit
protected abstract javax.ws.rs.core.Response audit(event.logging.EventLoggingService eventLoggingService)
-
self
protected abstract CHILD_CLASS self()
-
user
protected ServiceUser user()
-
populateEventDetail
protected BaseAuditWrapper.PopulateEventDetail populateEventDetail()
-
-