Interface TypeProvider

  • All Known Subinterfaces:
    SchemaManager
    All Known Implementing Classes:
    SchemaManagerImpl

    public interface TypeProvider
    A provider of types (schemas, document types, facets).
    • Method Detail

      • getSchema

        Schema getSchema​(String schema)
        Gets a schema.
      • getSchemas

        Schema[] getSchemas()
        Gets the list of schemas.
      • getDocumentTypes

        DocumentType[] getDocumentTypes()
        Gets the list of document types.
      • getSpecialDocumentTypes

        default Set<String> getSpecialDocumentTypes()
        Gets the list of document types excluded from copy.
        Since:
        11.1
      • getFacets

        CompositeType[] getFacets()
        Gets the list of facets.
      • getNoPerDocumentQueryFacets

        Set<String> getNoPerDocumentQueryFacets()
        Finds which facets are configured as no-per-instance-query.
      • getProxySchemas

        List<Schema> getProxySchemas​(String docType)
        Gets the schemas on a proxy for a document of the given type.
      • isProxySchema

        boolean isProxySchema​(String schema,
                              String docType)
        Checks if a schema is on a proxy for a document of the given type.