Package service
Class GridServiceImpl
- All Implemented Interfaces:
GridService
- Direct Known Subclasses:
FilterableByPKGridService
,GridV2ServiceImpl
- Author:
- korablev
-
Field Summary
FieldsFields inherited from class service.grid.AbstractDependentGridService
dependencyLink
Fields inherited from class service.grid.AbstractGridLoadingService
columns
Fields inherited from class ru.cg.webbpm.modules.webkit.beans.Behavior
objectContext, objectId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GridRow
exportData
(String[] columnIdsToExport, GridDataExportFormat exportFormat, Filter[] filters, SortInfo[] sortInfos) protected void
formatTableRow
(GridRows rawData) protected FileModel
getFileModelWithContent
(String[] columnIdsToExport, GridDataExportFormat exportFormat, GridRows gridRows) protected GridColumnAggregationValues
getGridColumnAggregationValues
(Filter[] filters) protected GridRows
getGridRows
(Filter[] filters, LoadOptions options) protected EntityColumn
protected List<GridColumn>
getOrderedColumns
(String[] columnIdsToExport) getProcessedRows
(LoadOptions loadOptions) getRawData
(LoadOptions loadOptions) loadDataWithRowCount
(Integer offset, Integer limit, Filter[] filters, SortInfo[] sortInfos) Methods inherited from class service.grid.AbstractDependentGridService
getComponentFilter, getDependencyFilter
Methods inherited from class service.grid.BaseGridLoadingService
getAggregationEntry, getClientColumnId, getGridAggregateFuncFields, getGridAggregateFuncMultiFields, getSortOrders, getValueEntry
Methods inherited from class service.grid.AbstractGridLoadingService
convertRawLoadedData, convertRawLoadedDataWithFictitiousIdColumn, getAggregationOptions, getEntityColumnsForLoad, getOptions, getSortDefaultOrders, start
Methods inherited from class service.BehaviorWithGraphFilter
convertFilterModels, convertFilters, convertToComponentFilterGroup, 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
-
loadDao
-
aggregationHeaderForExport
-
-
Constructor Details
-
GridServiceImpl
public GridServiceImpl()
-
-
Method Details
-
loadData
- Specified by:
loadData
in interfaceGridService
-
getGridRows
-
getProcessedRows
-
getRawData
-
getGridColumnAggregationValues
-
getIdEntityColumn
-
loadDataWithRowCount
public GridRows loadDataWithRowCount(Integer offset, Integer limit, Filter[] filters, SortInfo[] sortInfos) - Specified by:
loadDataWithRowCount
in interfaceGridService
-
createGridRow
- Specified by:
createGridRow
in classAbstractGridLoadingService<GridRow,
GridColumn>
-
exportData
public FileModel exportData(String[] columnIdsToExport, GridDataExportFormat exportFormat, Filter[] filters, SortInfo[] sortInfos) - Specified by:
exportData
in interfaceGridService
-
getExportFormatters
-
formatTableRow
-
getFileModelWithContent
protected FileModel getFileModelWithContent(String[] columnIdsToExport, GridDataExportFormat exportFormat, GridRows gridRows) -
getOrderedColumns
-