public interface SchemaManager extends TypeProvider
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getDocumentTypeNamesExtending(String docType)
Return the names of all document types extending the given one, which is included.
|
Set<String> |
getDocumentTypeNamesForFacet(String facet)
Returns the names of all document types that have given facet.
|
int |
getDocumentTypesCount() |
Field |
getField(Field field,
String subFieldName)
Returns the field with given parent field and sub name, or null if not found.
|
Field |
getField(String xpath)
Returns the field with given xpath, or null if not found.
|
Schema |
getSchemaFromPrefix(String schemaPrefix) |
Schema |
getSchemaFromURI(String schemaURI) |
boolean |
hasSuperType(String docType,
String superType)
Returns true if
docType is or extends superType, false otherwise. |
getDocumentType, getDocumentTypes, getFacet, getFacets, getNoPerDocumentQueryFacets, getProxySchemas, getSchema, getSchemas, isProxySchemaField getField(Field field, String subFieldName)
Schema getSchemaFromPrefix(String schemaPrefix)
Schema getSchemaFromURI(String schemaURI)
Set<String> getDocumentTypeNamesForFacet(String facet)
facet - Set<String> getDocumentTypeNamesExtending(String docType)
docType - int getDocumentTypesCount()
boolean hasSuperType(String docType, String superType)
docType is or extends superType, false otherwise.Copyright © 2015 Nuxeo SA. All rights reserved.