public class ProcessInstanceWithCustomVarsQueryMapper extends AbstractQueryMapper<ProcessInstanceWithVarsDesc> implements QueryResultMapper<List<ProcessInstanceWithVarsDesc>>
COLUMN_ACTIVATIONTIME, COLUMN_ACTUALOWNER, COLUMN_CORRELATIONKEY, COLUMN_CREATEDBY, COLUMN_CREATEDON, COLUMN_DEPLOYMENTID, COLUMN_DESCRIPTION, COLUMN_DUEDATE, COLUMN_DURATION, COLUMN_END, COLUMN_EXTERNALID, COLUMN_IDENTITY, COLUMN_JOB_BUSINESSKEY, COLUMN_JOB_COMMANDNAME, COLUMN_JOB_ID, COLUMN_JOB_MESSAGE, COLUMN_JOB_STATUS, COLUMN_JOB_TIMESTAMP, COLUMN_NAME, COLUMN_ORGANIZATIONAL_ENTITY, COLUMN_OUTCOME, COLUMN_PARENTID, COLUMN_PARENTPROCESSINSTANCEID, COLUMN_PRIORITY, COLUMN_PROCESSID, COLUMN_PROCESSINSTANCEDESCRIPTION, COLUMN_PROCESSINSTANCEID, COLUMN_PROCESSNAME, COLUMN_PROCESSVERSION, COLUMN_START, COLUMN_STATUS, COLUMN_SUBJECT, COLUMN_TASK_PROCESSID, COLUMN_TASK_PROCESSINSTANCEID, COLUMN_TASK_STATUS, COLUMN_TASK_VAR_NAME, COLUMN_TASK_VAR_TYPE, COLUMN_TASK_VAR_VALUE, COLUMN_TASKID, COLUMN_VAR_NAME, COLUMN_VAR_VALUE, COLUMN_WORKITEMID| Constructor and Description |
|---|
ProcessInstanceWithCustomVarsQueryMapper()
Dedicated for ServiceLoader to create instance, use
get() method instead |
ProcessInstanceWithCustomVarsQueryMapper(Map<String,String> variablesMap) |
| Modifier and Type | Method and Description |
|---|---|
protected ProcessInstanceWithVarsDesc |
buildInstance(org.dashbuilder.dataset.DataSet dataSetResult,
int index) |
QueryResultMapper<List<ProcessInstanceWithVarsDesc>> |
forColumnMapping(Map<String,String> columnMapping)
Returns new instance of the mapper for given column mapping
|
static ProcessInstanceWithCustomVarsQueryMapper |
get(Map<String,String> variablesMap) |
String |
getName()
Returns unique name of this query result mapper implementation
|
Class<?> |
getType()
Returns type of the data produced by this mapper.
|
List<ProcessInstanceWithVarsDesc> |
map(Object result)
Based on raw data set returns mapped/transformed data.
|
getColumnDateValue, getColumnDoubleValue, getColumnIntValue, getColumnLongValue, getColumnStringValue, readVariablespublic ProcessInstanceWithCustomVarsQueryMapper()
get() method insteadpublic static ProcessInstanceWithCustomVarsQueryMapper get(Map<String,String> variablesMap)
public List<ProcessInstanceWithVarsDesc> map(Object result)
QueryResultMappermap in interface QueryResultMapper<List<ProcessInstanceWithVarsDesc>>result - raw data set in custom formatprotected ProcessInstanceWithVarsDesc buildInstance(org.dashbuilder.dataset.DataSet dataSetResult, int index)
buildInstance in class AbstractQueryMapper<ProcessInstanceWithVarsDesc>public String getName()
QueryResultMappergetName in interface QueryResultMapper<List<ProcessInstanceWithVarsDesc>>public Class<?> getType()
QueryResultMapper
List<ProcessInstanceDesc> returned type should be ProcessInstanceDesc.class
getType in interface QueryResultMapper<List<ProcessInstanceWithVarsDesc>>public QueryResultMapper<List<ProcessInstanceWithVarsDesc>> forColumnMapping(Map<String,String> columnMapping)
QueryResultMapperforColumnMapping in interface QueryResultMapper<List<ProcessInstanceWithVarsDesc>>columnMapping - provides column mapping (name to type) that can be
shipped to mapper for improved transformation - can be null (accepted types: string, long, integer, date, double)Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.