Uses of Class
org.nuxeo.ecm.core.api.PropertyException
Package
Description
Event Service implementation.
Implementation of a Nuxeo repository over an SQL database.
-
Uses of PropertyException in org.nuxeo.ecm.automation.core.util
Modifier and TypeMethodDescriptionstatic void
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) ModifierConstructorDescriptionDataModelProperties
(List<DataModel> dms) DataModelProperties
(List<DataModel> dms, boolean onlyDirtyProperties) DataModelProperties
(DataModel dm, boolean onlyDirtyProperties) -
Uses of PropertyException in org.nuxeo.ecm.core.api
Modifier and TypeMethodDescriptionDeprecated.Gets the named field value.DataModel.getMap()
Deprecated.Gets all the fields set in this data model.DocumentModel.getProperty
(String xpath) Gets a property given a xpath.DocumentModel.getPropertyValue
(String xpath) Gets a property value given a xpath.Deprecated.Gets a value given its path.void
Deprecated.Sets the name field.void
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).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
Modifier and TypeMethodDescriptionBlobHolderAdapterComponent.getExternalBlobForUri
(String uri) BlobHolderAdapterService.getExternalBlobForUri
(String uri) Returns an external blob from given uri. -
Uses of PropertyException in org.nuxeo.ecm.core.api.externalblob
Modifier and TypeMethodDescriptionRetrieves the blob for given uri.FileSystemExternalBlobAdapter.getFileAbsolutePath
(String localPath) AbstractExternalBlobAdapter.getLocalName
(String uri) -
Uses of PropertyException in org.nuxeo.ecm.core.api.impl
Modifier and TypeMethodDescriptionDataModelImpl.getMap()
SimpleDocumentModel.getProperty
(String xpath) DocumentModelImpl.getPropertyValue
(String xpath) SimpleDocumentModel.getPropertyValue
(String xpath) void
void
void
DocumentModelImpl.setPropertyValue
(String xpath, Serializable value) -
Uses of PropertyException in org.nuxeo.ecm.core.api.model
Modifier and TypeClassDescriptionclass
Indicates a blob is missing.class
Exception thrown when setting an illegal property value.class
Exception thrown when trying to convert a property value to an incompatible type during read or write.class
Exception indicating a property not found.class
Exception thrown when attempting to write to a read-only property.Modifier and TypeMethodDescriptionvoid
Property.accept
(PropertyVisitor visitor, Object arg) Method that implement the visitor pattern.Property.addEmpty()
Creates an empty child property and adds it as a property to the list container.Inserts at the given position a new value to the list.Appends a new value to the list.Property.getValue()
Gets the property normalized value.<T> T
Gets the property value as the given type.<T> T
Gets the value of the property resolved using the given path.Gets the value of the property resolved using the given path.Property.getValueForWrite()
Gets the property normalized value for write.void
Property.init
(Serializable value) Initializes the property with the given normalized value.boolean
Compare the two properties by content.Property.remove()
Removes this property from the tree.ValueExporter.run
(DocumentPart dp) void
Sets the child property having the given name.void
Sets a child property value given its index.void
Sets this property value.void
Sets the value of the property resolved using the given path.PropertyVisitor.visit
(ListProperty property, Object arg) PropertyVisitor.visit
(MapProperty property, Object arg) PropertyVisitor.visit
(ScalarProperty property, Object arg) ValueExporter.visit
(ListProperty property, Object arg) ValueExporter.visit
(MapProperty property, Object arg) ValueExporter.visit
(ScalarProperty property, Object arg) -
Uses of PropertyException in org.nuxeo.ecm.core.api.model.impl
Modifier and TypeMethodDescriptionvoid
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) RemovedProperty.addEmpty()
void
ListProperty.applyListDiff
(ListDiff ld) Supports ListDiff for compatibility.AbstractProperty.getValue()
<T> T
<T> T
DocumentPartImpl.getValue()
AbstractProperty.getValueForWrite()
ComplexProperty.getValueForWrite()
DocumentPartImpl.getValueForWrite()
ListProperty.getValueForWrite()
void
AbstractProperty.init
(Serializable value) void
ComplexProperty.init
(Serializable value) void
ListProperty.init
(Serializable value) abstract Serializable
AbstractProperty.internalGetValue()
ComplexProperty.internalGetValue()
ListProperty.internalGetValue()
RemovedProperty.internalGetValue()
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
Should be used by container properties.boolean
boolean
boolean
AbstractProperty.remove()
void
void
void
void
void
void
void
void
void
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
Modifier and TypeMethodDescriptionExternalBlobProperty.getMapFromBlobWithUri
(Blob blob) protected Object
BlobProperty.getMemberValue
(Object object, String name) <T> T
BlobProperty.getValueForWrite()
ExternalBlobProperty.getValueForWrite()
void
BlobProperty.init
(Serializable value) void
ExternalBlobProperty.init
(Serializable value) BlobProperty.internalGetValue()
BlobProperty.ScalarMemberProperty.internalGetValue()
ExternalBlobProperty.internalGetValue()
void
BlobProperty.internalSetValue
(Serializable value) void
BlobProperty.ScalarMemberProperty.internalSetValue
(Serializable value) boolean
protected void
protected void
BlobProperty.setMemberValue
(Object object, String name, Object value) void
void
Overridden to be able to set a blob from a given map. -
Uses of PropertyException in org.nuxeo.ecm.core.event.impl
Modifier and TypeMethodDescriptionShallowDocumentModel.getProperty
(String xpath) ShallowDocumentModel.getPropertyValue
(String xpath) -
Uses of PropertyException in org.nuxeo.ecm.core.model
Modifier and TypeMethodDescriptionGets 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
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.boolean
Document.writeDocumentPart
(DocumentPart dp, Document.WriteContext writeContext, boolean create) Writes aDocumentPart
to storage. -
Uses of PropertyException in org.nuxeo.ecm.core.storage
Modifier and TypeMethodDescriptionprotected boolean
BaseDocument.checkReadOnlyIgnoredWrite
(Property property, T state) Checks for ignored writes.Object[]
Gets an array value.BaseDocument.StateBlobAccessor.getBlob()
protected BlobInfo
BaseDocument.getBlobInfo
(T state) protected abstract T
Gets a child state.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.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
Sets an array value.void
protected void
BaseDocument.setBlobInfo
(T state, BlobInfo blobInfo) void
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.BaseDocument.updateList
(T state, String name, Property property) Update a list.protected abstract void
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
Modifier and TypeMethodDescriptionprotected State
DBSDocument.getChildForWrite
(State state, String name, Type type) String[]
DBSDocument.getRetainedProperties()
protected DBSDocumentState
DBSDocument.getStateOrTarget
(Type type) void
DBSDocument.readDocumentPart
(DocumentPart dp) void
DBSDocument.setRetainUntil
(Calendar retainUntil) void
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
-
Uses of PropertyException in org.nuxeo.ecm.core.storage.sql.coremodel
Modifier and TypeMethodDescriptionprotected Node
SQLDocumentLive.getChildAsList
(Node node, String name) protected Node
SQLDocumentLive.getChildForWrite
(Node node, String name, Type type) void
SQLDocumentLive.readDocumentPart
(DocumentPart dp) Reads into theDocumentPart
the values from thisSQLDocument
.void
SQLDocumentProxy.readDocumentPart
(DocumentPart dp) void
void
SQLDocumentLive.updateList
(Node node, String name, Property property) protected void
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
Modifier and TypeMethodDescriptionstatic DocumentModel
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
Modifier and TypeMethodDescriptionprotected DocumentModel
OAuthServiceProviderRegistryImpl.getBestEntry
(DocumentModelList entries, String gadgetUri, String serviceName) -
Uses of PropertyException in org.nuxeo.ecm.platform.picture.api.adapters
Modifier and TypeMethodDescriptionDefaultPictureAdapter.getPictureFromTitle
(String title) NoPictureAdapter.getPictureFromTitle
(String title) PictureResourceAdapter.getPictureFromTitle
(String title) -
Uses of PropertyException in org.nuxeo.ecm.platform.rendering.api
Modifier and TypeMethodDescriptionDefaultDocumentView.get
(DocumentModel doc, String name) DocumentView.get
(DocumentModel doc, String name) -
Uses of PropertyException in org.nuxeo.ecm.platform.routing.core.api.operation
Modifier and TypeMethodDescriptionprotected String
GetTaskNamesOperation.getWorkflowTranslatedTitle
(DocumentModel taskDoc, Locale locale) -
Uses of PropertyException in org.nuxeo.ecm.user.center.profile.listeners
Modifier and TypeMethodDescriptionprotected void
ResizeAvatarPictureListener.resizeAvatar
(DocumentModel doc, Blob avatarImage) -
Uses of PropertyException in org.nuxeo.ecm.webengine.forms
Modifier and TypeMethodDescriptionvoid
FormData.fillDocumentFromForm
(DocumentModel doc) void
FormData.fillDocumentFromMultiPartForm
(DocumentModel doc) -
Uses of PropertyException in org.nuxeo.template.adapters.source
-
Uses of PropertyException in org.nuxeo.template.api.adapters
Modifier and TypeMethodDescriptionTemplateSourceDocument.getParams()
Retrieve the parameters associated to the Template fileTemplateSourceDocument.getParamsAsString()
Return the String representation of the parameters of the templateTemplateSourceDocument.getTemplateBlob()
Retrieve the Blob holding the template fileTemplateBasedDocument.setTemplate
(DocumentModel template, boolean save) Associate the document to a Template.
create
instead