Package ubic.gemma.core.analysis.report
Class WhatsNew
java.lang.Object
ubic.gemma.core.analysis.report.WhatsNew
A value object to hold onto the 'new' objects.
- Author:
- pavlidis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewObjects(Collection<? extends Auditable> objs) adds a collection of auditables to the new object listvoidaddNewObjects(Auditable newObject) adds a single auditable to the new object listvoidaddUpdatedObjects(Collection<? extends Auditable> objs) adds a collection of auditables to the updated object listvoidaddUpdatedObjects(Auditable updatedObject) adds a single auditable to the updated object listgetDate()longvoidvoidsetEeCountPerTaxon(Map<Taxon, Long> eeCountPerTaxon) voidsetNewBioMaterialCount(long count) voidsetNewEEIdsPerTaxon(Map<Taxon, Collection<Long>> eeCountPerTaxon) voidsetNewObjects(Collection<Auditable> newObjects) voidvoidsetUpdatedObjects(Collection<Auditable> updatedObjects)
-
Constructor Details
-
WhatsNew
-
WhatsNew
public WhatsNew()
-
-
Method Details
-
getUpdatedArrayDesigns
-
getNewArrayDesigns
- Returns:
- collection of ArrayDesigns that are new since this.Date
-
getUpdatedExpressionExperiments
- Returns:
- experiments updated, in time span as set when the report was generated
-
getNewExpressionExperiments
- Returns:
- new experiments, in time span as set when the report was generated
-
getNewObjects
- Returns:
- all the new objects regardless of class.
-
setNewObjects
-
addNewObjects
adds a single auditable to the new object list- Parameters:
newObject- the object to add
-
addNewObjects
adds a collection of auditables to the new object list- Parameters:
objs- the objects to add
-
addUpdatedObjects
adds a single auditable to the updated object list- Parameters:
updatedObject- the object that has been updated
-
addUpdatedObjects
adds a collection of auditables to the updated object list- Parameters:
objs- the objects that have been updated
-
getUpdatedObjects
- Returns:
- all the updated objects, regardless of class.
-
setUpdatedObjects
-
getEeCountPerTaxon
- Returns:
- get a map for the total number expression experiments per taxon
-
setEeCountPerTaxon
-
getNewEEIdsPerTaxon
- Returns:
- get a map for the number of new expression experiments per taxon
-
setNewEEIdsPerTaxon
-
getUpdatedEEIdsPerTaxon
- Returns:
- get a map for the number of updated expression experiments per taxon
-
setUpdatedEEIdsPerTaxon
-
getNewBioMaterialCount
public long getNewBioMaterialCount()- Returns:
- get a count of the number of biomaterials in the new expression experiments
-
setNewBioMaterialCount
public void setNewBioMaterialCount(long count) -
getDate
-
setDate
-