Uses of Class
org.nuxeo.ecm.core.api.PropertyException
-
-
Uses of PropertyException in org.nuxeo.ecm.automation.core.util
Methods in org.nuxeo.ecm.automation.core.util that throw PropertyException Modifier and Type Method Description static void
DocumentHelper. addBlob(Property p, Blob blob)
Given a document property, updates its value with the given blob.void
DataModelProperties. addDataModel(DataModel dm)
static void
DocumentHelper. setProperties(CoreSession session, DocumentModel doc, Properties properties)
protected void
JSONPropertyWriter. writeBlobProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)
protected void
JSONPropertyWriter. writeListProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)
protected void
JSONPropertyWriter. writeMapProperty(com.fasterxml.jackson.core.JsonGenerator jg, ComplexProperty prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)
void
JSONPropertyWriter. writeProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop)
Converts the value of the given core property to JSON.protected void
JSONPropertyWriter. writeProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)
Converts the value of the given core property to JSON.static void
JSONPropertyWriter. writePropertyValue(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, DateTimeFormat dateTimeFormat, String filesBaseUrl)
Converts the value of the given core property to JSON.protected void
JSONPropertyWriter. writeScalarProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)
Constructors in org.nuxeo.ecm.automation.core.util that throw PropertyException Constructor Description DataModelProperties(List<DataModel> dms)
DataModelProperties(List<DataModel> dms, boolean onlyDirtyProperties)
DataModelProperties(DataModel dm)
DataModelProperties(DataModel dm, boolean onlyDirtyProperties)
-
Uses of PropertyException in org.nuxeo.ecm.core.api
Methods in org.nuxeo.ecm.core.api that throw PropertyException Modifier and Type Method Description Object
DataModel. getData(String key)
Deprecated.Gets the named field value.Map<String,Object>
DataModel. getMap()
Deprecated.Gets all the fields set in this data model.Property
DocumentModel. getProperty(String xpath)
Gets a property given a xpath.Serializable
DocumentModel. getPropertyValue(String xpath)
Gets a property value given a xpath.Object
DataModel. getValue(String path)
Deprecated.Gets a value given its path.void
DataModel. setData(String key, Object value)
Deprecated.Sets the name field.void
DataModel. setMap(Map<String,Object> data)
Deprecated.Sets several field at once.void
DocumentModel. setPropertyValue(String xpath, Serializable value)
Sets a property value given a xpath.void
AbstractSession. setRetainUntil(DocumentRef docRef, Calendar retainUntil, String comment)
void
CoreSession. setRetainUntil(DocumentRef docRef, Calendar retainUntil, String comment)
Sets the retention date on the document (a record).Object
DataModel. setValue(String path, Object value)
Deprecated.Sets a value to a property given its path.void
AbstractSession. unsetRetainUntil(DocumentRef docRef)
-
Uses of PropertyException in org.nuxeo.ecm.core.api.blobholder
Methods in org.nuxeo.ecm.core.api.blobholder that throw PropertyException Modifier and Type Method Description Blob
BlobHolderAdapterComponent. getExternalBlobForUri(String uri)
Blob
BlobHolderAdapterService. getExternalBlobForUri(String uri)
Returns an external blob from given uri. -
Uses of PropertyException in org.nuxeo.ecm.core.api.externalblob
Methods in org.nuxeo.ecm.core.api.externalblob that throw PropertyException Modifier and Type Method Description Blob
ExternalBlobAdapter. getBlob(String uri)
Retrieves the blob for given uri.Blob
FileSystemExternalBlobAdapter. getBlob(String uri)
String
FileSystemExternalBlobAdapter. getFileAbsolutePath(String localPath)
String
AbstractExternalBlobAdapter. getLocalName(String uri)
-
Uses of PropertyException in org.nuxeo.ecm.core.api.impl
Methods in org.nuxeo.ecm.core.api.impl that throw PropertyException Modifier and Type Method Description Object
DataModelImpl. getData(String key)
Map<String,Object>
DataModelImpl. getMap()
Property
SimpleDocumentModel. getProperty(String xpath)
Serializable
DocumentModelImpl. getPropertyValue(String xpath)
Serializable
SimpleDocumentModel. getPropertyValue(String xpath)
Object
DataModelImpl. getValue(String path)
void
DataModelImpl. setData(String key, Object value)
void
DataModelImpl. setMap(Map<String,Object> data)
void
DocumentModelImpl. setPropertyValue(String xpath, Serializable value)
Object
DataModelImpl. setValue(String path, Object value)
-
Uses of PropertyException in org.nuxeo.ecm.core.api.model
Subclasses of PropertyException in org.nuxeo.ecm.core.api.model Modifier and Type Class Description class
BlobNotFoundException
Indicates a blob is missing.class
InvalidPropertyValueException
Exception thrown when setting an illegal property value.class
PropertyConversionException
Exception thrown when trying to convert a property value to an incompatible type during read or write.class
PropertyNotFoundException
Exception indicating a property not found.class
ReadOnlyPropertyException
Exception thrown when attempting to write to a read-only property.Methods in org.nuxeo.ecm.core.api.model that throw PropertyException Modifier and Type Method Description void
Property. accept(PropertyVisitor visitor, Object arg)
Method that implement the visitor pattern.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.Serializable
Property. getValue()
Gets the property normalized value.<T> T
Property. getValue(Class<T> type)
Gets the property value as the given type.<T> T
Property. getValue(Class<T> type, String path)
Gets the value of the property resolved using the given path.Serializable
Property. getValue(String path)
Gets the value of the property resolved using the given path.Serializable
Property. getValueForWrite()
Gets the property normalized value for write.void
Property. init(Serializable value)
Initializes the property with the given normalized value.boolean
Property. isSameAs(Property property)
Compare the two properties by content.Serializable
Property. remove()
Removes this property from the tree.Map<String,Serializable>
ValueExporter. run(DocumentPart dp)
void
Property. set(String name, Property property)
Sets the child property having the given name.void
Property. setValue(int index, Object value)
Sets a child property value given its index.void
Property. setValue(Object value)
Sets this property value.void
Property. setValue(String path, Object value)
Sets the value of the property resolved using the given path.Object
PropertyVisitor. visit(ListProperty property, Object arg)
Object
PropertyVisitor. visit(MapProperty property, Object arg)
Object
PropertyVisitor. visit(ScalarProperty property, Object arg)
Object
ValueExporter. visit(ListProperty property, Object arg)
Object
ValueExporter. visit(MapProperty property, Object arg)
Object
ValueExporter. visit(ScalarProperty property, Object arg)
-
Uses of PropertyException in org.nuxeo.ecm.core.api.model.impl
Methods in org.nuxeo.ecm.core.api.model.impl that throw PropertyException Modifier and Type Method Description void
DocumentPartImpl. accept(PropertyVisitor visitor, Object arg)
void
ListProperty. accept(PropertyVisitor visitor, Object arg)
void
MapProperty. accept(PropertyVisitor visitor, Object arg)
void
RemovedProperty. accept(PropertyVisitor visitor, Object arg)
void
ScalarProperty. accept(PropertyVisitor visitor, Object arg)
Property
RemovedProperty. addEmpty()
Property
ListProperty. addValue(int index, Object value)
Property
ListProperty. addValue(Object value)
Property
RemovedProperty. addValue(int index, Object value)
Property
RemovedProperty. addValue(Object value)
void
ListProperty. applyListDiff(ListDiff ld)
Supports ListDiff for compatibility.Serializable
AbstractProperty. getValue()
<T> T
AbstractProperty. getValue(Class<T> type)
<T> T
AbstractProperty. getValue(Class<T> type, String path)
Serializable
AbstractProperty. getValue(String path)
Serializable
DocumentPartImpl. getValue()
Serializable
AbstractProperty. getValueForWrite()
Serializable
ComplexProperty. getValueForWrite()
Serializable
DocumentPartImpl. getValueForWrite()
Serializable
ListProperty. getValueForWrite()
void
AbstractProperty. init(Serializable value)
void
ComplexProperty. init(Serializable value)
void
ListProperty. init(Serializable value)
abstract Serializable
AbstractProperty. internalGetValue()
Serializable
ComplexProperty. internalGetValue()
Serializable
ListProperty. internalGetValue()
Serializable
RemovedProperty. internalGetValue()
Serializable
ScalarProperty. internalGetValue()
abstract void
AbstractProperty. internalSetValue(Serializable value)
Sets the given normalized value.void
DocumentPartImpl. internalSetValue(Serializable value)
void
ListProperty. internalSetValue(Serializable value)
void
MapProperty. internalSetValue(Serializable value)
void
RemovedProperty. internalSetValue(Serializable value)
void
ScalarProperty. internalSetValue(Serializable value)
boolean
ComplexProperty. isSameAs(Property property)
Should be used by container properties.boolean
ListProperty. isSameAs(Property property)
boolean
RemovedProperty. isSameAs(Property property)
boolean
ScalarProperty. isSameAs(Property property)
Serializable
AbstractProperty. remove()
void
ListProperty. set(String name, Property property)
void
RemovedProperty. set(String name, Property property)
void
ScalarProperty. set(String name, Property property)
void
AbstractProperty. setValue(int index, Object value)
void
AbstractProperty. setValue(Object value)
void
AbstractProperty. setValue(String path, Object value)
void
ArrayProperty. setValue(Object value)
void
ComplexProperty. setValue(Object value)
void
ListProperty. setValue(Object value)
protected void
AbstractProperty. setValueDeprecation(Object value, boolean setFallback)
If this property is deprecated and has a fallback, set value to fallback.void
ComplexProperty. visitChildren(PropertyVisitor visitor, Object arg)
-
Uses of PropertyException in org.nuxeo.ecm.core.api.model.impl.primitives
Methods in org.nuxeo.ecm.core.api.model.impl.primitives that throw PropertyException Modifier and Type Method Description Map<String,Serializable>
ExternalBlobProperty. getMapFromBlobWithUri(Blob blob)
protected Object
BlobProperty. getMemberValue(Object object, String name)
<T> T
ExternalBlobProperty. getValue(Class<T> type)
Serializable
BlobProperty. getValueForWrite()
Serializable
ExternalBlobProperty. getValueForWrite()
void
BlobProperty. init(Serializable value)
void
ExternalBlobProperty. init(Serializable value)
Serializable
BlobProperty. internalGetValue()
Serializable
BlobProperty.ScalarMemberProperty. internalGetValue()
Serializable
ExternalBlobProperty. internalGetValue()
void
BlobProperty. internalSetValue(Serializable value)
void
BlobProperty.ScalarMemberProperty. internalSetValue(Serializable value)
boolean
BlobProperty. isSameAs(Property property)
protected void
BlobProperty. setMap(Object object, Map<String,Object> value)
protected void
BlobProperty. setMemberValue(Object object, String name, Object value)
void
BlobProperty. setValue(Object value)
void
ExternalBlobProperty. setValue(Object value)
Overridden to be able to set a blob from a given map. -
Uses of PropertyException in org.nuxeo.ecm.core.event.impl
Methods in org.nuxeo.ecm.core.event.impl that throw PropertyException Modifier and Type Method Description Property
ShallowDocumentModel. getProperty(String xpath)
Serializable
ShallowDocumentModel. getPropertyValue(String xpath)
-
Uses of PropertyException in org.nuxeo.ecm.core.model
Methods in org.nuxeo.ecm.core.model that throw PropertyException Modifier and Type Method Description Object
Document. getValue(String xpath)
Gets a property value.void
Document. readDocumentPart(DocumentPart dp)
Loads aDocumentPart
from storage.void
Document. setRetainUntil(Calendar retainUntil)
Sets a retention date for the document (a record).void
Document. setValue(String xpath, Object value)
Sets a property value.void
Document. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)
Visits all the blobs of this document and calls the passed blob visitor on each one.default boolean
Document. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext)
Deprecated.since 11.1, use the signature withcreate
insteadboolean
Document. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext, boolean create)
Writes aDocumentPart
to storage. -
Uses of PropertyException in org.nuxeo.ecm.core.storage
Methods in org.nuxeo.ecm.core.storage that throw PropertyException Modifier and Type Method Description protected boolean
BaseDocument. checkReadOnlyIgnoredWrite(Property property, T state)
Checks for ignored writes.Object[]
StateAccessor. getArray(String name)
Gets an array value.Blob
BaseDocument.StateBlobAccessor. getBlob()
protected BlobInfo
BaseDocument. getBlobInfo(T state)
protected abstract T
BaseDocument. getChild(T state, String name, Type type)
Gets a child state.protected abstract List<T>
BaseDocument. getChildAsList(T state, String name)
Gets a child state which is a list.protected abstract T
BaseDocument. getChildForWrite(T state, String name, Type type)
Gets a child state into which we will want to write data.Object
StateAccessor. getSingle(String name)
Gets a single value.protected Blob
BaseDocument. getValueBlob(T state, String xpath)
protected Object
BaseDocument. getValueComplex(T state, ComplexType complexType, String xpath)
protected Object
BaseDocument. getValueField(T state, Field field, String xpath)
protected Object
BaseDocument. getValueObject(T state, String xpath)
Gets a value (may be complex/list) from the document at the given xpath.protected void
BaseDocument. readComplexProperty(T state, ComplexProperty complexProperty)
Reads state into a complex property.protected void
BaseDocument. readComplexProperty(T state, ComplexProperty complexProperty, String xpath)
void
StateAccessor. setArray(String name, Object[] value)
Sets an array value.void
BaseDocument.StateBlobAccessor. setBlob(Blob blob, boolean gcOldBlob)
protected void
BaseDocument. setBlobInfo(T state, BlobInfo blobInfo)
void
StateAccessor. setSingle(String name, Object value)
Sets a single value.protected void
BaseDocument. setValueBlob(T state, Blob blob, String xpath)
protected void
BaseDocument. setValueBlob(T state, Blob blob, String xpath, boolean gcOldBlob)
protected void
BaseDocument. setValueComplex(T state, Field field, String xpath, Object value)
protected void
BaseDocument. setValueField(T state, Field field, String xpath, Object value)
protected void
BaseDocument. setValueObject(T state, String xpath, Object value)
Sets a value (may be complex/list) into the document at the given xpath.protected abstract List<T>
BaseDocument. updateList(T state, String name, Property property)
Update a list.protected abstract void
BaseDocument. updateList(T state, String name, Field field, String xpath, List<Object> values)
Update a list.protected void
BaseDocument. visitBlobs(T state, Consumer<Document.BlobAccessor> blobVisitor, Runnable markDirty)
Visits all the blobs of this document and calls the passed blob visitor on each one.void
BaseDocument.Visit. visitBlobsComplex(T state, ComplexType complexType)
protected void
BaseDocument.Visit. visitBlobsField(T state, Field field)
protected boolean
BaseDocument. writeComplexProperty(T state, ComplexProperty complexProperty, String xpath, boolean writeAll, boolean writeAllChildren, Document.WriteContext wc)
Writes state from a complex property.protected boolean
BaseDocument. writeComplexProperty(T state, ComplexProperty complexProperty, Document.WriteContext writeContext)
Deprecated.protected boolean
BaseDocument. writeDocumentPart(T state, DocumentPart dp, Document.WriteContext writeContext, boolean create)
Writes state from a document part. -
Uses of PropertyException in org.nuxeo.ecm.core.storage.dbs
Methods in org.nuxeo.ecm.core.storage.dbs that throw PropertyException Modifier and Type Method Description protected State
DBSDocument. getChildForWrite(State state, String name, Type type)
String[]
DBSDocument. getRetainedProperties()
protected DBSDocumentState
DBSDocument. getStateOrTarget(Type type)
Object
DBSDocument. getValue(String xpath)
void
DBSDocument. readDocumentPart(DocumentPart dp)
void
DBSDocument. setRetainUntil(Calendar retainUntil)
void
DBSDocument. setValue(String xpath, Object value)
protected List<State>
DBSDocument. updateList(State state, String name, Property property)
void
DBSDocument. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)
boolean
DBSDocument. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext, boolean create)
-
Uses of PropertyException in org.nuxeo.ecm.core.storage.sql
Methods in org.nuxeo.ecm.core.storage.sql that throw PropertyException Modifier and Type Method Description Object[]
Node. getArray(String name)
Object
Node. getSingle(String name)
void
Node. setArray(String name, Object[] value)
void
Node. setSingle(String name, Object value)
-
Uses of PropertyException in org.nuxeo.ecm.core.storage.sql.coremodel
Methods in org.nuxeo.ecm.core.storage.sql.coremodel that throw PropertyException Modifier and Type Method Description protected Node
SQLDocumentLive. getChild(Node node, String name, Type type)
protected List<Node>
SQLDocumentLive. getChildAsList(Node node, String name)
protected Node
SQLDocumentLive. getChildForWrite(Node node, String name, Type type)
Object
SQLDocumentLive. getValue(String xpath)
Object
SQLDocumentProxy. getValue(String xpath)
void
SQLDocumentLive. readDocumentPart(DocumentPart dp)
Reads into theDocumentPart
the values from thisSQLDocument
.void
SQLDocumentProxy. readDocumentPart(DocumentPart dp)
void
SQLDocumentLive. setValue(String xpath, Object value)
void
SQLDocumentProxy. setValue(String xpath, Object value)
protected List<Node>
SQLDocumentLive. updateList(Node node, String name, Property property)
protected void
SQLDocumentLive. updateList(Node node, String name, Field field, String xpath, List<Object> values)
void
SQLDocumentLive. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)
void
SQLDocumentProxy. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)
boolean
SQLDocumentLive. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext, boolean create)
boolean
SQLDocumentProxy. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext, boolean create)
-
Uses of PropertyException in org.nuxeo.ecm.directory
Methods in org.nuxeo.ecm.directory that throw PropertyException Modifier and Type Method Description static DocumentModel
BaseSession. createEntryModel(String sessionId, String schema, String id, Map<String,Object> values)
Deprecated.since 11.1, sessionId is unusedstatic DocumentModel
BaseSession. createEntryModel(String sessionId, String schema, String id, Map<String,Object> values, boolean readOnly)
Deprecated.since 11.1, sessionId is unused -
Uses of PropertyException in org.nuxeo.ecm.platform.oauth.providers
Methods in org.nuxeo.ecm.platform.oauth.providers that throw PropertyException Modifier and Type Method Description protected DocumentModel
OAuthServiceProviderRegistryImpl. getBestEntry(DocumentModelList entries, String gadgetUri, String serviceName)
-
Uses of PropertyException in org.nuxeo.ecm.platform.picture.api.adapters
Methods in org.nuxeo.ecm.platform.picture.api.adapters that throw PropertyException Modifier and Type Method Description Blob
DefaultPictureAdapter. getPictureFromTitle(String title)
Blob
NoPictureAdapter. getPictureFromTitle(String title)
Blob
PictureResourceAdapter. getPictureFromTitle(String title)
-
Uses of PropertyException in org.nuxeo.ecm.platform.rendering.api
Methods in org.nuxeo.ecm.platform.rendering.api that throw PropertyException Modifier and Type Method Description Object
DefaultDocumentView. get(DocumentModel doc, String name)
Object
DocumentView. get(DocumentModel doc, String name)
-
Uses of PropertyException in org.nuxeo.ecm.platform.routing.core.api.operation
Methods in org.nuxeo.ecm.platform.routing.core.api.operation that throw PropertyException Modifier and Type Method Description protected String
GetTaskNamesOperation. getWorkflowTranslatedTitle(DocumentModel taskDoc, Locale locale)
-
Uses of PropertyException in org.nuxeo.ecm.user.center.profile.listeners
Methods in org.nuxeo.ecm.user.center.profile.listeners that throw PropertyException Modifier and Type Method Description protected void
ResizeAvatarPictureListener. resizeAvatar(DocumentModel doc, Blob avatarImage)
-
Uses of PropertyException in org.nuxeo.ecm.webengine.forms
Methods in org.nuxeo.ecm.webengine.forms that throw PropertyException Modifier and Type Method Description void
FormData. fillDocumentFromForm(DocumentModel doc)
void
FormData. fillDocumentFromMultiPartForm(DocumentModel doc)
-
Uses of PropertyException in org.nuxeo.template.adapters.source
Methods in org.nuxeo.template.adapters.source that throw PropertyException Modifier and Type Method Description String
TemplateSourceDocumentAdapterImpl. getParamsAsString()
-
Uses of PropertyException in org.nuxeo.template.api.adapters
Methods in org.nuxeo.template.api.adapters that throw PropertyException Modifier and Type Method Description List<TemplateInput>
TemplateSourceDocument. getParams()
Retrieve the parameters associated to the Template fileString
TemplateSourceDocument. getParamsAsString()
Return the String representation of the parameters of the templateBlob
TemplateSourceDocument. getTemplateBlob()
Retrieve the Blob holding the template fileDocumentModel
TemplateBasedDocument. setTemplate(DocumentModel template, boolean save)
Associate the document to a Template.
-