Interface CuratableDao<C extends Curatable>
-
- All Known Subinterfaces:
ArrayDesignDao
,ExpressionExperimentDao
,GenericCuratableDao
- All Known Implementing Classes:
AbstractCuratableDao
,ArrayDesignDaoImpl
,ExpressionExperimentDaoImpl
,GenericCuratableDaoImpl
public interface CuratableDao<C extends Curatable>
Created by tesarst on 13/03/17. DAO wrapper for all curatable DAOs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
updateCurationDetailsFromAuditEvent(C curatable, AuditEvent auditEvent)
Update the curation details of a given curatable entity.
-
-
-
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
- curatableauditEvent
- the event containing information about the update. Method only accepts audit events whose type is one ofCurationDetailsEvent
extensions.- See Also:
updateCurationDetailsFromAuditEvent(Curatable, AuditEvent)
-
-