public static class JcrNodeToIdentifierConverter.AllowingJcrPathAsModelValue extends AbstractJcrConverter<javax.jcr.Node>
JcrNodeToIdentifierConverter
, but when reading
the values from the backend (model->presentation conversion) it is lenient to paths,
which are used as a fallback assumption in case the UUID->node conversion did not
succeed.Constructor and Description |
---|
AllowingJcrPathAsModelValue(JcrDatasource jcrDatasource) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.data.Result<String> |
convertToModel(javax.jcr.Node value,
com.vaadin.data.ValueContext context) |
javax.jcr.Node |
convertToPresentation(String value,
com.vaadin.data.ValueContext context) |
getNodeByIdentifier, getNodeByPath
public AllowingJcrPathAsModelValue(JcrDatasource jcrDatasource)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.