Package step.core.execution.table
Class ExecutionTable
- java.lang.Object
-
- step.core.tables.AbstractTable<ExecutionWrapper>
-
- step.core.execution.table.ExecutionTable
-
- All Implemented Interfaces:
Table<ExecutionWrapper>
public class ExecutionTable extends AbstractTable<ExecutionWrapper>
-
-
Field Summary
-
Fields inherited from class step.core.tables.AbstractTable
collection
-
-
Constructor Summary
Constructors Constructor Description ExecutionTable(GlobalContext context, step.core.collections.Collection<ExecutionWrapper> collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
distinct(java.lang.String key)
ExecutionWrapper
enrichEntity(ExecutionWrapper execution)
step.core.collections.Filter
getQueryFragmentForColumnSearch(java.lang.String columnName, java.lang.String searchValue)
-
Methods inherited from class step.core.tables.AbstractTable
distinct, find, getAdditionalQueryFragments, getExportFields, isFiltered
-
-
-
-
Constructor Detail
-
ExecutionTable
public ExecutionTable(GlobalContext context, step.core.collections.Collection<ExecutionWrapper> collection)
-
-
Method Detail
-
enrichEntity
public ExecutionWrapper enrichEntity(ExecutionWrapper execution)
- Specified by:
enrichEntity
in interfaceTable<ExecutionWrapper>
- Overrides:
enrichEntity
in classAbstractTable<ExecutionWrapper>
-
distinct
public java.util.List<java.lang.String> distinct(java.lang.String key)
- Specified by:
distinct
in interfaceTable<ExecutionWrapper>
- Overrides:
distinct
in classAbstractTable<ExecutionWrapper>
- Parameters:
key
- the name of the column (field)- Returns:
- the distinct values of the column
-
getQueryFragmentForColumnSearch
public step.core.collections.Filter getQueryFragmentForColumnSearch(java.lang.String columnName, java.lang.String searchValue)
- Specified by:
getQueryFragmentForColumnSearch
in interfaceTable<ExecutionWrapper>
- Overrides:
getQueryFragmentForColumnSearch
in classAbstractTable<ExecutionWrapper>
- Parameters:
columnName
- the name of the column on which the search is appliedsearchValue
- the value entered by the end user- Returns:
- a list of query fragments to be appended to the queries when performing a column search
-
-