Class SingleCellExpressionExperimentSubSetAuditServiceImpl

java.lang.Object
ubic.gemma.core.analysis.singleCell.aggregate.SingleCellExpressionExperimentSubSetAuditServiceImpl
All Implemented Interfaces:
SingleCellExpressionExperimentSubSetAuditService

@Service public class SingleCellExpressionExperimentSubSetAuditServiceImpl extends Object implements SingleCellExpressionExperimentSubSetAuditService
Implementation of SingleCellExpressionExperimentSubSetAuditService. The Audited aspect intercepts the method on return, picks up the SingleCellSubSetsCreatedPayload argument, serialises it to JSON and writes it to AUDIT_EVENT.PAYLOAD via addUpdateEventWithPayload. The note parameter is exposed via messageSpel = "#note" so the caller controls the AUDIT_EVENT.NOTE column verbatim.

Phase C bucket 2f — see AUDIT_PHASE_C_RECCE.md §4d. Replaces the legacy imperative auditTrailService.addUpdateEvent(ee, SingleCellSubSetsCreatedEvent.class, note, detail) 4-arg call that lived at the bottom of SingleCellExpressionExperimentSubSetServiceImpl#createSubSets.