Class CurationDetailsDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<CurationDetails>
-
- ubic.gemma.persistence.service.common.auditAndSecurity.CurationDetailsDaoImpl
-
- All Implemented Interfaces:
BaseDao<CurationDetails>
,CurationDetailsDao
@Repository public class CurationDetailsDaoImpl extends AbstractDao<CurationDetails> implements CurationDetailsDao
Data access object for Curation Details- Author:
- tesarst
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description CurationDetailsDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurationDetails
create()
Creates new CurationDetails object and persists it.void
update(Curatable curatable, AuditEvent auditEvent)
Updates the given curatable object based on the provided event type.-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, find, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, flush, flushAndClear, getSessionFactory, load, load, loadAll, reattach, reattach, remove, remove, remove, removeAll, save, save, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, load, loadAll, remove, remove, remove, removeAll, save, save, update, update
-
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.CurationDetailsDao
load
-
-
-
-
Constructor Detail
-
CurationDetailsDaoImpl
@Autowired public CurationDetailsDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
create
public CurationDetails create()
Creates new CurationDetails object and persists it.- Specified by:
create
in interfaceCurationDetailsDao
- Returns:
- the newly created CurationDetails object.
-
update
public void update(Curatable curatable, AuditEvent auditEvent)
Updates the given curatable object based on the provided event type.- Specified by:
update
in interfaceCurationDetailsDao
- Parameters:
curatable
- the curatable object that should be updated with the given event.auditEvent
- the event containing information about the necessary update.
-
-