private List<StepExecution> findStepExecutions()
throws JobSecurityException, NoSuchJobExecutionException {
JobOperator jobOperator = AbstractListCommand.getJobOperatorFromBatchRuntime();
JobExecution je = jobOperator.getJobExecution(Long.valueOf(executionId));
if (!glassFishBatchSecurityHelper.isVisibleToThisInstance(((TaggedJobExecution) je).getTagName()))
throw new NoSuchJobExecutionException("No job execution exists for job execution id: " + executionId);
List<StepExecution> stepExecutions = jobOperator.getStepExecutions(Long.valueOf(executionId));
if (stepExecutions == null || stepExecutions.size() == 0)
throw new NoSuchJobExecutionException("No job execution exists for job execution id: " + executionId);
return stepExecutions;
}