Class CmsResourceTypeStatResultList

java.lang.Object
org.opencms.ui.apps.dbmanager.CmsResourceTypeStatResultList

Class for the database-statistic result list.

  • Constructor Details

  • Method Details

    • init

      Method to initialize the list.
      Parameters:
      resList - a given instance or null
      Returns:
      an instance
    • addResult

      public void addResult(CmsResourceTypeStatResult result)
      Adds a result to the list.

      Parameters:
      result - to be added
    • deleteOld

      public void deleteOld()
      Deletes entries which are older than MAX_TIME.

    • isEmpty

      public boolean isEmpty()
      Checks if result list is empty.

      Returns:
      true if result list is empty
    • setVerticalLayout

      public void setVerticalLayout(com.vaadin.v7.ui.VerticalLayout layout, boolean addAll)
      Sets the layout.

      Parameters:
      layout - to display the result in
      addAll - indicates if the whole list should be added or just the last item