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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResult
(CmsResourceTypeStatResult result) Adds a result to the list.void
Deletes entries which are older than MAX_TIME.init
(CmsResourceTypeStatResultList resList) Method to initialize the list.boolean
isEmpty()
Checks if result list is empty.void
setVerticalLayout
(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
-