Class CliArrayDesignAuditServiceImpl
java.lang.Object
ubic.gemma.cli.audit.CliArrayDesignAuditServiceImpl
- All Implemented Interfaces:
CliArrayDesignAuditService
@Service
public class CliArrayDesignAuditServiceImpl
extends Object
implements CliArrayDesignAuditService
Default
CliArrayDesignAuditService implementation. Each method body
is intentionally empty: the work is done by AuditedAspect, which
picks up the @Audited annotation, locates the ArrayDesign
argument, and writes the audit row through AuditTrailService.
Resolving the audit note through messageSpel keeps the note
verbatim from the caller's argument.
Lives under ubic.gemma.cli.audit so it is picked up by the
stereotype scan declared in CliComponentScanConfig (the
ubic.gemma.apps scan is restricted to CLI
assignable types and would not include this co-bean).
The legacy private void audit(...) helpers in the CLI tools
paired audit-event emission with an
arrayDesignReportService.generateArrayDesignReport(...) call. The
report refresh is preserved at the CALL site -- it has no relation to the
audit event and stays in the CLI's own code path.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrecordAlignmentBasedGeneMapping(ArrayDesign arrayDesign, String note) Records anAlignmentBasedGeneMappingEventon the platform.voidrecordAnnotationBasedGeneMapping(ArrayDesign arrayDesign, String note) Records anAnnotationBasedGeneMappingEventon the platform.voidrecordProbeRenaming(ArrayDesign arrayDesign, String note) Records anArrayDesignProbeRenamingEventon the platform.voidrecordRepeatAnalysis(ArrayDesign arrayDesign, String note) Records anArrayDesignRepeatAnalysisEventon the platform.voidrecordSequenceAnalysis(ArrayDesign arrayDesign, String note) Records anArrayDesignSequenceAnalysisEventon the platform.voidrecordSequenceRemove(ArrayDesign arrayDesign, String note) Records anArrayDesignSequenceRemoveEventon the platform.voidrecordSequenceUpdate(ArrayDesign arrayDesign, String note) Records anArrayDesignSequenceUpdateEventon the platform.voidrecordSubsumeCheck(ArrayDesign arrayDesign, String note) Records anArrayDesignSubsumeCheckEventon the platform.
-
Constructor Details
-
CliArrayDesignAuditServiceImpl
public CliArrayDesignAuditServiceImpl()
-
-
Method Details
-
recordSequenceAnalysis
@Audited(value=ArrayDesignSequenceAnalysisEvent.class, messageSpel="#note") public void recordSequenceAnalysis(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anArrayDesignSequenceAnalysisEventon the platform. Used byArrayDesignBlatCliafter a successful BLAT alignment pass (or after re-using results from a PSL file).- Specified by:
recordSequenceAnalysisin interfaceCliArrayDesignAuditService
-
recordSequenceUpdate
@Audited(value=ArrayDesignSequenceUpdateEvent.class, messageSpel="#note") public void recordSequenceUpdate(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anArrayDesignSequenceUpdateEventon the platform. Used byArrayDesignSequenceAssociationCliafter attaching or looking up biological sequences for the platform's composite sequences.- Specified by:
recordSequenceUpdatein interfaceCliArrayDesignAuditService
-
recordSequenceRemove
@Audited(value=ArrayDesignSequenceRemoveEvent.class, messageSpel="#note") public void recordSequenceRemove(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anArrayDesignSequenceRemoveEventon the platform. Used byArrayDesignBioSequenceDetachCliafter detaching the sequences associated with the platform.- Specified by:
recordSequenceRemovein interfaceCliArrayDesignAuditService
-
recordProbeRenaming
@Audited(value=ArrayDesignProbeRenamingEvent.class, messageSpel="#note") public void recordProbeRenaming(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anArrayDesignProbeRenamingEventon the platform. Called after applying a probe-renaming map.- Specified by:
recordProbeRenamingin interfaceCliArrayDesignAuditService
-
recordRepeatAnalysis
@Audited(value=ArrayDesignRepeatAnalysisEvent.class, messageSpel="#note") public void recordRepeatAnalysis(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anArrayDesignRepeatAnalysisEventon the platform. Used byArrayDesignRepeatScanCliafter running a repeat-masker scan over the platform's sequences.- Specified by:
recordRepeatAnalysisin interfaceCliArrayDesignAuditService
-
recordSubsumeCheck
@Audited(value=ArrayDesignSubsumeCheckEvent.class, messageSpel="#note") public void recordSubsumeCheck(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anArrayDesignSubsumeCheckEventon the platform. Used byArrayDesignSubsumptionTesterCliafter testing whether the platform subsumes (or is subsumed by) other platforms.- Specified by:
recordSubsumeCheckin interfaceCliArrayDesignAuditService
-
recordAnnotationBasedGeneMapping
@Audited(value=AnnotationBasedGeneMappingEvent.class, messageSpel="#note") public void recordAnnotationBasedGeneMapping(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anAnnotationBasedGeneMappingEventon the platform. Used byGenericGenelistDesignGeneratorafter rebuilding the platform from a list of NCBI gene IDs.- Specified by:
recordAnnotationBasedGeneMappingin interfaceCliArrayDesignAuditService
-
recordAlignmentBasedGeneMapping
@Audited(value=AlignmentBasedGeneMappingEvent.class, messageSpel="#note") public void recordAlignmentBasedGeneMapping(ArrayDesign arrayDesign, String note) Description copied from interface:CliArrayDesignAuditServiceRecords anAlignmentBasedGeneMappingEventon the platform. Used byArrayDesignProbeMapperClifor runs whose gene mapping came from BLAT alignment / probe sequence analysis (the default mode and the batch path).- Specified by:
recordAlignmentBasedGeneMappingin interfaceCliArrayDesignAuditService
-