Class GenericCuratableDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.common.auditAndSecurity.curation.GenericCuratableDaoImpl
-
- All Implemented Interfaces:
CuratableDao<Curatable>
,GenericCuratableDao
@Repository public class GenericCuratableDaoImpl extends Object implements GenericCuratableDao
-
-
Constructor Summary
Constructors Constructor Description GenericCuratableDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateCurationDetailsFromAuditEvent(Curatable auditable, AuditEvent auditEvent)
Update the curation details of a given curatable entity.
-
-
-
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 interfaceCuratableDao<Curatable>
- Parameters:
auditable
- curatableauditEvent
- the event containing information about the update. Method only accepts audit events whose type is one ofCurationDetailsEvent
extensions.- See Also:
CuratableDao.updateCurationDetailsFromAuditEvent(Curatable, AuditEvent)
-
-