Modifier and Type | Method and Description |
---|---|
void |
JSONPropertyWriter.PropertyConsumer.accept(org.codehaus.jackson.JsonGenerator jg,
Property prop) |
static void |
DocumentHelper.addBlob(Property p,
Blob blob)
Given a document property, updates its value with the given blob.
|
protected void |
JSONPropertyWriter.writeBlobProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop,
JSONPropertyWriter.PropertyConsumer fieldNameWriter) |
protected void |
JSONPropertyWriter.writeListProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop,
JSONPropertyWriter.PropertyConsumer fieldNameWriter) |
void |
JSONPropertyWriter.writeProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop)
Converts the value of the given core property to JSON.
|
protected void |
JSONPropertyWriter.writeProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop,
JSONPropertyWriter.PropertyConsumer fieldNameWriter)
Converts the value of the given core property to JSON.
|
static void |
JSONPropertyWriter.writePropertyValue(org.codehaus.jackson.JsonGenerator jg,
Property prop,
DateTimeFormat dateTimeFormat,
String filesBaseUrl)
Converts the value of the given core property to JSON.
|
protected void |
JSONPropertyWriter.writeScalarProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop,
JSONPropertyWriter.PropertyConsumer fieldNameWriter) |
Modifier and Type | Method and Description |
---|---|
Property |
DocumentModel.getProperty(String xpath)
Gets a property given a xpath.
|
Property |
DocumentModel.getPropertyObject(String schema,
String name)
Gets a property object from the given schema.
|
Modifier and Type | Method and Description |
---|---|
Collection<Property> |
DocumentModel.getPropertyObjects(String schema)
Gets the
Property objects for the given schema. |
Modifier and Type | Method and Description |
---|---|
protected List<Property> |
DocumentBlobHolder.computeBlobList()
Computes the blob list, with the main blob first.
|
Modifier and Type | Method and Description |
---|---|
protected String |
DocumentBlobHolder.getFullXPath(Property property)
Gets the full xpath for a property, including schema prefix in all cases.
|
Modifier and Type | Method and Description |
---|---|
Property |
SimpleDocumentModel.getProperty(String xpath) |
Property |
DocumentModelImpl.getProperty(String xpath) |
Property |
SimpleDocumentModel.getPropertyObject(String schema,
String name) |
Property |
DocumentModelImpl.getPropertyObject(String schema,
String name) |
Modifier and Type | Method and Description |
---|---|
Collection<Property> |
SimpleDocumentModel.getPropertyObjects(String schema) |
Collection<Property> |
DocumentModelImpl.getPropertyObjects(String schema) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentPart
Deprecated.
since 8.4, use direct
Property getters on DocumentModel instead |
Modifier and Type | Method and Description |
---|---|
Property |
Property.addEmpty()
Creates an empty child property and adds it as a property to the list container.
|
Property |
Property.addValue(int index,
Object value)
Inserts at the given position a new value to the list.
|
Property |
Property.addValue(Object value)
Appends a new value to the list.
|
Property |
DocumentPart.createProperty(Property parent,
Field field)
Deprecated.
|
Property |
DocumentPart.createProperty(Property parent,
Field field,
int flags)
Deprecated.
|
Property |
Property.get(int index)
Get the child property given it's index.
|
Property |
Property.get(String name)
Gets the child property having the given name.
|
Property |
Property.getParent()
Gets the property parent.
|
Property |
Property.resolvePath(Path path)
Resolves the given path relative to the current property and return the property if any is found otherwise throws
an exception.
|
Property |
Property.resolvePath(String path)
Same as
resolvePath(Path) but with a string path as argument. |
Modifier and Type | Method and Description |
---|---|
Collection<Property> |
Property.getChildren()
Get a collection over the children properties.
|
Iterator<Property> |
Property.getDirtyChildren()
Gets an iterator over the dirty children properties.
|
Modifier and Type | Method and Description |
---|---|
Property |
DocumentPart.createProperty(Property parent,
Field field)
Deprecated.
|
Property |
DocumentPart.createProperty(Property parent,
Field field,
int flags)
Deprecated.
|
protected String |
ValueExporter.getName(Property property) |
boolean |
Property.isSameAs(Property property)
Compare the two properties by content.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProperty |
class |
ArrayProperty |
class |
ComplexProperty
A scalar property that is linked to a schema field
|
class |
DocumentPartImpl |
class |
ListProperty |
class |
MapProperty
Phantom properties are not stored as children objects.
|
class |
RemovedProperty
Property used to declare property removed from schema.
|
class |
ScalarProperty
A scalar property that is linked to a schema field
|
Modifier and Type | Field and Description |
---|---|
protected Property |
AbstractProperty.deprecatedFallback |
protected Property |
RemovedProperty.fallback |
Property |
AbstractProperty.parent |
Modifier and Type | Field and Description |
---|---|
protected List<Property> |
ListProperty.children |
protected Map<String,Property> |
ComplexProperty.children |
Modifier and Type | Method and Description |
---|---|
Property |
ScalarProperty.addEmpty() |
Property |
RemovedProperty.addEmpty() |
Property |
ListProperty.addEmpty() |
Property |
ComplexProperty.addEmpty() |
Property |
ScalarProperty.addValue(int index,
Object value) |
Property |
RemovedProperty.addValue(int index,
Object value) |
Property |
ListProperty.addValue(int index,
Object value) |
Property |
ComplexProperty.addValue(int index,
Object value) |
Property |
ScalarProperty.addValue(Object value) |
Property |
RemovedProperty.addValue(Object value) |
Property |
ListProperty.addValue(Object value) |
Property |
ComplexProperty.addValue(Object value) |
protected Property |
AbstractProperty.computeRemovedProperty(String name)
Returns the
RemovedProperty if it is a removed property or null otherwise. |
Property |
DocumentPartImpl.createProperty(Property parent,
Field field) |
static Property |
PropertyFactory.createProperty(Property parent,
Field field,
int flags) |
Property |
DocumentPartImpl.createProperty(Property parent,
Field field,
int flags) |
Property |
ScalarProperty.get(int index) |
Property |
RemovedProperty.get(int index) |
Property |
ListProperty.get(int index) |
Property |
ComplexProperty.get(int index) |
Property |
ComplexProperty.get(Object key) |
Property |
ScalarProperty.get(String name) |
Property |
RemovedProperty.get(String name) |
Property |
ListProperty.get(String name) |
Property |
ComplexProperty.get(String name) |
Property |
ComplexProperty.getChild(Field field) |
Property |
ComplexProperty.getNonPhantomChild(Field field) |
Property |
AbstractProperty.getParent() |
protected Property |
ComplexProperty.internalGetChild(Field field)
Gets the property given its name.
|
Property |
DirtyPropertyIterator.next() |
Property |
ComplexProperty.put(String key,
Property value)
Throws UnsupportedOperationException, added to implement List
|
Property |
ListProperty.remove(int index) |
Property |
ComplexProperty.remove(Object key)
Throws UnsupportedOperationException, added to implement List
|
Property |
AbstractProperty.resolvePath(Path path) |
Property |
AbstractProperty.resolvePath(String path) |
Property |
ListProperty.set(int index,
Property element)
Throws UnsupportedOperationException, added to implement List
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,Property>> |
ComplexProperty.entrySet() |
Collection<Property> |
ScalarProperty.getChildren() |
Collection<Property> |
RemovedProperty.getChildren() |
Collection<Property> |
ListProperty.getChildren() |
Collection<Property> |
ComplexProperty.getChildren() |
Iterator<Property> |
ScalarProperty.getDirtyChildren() |
Iterator<Property> |
RemovedProperty.getDirtyChildren() |
Iterator<Property> |
ListProperty.getDirtyChildren() |
Iterator<Property> |
ComplexProperty.getDirtyChildren() |
Collection<Property> |
ComplexProperty.getNonPhantomChildren() |
Iterator<Property> |
AbstractProperty.iterator() |
ListIterator<Property> |
ListProperty.listIterator()
Throws UnsupportedOperationException, added to implement List
|
ListIterator<Property> |
ListProperty.listIterator(int index)
Throws UnsupportedOperationException, added to implement List
|
List<Property> |
ListProperty.subList(int fromIndex,
int toIndex)
Throws UnsupportedOperationException, added to implement List
|
Collection<Property> |
ComplexProperty.values() |
Modifier and Type | Method and Description |
---|---|
void |
ListProperty.add(int index,
Property element)
Throws UnsupportedOperationException, added to implement List
|
boolean |
ListProperty.add(Property o)
Throws UnsupportedOperationException, added to implement List
|
Property |
DocumentPartImpl.createProperty(Property parent,
Field field) |
static Property |
PropertyFactory.createProperty(Property parent,
Field field,
int flags) |
Property |
DocumentPartImpl.createProperty(Property parent,
Field field,
int flags) |
int |
ListProperty.indexOf(Property property) |
boolean |
ScalarProperty.isSameAs(Property property) |
boolean |
RemovedProperty.isSameAs(Property property) |
boolean |
ListProperty.isSameAs(Property property) |
boolean |
ComplexProperty.isSameAs(Property property)
Should be used by container properties.
|
Property |
ComplexProperty.put(String key,
Property value)
Throws UnsupportedOperationException, added to implement List
|
boolean |
ListProperty.remove(Property property) |
Property |
ListProperty.set(int index,
Property element)
Throws UnsupportedOperationException, added to implement List
|
Modifier and Type | Method and Description |
---|---|
boolean |
ListProperty.addAll(Collection<? extends Property> c)
Throws UnsupportedOperationException, added to implement List
|
boolean |
ListProperty.addAll(int index,
Collection<? extends Property> c)
Throws UnsupportedOperationException, added to implement List
|
void |
ComplexProperty.putAll(Map<? extends String,? extends Property> t)
Throws UnsupportedOperationException, added to implement List
|
Constructor and Description |
---|
AbstractProperty(Property parent) |
AbstractProperty(Property parent,
int flags) |
ArrayProperty(Property parent,
Field field,
int flags) |
ComplexProperty(Property parent) |
ComplexProperty(Property parent,
int flags) |
ListProperty(Property parent,
Field field) |
ListProperty(Property parent,
Field field,
int flags) |
MapProperty(Property parent,
Field field) |
MapProperty(Property parent,
Field field,
int flags) |
RemovedProperty(Property parent,
String fieldName) |
RemovedProperty(Property parent,
String fieldName,
Property fallback) |
ScalarProperty(Property parent,
Field field) |
ScalarProperty(Property parent,
Field field,
int flags) |
Constructor and Description |
---|
DirtyPropertyIterator(Iterator<Property> it) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryProperty |
class |
BlobProperty
Blob property, reading and writing from a
Blob object. |
static class |
BlobProperty.ScalarMemberProperty |
class |
BooleanProperty |
class |
DateProperty |
class |
DoubleProperty |
class |
ExternalBlobProperty
Property handling an external blob: create/edit is done from a map, and the value returned is a blob.
|
class |
LongProperty |
class |
StringProperty |
Modifier and Type | Method and Description |
---|---|
protected Property |
BlobProperty.internalGetChild(Field field) |
Modifier and Type | Method and Description |
---|---|
boolean |
BlobProperty.isSameAs(Property property) |
Constructor and Description |
---|
BinaryProperty(Property parent,
Field field,
int flags) |
BlobProperty(Property parent,
Field field,
int flags) |
BooleanProperty(Property parent,
Field field,
int flags) |
DateProperty(Property parent,
Field field,
int flags) |
DoubleProperty(Property parent,
Field field,
int flags) |
ExternalBlobProperty(Property parent,
Field field) |
ExternalBlobProperty(Property parent,
Field field,
int flags) |
LongProperty(Property parent,
Field field,
int flags) |
ScalarMemberProperty(Property parent,
Field field,
int flags) |
StringProperty(Property parent,
Field field,
int flags) |
Modifier and Type | Field and Description |
---|---|
protected Property |
PropertyObjectResolverImpl.property |
Constructor and Description |
---|
PropertyObjectResolverImpl(Property property,
ObjectResolver resolver) |
Modifier and Type | Method and Description |
---|---|
DocumentValidationReport |
DocumentValidationServiceImpl.validate(Property property) |
DocumentValidationReport |
DocumentValidationService.validate(Property property)
Validates a property according to its
Field definition. |
DocumentValidationReport |
DocumentValidationServiceImpl.validate(Property property,
boolean validateSubProperties) |
DocumentValidationReport |
DocumentValidationService.validate(Property property,
boolean validateSubProperties)
Validates a property according to its
Field definition. |
Modifier and Type | Method and Description |
---|---|
Property |
ShallowDocumentModel.getProperty(String xpath) |
Property |
ShallowDocumentModel.getPropertyObject(String schema,
String name) |
Modifier and Type | Method and Description |
---|---|
Collection<Property> |
ShallowDocumentModel.getPropertyObjects(String schema) |
Modifier and Type | Method and Description |
---|---|
protected Property |
DocumentPropertiesJsonReader.readProperty(Property parent,
Field field,
org.codehaus.jackson.JsonNode jn) |
Modifier and Type | Method and Description |
---|---|
List<Property> |
DocumentPropertiesJsonReader.read(org.codehaus.jackson.JsonNode jn) |
Modifier and Type | Method and Description |
---|---|
protected Property |
DocumentPropertiesJsonReader.readProperty(Property parent,
Field field,
org.codehaus.jackson.JsonNode jn) |
void |
DocumentPropertyJsonWriter.write(Property prop,
org.codehaus.jackson.JsonGenerator jg) |
protected void |
DocumentPropertyJsonWriter.writeBlobProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop) |
protected void |
DocumentPropertyJsonWriter.writeComplexProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop) |
protected void |
DocumentPropertyJsonWriter.writeListProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop) |
protected void |
DocumentPropertyJsonWriter.writeProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop) |
protected void |
DocumentPropertyJsonWriter.writeScalarProperty(org.codehaus.jackson.JsonGenerator jg,
Property prop) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BaseDocument.checkReadOnlyIgnoredWrite(Property property,
T state)
Checks for ignored writes.
|
protected static void |
BaseDocument.clearDirtyFlags(Property property) |
protected Schema |
BaseDocument.getTopLevelSchema(Property property)
|
protected abstract List<T> |
BaseDocument.updateList(T state,
String name,
Property property)
Update a list.
|
Modifier and Type | Method and Description |
---|---|
protected List<State> |
DBSDocument.updateList(State state,
String name,
Property property) |
Modifier and Type | Method and Description |
---|---|
protected List<Node> |
SQLDocumentLive.updateList(Node node,
String name,
Property property) |
Modifier and Type | Method and Description |
---|---|
List<Property> |
BlobsExtractor.getBlobsProperties(DocumentModel doc)
Gets the blob properties of the document.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BlobsExtractor.findBlobsProperties(Property property,
List<String> split,
List<Property> properties) |
Modifier and Type | Method and Description |
---|---|
protected void |
BlobsExtractor.findBlobsProperties(Property property,
List<String> split,
List<Property> properties) |
Modifier and Type | Method and Description |
---|---|
void |
MimetypeIconUpdater.updateBlobProperty(DocumentModel doc,
MimetypeRegistry mimetypeService,
Property dirtyProperty)
Update the mimetype of a blob along with the icon and size fields of the document if the blob is the main blob of
the document.
|
Modifier and Type | Field and Description |
---|---|
protected Property |
ComplexPropertyTemplate.property |
Modifier and Type | Field and Description |
---|---|
protected Iterator<Property> |
PropertyIteratorTemplate.iterator |
Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
PropertyWrapper.wrap(Property property) |
Constructor and Description |
---|
ComplexPropertyTemplate(DocumentObjectWrapper wrapper,
Property property) |
Constructor and Description |
---|
PropertyIteratorTemplate(DocumentObjectWrapper wrapper,
Iterator<Property> iterator) |
Constructor and Description |
---|
Button(GraphNode source,
Property p) |
EscalationRule(GraphNode node,
Property p) |
TaskInfo(GraphNode node,
Property p) |
Transition(GraphNode source,
Property p) |
Copyright © 2018 Nuxeo. All rights reserved.