Package service.grid
Class AbstractGridLoadingService<R extends GridRow,T extends Column>
java.lang.Object
ru.cg.webbpm.modules.webkit.beans.Behavior
service.BehaviorWithGraphFilter
service.grid.AbstractGridLoadingService<R,T>
- Direct Known Subclasses:
BaseGridLoadingService
,BaseStaticGridLoadingService
public abstract class AbstractGridLoadingService<R extends GridRow,T extends Column>
extends BehaviorWithGraphFilter
- Author:
- m.popov
-
Field Summary
FieldsFields inherited from class ru.cg.webbpm.modules.webkit.beans.Behavior
objectContext, objectId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertRawLoadedData
(List<TableRow> rawData, EntityColumn idColumn) protected abstract R
getAggregationEntry
(T column, Map<EntityColumn, Object> columnToDataMap) protected LoadOptions
getAggregationOptions
(Filter[] filters) protected abstract String
getClientColumnId
(T column) protected Set<EntityColumn>
protected LoadOptions
getOptions
(Integer offset, Integer limit, Filter[] filters, SortInfo[] sortInfos) protected Map<EntityColumn,
SortOrder> protected abstract Map<EntityColumn,
SortOrder> getSortOrders
(SortInfo[] sortInfos) getValueEntry
(T column, Map<EntityColumn, Object> columnToDataMap) void
start()
Methods inherited from class service.BehaviorWithGraphFilter
convertFilterModels, convertFilters, convertToComponentFilterGroup, getComponentFilter, getEntityFilterGroup
Methods inherited from class ru.cg.webbpm.modules.webkit.beans.Behavior
getChildScript, getChildScripts, getObjectId, getPageId, getParentContext, getScript, getScriptInObject, getScripts, getScriptsInChildren, setObjectContext, setObjectId
-
Field Details
-
columns
-
-
Constructor Details
-
AbstractGridLoadingService
public AbstractGridLoadingService()
-
-
Method Details
-
start
public void start() -
getEntityColumnsForLoad
-
convertRawLoadedData
-
convertRawLoadedDataWithFictitiousIdColumn
-
createGridRow
-
getValueEntry
-
getClientColumnId
-
getAggregationEntry
-
getOptions
protected LoadOptions getOptions(Integer offset, Integer limit, Filter[] filters, SortInfo[] sortInfos) -
getAggregationOptions
-
getSortOrders
-
getSortDefaultOrders
-