Package ubic.gemma.persistence.persister
Class ArrayDesignPersister
- java.lang.Object
-
- ubic.gemma.persistence.persister.AbstractPersister
-
- ubic.gemma.persistence.persister.CommonPersister
-
- ubic.gemma.persistence.persister.GenomePersister
-
- ubic.gemma.persistence.persister.ArrayDesignPersister
-
- All Implemented Interfaces:
Persister
- Direct Known Subclasses:
ExpressionPersister
public abstract class ArrayDesignPersister extends GenomePersister
This class handles persisting array designs. This is a bit of a special case, because ArrayDesigns are very large (with associated reporters, CompositeSequences, and BioSequences), and also very likely to be submitted more than once to the system. Therefore, we want to take care not to get multiple slightly different copies of them, but we also don't want to have to spend an inordinate amount of time checking a submitted version against the database. The association between ArrayDesign and DesignElement is compositional - the lifecycle of aDesignElementDataVector
is tied to theArrayDesign
. However,DesignElementDataVector
have associations withBioSequence
, which have their own lifecycle, in general.- Author:
- pavlidis
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ubic.gemma.persistence.persister.AbstractPersister
AbstractPersister.Caches
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.persister.AbstractPersister
log, REPORT_BATCH_SIZE
-
-
Constructor Summary
Constructors Constructor Description ArrayDesignPersister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
doPersist(Object entity, AbstractPersister.Caches caches)
-
Methods inherited from class ubic.gemma.persistence.persister.GenomePersister
doPersistOrUpdate, persistBioSequence, persistGene, persistTaxon
-
Methods inherited from class ubic.gemma.persistence.persister.CommonPersister
fillInDatabaseEntry, persistAuditTrail, persistContact, persistExternalDatabase, persistProtocol, persistQuantitationType, persistUnit
-
Methods inherited from class ubic.gemma.persistence.persister.AbstractPersister
doPersist, getSessionFactory, persist, persist, persistOrUpdate
-
-
-
-
Method Detail
-
doPersist
protected Object doPersist(Object entity, AbstractPersister.Caches caches)
- Overrides:
doPersist
in classGenomePersister
-
-