Package org.nuxeo.ecm.core.schema
Class DocumentTypeDescriptor
java.lang.Object
org.nuxeo.ecm.core.schema.DocumentTypeDescriptor
Document Type Descriptor.
Can be used to delay document type registration when not all prerequisites are met (e.g. supertype was not yet registered).
In this case the descriptor containing all the information needed to register the document is put in a queue waiting for the prerequisites to be met.
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDocumentTypeDescriptor
(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets) DocumentTypeDescriptor
(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets, String[] subtypes, String[] forbiddenSubtypes) -
Method Summary
-
Field Details
-
name
-
schemas
-
superTypeName
-
facets
-
prefetch
-
append
public boolean append -
special
Allows to exclude the doctype from copy operations for example.- Since:
- 11.1
-
enabled
public boolean enabled- Since:
- 2021.16
-
subtypes
-
forbiddenSubtypes
-
-
Constructor Details
-
DocumentTypeDescriptor
public DocumentTypeDescriptor() -
DocumentTypeDescriptor
public DocumentTypeDescriptor(String superTypeName, String name, SchemaDescriptor[] schemas, String[] facets) -
DocumentTypeDescriptor
-
-
Method Details