code: @Override
      public Set<String> getJobNames() {
  
          if (authService == null || authService.isAdmin() || authService.isMonitor()) {
              return persistenceManagerService.getJobNamesSet();
          } else if (authService.isSubmitter()) {
              return persistenceManagerService.getJobNamesSet(authService.getRunAsUser());
          }
  
          throw new JobSecurityException("The current user " + authService.getRunAsUser() + " is not authorized to perform any batch operations.");
  
      }
docs: {@inheritDoc}