Package com.axelor.auth
Class AuditableRunner
java.lang.Object
com.axelor.auth.AuditableRunner
Deprecated.
This class can be used to run batch jobs that requires to keep track of audit logs.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AuditableRunner
Deprecated.
-
-
Method Details
-
batchUser
Deprecated.Get the batch user.- Returns:
- current user
-
run
Deprecated.Run a batch job.- Parameters:
job
- the job to run
-
run
Deprecated.Run a batch job.- Type Parameters:
T
- type of the result- Parameters:
job
- the job to run- Returns:
- job result
- Throws:
Exception
- if unable to compute a result
-
ContextAwareRunnable
orContextAwareCallable
instead