<p>getAllSpecificationRepositories.</p>

@inheritDoc NO NEEDS TO SECURE THIS
@return a {@link java.util.List} object.
@throws com.greenpepper.server.GreenPepperServerException if any.
349981
public List<Repository> getAllSpecificationRepositories() throws GreenPepperServerException {
        try {
            sessionService.startSession();

            List<Repository> repositories = repositoryDao.getAllRepositories(ContentType.TEST);

            log.debug("Retrieved All Specification Repositories number: " + repositories.size());
            return repositories;
        } catch (Exception ex) {
            throw handleException(RETRIEVE_SUTS, ex);
        } finally {
            sessionService.closeSession();
        }
    }
1222212
private <T> List<ServiceReference> getAllServiceRefs(Class<T> klass) {
        ServiceReference[] importDeclarationsRef;
        try {
            importDeclarationsRef = context.getAllServiceReferences(klass.getName(), null);
        } catch (InvalidSyntaxException e) {
            LOG.error("Failed to retrieved services " + klass.getName(), e);
            return new ArrayList<ServiceReference>();
        }
        if (importDeclarationsRef != null) {
            return Arrays.asList(importDeclarationsRef);
        }
        return new ArrayList<ServiceReference>();
    }
145177
public List<ObserverMethod<? super T>> getAllObservers() {
        return ImmutableList.<ObserverMethod<? super T>> builder().addAll(immediateSyncObservers).addAll(asyncObservers).addAll(transactionObservers).build();
    }
633333
@SuppressWarnings("unchecked")
    public Collection<ProductResourceImpl> getAllProducts(LicenseType licenseType) throws RepositoryBackendException {
        Collection<ProductResourceImpl> product = (Collection<ProductResourceImpl>) getAllResources(licenseType, ResourceType.INSTALL);
        Collection<ProductResourceImpl> addons = (Collection<ProductResourceImpl>) getAllResources(licenseType, ResourceType.ADDON);
        product.addAll(addons);
        return product;
    }
341659
public ServiceFuture<List<TermList>> getAllTermListsAsync(final ServiceCallback<List<TermList>> serviceCallback) {
        return ServiceFuture.fromResponse(getAllTermListsWithServiceResponseAsync(), serviceCallback);
    }
1110074
public ClassInfoList getAllInterfacesAndAnnotations() {
        if (closed.get()) {
            throw new IllegalArgumentException("Cannot use a ScanResult after it has been closed");
        }
        if (!scanSpec.enableClassInfo || !scanSpec.enableAnnotationInfo) {
            throw new IllegalArgumentException(
                    "Please call ClassGraph#enableClassInfo() and #enableAnnotationInfo() before #scan()");
        }
        return ClassInfo.getAllInterfacesOrAnnotationClasses(classNameToClassInfo.values(), scanSpec);
    }
438591
public Collection<JavaClassSource> allResources()
   {
      Set<JavaClassSource> result = new HashSet<>();
      for (DTOPair pair : dtos.values())
      {
         if (pair.rootDTO != null)
         {
            result.add(pair.rootDTO);
         }
         if (pair.nestedDTO != null)
         {
            result.add(pair.nestedDTO);
         }
      }
      return result;
   }
85045
public static Set<String> getJcrRepositoryNames() {
        try {
            return repositoriesContainer.getRepositoryNames(Collections.unmodifiableMap(factoryParams));
        } catch (RepositoryException e) {
            LOGGER.error(e, WebJcrI18n.cannotLoadRepositoryNames.text());
            return Collections.emptySet();
        }
    }
914358
public List<EnvironmentType> getAllEnvironmentTypes() throws GreenPepperServerException {
        try {
            sessionService.startSession();

            List<EnvironmentType> envTypes = sutDao.getAllEnvironmentTypes();

            log.debug("Retrieved All Environment Types number: " + envTypes.size());

            return envTypes;
        } catch (Exception ex) {
            throw handleException(ERROR, ex);
        } finally {
            sessionService.closeSession();
        }
    }
