Modifier and Type | Method and Description |
---|---|
static void |
DocumentHelper.addBlob(Property p,
Blob blob)
Given a document property, updates its value with the given blob.
|
Modifier and Type | Method and Description |
---|---|
Property |
DocumentModel.getProperty(String xpath)
Gets a property given a xpath.
|
Modifier and Type | Method and Description |
---|---|
Property |
SimpleDocumentModel.getProperty(String xpath) |
Property |
DocumentModelImpl.getProperty(String xpath) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentPart
A document part is the root of a property tree which is specified by a schema
|
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) |
Property |
PropertyFactory.createProperty(Property parent,
Field field,
int flags) |
Property |
DocumentPart.createProperty(Property parent,
Field field,
int flags) |
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) |
Property |
PropertyFactory.createProperty(Property parent,
Field field,
int flags) |
Property |
DocumentPart.createProperty(Property parent,
Field field,
int flags) |
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 |
ScalarProperty
A scalar property that is linked to a schema field
|
Modifier and Type | Method and Description |
---|---|
Property |
ScalarProperty.addEmpty() |
Property |
ListProperty.addEmpty() |
Property |
ComplexProperty.addEmpty() |
Property |
ScalarProperty.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 |
ListProperty.addValue(Object value) |
Property |
ComplexProperty.addValue(Object value) |
Property |
DocumentPartImpl.createProperty(Property parent,
Field field) |
Property |
DocumentPartImpl.createProperty(Property parent,
Field field,
int flags) |
Property |
CompositePropertyFactory.createProperty(Property parent,
Field field,
int flags) |
Property |
ScalarProperty.get(int index) |
Property |
ListProperty.get(int index) |
Property |
ComplexProperty.get(int index) |
Property |
ComplexProperty.get(Object key) |
Property |
ScalarProperty.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() |
static Property |
DefaultPropertyFactory.newArrayProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newListProperty(Property parent,
Field field) |
static Property |
DefaultPropertyFactory.newListProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newMapProperty(Property parent,
Field field) |
static Property |
DefaultPropertyFactory.newMapProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newScalarProperty(Property parent,
Field field) |
static Property |
DefaultPropertyFactory.newScalarProperty(Property parent,
Field field,
int flags) |
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> |
ListProperty.getChildren() |
Collection<Property> |
ComplexProperty.getChildren() |
Iterator<Property> |
ScalarProperty.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) |
Property |
DocumentPartImpl.createProperty(Property parent,
Field field,
int flags) |
Property |
CompositePropertyFactory.createProperty(Property parent,
Field field,
int flags) |
int |
ListProperty.indexOf(Property property) |
boolean |
ScalarProperty.isSameAs(Property property) |
boolean |
ListProperty.isSameAs(Property property) |
boolean |
ComplexProperty.isSameAs(Property property)
Should be used by container properties.
|
static Property |
DefaultPropertyFactory.newArrayProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newListProperty(Property parent,
Field field) |
static Property |
DefaultPropertyFactory.newListProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newMapProperty(Property parent,
Field field) |
static Property |
DefaultPropertyFactory.newMapProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newProperty(Property parent,
Field field,
int flags) |
static Property |
DefaultPropertyFactory.newScalarProperty(Property parent,
Field field) |
static Property |
DefaultPropertyFactory.newScalarProperty(Property parent,
Field field,
int flags) |
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 |
---|
ArrayProperty(Property parent,
Field field,
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) |
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 |
ComplexMemberProperty |
class |
ObjectProperty
Phantom properties are not stored as children objects.
|
class |
ScalarMemberProperty |
Modifier and Type | Method and Description |
---|---|
boolean |
ComplexMemberProperty.isSameAs(Property property) |
Constructor and Description |
---|
ComplexMemberProperty(ObjectAdapter adapter,
Property parent,
Field field) |
ComplexMemberProperty(ObjectAdapter adapter,
Property parent,
Field field,
int flags) |
ObjectProperty(ObjectAdapter adapter,
Property parent,
Field field) |
ObjectProperty(ObjectAdapter adapter,
Property parent,
Field field,
int flags) |
ScalarMemberProperty(Property parent,
Field field) |
ScalarMemberProperty(Property parent,
Field field,
int flags) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryProperty |
class |
BlobProperty |
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 |
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) |
StringProperty(Property parent,
Field field,
int flags) |
Modifier and Type | Method and Description |
---|---|
Property |
ShallowDocumentModel.getProperty(String xpath) |
Modifier and Type | Method and Description |
---|---|
Property |
LocalPropertyURLConnection.getProperty() |
Modifier and Type | Method and Description |
---|---|
List<Property> |
BlobsExtractor.getBlobsProperties(DocumentModel doc)
Get properties of the given document that contain a blob value.
|
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 | Method and Description |
---|---|
void |
MimetypeIconUpdater.recursivelyUpdateBlobs(DocumentModel doc,
MimetypeRegistry mimetypeService,
Iterator<Property> dirtyChildren)
Deprecated.
now we use
BlobsExtractor that cache path fields. |
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) |
Copyright © 2011 Nuxeo SA. All Rights Reserved.