Class WhatsNew


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

      • WhatsNew

        public WhatsNew​(Date date)
      • WhatsNew

        public WhatsNew()
    • Method Detail

      • 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.
      • 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.
      • 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
      • getUpdatedEEIdsPerTaxon

        public Map<Taxon,​Collection<Long>> getUpdatedEEIdsPerTaxon()
        Returns:
        get a map for the number of updated expression experiments per taxon
      • 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)