576757
protected File[] listRepositoryFiles() {
        //return AccessHelper.listFiles(repositoryLocation, filter);
        File[] directories = listRepositoryDirs();
        ArrayList<File> allFilesArray = new ArrayList<File>();
        File[] allFiles = new File[allFilesArray.size()];

        //get all the files in each server instance directory
        for (int i = 0; i < directories.length; i++) {

            //for each server instance directory, list the files, filtering out subdirectories
            File[] files = AccessHelper.listFiles(directories[i], filter);
            if (files != null && files.length > 0) {
                allFilesArray.addAll(Arrays.asList(files));
            }
            // F017049-22453 ... now look for files in child processes
            files = AccessHelper.listFiles(directories[i], subprocFilter);
            for (File curFile : files) {
                File[] subFiles = AccessHelper.listFiles(curFile, filter);
                if (subFiles != null && subFiles.length > 0) {
                    allFilesArray.addAll(Arrays.asList(subFiles));
                }
            }
        }

        //if there are files to sort, then sort
        if (!allFilesArray.isEmpty()) {
            allFiles = allFilesArray.toArray(allFiles);
        }

        return allFiles;
    }
924885
public List<ACLHolder> getACLHolders() throws RepositoryException
   {
      WorkspaceStorageConnection conn = dataContainer.openConnection();
      try
      {
         return conn.getACLHolders();
      }
      finally
      {
         conn.close();
      }
   }
1120105
@SuppressWarnings("unchecked")
    public <REPO extends I_CmsRepository> List<REPO> getRepositories(Class<REPO> cls) {

        List<REPO> result = new ArrayList<REPO>();
        for (I_CmsRepository repo : m_repositoryMap.values()) {
            if (cls.isInstance(repo)) {
                result.add((REPO)repo);
            }
        }
        return result;
    }
704507
protected Collection<JcrRepository> repositories() {
        if (this.state == State.RUNNING) {
            final Lock lock = this.lock.readLock();
            try {
                lock.lock();
                return new ArrayList<JcrRepository>(repositories.values());
            } finally {
                lock.unlock();
            }
        }
        return Collections.emptyList();
    }
937008
public ResourceList getAllResources() {
        if (allWhitelistedResourcesCached == null) {
            // Index Resource objects by path
            final ResourceList whitelistedResourcesList = new ResourceList();
            for (final ClasspathElement classpathElt : classpathOrder) {
                if (classpathElt.whitelistedResources != null) {
                    whitelistedResourcesList.addAll(classpathElt.whitelistedResources);
                }
            }
            // Set atomically for thread safety
            allWhitelistedResourcesCached = whitelistedResourcesList;
        }
        return allWhitelistedResourcesCached;
    }
577184
@Programmatic
    @SuppressWarnings({ "rawtypes", "unchecked" })
    public List<ApplicationSetting> listAll() {
        return (List)repositoryService.allMatches(
                new QueryDefault<>(ApplicationSettingJdo.class,
                        "findAll"));
    }
1075089
public List<PersistenceUnit<Persistence<T>>> getAllPersistenceUnit()
   {
      List<PersistenceUnit<Persistence<T>>> list = new ArrayList<PersistenceUnit<Persistence<T>>>();
      List<Node> nodeList = childNode.get("persistence-unit");
      for(Node node: nodeList)
      {
         PersistenceUnit<Persistence<T>>  type = new PersistenceUnitImpl<Persistence<T>>(this, "persistence-unit", childNode, node);
         list.add(type);
      }
      return list;
   }
660080
public List<Repository> getRepositories(String spaceKey) throws GreenPepperServerException {
        Repository repository = getHomeRepository(spaceKey);
        List<Repository> repositories = getGPServerService().getRequirementRepositoriesOfAssociatedProject(repository.getUid());
        return repositories;
    }