Class CoexpressionNodeDegreeDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<GeneCoexpressionNodeDegree>
-
- ubic.gemma.persistence.service.association.coexpression.CoexpressionNodeDegreeDaoImpl
-
- All Implemented Interfaces:
CoexpressionNodeDegreeDao
,BaseDao<GeneCoexpressionNodeDegree>
@Repository public class CoexpressionNodeDegreeDaoImpl extends AbstractDao<GeneCoexpressionNodeDegree> implements CoexpressionNodeDegreeDao
- Author:
- paul
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description CoexpressionNodeDegreeDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneCoexpressionNodeDegree
create(GeneCoexpressionNodeDegree entity)
The coexpression node degree model has its ID assigned from its associatedGene
and thus cannot be persisted withSession.persist(Object)
.GeneCoexpressionNodeDegree
findOrCreate(Gene gene)
-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, find, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, load, load, loadAll, loadReference, loadReference, remove, remove, remove, 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, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
-
-
-
Constructor Detail
-
CoexpressionNodeDegreeDaoImpl
@Autowired public CoexpressionNodeDegreeDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
create
public GeneCoexpressionNodeDegree create(GeneCoexpressionNodeDegree entity)
The coexpression node degree model has its ID assigned from its associatedGene
and thus cannot be persisted withSession.persist(Object)
.- Specified by:
create
in interfaceBaseDao<GeneCoexpressionNodeDegree>
- Overrides:
create
in classAbstractDao<GeneCoexpressionNodeDegree>
- Parameters:
entity
- the entity to create- Returns:
- the persistent version of the entity
-
findOrCreate
public GeneCoexpressionNodeDegree findOrCreate(Gene gene)
- Specified by:
findOrCreate
in interfaceCoexpressionNodeDegreeDao
-
-