Package org.opencms.ui.apps.dbmanager
Class CmsResourceTypeStatResultList
java.lang.Object
org.opencms.ui.apps.dbmanager.CmsResourceTypeStatResultList
Class for the database-statistic result list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(CmsResourceTypeStatResult result) Adds a result to the list.voidDeletes entries which are older than MAX_TIME.init(CmsResourceTypeStatResultList resList) Method to initialize the list.booleanisEmpty()Checks if result list is empty.voidsetVerticalLayout(com.vaadin.v7.ui.VerticalLayout layout, boolean addAll) Sets the layout.
-
Constructor Details
-
CmsResourceTypeStatResultList
public CmsResourceTypeStatResultList()
-
-
Method Details
-
init
Method to initialize the list.- Parameters:
resList- a given instance or null- Returns:
- an instance
-
addResult
Adds a result to the list.- Parameters:
result- to be added
-
deleteOld
Deletes entries which are older than MAX_TIME. -
isEmpty
Checks if result list is empty.- Returns:
- true if result list is empty
-
setVerticalLayout
Sets the layout.- Parameters:
layout- to display the result inaddAll- indicates if the whole list should be added or just the last item
-