public class Statistic<COLLECTIONTYPE extends Collection<T>,T>
extends de.tsl2.nano.bean.def.BeanCollector<COLLECTIONTYPE,T>
from and BeanCollector.toString() on the constructor
Statistic(Class, Object, Object) to do a filtering. set the attribute filter (see
BeanDefinition.setAttributeFilter(String...) to select the attributes to do a statistic on (creating a 'group
by' select).ACTION_DELETE, ACTION_NEW, ACTION_OPEN, beanFinder, collection, composition, deleteAction, editAction, isStaticCollection, KEY_COMMANDHANDLER, newAction, openAction, POSTFIX_COLLECTOR, POSTFIX_QUICKSEARCH, quickSearchAction, reloadBean, resetAction, searchAction, searchStatus, selectionProvider, workingModeactions, activationActionNames, allDefinitionsCached, attributeDefinitions, attributeFilter, crossChecker, extension, isconnected, isdefault, isNested, name, plugins, POSTFIX_FILE_EXT, PREFIX_VIRTUAL, presentable, presentationHelper, strict, valueExpression, valueGroups| Constructor and Description |
|---|
Statistic() |
Statistic(Class<T> beanType) |
Statistic(Class<T> beanType,
T from,
T to)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<de.tsl2.nano.core.cls.IAttribute> |
getAttributes(boolean readAndWriteAccess) |
protected static Collection<Object> |
getBeansByQuery(String qstr,
Collection<?> parameter)
getBeansByQuery
|
protected void |
initDeserialization() |
<B extends de.tsl2.nano.bean.def.BeanDefinition<T>> |
onActivation(Map context) |
Statistic<COLLECTIONTYPE,T> |
refreshed() |
protected void |
saveBeanDefinition(File xmlFile) |
addColumnDefinition, addMode, assignColumnValues, checkBeforeDelete, count, createBeanCollectorHolder, createCollector, createDeleteAction, createItem, createNewAction, createOpenAction, createResetAction, createSearchAction, deleteItem, doAutomaticSearch, editItem, fillContext, getActionByName, getBeanCollector, getBeanCollector, getBeanCollector, getBeanFinder, getColumnDefinitions, getColumnDefinitionsIndexSorted, getColumnLabels, getColumnSortingActions, getColumnText, getColumnText, getColumnText, getColumnText, getColumnValue, getColumnValue, getColumnValueEx, getComposition, getCurrentData, getFirstSelectedElement, getGroupByFor, getGroups, getOrderByColumns, getQuickSearchAction, getSearchAction, getSearchPanelActions, getSearchPanelBeans, getSelectionProvider, getSummary, getSummaryText, getType, getWorkingMode, hasFilter, hashCode, hasMode, hasSearchRequestChanged, hasSelection, init, isMultiValue, isPersistable, isReloadBean, isSaveable, nextRow, onDeactivation, refresh, removeMode, replaceBean, selectFirstElement, setAttributeFilter, setBeanFinder, setColumnDefinitions, setCompositionParent, setMode, setName, setReloadBean, setSelected, setSelectionProvider, shiftSortIndexes, sort, toString, toValueMap, wasActivatedaddAction, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addPlugin, addValueGroup, autoInit, clearCache, connect, connect, connect, connect, createAttributeDefinition, createInstance, define, deleteDefinition, deleteDefinition, deleteDefinitions, dump, equals, fromValueMap, fromValueMap, getAction, getActions, getActionsByClass, getActionsByClass, getActivationActionNames, getAttribute, getAttributeDefinitions, getAttributeNames, getBeanAttributes, getBeanDefinition, getBeanDefinition, getBeanDefinition, getBeanDefinition, getDeclaringClass, getDefinitionDirectory, getDefinitionFile, getId, getIdAttribute, getName, getNameAndPath, getNestingBean, getPlugins, getPresentable, getPresentationHelper, getValueExpression, getValueGroups, hasAttribute, initSerialization, injectIntoRuleCovers, isConfigurable, isCreatable, isDefault, isInterface, isNested, isSelectable, isStale, isVirtual, loadVirtualDefinitions, refreshAttributeDefinitions, removeAttributes, removePlugin, saveDefinition, setActions, setActivationActionNames, setAttrDef, setColumnDefinitionOrder, setDefault, setDefaultValues, setDefaultValues, setIdAttribute, setNested, setNumberDef, setPresentable, setPresentationHelper, setValueExpression, toString, toValueMap, toValueMap, toValueMapcall, call, call, call, call, call, call, call, callMethod, callMethod, callMethod, copy, copy, copyValues, copyValues, copyValues, createBeanClass, createBeanClass, createInstance, createInstance, createInstance, fieldsOf, filterMethods, findAttributes, getAnnotation, getAnnotationValues, getAttribute, getAttribute, getAttributeNames, getAttributePath, getAttributes, getBeanClass, getBeanClass, getBeanClass, getClazz, getDefiningClass, getField, getField, getFieldNames, getFilteredAttributes, getFilteredMethods, getInterfaces, getMethods, getMethods, getMultiValueAttributes, getName, getName, getPackageName, getPath, getPath, getSimpleName, getSingleValueAttributes, getSortedAttributes, getStatic, getValue, getValue, hasDefaultConstructor, hasDefaultConstructor, hasDefaultConstructor, hasField, hasStringConstructor, isAnnotationPresent, isAssignableFrom, isDefaultInstanceable, isFinal, isFinal, isInheritance, isInstanceOf, isPublicClassName, load, load, resetValues, setField, setField, setValuepublic List<de.tsl2.nano.core.cls.IAttribute> getAttributes(boolean readAndWriteAccess)
getAttributes in class de.tsl2.nano.bean.def.BeanDefinition<T>protected static Collection<Object> getBeansByQuery(String qstr, Collection<?> parameter)
qstr - parameter - public <B extends de.tsl2.nano.bean.def.BeanDefinition<T>> B onActivation(Map context)
onActivation in class de.tsl2.nano.bean.def.BeanCollector<COLLECTIONTYPE extends Collection<T>,T>protected void saveBeanDefinition(File xmlFile)
saveBeanDefinition in class de.tsl2.nano.bean.def.BeanDefinition<T>public Statistic<COLLECTIONTYPE,T> refreshed()
refreshed in class de.tsl2.nano.bean.def.BeanCollector<COLLECTIONTYPE extends Collection<T>,T>protected void initDeserialization()
initDeserialization in class de.tsl2.nano.bean.def.BeanCollector<COLLECTIONTYPE extends Collection<T>,T>Copyright © 2012–2020. All rights reserved.