public class QueryResult<COLLECTIONTYPE extends Collection<T>,T>
extends de.tsl2.nano.bean.def.BeanCollector<COLLECTIONTYPE,T>
BeanCollector to show the result of an SQL or JPAQL Query gotten by a defined query-name in a
QueryPool. The result columns are evaluated through Query.getColumnNames().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, simpleList, workingModeactions, activationActionNames, allDefinitionsCached, attributeDefinitions, attributeFilter, crossChecker, extension, isconnected, isdefault, isNested, name, plugins, PREFIX_VIRTUAL, presentable, presentationHelper, strict, valueExpression, valueGroups| Modifier | Constructor and Description |
|---|---|
protected |
QueryResult()
constructor
|
|
QueryResult(String queryName)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static QueryResult |
createQueryResult(String title,
String stmt) |
List<de.tsl2.nano.core.cls.IAttribute> |
getAttributes(boolean readAndWriteAccess) |
String |
getQueryName() |
protected void |
initDeserialization() |
<B extends de.tsl2.nano.bean.def.BeanDefinition<T>> |
onActivation(Map context) |
QueryResult<COLLECTIONTYPE,T> |
refreshed() |
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, isSimpleList, nextRow, onDeactivation, refresh, removeMode, replaceBean, selectFirstElement, setAttributeFilter, setBeanFinder, setColumnDefinitions, setCompositionParent, setMode, setName, setReloadBean, setSelected, setSelectionProvider, setSimpleList, 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, loadVirtualDefinitions, refreshAttributeDefinitions, removeAttributes, removePlugin, saveBeanDefinition, 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, getDefiningClass, getField, getField, getFieldNames, getFilteredAttributes, getFilteredMethods, getInterfaces, getMethods, getMethods, getMultiValueAttributes, getName, getName, getPackageName, getPath, getPath, getSimpleName, getSingleValueAttributes, getSortedAttributes, getStatic, getValue, getValue, hasConstructor, hasDefaultConstructor, hasDefaultConstructor, hasDefaultConstructor, hasField, hasStringConstructor, isAnnotationPresent, isAssignableFrom, isDefaultInstanceable, isFinal, isFinal, isInheritance, isInstanceOf, isPublicClassName, load, load, resetValues, setField, setField, setValueprotected QueryResult()
public QueryResult(String queryName)
query - public String getQueryName()
public List<de.tsl2.nano.core.cls.IAttribute> getAttributes(boolean readAndWriteAccess)
getAttributes in class de.tsl2.nano.bean.def.BeanDefinition<T>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>public QueryResult<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>public static QueryResult createQueryResult(String title, String stmt)
Copyright © 2012–2020. All rights reserved.