Returns an immutable {@link List} of all {@link ResourceType}s contained in {@link #resourceTypesGraph} in
breadth-first order.

@return the list of all {@link ResourceType}s
540060
public List<ResourceType<L>> getResourceTypesBreadthFirst() {
        List<ResourceType<L>> result = new ArrayList<ResourceType<L>>();
        GraphIterator<ResourceType<L>, DefaultEdge> it = new BreadthFirstIterator<ResourceType<L>, DefaultEdge>(
                this.resourceTypesGraph);
        while (it.hasNext()) {
            result.add(it.next());
        }
        return Collections.unmodifiableList(result);
    }
538288
public List<DataSourceType<WebFragmentDescriptor>> getAllDataSource()
   {
      List<DataSourceType<WebFragmentDescriptor>> list = new ArrayList<DataSourceType<WebFragmentDescriptor>>();
      List<Node> nodeList = model.get("data-source");
      for(Node node: nodeList)
      {
         DataSourceType<WebFragmentDescriptor>  type = new DataSourceTypeImpl<WebFragmentDescriptor>(this, "data-source", model, node);
         list.add(type);
      }
      return list;
   }
949889
public List breadthFirst() {
        List answer = new NodeList();
        answer.add(this);
        answer.addAll(breadthFirstRest());
        return answer;
    }
769102
public List<FacesConfigApplicationResourceLibraryContractsContractMappingType<FacesConfigApplicationResourceLibraryContractsType<T>>> getAllContractMapping()
   {
      List<FacesConfigApplicationResourceLibraryContractsContractMappingType<FacesConfigApplicationResourceLibraryContractsType<T>>> list = new ArrayList<FacesConfigApplicationResourceLibraryContractsContractMappingType<FacesConfigApplicationResourceLibraryContractsType<T>>>();
      List<Node> nodeList = childNode.get("contract-mapping");
      for(Node node: nodeList)
      {
         FacesConfigApplicationResourceLibraryContractsContractMappingType<FacesConfigApplicationResourceLibraryContractsType<T>>  type = new FacesConfigApplicationResourceLibraryContractsContractMappingTypeImpl<FacesConfigApplicationResourceLibraryContractsType<T>>(this, "contract-mapping", childNode, node);
         list.add(type);
      }
      return list;
   }
268136
public Set<ResourceType<L>> getChildren(ResourceType<L> resourceType) {
        Set<ResourceType<L>> directChildren = index.successorsOf(resourceType);
        return Collections.unmodifiableSet(directChildren);
    }
480028
@GET
    public List<String> getRoutes() {
        List<Resource> resourceList = resourceContext.getResourceModel().getResources();
        List<String> routeList = Lists.newArrayList();
        for (Resource resource : resourceList) {
            String path = resource.getPath().startsWith("/") ? "" : "/" + resource.getPath();
            if (resource.getAllMethods().size() > 0) {
                routeList.add(path);
            }
            routeList.addAll(
                    resource.getChildResources()
                            .stream()
                            .map(res -> path + (res.getPath().startsWith("/") ? "" : "/") + res.getPath())
                            .collect(Collectors.toList())
            );
        }
        return routeList;
    }
919633
public List<ConnectionFactoryResourceType<WebAppDescriptor>> getAllConnectionFactory()
   {
      List<ConnectionFactoryResourceType<WebAppDescriptor>> list = new ArrayList<ConnectionFactoryResourceType<WebAppDescriptor>>();
      List<Node> nodeList = model.get("connection-factory");
      for(Node node: nodeList)
      {
         ConnectionFactoryResourceType<WebAppDescriptor>  type = new ConnectionFactoryResourceTypeImpl<WebAppDescriptor>(this, "connection-factory", model, node);
         list.add(type);
      }
      return list;
   }
119276
protected List<String> getImmutableResources() {

        if (m_immutables == null) {
            // get list of immutable resources
            m_immutables = OpenCms.getImportExportManager().getImmutableResources();
            if (m_immutables == null) {
                m_immutables = Collections.emptyList();
            }
            if (LOG.isDebugEnabled()) {
                LOG.debug(
                    Messages.get().getBundle().key(
                        Messages.LOG_IMPORTEXPORT_IMMUTABLE_RESOURCES_SIZE_1,
                        Integer.toString(m_immutables.size())));
            }
        }
        return m_immutables;
    }
110901
public List<AdminobjectType<ResourceadapterType<T>>> getAllAdminobject()
   {
      List<AdminobjectType<ResourceadapterType<T>>> list = new ArrayList<AdminobjectType<ResourceadapterType<T>>>();
      List<Node> nodeList = childNode.get("adminobject");
      for(Node node: nodeList)
      {
         AdminobjectType<ResourceadapterType<T>>  type = new AdminobjectTypeImpl<ResourceadapterType<T>>(this, "adminobject", childNode, node);
         list.add(type);
      }
      return list;
   }
111130
public boolean existRunnableNodes(ResourceType type) {
    RunnableIndices r = typeToIndices.get(type);
    return r.existRunnableNodes();
  }
866695
public static List<Resource> getChildrenByType(final Resource resource, List<String> typeSet) {
        final ArrayList<Resource> children = new ArrayList<>();
        if (resource != null) {
            for (final Resource child : resource.getChildren()) {
                for (String type : typeSet) {
                    if (isResourceType(child, type)) {
                        children.add(child);
                        break;
                    }
                }
            }
        }
        return children;
    }
1235219
public List<NamedEntityGraph<Entity<T>>> getAllNamedEntityGraph()
   {
      List<NamedEntityGraph<Entity<T>>> list = new ArrayList<NamedEntityGraph<Entity<T>>>();
      List<Node> nodeList = childNode.get("named-entity-graph");
      for(Node node: nodeList)
      {
         NamedEntityGraph<Entity<T>>  type = new NamedEntityGraphImpl<Entity<T>>(this, "named-entity-graph", childNode, node);
         list.add(type);
      }
      return list;
   }
112675
public List<NodeTypeDefinition> readAllNodeTypes() {
        CachedNode nodeTypes = nodeTypesNode();
        List<NodeTypeDefinition> defns = new ArrayList<NodeTypeDefinition>();
        for (ChildReference ref : nodeTypes.getChildReferences(system)) {
            CachedNode nodeType = system.getNode(ref);
            defns.add(readNodeTypeDefinition(nodeType));
        }
        return defns;
    }
57509
public java.util.List<String> getResourceIds() {
        if (resourceIds == null) {
            resourceIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return resourceIds;
    }
995203
public ImmutableMap<String, Node> getTypeTransformations() {
    if (info == null || info.typeTransformations == null) {
      return ImmutableMap.<String, Node>of();
    }
    return ImmutableMap.copyOf(info.typeTransformations);
  }
119867
public java.util.List<? extends com.google.appengine.v1.InstanceOrBuilder> 
      getInstancesOrBuilderList() {
    return instances_;
  }
144343
public List<Resource<L>> removeResource(Resource<L> doomedResource) {
        graphLockWrite.lock();
        try {
            List<Resource<L>> removedResources = new ArrayList<Resource<L>>();
            Resource<L> resourceToRemove = getResource(doomedResource.getID());
            if (resourceToRemove != null) {
                getAllDescendants(resourceToRemove, removedResources);
                removedResources.add(resourceToRemove);
                removedResources.forEach(r -> this.resourcesGraph.removeVertex(r));
            }
            return Collections.unmodifiableList(removedResources);
        } finally {
            graphLockWrite.unlock();
        }
    }