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 voidDocumentHelper. addBlob(Property p, Blob blob)Given a document property, updates its value with the given blob.voidDataModelProperties. addDataModel(DataModel dm)static voidDocumentHelper. setProperties(CoreSession session, DocumentModel doc, Properties properties)protected voidJSONPropertyWriter. writeBlobProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)protected voidJSONPropertyWriter. writeListProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)protected voidJSONPropertyWriter. writeMapProperty(com.fasterxml.jackson.core.JsonGenerator jg, ComplexProperty prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)voidJSONPropertyWriter. writeProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop)Converts the value of the given core property to JSON.protected voidJSONPropertyWriter. writeProperty(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, JSONPropertyWriter.PropertyConsumer fieldNameWriter)Converts the value of the given core property to JSON.static voidJSONPropertyWriter. writePropertyValue(com.fasterxml.jackson.core.JsonGenerator jg, Property prop, DateTimeFormat dateTimeFormat, String filesBaseUrl)Converts the value of the given core property to JSON.protected voidJSONPropertyWriter. 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 ObjectDataModel. getData(String key)Deprecated.Gets the named field value.Map<String,Object>DataModel. getMap()Deprecated.Gets all the fields set in this data model.PropertyDocumentModel. getProperty(String xpath)Gets a property given a xpath.SerializableDocumentModel. getPropertyValue(String xpath)Gets a property value given a xpath.ObjectDataModel. getValue(String path)Deprecated.Gets a value given its path.voidDataModel. setData(String key, Object value)Deprecated.Sets the name field.voidDataModel. setMap(Map<String,Object> data)Deprecated.Sets several field at once.voidDocumentModel. setPropertyValue(String xpath, Serializable value)Sets a property value given a xpath.voidAbstractSession. setRetainUntil(DocumentRef docRef, Calendar retainUntil, String comment)voidCoreSession. setRetainUntil(DocumentRef docRef, Calendar retainUntil, String comment)Sets the retention date on the document (a record).ObjectDataModel. setValue(String path, Object value)Deprecated.Sets a value to a property given its path.voidAbstractSession. 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 BlobBlobHolderAdapterComponent. getExternalBlobForUri(String uri)BlobBlobHolderAdapterService. 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 BlobExternalBlobAdapter. getBlob(String uri)Retrieves the blob for given uri.BlobFileSystemExternalBlobAdapter. getBlob(String uri)StringFileSystemExternalBlobAdapter. getFileAbsolutePath(String localPath)StringAbstractExternalBlobAdapter. 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 ObjectDataModelImpl. getData(String key)Map<String,Object>DataModelImpl. getMap()PropertySimpleDocumentModel. getProperty(String xpath)SerializableDocumentModelImpl. getPropertyValue(String xpath)SerializableSimpleDocumentModel. getPropertyValue(String xpath)ObjectDataModelImpl. getValue(String path)voidDataModelImpl. setData(String key, Object value)voidDataModelImpl. setMap(Map<String,Object> data)voidDocumentModelImpl. setPropertyValue(String xpath, Serializable value)ObjectDataModelImpl. 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 classBlobNotFoundExceptionIndicates a blob is missing.classInvalidPropertyValueExceptionException thrown when setting an illegal property value.classPropertyConversionExceptionException thrown when trying to convert a property value to an incompatible type during read or write.classPropertyNotFoundExceptionException indicating a property not found.classReadOnlyPropertyExceptionException 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 voidProperty. accept(PropertyVisitor visitor, Object arg)Method that implement the visitor pattern.PropertyProperty. addEmpty()Creates an empty child property and adds it as a property to the list container.PropertyProperty. addValue(int index, Object value)Inserts at the given position a new value to the list.PropertyProperty. addValue(Object value)Appends a new value to the list.SerializableProperty. getValue()Gets the property normalized value.<T> TProperty. getValue(Class<T> type)Gets the property value as the given type.<T> TProperty. getValue(Class<T> type, String path)Gets the value of the property resolved using the given path.SerializableProperty. getValue(String path)Gets the value of the property resolved using the given path.SerializableProperty. getValueForWrite()Gets the property normalized value for write.voidProperty. init(Serializable value)Initializes the property with the given normalized value.booleanProperty. isSameAs(Property property)Compare the two properties by content.SerializableProperty. remove()Removes this property from the tree.Map<String,Serializable>ValueExporter. run(DocumentPart dp)voidProperty. set(String name, Property property)Sets the child property having the given name.voidProperty. setValue(int index, Object value)Sets a child property value given its index.voidProperty. setValue(Object value)Sets this property value.voidProperty. setValue(String path, Object value)Sets the value of the property resolved using the given path.ObjectPropertyVisitor. visit(ListProperty property, Object arg)ObjectPropertyVisitor. visit(MapProperty property, Object arg)ObjectPropertyVisitor. visit(ScalarProperty property, Object arg)ObjectValueExporter. visit(ListProperty property, Object arg)ObjectValueExporter. visit(MapProperty property, Object arg)ObjectValueExporter. 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 voidDocumentPartImpl. accept(PropertyVisitor visitor, Object arg)voidListProperty. accept(PropertyVisitor visitor, Object arg)voidMapProperty. accept(PropertyVisitor visitor, Object arg)voidRemovedProperty. accept(PropertyVisitor visitor, Object arg)voidScalarProperty. accept(PropertyVisitor visitor, Object arg)PropertyRemovedProperty. addEmpty()PropertyListProperty. addValue(int index, Object value)PropertyListProperty. addValue(Object value)PropertyRemovedProperty. addValue(int index, Object value)PropertyRemovedProperty. addValue(Object value)voidListProperty. applyListDiff(ListDiff ld)Supports ListDiff for compatibility.SerializableAbstractProperty. getValue()<T> TAbstractProperty. getValue(Class<T> type)<T> TAbstractProperty. getValue(Class<T> type, String path)SerializableAbstractProperty. getValue(String path)SerializableDocumentPartImpl. getValue()SerializableAbstractProperty. getValueForWrite()SerializableComplexProperty. getValueForWrite()SerializableDocumentPartImpl. getValueForWrite()SerializableListProperty. getValueForWrite()voidAbstractProperty. init(Serializable value)voidComplexProperty. init(Serializable value)voidListProperty. init(Serializable value)abstract SerializableAbstractProperty. internalGetValue()SerializableComplexProperty. internalGetValue()SerializableListProperty. internalGetValue()SerializableRemovedProperty. internalGetValue()SerializableScalarProperty. internalGetValue()abstract voidAbstractProperty. internalSetValue(Serializable value)Sets the given normalized value.voidDocumentPartImpl. internalSetValue(Serializable value)voidListProperty. internalSetValue(Serializable value)voidMapProperty. internalSetValue(Serializable value)voidRemovedProperty. internalSetValue(Serializable value)voidScalarProperty. internalSetValue(Serializable value)booleanComplexProperty. isSameAs(Property property)Should be used by container properties.booleanListProperty. isSameAs(Property property)booleanRemovedProperty. isSameAs(Property property)booleanScalarProperty. isSameAs(Property property)SerializableAbstractProperty. remove()voidListProperty. set(String name, Property property)voidRemovedProperty. set(String name, Property property)voidScalarProperty. set(String name, Property property)voidAbstractProperty. setValue(int index, Object value)voidAbstractProperty. setValue(Object value)voidAbstractProperty. setValue(String path, Object value)voidArrayProperty. setValue(Object value)voidComplexProperty. setValue(Object value)voidListProperty. setValue(Object value)protected voidAbstractProperty. setValueDeprecation(Object value, boolean setFallback)If this property is deprecated and has a fallback, set value to fallback.voidComplexProperty. 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 ObjectBlobProperty. getMemberValue(Object object, String name)<T> TExternalBlobProperty. getValue(Class<T> type)SerializableBlobProperty. getValueForWrite()SerializableExternalBlobProperty. getValueForWrite()voidBlobProperty. init(Serializable value)voidExternalBlobProperty. init(Serializable value)SerializableBlobProperty. internalGetValue()SerializableBlobProperty.ScalarMemberProperty. internalGetValue()SerializableExternalBlobProperty. internalGetValue()voidBlobProperty. internalSetValue(Serializable value)voidBlobProperty.ScalarMemberProperty. internalSetValue(Serializable value)booleanBlobProperty. isSameAs(Property property)protected voidBlobProperty. setMap(Object object, Map<String,Object> value)protected voidBlobProperty. setMemberValue(Object object, String name, Object value)voidBlobProperty. setValue(Object value)voidExternalBlobProperty. 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 PropertyShallowDocumentModel. getProperty(String xpath)SerializableShallowDocumentModel. 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 ObjectDocument. getValue(String xpath)Gets a property value.voidDocument. readDocumentPart(DocumentPart dp)Loads aDocumentPartfrom storage.voidDocument. setRetainUntil(Calendar retainUntil)Sets a retention date for the document (a record).voidDocument. setValue(String xpath, Object value)Sets a property value.voidDocument. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)Visits all the blobs of this document and calls the passed blob visitor on each one.default booleanDocument. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext)Deprecated.since 11.1, use the signature withcreateinsteadbooleanDocument. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext, boolean create)Writes aDocumentPartto 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 booleanBaseDocument. checkReadOnlyIgnoredWrite(Property property, T state)Checks for ignored writes.Object[]StateAccessor. getArray(String name)Gets an array value.BlobBaseDocument.StateBlobAccessor. getBlob()protected BlobInfoBaseDocument. getBlobInfo(T state)protected abstract TBaseDocument. 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 TBaseDocument. getChildForWrite(T state, String name, Type type)Gets a child state into which we will want to write data.ObjectStateAccessor. getSingle(String name)Gets a single value.protected BlobBaseDocument. getValueBlob(T state, String xpath)protected ObjectBaseDocument. getValueComplex(T state, ComplexType complexType, String xpath)protected ObjectBaseDocument. getValueField(T state, Field field, String xpath)protected ObjectBaseDocument. getValueObject(T state, String xpath)Gets a value (may be complex/list) from the document at the given xpath.protected voidBaseDocument. readComplexProperty(T state, ComplexProperty complexProperty)Reads state into a complex property.protected voidBaseDocument. readComplexProperty(T state, ComplexProperty complexProperty, String xpath)voidStateAccessor. setArray(String name, Object[] value)Sets an array value.voidBaseDocument.StateBlobAccessor. setBlob(Blob blob, boolean gcOldBlob)protected voidBaseDocument. setBlobInfo(T state, BlobInfo blobInfo)voidStateAccessor. setSingle(String name, Object value)Sets a single value.protected voidBaseDocument. setValueBlob(T state, Blob blob, String xpath)protected voidBaseDocument. setValueBlob(T state, Blob blob, String xpath, boolean gcOldBlob)protected voidBaseDocument. setValueComplex(T state, Field field, String xpath, Object value)protected voidBaseDocument. setValueField(T state, Field field, String xpath, Object value)protected voidBaseDocument. 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 voidBaseDocument. updateList(T state, String name, Field field, String xpath, List<Object> values)Update a list.protected voidBaseDocument. 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.voidBaseDocument.Visit. visitBlobsComplex(T state, ComplexType complexType)protected voidBaseDocument.Visit. visitBlobsField(T state, Field field)protected booleanBaseDocument. writeComplexProperty(T state, ComplexProperty complexProperty, String xpath, boolean writeAll, boolean writeAllChildren, Document.WriteContext wc)Writes state from a complex property.protected booleanBaseDocument. writeComplexProperty(T state, ComplexProperty complexProperty, Document.WriteContext writeContext)Deprecated.protected booleanBaseDocument. 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 StateDBSDocument. getChildForWrite(State state, String name, Type type)String[]DBSDocument. getRetainedProperties()protected DBSDocumentStateDBSDocument. getStateOrTarget(Type type)ObjectDBSDocument. getValue(String xpath)voidDBSDocument. readDocumentPart(DocumentPart dp)voidDBSDocument. setRetainUntil(Calendar retainUntil)voidDBSDocument. setValue(String xpath, Object value)protected List<State>DBSDocument. updateList(State state, String name, Property property)voidDBSDocument. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)booleanDBSDocument. 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)ObjectNode. getSingle(String name)voidNode. setArray(String name, Object[] value)voidNode. 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 NodeSQLDocumentLive. getChild(Node node, String name, Type type)protected List<Node>SQLDocumentLive. getChildAsList(Node node, String name)protected NodeSQLDocumentLive. getChildForWrite(Node node, String name, Type type)ObjectSQLDocumentLive. getValue(String xpath)ObjectSQLDocumentProxy. getValue(String xpath)voidSQLDocumentLive. readDocumentPart(DocumentPart dp)Reads into theDocumentPartthe values from thisSQLDocument.voidSQLDocumentProxy. readDocumentPart(DocumentPart dp)voidSQLDocumentLive. setValue(String xpath, Object value)voidSQLDocumentProxy. setValue(String xpath, Object value)protected List<Node>SQLDocumentLive. updateList(Node node, String name, Property property)protected voidSQLDocumentLive. updateList(Node node, String name, Field field, String xpath, List<Object> values)voidSQLDocumentLive. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)voidSQLDocumentProxy. visitBlobs(Consumer<Document.BlobAccessor> blobVisitor)booleanSQLDocumentLive. writeDocumentPart(DocumentPart dp, Document.WriteContext writeContext, boolean create)booleanSQLDocumentProxy. 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 DocumentModelBaseSession. createEntryModel(String sessionId, String schema, String id, Map<String,Object> values)Deprecated.since 11.1, sessionId is unusedstatic DocumentModelBaseSession. 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 DocumentModelOAuthServiceProviderRegistryImpl. 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 BlobDefaultPictureAdapter. getPictureFromTitle(String title)BlobNoPictureAdapter. getPictureFromTitle(String title)BlobPictureResourceAdapter. 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 ObjectDefaultDocumentView. get(DocumentModel doc, String name)ObjectDocumentView. 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 StringGetTaskNamesOperation. 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 voidResizeAvatarPictureListener. 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 voidFormData. fillDocumentFromForm(DocumentModel doc)voidFormData. 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 StringTemplateSourceDocumentAdapterImpl. 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 fileStringTemplateSourceDocument. getParamsAsString()Return the String representation of the parameters of the templateBlobTemplateSourceDocument. getTemplateBlob()Retrieve the Blob holding the template fileDocumentModelTemplateBasedDocument. setTemplate(DocumentModel template, boolean save)Associate the document to a Template.
-