Interface CuratableDao<C extends Curatable>

    • Method Detail

      • updateCurationDetailsFromAuditEvent

        @IgnoreAudit
        void updateCurationDetailsFromAuditEvent​(C curatable,
                                                 AuditEvent auditEvent)
        Update the curation details of a given curatable entity.

        This method should only be called from AuditTrailService, as the passed event has to already exist in the audit trail of the curatable object.

        Only use this method directly if you do not want the event to show up in the curatable objects audit trail.

        This is marked as ignored for audit purposes since we don't want to audit the curation details update when it originated from an audit event.

        Parameters:
        curatable - curatable
        auditEvent - the event containing information about the update. Method only accepts audit events whose type is one of CurationDetailsEvent extensions.
        See Also:
        updateCurationDetailsFromAuditEvent(Curatable, AuditEvent)