@SuppressWarnings("rawtypes") public List selectListWithRawParameter(String statement, Object parameter, int firstResult, int maxResults) { return selectListWithRawParameter(statement, parameter, firstResult, maxResults, true); }
@Override @SuppressWarnings("unchecked") public List<Task> findTasksByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectTaskByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<Comment> findCommentsByTaskIdAndType(String taskId, String type) { Map<String, Object> params = new HashMap<String, Object>(); params.put("taskId", taskId); params.put("type", type); return getDbSqlSession().selectListWithRawParameter("selectCommentsByTaskIdAndType", params, 0, Integer.MAX_VALUE); }
@Override @SuppressWarnings("unchecked") public List<Deployment> findDeploymentsByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectDeploymentByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<HistoricTaskInstance> findHistoricTaskInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectHistoricTaskInstanceByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<Comment> findCommentsByProcessInstanceId(String processInstanceId, String type) { Map<String, Object> params = new HashMap<String, Object>(); params.put("processInstanceId", processInstanceId); params.put("type", type); return getDbSqlSession().selectListWithRawParameter("selectCommentsByProcessInstanceIdAndType", params, 0, Integer.MAX_VALUE); }
@Override @SuppressWarnings("unchecked") public List<HistoricActivityInstance> findHistoricActivityInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectHistoricActivityInstanceByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<ProcessInstance> findProcessInstanceByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectExecutionByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<Model> findModelsByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectModelByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<HistoricProcessInstance> findHistoricProcessInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectHistoricProcessInstanceByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<ProcessDefinition> findProcessDefinitionsByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectProcessDefinitionByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<Execution> findExecutionsByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectExecutionByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<HistoricVariableInstance> findHistoricVariableInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectHistoricVariableInstanceByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<HistoricDetail> findHistoricDetailsByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectHistoricDetailByNativeQuery", parameterMap, firstResult, maxResults); }
@SuppressWarnings("rawtypes") public List selectList(String statement, ListQueryParameterObject parameter, boolean useCache) { return selectListWithRawParameter(statement, parameter, parameter.getFirstResult(), parameter.getMaxResults(), useCache); }
@Override public List selectListWithRawParameter(String statement, Object parameter, int firstResult, int maxResults, boolean useCache) { if (getCurrentCommandExecution() != null) { getCurrentCommandExecution().addDbSelect(statement); } return super.selectListWithRawParameter(statement, parameter, firstResult, maxResults, useCache); }
@Override @SuppressWarnings("unchecked") public List<HistoricActivityInstance> findHistoricActivityInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectHistoricActivityInstanceByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<HistoricVariableInstance> findHistoricVariableInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectHistoricVariableInstanceByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<Model> findModelsByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) { return getDbSqlSession().selectListWithRawParameter("selectModelByNativeQuery", parameterMap, firstResult, maxResults); }
@Override @SuppressWarnings("unchecked") public List<Comment> findCommentsByTaskIdAndType(String taskId, String type) { Map<String, Object> params = new HashMap<String, Object>(); params.put("taskId", taskId); params.put("type", type); return getDbSqlSession().selectListWithRawParameter("selectCommentsByTaskIdAndType", params, 0, Integer.MAX_VALUE); }