Class GenericCuratableDaoImpl

    • Constructor Detail

      • GenericCuratableDaoImpl

        public GenericCuratableDaoImpl()
    • Method Detail

      • updateCurationDetailsFromAuditEvent

        public void updateCurationDetailsFromAuditEvent​(Curatable auditable,
                                                        AuditEvent auditEvent)
        Description copied from interface: CuratableDao
        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.

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