Class WhatsNew

java.lang.Object
ubic.gemma.core.analysis.report.WhatsNew

public class WhatsNew extends Object
A value object to hold onto the 'new' objects.
Author:
pavlidis
  • Constructor Details

    • WhatsNew

      public WhatsNew(Date date)
    • WhatsNew

      public WhatsNew()
  • Method Details

    • getUpdatedArrayDesigns

      public Collection<ArrayDesign> getUpdatedArrayDesigns()
    • getNewArrayDesigns

      public Collection<ArrayDesign> getNewArrayDesigns()
      Returns:
      collection of ArrayDesigns that are new since this.Date
    • getUpdatedExpressionExperiments

      public Collection<ExpressionExperiment> getUpdatedExpressionExperiments()
      Returns:
      experiments updated, in time span as set when the report was generated
    • getNewExpressionExperiments

      public Collection<ExpressionExperiment> getNewExpressionExperiments()
      Returns:
      new experiments, in time span as set when the report was generated
    • getNewObjects

      public Collection<Auditable> getNewObjects()
      Returns:
      all the new objects regardless of class.
    • setNewObjects

      public void setNewObjects(Collection<Auditable> newObjects)
    • addNewObjects

      public void addNewObjects(Auditable newObject)
      adds a single auditable to the new object list
      Parameters:
      newObject - the object to add
    • addNewObjects

      public void addNewObjects(Collection<? extends Auditable> objs)
      adds a collection of auditables to the new object list
      Parameters:
      objs - the objects to add
    • addUpdatedObjects

      public void addUpdatedObjects(Auditable updatedObject)
      adds a single auditable to the updated object list
      Parameters:
      updatedObject - the object that has been updated
    • addUpdatedObjects

      public void addUpdatedObjects(Collection<? extends Auditable> objs)
      adds a collection of auditables to the updated object list
      Parameters:
      objs - the objects that have been updated
    • getUpdatedObjects

      public Collection<Auditable> getUpdatedObjects()
      Returns:
      all the updated objects, regardless of class.
    • setUpdatedObjects

      public void setUpdatedObjects(Collection<Auditable> updatedObjects)
    • getEeCountPerTaxon

      public Map<Taxon,Long> getEeCountPerTaxon()
      Returns:
      get a map for the total number expression experiments per taxon
    • setEeCountPerTaxon

      public void setEeCountPerTaxon(Map<Taxon,Long> eeCountPerTaxon)
    • getNewEEIdsPerTaxon

      public Map<Taxon,Collection<Long>> getNewEEIdsPerTaxon()
      Returns:
      get a map for the number of new expression experiments per taxon
    • setNewEEIdsPerTaxon

      public void setNewEEIdsPerTaxon(Map<Taxon,Collection<Long>> eeCountPerTaxon)
    • getUpdatedEEIdsPerTaxon

      public Map<Taxon,Collection<Long>> getUpdatedEEIdsPerTaxon()
      Returns:
      get a map for the number of updated expression experiments per taxon
    • setUpdatedEEIdsPerTaxon

      public void setUpdatedEEIdsPerTaxon(Map<Taxon,Collection<Long>> map)
    • 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

      public Date getDate()
    • setDate

      public void setDate(Date date)