@Override
	public Set<String> getJobNames() throws JobSecurityException {

		Set<String> jobNames = new HashSet<String>();
		Map<Long, String> data = persistenceService.jobOperatorGetExternalJobInstanceData();
		Iterator<Map.Entry<Long,String>> it = data.entrySet().iterator();
		while (it.hasNext()) {
			Map.Entry<Long,String> entry = it.next();
			long instanceId = entry.getKey();
			if(isAuthorized(instanceId)) {
				String name = entry.getValue();
				jobNames.add(name);
			}
		}
		return jobNames;
	}
@ Override public Set < String > getJobNames ( ) throws JobSecurityException { Set < String > jobNames = new HashSet < String > ( ) ; Map < Long , String > data = persistenceService . jobOperatorGetExternalJobInstanceData ( ) ; Iterator < Map . Entry < Long , String > > it = data . entrySet ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { Map . Entry < Long , String > entry = it . next ( ) ; long instanceId = entry . getKey ( ) ; if ( isAuthorized ( instanceId ) ) { String name = entry . getValue ( ) ; jobNames . add ( name ) ; } } return jobNames ; }
/*
This should only be called by the "external" JobOperator API, since it filters
out the "subjob" parallel execution entries.