Class RawAndProcessedExpressionDataVectorDaoImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractDao<T>
-
- ubic.gemma.persistence.service.expression.bioAssayData.AbstractDesignElementDataVectorDao<DesignElementDataVector>
-
- ubic.gemma.persistence.service.expression.bioAssayData.RawAndProcessedExpressionDataVectorDaoImpl
-
- All Implemented Interfaces:
BaseDao<DesignElementDataVector>
,DesignElementDataVectorDao<DesignElementDataVector>
,RawAndProcessedExpressionDataVectorDao
@Repository public class RawAndProcessedExpressionDataVectorDaoImpl extends AbstractDesignElementDataVectorDao<DesignElementDataVector> implements RawAndProcessedExpressionDataVectorDao
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractDao
elementClass, log
-
-
Constructor Summary
Constructors Constructor Description RawAndProcessedExpressionDataVectorDaoImpl(SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesignElementDataVector
find(DesignElementDataVector entity)
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).DesignElementDataVector
load(Long id)
Loads the entity with given id from the persistent storage.Collection<DesignElementDataVector>
load(Collection<Long> ids)
This implementation is temporary and attempts to best replicate the behaviour of loading entities by multiple IDs introduced in Hibernate 5.int
removeByCompositeSequence(CompositeSequence cs)
Remove all raw and processed vectors for a given probe.-
Methods inherited from class ubic.gemma.persistence.service.expression.bioAssayData.AbstractDesignElementDataVectorDao
find, find, find, findByExpressionExperiment, thaw, thaw
-
Methods inherited from class ubic.gemma.persistence.service.AbstractDao
countAll, create, create, findByProperty, findByPropertyIn, findOneByProperty, findOrCreate, getBatchSize, getElementClass, getIdentifierPropertyName, getSessionFactory, 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, create, findOrCreate, getElementClass, getIdentifierPropertyName, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
-
Methods inherited from interface ubic.gemma.persistence.service.expression.bioAssayData.DesignElementDataVectorDao
find, find, find, findByExpressionExperiment, thaw, thaw
-
-
-
-
Constructor Detail
-
RawAndProcessedExpressionDataVectorDaoImpl
@Autowired public RawAndProcessedExpressionDataVectorDaoImpl(SessionFactory sessionFactory)
-
-
Method Detail
-
load
public DesignElementDataVector load(Long id)
Description copied from interface:BaseDao
Loads the entity with given id from the persistent storage.- Specified by:
load
in interfaceBaseDao<DesignElementDataVector>
- Overrides:
load
in classAbstractDao<DesignElementDataVector>
- Parameters:
id
- the id of entity to load.- Returns:
- the entity with given ID, or null if such entity does not exist or if the passed ID was null
- See Also:
Session.get(Class, Serializable)
-
load
public Collection<DesignElementDataVector> load(Collection<Long> ids)
Description copied from class:AbstractDao
This implementation is temporary and attempts to best replicate the behaviour of loading entities by multiple IDs introduced in Hibernate 5. Read more about this.- Specified by:
load
in interfaceBaseDao<DesignElementDataVector>
- Overrides:
load
in classAbstractDao<DesignElementDataVector>
- Parameters:
ids
- the IDs of entities to be loaded. If some IDs are not found or null, they are skipped.- Returns:
- collection of entities with given ids.
-
find
public DesignElementDataVector find(DesignElementDataVector entity)
Description copied from interface:BaseDao
Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).- Specified by:
find
in interfaceBaseDao<DesignElementDataVector>
- Overrides:
find
in classAbstractDao<DesignElementDataVector>
- Parameters:
entity
- the entity to look for.- Returns:
- an entity that was found in the persistent storage, or null if no such entity was found.
-
removeByCompositeSequence
public int removeByCompositeSequence(CompositeSequence cs)
Description copied from interface:RawAndProcessedExpressionDataVectorDao
Remove all raw and processed vectors for a given probe.- Specified by:
removeByCompositeSequence
in interfaceRawAndProcessedExpressionDataVectorDao
- Returns:
- the number of removed raw and processed vectors
-
-