Class CliExpressionExperimentAuditServiceImpl
java.lang.Object
ubic.gemma.cli.audit.CliExpressionExperimentAuditServiceImpl
- All Implemented Interfaces:
CliExpressionExperimentAuditService
@Service
public class CliExpressionExperimentAuditServiceImpl
extends Object
implements CliExpressionExperimentAuditService
Default
CliExpressionExperimentAuditService implementation. The
recordMade* methods are pure annotation-driven audit emitters
(empty body); computeSampleCorrelation actually runs the work
because the audit emission shape is AuditedOnError, which only
fires when the wrapped invocation throws.
The two distinct @AuditedOnError declarations match the legacy
shape verbatim: FilteringException produced a typed audit row in
the CLI's first catch, every other Exception produced one in the
second. The aspect's most-specific-instanceof dispatch chooses the
filtering-exception variant when it applies; otherwise the default
Throwable declaration acts as the catch-all.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRuns the sample-correlation compute step for an experiment.voidrecordMadePrivate(ExpressionExperiment ee, String note) Records aMakePrivateEventon the experiment.voidrecordMadePublic(ExpressionExperiment ee, String note) Records aMakePublicEventon the experiment.
-
Constructor Details
-
CliExpressionExperimentAuditServiceImpl
public CliExpressionExperimentAuditServiceImpl()
-
-
Method Details
-
recordMadePrivate
@Audited(value=MakePrivateEvent.class, messageSpel="#note") public void recordMadePrivate(ExpressionExperiment ee, String note) Description copied from interface:CliExpressionExperimentAuditServiceRecords aMakePrivateEventon the experiment. Used byMakeExperimentPrivateCli.- Specified by:
recordMadePrivatein interfaceCliExpressionExperimentAuditService
-
recordMadePublic
@Audited(value=MakePublicEvent.class, messageSpel="#note") public void recordMadePublic(ExpressionExperiment ee, String note) Description copied from interface:CliExpressionExperimentAuditServiceRecords aMakePublicEventon the experiment. Used byMakeExperimentsPublicCli.- Specified by:
recordMadePublicin interfaceCliExpressionExperimentAuditService
-
computeSampleCorrelation
@AuditedOnError(value=FailedSampleCorrelationAnalysisEvent.class,exception=FilteringException.class) @AuditedOnError(FailedSampleCorrelationAnalysisEvent.class) public void computeSampleCorrelation(ExpressionExperiment ee) throws FilteringException Description copied from interface:CliExpressionExperimentAuditServiceRuns the sample-correlation compute step for an experiment. The annotation surface records aFailedSampleCorrelationAnalysisEventif the call throws (either aFilteringExceptionor any otherException). Used byExpressionDataCorrMatCli.- Specified by:
computeSampleCorrelationin interfaceCliExpressionExperimentAuditService- Throws:
FilteringException
-