@Override public Job get(String requestPath, String jobID) throws JobNotFoundException, JobPersistenceException, TransientException { JobPersistence jobPersistence = getJobPersistence(requestPath); Job job = jobPersistence.get(jobID); doAuthorizationCheck(job); jobPersistence.getDetails(job); return job; }
@Override public void execute(String requestPath, String jobID, SyncOutput output) throws JobNotFoundException, JobPersistenceException, JobPhaseException, TransientException { JobPersistence jobPersistence = getJobPersistence(requestPath); Job job = jobPersistence.get(jobID); doAuthorizationCheck(job); jobPersistence.getDetails(job); execute(requestPath, job, output); }