Modifier and Type | Method and Description |
---|---|
static DataModel |
DocumentModelFactory.createDataModel(Document doc,
Schema schema)
Creates a data model from a document and a schema.
|
DataModel |
CoreSession.getDataModel(DocumentRef docRef,
Schema schema)
Retrieves a data model given a document reference and a schema.
|
DataModel |
AbstractSession.getDataModel(DocumentRef docRef,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
static DataModel |
DocumentModelImpl.cloneDataModel(Schema schema,
DataModel data) |
Modifier and Type | Method and Description |
---|---|
Schema |
Property.getSchema()
Gets the document schema defining the property tree from which the property belongs.
|
Schema |
DocumentPart.getSchema()
The document schema.
|
Modifier and Type | Field and Description |
---|---|
protected Schema |
DocumentPartImpl.schema |
Modifier and Type | Method and Description |
---|---|
Schema |
DocumentPartImpl.getSchema() |
Schema |
AbstractProperty.getSchema() |
Schema |
DocumentPartImpl.getType() |
Constructor and Description |
---|
DocumentPartImpl(Schema schema) |
Modifier and Type | Method and Description |
---|---|
Schema |
ConstraintViolation.getSchema() |
Modifier and Type | Method and Description |
---|---|
protected List<ConstraintViolation> |
DocumentValidationServiceImpl.validate(Schema schema,
Field field,
Object value,
boolean validateSubProperties) |
Constructor and Description |
---|
ConstraintViolation(Schema schema,
List<ConstraintViolation.PathNode> fieldPath,
Constraint constraint,
Object invalidValue) |
Modifier and Type | Method and Description |
---|---|
protected static void |
AbstractDocumentModelWriter.loadSchema(ExportedDocument xdoc,
Schema schema,
DocumentModel doc,
org.dom4j.Element schemaElement) |
Modifier and Type | Method and Description |
---|---|
protected void |
SchemaJsonWriter.writeEntityBody(Schema schema,
org.codehaus.jackson.JsonGenerator jg) |
Modifier and Type | Method and Description |
---|---|
protected void |
NuxeoTypeHelper.addSchemaPropertyDefinitions(Schema schema) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Schema> |
SchemaManagerImpl.prefixToSchema |
protected List<Schema> |
SchemaManagerImpl.proxySchemas
Effective proxy schemas.
|
protected Map<String,Schema> |
SchemaManagerImpl.schemas
Effective schemas.
|
protected Map<String,Schema> |
SchemaManagerImpl.uriToSchema |
Modifier and Type | Method and Description |
---|---|
Schema |
TypeProvider.getSchema(String schema)
Gets a schema.
|
Schema |
SchemaManagerImpl.getSchema(String name) |
Schema |
SchemaManagerImpl.getSchemaFromPrefix(String schemaPrefix) |
Schema |
SchemaManager.getSchemaFromPrefix(String schemaPrefix) |
Schema |
SchemaManagerImpl.getSchemaFromURI(String schemaURI) |
Schema |
SchemaManager.getSchemaFromURI(String schemaURI) |
Schema[] |
TypeProvider.getSchemas()
Gets the list of schemas.
|
Schema[] |
SchemaManagerImpl.getSchemas() |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
File file) |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
File file,
String xsdElement) |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
URL url) |
Schema |
XSDLoader.loadSchema(String name,
String prefix,
URL url,
String xsdElement)
Create Nuxeo schema from a XSD resource.
|
protected Schema |
XSDLoader.loadSchema(String name,
String prefix,
com.sun.xml.xsom.XSSchemaSet schemaSet,
String xsdElement) |
Modifier and Type | Method and Description |
---|---|
List<Schema> |
TypeProvider.getProxySchemas(String docType)
Gets the schemas on a proxy for a document of the given type.
|
List<Schema> |
SchemaManagerImpl.getProxySchemas(String docType) |
Modifier and Type | Method and Description |
---|---|
protected Type |
XSDLoader.createComplexType(Schema schema,
ComplexType superType,
String name,
com.sun.xml.xsom.XSContentType content,
boolean abstractType) |
protected Type |
XSDLoader.createFakeComplexType(Schema schema,
ComplexType superType,
String name,
com.sun.xml.xsom.XSModelGroup mg) |
protected static ListType |
XSDLoader.createListType(Schema schema,
String name,
Type itemType,
int min,
int max) |
protected ListType |
XSDLoader.createListType(Schema schema,
String name,
com.sun.xml.xsom.XSParticle particle) |
protected void |
XSDLoader.loadAttributes(Schema schema,
com.sun.xml.xsom.XSComplexType xsct,
ComplexType ct) |
protected Type |
XSDLoader.loadComplexType(Schema schema,
String name,
com.sun.xml.xsom.XSType type) |
protected void |
XSDLoader.loadComplexTypeElement(Schema schema,
ComplexType type,
com.sun.xml.xsom.XSElementDecl element) |
protected ListType |
XSDLoader.loadListType(Schema schema,
com.sun.xml.xsom.XSListSimpleType type,
String fieldName) |
protected SimpleType |
XSDLoader.loadSimpleType(Schema schema,
com.sun.xml.xsom.XSType type,
String fieldName) |
protected Type |
XSDLoader.loadType(Schema schema,
com.sun.xml.xsom.XSType type,
String fieldName) |
protected Type |
XSDLoader.processModelGroup(Schema schema,
ComplexType superType,
String name,
ComplexType ct,
com.sun.xml.xsom.XSModelGroup mg,
boolean abstractType) |
protected void |
XSDLoader.registerSchema(Schema schema) |
protected void |
SchemaManagerImpl.registerSchema(Schema schema) |
Constructor and Description |
---|
DocumentTypeImpl(String name,
DocumentType superType,
List<Schema> schemas,
Collection<String> facets,
PrefetchInfo prefetchInfo)
Constructs a document type.
|
Modifier and Type | Class and Description |
---|---|
class |
SchemaImpl
The implementation of a Schema
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Schema> |
CompositeTypeImpl.schemas
The schemas for this composite type.
|
Modifier and Type | Method and Description |
---|---|
Schema |
Type.getSchema()
Gets the schema defining this type.
|
Schema |
SchemaImpl.getSchema() |
Schema |
AbstractType.getSchema() |
Schema |
CompositeTypeImpl.getSchema(String name) |
Schema |
CompositeType.getSchema(String name)
Gets the composite type schema given its name.
|
Modifier and Type | Method and Description |
---|---|
Collection<Schema> |
CompositeTypeImpl.getSchemas() |
Collection<Schema> |
CompositeType.getSchemas()
Gets all the schemas (including inherited schemas) of this composite type.
|
Constructor and Description |
---|
CompositeTypeImpl(CompositeType superType,
String schema,
String name,
List<Schema> schemaList)
Constructs a composite type.
|
Modifier and Type | Method and Description |
---|---|
protected abstract List<Schema> |
BaseDocument.getProxySchemas()
Gets the list of proxy schemas, if this is a proxy.
|
Modifier and Type | Field and Description |
---|---|
protected List<Schema> |
DBSDocument.proxySchemas |
Modifier and Type | Method and Description |
---|---|
protected List<Schema> |
DBSDocument.getProxySchemas() |
Modifier and Type | Method and Description |
---|---|
protected void |
DBSRepositoryBase.BlobFinder.visitSchemas(Collection<Schema> schemas) |
Modifier and Type | Field and Description |
---|---|
protected List<Schema> |
SQLDocumentLive.proxySchemas
Proxy-induced types.
|
Modifier and Type | Method and Description |
---|---|
protected List<Schema> |
SQLDocumentLive.getProxySchemas() |
Modifier and Type | Method and Description |
---|---|
protected void |
BlobsExtractor.blobMatched(DocumentType docType,
Schema schema,
String path,
Field field)
Call during the parsing of the schema structure in
BlobsExtractor.findInteresting(org.nuxeo.ecm.core.schema.DocumentType, org.nuxeo.ecm.core.schema.types.Schema, java.lang.String, org.nuxeo.ecm.core.schema.types.ComplexType) if field is a Blob
Type. |
protected void |
BlobsExtractor.containsBlob(DocumentType docType,
Schema schema,
String path,
Field field)
Called during the parsing of the schema structure in
BlobsExtractor.findInteresting(org.nuxeo.ecm.core.schema.DocumentType, org.nuxeo.ecm.core.schema.types.Schema, java.lang.String, org.nuxeo.ecm.core.schema.types.ComplexType) if field contains a
subfield of type Blob. |
protected boolean |
BlobsExtractor.findInteresting(DocumentType docType,
Schema schema,
String path,
ComplexType ct)
Analyzes the document's schemas to find which fields and complex types contain blobs.
|
Modifier and Type | Method and Description |
---|---|
protected net.sf.json.JSONObject |
Select2ActionsBean.resolveDirectoryEntry(String storedReference,
String keySeparator,
Session session,
Schema schema,
String label,
boolean localize,
boolean dbl10n) |
Modifier and Type | Method and Description |
---|---|
static String |
Select2Common.getLabelFieldName(Schema schema,
boolean dbl10n,
String labelFieldName,
String lang)
Compute the field name of the directory that holds the value that we want to display.
|
Modifier and Type | Field and Description |
---|---|
protected Schema[] |
Schemas.schemas |
Modifier and Type | Field and Description |
---|---|
protected Set<Schema> |
DocumentTypes.usedSchemas |
Modifier and Type | Method and Description |
---|---|
Schema[] |
DocumentTypes.getSchemas() |
Modifier and Type | Method and Description |
---|---|
protected Set<Schema> |
DocumentTypes.getUsedSchemas() |
Modifier and Type | Method and Description |
---|---|
long |
SchemaWriter.getSize(Schema arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4) |
protected void |
AbstractTypeDefWriter.writeSchema(org.codehaus.jackson.JsonGenerator jg,
Schema schema) |
protected void |
AbstractTypeDefWriter.writeSchemaObject(org.codehaus.jackson.JsonGenerator jg,
Schema schema) |
void |
SchemaWriter.writeTo(Schema schema,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Constructor and Description |
---|
Schemas(Schema[] schemas) |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaEndPoint.getSchema(String name) |
Copyright © 2015 Nuxeo SA. All rights reserved.