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
Modifier and TypeMethodDescriptiongetDocumentType
(String docType) Gets a document type.Gets the list of document types.Gets a facet.Gets the list of facets.Finds which facets are configured as no-per-instance-query.getProxySchemas
(String docType) Gets the schemas on a proxy for a document of the given type.Gets a schema.Schema[]
Gets the list of schemas.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 Details
-
getSchema
Gets a schema. -
getSchemas
Schema[] getSchemas()Gets the list of schemas. -
getDocumentType
Gets a document type. -
getDocumentTypes
DocumentType[] getDocumentTypes()Gets the list of document types. -
getSpecialDocumentTypes
Gets the list of document types excluded from copy.- Since:
- 11.1
-
getFacet
Gets a facet. -
getFacets
CompositeType[] getFacets()Gets the list of facets. -
getNoPerDocumentQueryFacets
Finds which facets are configured as no-per-instance-query. -
getProxySchemas
Gets the schemas on a proxy for a document of the given type. -
isProxySchema
Checks if a schema is on a proxy for a document of the given type.
-