Package org.opencms.ui.apps.dbmanager
Class CmsResourceTypeStatResultList
- java.lang.Object
-
- org.opencms.ui.apps.dbmanager.CmsResourceTypeStatResultList
-
public class CmsResourceTypeStatResultList extends java.lang.Object
Class for the database-statistic result list.
-
-
Constructor Summary
Constructors Constructor Description CmsResourceTypeStatResultList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResult(CmsResourceTypeStatResult result)
Adds a result to the list.void
deleteOld()
Deletes entries which are older than MAX_TIME.static CmsResourceTypeStatResultList
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 Detail
-
CmsResourceTypeStatResultList
public CmsResourceTypeStatResultList()
-
-
Method Detail
-
init
public static CmsResourceTypeStatResultList init(CmsResourceTypeStatResultList resList)
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 inaddAll
- indicates if the whole list should be added or just the last item
-
-