public interface SchemaManager extends TypeProvider
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllowedSubTypes(String type)
Returns the types of the children that can be created inside a given
type type. |
boolean |
getClearComplexPropertyBeforeSet()
Whether or not to ignore any previous values when setting complex properties.
|
PropertyDeprecationHandler |
getDeprecatedProperties() |
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.
|
PropertyDeprecationHandler |
getRemovedProperties() |
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, isProxySchema
Field 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.Set<String> getAllowedSubTypes(String type)
type
type.PropertyDeprecationHandler getDeprecatedProperties()
PropertyDeprecationHandler getRemovedProperties()
boolean getClearComplexPropertyBeforeSet()
true
if setting a complex property ignores any previous valuesCopyright © 2018 Nuxeo. All rights reserved.