protected List<String> collectProcessInstanceIds() { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = this.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) this.processInstanceQuery; if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return new ArrayList<String>(collectedProcessInstanceIds); }
protected List<String> collectProcessInstanceIds() { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = this.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) this.processInstanceQuery; if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return new ArrayList<String>(collectedProcessInstanceIds); }
protected Collection<String> collectProcessInstanceIds(CommandContext commandContext) { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = executionBuilder.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) executionBuilder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return collectedProcessInstanceIds; }
protected Collection<String> collectProcessInstanceIds(CommandContext commandContext) { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = executionBuilder.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) executionBuilder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return collectedProcessInstanceIds; }
protected Collection<String> collectProcessInstanceIds(CommandContext commandContext) { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return collectedProcessInstanceIds; }
protected Collection<String> collectProcessInstanceIds(CommandContext commandContext) { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return collectedProcessInstanceIds; }
protected List<String> collectJobIds(CommandContext commandContext) { List<String> collectedJobIds = new ArrayList<String>(); List<String> collectedProcessInstanceIds = new ArrayList<String>(); if (query != null) { collectedProcessInstanceIds.addAll(((ProcessInstanceQueryImpl)query).listIds()); } if (this.processInstanceIds != null) { collectedProcessInstanceIds.addAll(this.processInstanceIds); } for (String process : collectedProcessInstanceIds) { for (Job job : commandContext.getJobManager().findJobsByProcessInstanceId(process)) { collectedJobIds.add(job.getId()); } } return collectedJobIds; }
protected List<String> collectJobIds(CommandContext commandContext) { List<String> collectedJobIds = new ArrayList<String>(); List<String> collectedProcessInstanceIds = new ArrayList<String>(); if (query != null) { collectedProcessInstanceIds.addAll(((ProcessInstanceQueryImpl)query).listIds()); } if (this.processInstanceIds != null) { collectedProcessInstanceIds.addAll(this.processInstanceIds); } for (String process : collectedProcessInstanceIds) { for (Job job : commandContext.getJobManager().findJobsByProcessInstanceId(process)) { collectedJobIds.add(job.getId()); } } return collectedJobIds; }
protected List<String> collectProcessInstanceIds() { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null && !processInstanceIds.isEmpty()) { collectedProcessInstanceIds.addAll(processInstanceIds); } ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } HistoricProcessInstanceQueryImpl historicProcessInstanceQuery = (HistoricProcessInstanceQueryImpl) builder.getHistoricProcessInstanceQuery(); if (historicProcessInstanceQuery != null) { collectedProcessInstanceIds.addAll(historicProcessInstanceQuery.listIds()); } return new ArrayList<String>(collectedProcessInstanceIds); }
protected List<String> collectProcessInstanceIds() { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null && !processInstanceIds.isEmpty()) { collectedProcessInstanceIds.addAll(processInstanceIds); } ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } HistoricProcessInstanceQueryImpl historicProcessInstanceQuery = (HistoricProcessInstanceQueryImpl) builder.getHistoricProcessInstanceQuery(); if (historicProcessInstanceQuery != null) { collectedProcessInstanceIds.addAll(historicProcessInstanceQuery.listIds()); } return new ArrayList<String>(collectedProcessInstanceIds); }
protected Collection<String> collectProcessInstanceIds() { HashSet<String> allProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null) { allProcessInstanceIds.addAll(processInstanceIds); } ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if( processInstanceQuery != null) { allProcessInstanceIds.addAll(processInstanceQuery.listIds()); } HistoricProcessInstanceQueryImpl historicProcessInstanceQuery = (HistoricProcessInstanceQueryImpl ) builder.getHistoricProcessInstanceQuery(); if( historicProcessInstanceQuery != null) { allProcessInstanceIds.addAll(historicProcessInstanceQuery.listIds()); } return allProcessInstanceIds; }
protected Collection<String> collectProcessInstanceIds() { HashSet<String> allProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null) { allProcessInstanceIds.addAll(processInstanceIds); } ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if( processInstanceQuery != null) { allProcessInstanceIds.addAll(processInstanceQuery.listIds()); } HistoricProcessInstanceQueryImpl historicProcessInstanceQuery = (HistoricProcessInstanceQueryImpl ) builder.getHistoricProcessInstanceQuery(); if( historicProcessInstanceQuery != null) { allProcessInstanceIds.addAll(historicProcessInstanceQuery.listIds()); } return allProcessInstanceIds; }
protected List<String> collectProcessInstanceIds() { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = this.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) this.processInstanceQuery; if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return new ArrayList<String>(collectedProcessInstanceIds); }
protected Collection<String> collectProcessInstanceIds(CommandContext commandContext) { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = executionBuilder.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) executionBuilder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return collectedProcessInstanceIds; }
protected Collection<String> collectProcessInstanceIds(CommandContext commandContext) { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null) { collectedProcessInstanceIds.addAll(processInstanceIds); } final ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } return collectedProcessInstanceIds; }
protected List<String> collectJobIds(CommandContext commandContext) { List<String> collectedJobIds = new ArrayList<String>(); List<String> collectedProcessInstanceIds = new ArrayList<String>(); if (query != null) { collectedProcessInstanceIds.addAll(((ProcessInstanceQueryImpl)query).listIds()); } if (this.processInstanceIds != null) { collectedProcessInstanceIds.addAll(this.processInstanceIds); } for (String process : collectedProcessInstanceIds) { for (Job job : commandContext.getJobManager().findJobsByProcessInstanceId(process)) { collectedJobIds.add(job.getId()); } } return collectedJobIds; }
protected List<String> collectProcessInstanceIds() { Set<String> collectedProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null && !processInstanceIds.isEmpty()) { collectedProcessInstanceIds.addAll(processInstanceIds); } ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if (processInstanceQuery != null) { collectedProcessInstanceIds.addAll(processInstanceQuery.listIds()); } HistoricProcessInstanceQueryImpl historicProcessInstanceQuery = (HistoricProcessInstanceQueryImpl) builder.getHistoricProcessInstanceQuery(); if (historicProcessInstanceQuery != null) { collectedProcessInstanceIds.addAll(historicProcessInstanceQuery.listIds()); } return new ArrayList<String>(collectedProcessInstanceIds); }
protected Collection<String> collectProcessInstanceIds() { HashSet<String> allProcessInstanceIds = new HashSet<String>(); List<String> processInstanceIds = builder.getProcessInstanceIds(); if (processInstanceIds != null) { allProcessInstanceIds.addAll(processInstanceIds); } ProcessInstanceQueryImpl processInstanceQuery = (ProcessInstanceQueryImpl) builder.getProcessInstanceQuery(); if( processInstanceQuery != null) { allProcessInstanceIds.addAll(processInstanceQuery.listIds()); } HistoricProcessInstanceQueryImpl historicProcessInstanceQuery = (HistoricProcessInstanceQueryImpl ) builder.getHistoricProcessInstanceQuery(); if( historicProcessInstanceQuery != null) { allProcessInstanceIds.addAll(historicProcessInstanceQuery.listIds()); } return allProcessInstanceIds; }