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 TypeMethodDescriptionvoidcomputeSampleCorrelation(ubic.gemma.model.expression.experiment.ExpressionExperiment ee) Runs the sample-correlation compute step for an experiment.voidrecordMadePrivate(ubic.gemma.model.expression.experiment.ExpressionExperiment ee, String note) Records aMakePrivateEventon the experiment.voidrecordMadePublic(ubic.gemma.model.expression.experiment.ExpressionExperiment ee, String note) Records aMakePublicEventon the experiment.
-
Constructor Details
-
CliExpressionExperimentAuditServiceImpl
public CliExpressionExperimentAuditServiceImpl()
-
-
Method Details
-
recordMadePrivate
@Audited(value=ubic.gemma.model.common.auditAndSecurity.eventType.MakePrivateEvent.class, messageSpel="#note") public void recordMadePrivate(ubic.gemma.model.expression.experiment.ExpressionExperiment ee, String note) Description copied from interface:CliExpressionExperimentAuditServiceRecords aMakePrivateEventon the experiment. Used byMakeExperimentPrivateCli.- Specified by:
recordMadePrivatein interfaceCliExpressionExperimentAuditService
-
recordMadePublic
@Audited(value=ubic.gemma.model.common.auditAndSecurity.eventType.MakePublicEvent.class, messageSpel="#note") public void recordMadePublic(ubic.gemma.model.expression.experiment.ExpressionExperiment ee, String note) Description copied from interface:CliExpressionExperimentAuditServiceRecords aMakePublicEventon the experiment. Used byMakeExperimentsPublicCli.- Specified by:
recordMadePublicin interfaceCliExpressionExperimentAuditService
-
computeSampleCorrelation
@AuditedOnError(value=ubic.gemma.model.common.auditAndSecurity.eventType.FailedSampleCorrelationAnalysisEvent.class,exception=ubic.gemma.core.analysis.preprocess.filter.FilteringException.class) @AuditedOnError(ubic.gemma.model.common.auditAndSecurity.eventType.FailedSampleCorrelationAnalysisEvent.class) public void computeSampleCorrelation(ubic.gemma.model.expression.experiment.ExpressionExperiment ee) throws ubic.gemma.core.analysis.preprocess.filter.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:
ubic.gemma.core.analysis.preprocess.filter.FilteringException
-