public List<HistoricVariableInstance> executeList(CommandContext commandContext, Map<String, Object> parameterMap, int firstResult, int maxResults) { List<HistoricVariableInstance> historicVariableInstances = commandContext .getHistoricVariableInstanceManager() .findHistoricVariableInstancesByNativeQuery(parameterMap, firstResult, maxResults); if (historicVariableInstances!=null) { for (HistoricVariableInstance historicVariableInstance: historicVariableInstances) { HistoricVariableInstanceEntity variableInstanceEntity = (HistoricVariableInstanceEntity) historicVariableInstance; try { variableInstanceEntity.getTypedValue(isCustomObjectDeserializationEnabled); } catch(Exception t) { // do not fail if one of the variables fails to load LOG.exceptionWhileGettingValueForVariable(t); } } } return historicVariableInstances; }
public List<HistoricVariableInstance> executeList(CommandContext commandContext, Map<String, Object> parameterMap, int firstResult, int maxResults) { List<HistoricVariableInstance> historicVariableInstances = commandContext .getHistoricVariableInstanceManager() .findHistoricVariableInstancesByNativeQuery(parameterMap, firstResult, maxResults); if (historicVariableInstances!=null) { for (HistoricVariableInstance historicVariableInstance: historicVariableInstances) { HistoricVariableInstanceEntity variableInstanceEntity = (HistoricVariableInstanceEntity) historicVariableInstance; try { variableInstanceEntity.getTypedValue(isCustomObjectDeserializationEnabled); } catch(Exception t) { // do not fail if one of the variables fails to load LOG.exceptionWhileGettingValueForVariable(t); } } } return historicVariableInstances; }
public List<HistoricVariableInstance> executeList(CommandContext commandContext, Page page) { checkQueryOk(); ensureVariablesInitialized(); List<HistoricVariableInstance> historicVariableInstances = commandContext .getHistoricVariableInstanceManager() .findHistoricVariableInstancesByQueryCriteria(this, page); if (historicVariableInstances!=null) { for (HistoricVariableInstance historicVariableInstance: historicVariableInstances) { HistoricVariableInstanceEntity variableInstanceEntity = (HistoricVariableInstanceEntity) historicVariableInstance; if (shouldFetchValue(variableInstanceEntity)) { try { variableInstanceEntity.getTypedValue(isCustomObjectDeserializationEnabled); } catch(Exception t) { // do not fail if one of the variables fails to load LOG.exceptionWhileGettingValueForVariable(t); } } } } return historicVariableInstances; }
public List<HistoricVariableInstance> executeList(CommandContext commandContext, Page page) { checkQueryOk(); ensureVariablesInitialized(); List<HistoricVariableInstance> historicVariableInstances = commandContext .getHistoricVariableInstanceManager() .findHistoricVariableInstancesByQueryCriteria(this, page); if (historicVariableInstances!=null) { for (HistoricVariableInstance historicVariableInstance: historicVariableInstances) { HistoricVariableInstanceEntity variableInstanceEntity = (HistoricVariableInstanceEntity) historicVariableInstance; if (shouldFetchValue(variableInstanceEntity)) { try { variableInstanceEntity.getTypedValue(isCustomObjectDeserializationEnabled); } catch(Exception t) { // do not fail if one of the variables fails to load LOG.exceptionWhileGettingValueForVariable(t); } } } } return historicVariableInstances; }
public List<HistoricVariableInstance> executeList(CommandContext commandContext, Map<String, Object> parameterMap, int firstResult, int maxResults) { List<HistoricVariableInstance> historicVariableInstances = commandContext .getHistoricVariableInstanceManager() .findHistoricVariableInstancesByNativeQuery(parameterMap, firstResult, maxResults); if (historicVariableInstances!=null) { for (HistoricVariableInstance historicVariableInstance: historicVariableInstances) { HistoricVariableInstanceEntity variableInstanceEntity = (HistoricVariableInstanceEntity) historicVariableInstance; try { variableInstanceEntity.getTypedValue(isCustomObjectDeserializationEnabled); } catch(Exception t) { // do not fail if one of the variables fails to load LOG.exceptionWhileGettingValueForVariable(t); } } } return historicVariableInstances; }
public List<HistoricVariableInstance> executeList(CommandContext commandContext, Page page) { checkQueryOk(); ensureVariablesInitialized(); List<HistoricVariableInstance> historicVariableInstances = commandContext .getHistoricVariableInstanceManager() .findHistoricVariableInstancesByQueryCriteria(this, page); if (historicVariableInstances!=null) { for (HistoricVariableInstance historicVariableInstance: historicVariableInstances) { HistoricVariableInstanceEntity variableInstanceEntity = (HistoricVariableInstanceEntity) historicVariableInstance; if (shouldFetchValue(variableInstanceEntity)) { try { variableInstanceEntity.getTypedValue(isCustomObjectDeserializationEnabled); } catch(Exception t) { // do not fail if one of the variables fails to load LOG.exceptionWhileGettingValueForVariable(t); } } } } return historicVariableInstances; }