Package org.nuxeo.ecm.core.schema
Interface TypeProvider
-
- All Known Subinterfaces:
SchemaManager
- All Known Implementing Classes:
SchemaManagerImpl
public interface TypeProvider
A provider of types (schemas, document types, facets).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DocumentType
getDocumentType(String docType)
Gets a document type.DocumentType[]
getDocumentTypes()
Gets the list of document types.CompositeType
getFacet(String name)
Gets a facet.CompositeType[]
getFacets()
Gets the list of facets.Set<String>
getNoPerDocumentQueryFacets()
Finds which facets are configured as no-per-instance-query.List<Schema>
getProxySchemas(String docType)
Gets the schemas on a proxy for a document of the given type.Schema
getSchema(String schema)
Gets a schema.Schema[]
getSchemas()
Gets the list of schemas.default Set<String>
getSpecialDocumentTypes()
Gets the list of document types excluded from copy.boolean
isProxySchema(String schema, String docType)
Checks if a schema is on a proxy for a document of the given type.
-
-
-
Method Detail
-
getSchemas
Schema[] getSchemas()
Gets the list of schemas.
-
getDocumentType
DocumentType getDocumentType(String docType)
Gets a document type.
-
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
-
getFacet
CompositeType getFacet(String name)
Gets a facet.
-
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.
-
-