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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrecordSubSetsCreated(ExpressionExperiment ee, String note, SingleCellSubSetsCreatedPayload payload)
-
Constructor Details
-
SingleCellExpressionExperimentSubSetAuditServiceImpl
public SingleCellExpressionExperimentSubSetAuditServiceImpl()
-
-
Method Details
-
recordSubSetsCreated
@Transactional @Audited(value=SingleCellSubSetsCreatedEvent.class, messageSpel="#note") public void recordSubSetsCreated(ExpressionExperiment ee, String note, SingleCellSubSetsCreatedPayload payload) Description copied from interface:SingleCellExpressionExperimentSubSetAuditServiceEmit aSingleCellSubSetsCreatedEventforeecarrying the typedSingleCellSubSetsCreatedPayload. The note string is supplied by the caller vianoteand used verbatim through the aspect'smessageSpel.- Specified by:
recordSubSetsCreatedin interfaceSingleCellExpressionExperimentSubSetAuditService
-