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
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 a
DesignElementDataVector
is tied to the ArrayDesign
. However, DesignElementDataVector
have associations with BioSequence
, 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
ArrayDesignPersister
public ArrayDesignPersister()
-
-
Method Details
-
doPersist
- Overrides:
doPersist
in classGenomePersister
-