public class JcrItemToLinkConverter extends Object implements com.vaadin.data.Converter<javax.jcr.Node,String>
Converter
. Turns a Node (presentation type) into its identifier (model type or a String) and vice versa.
Converting to presentation will attempt to resolve a node either from its identifier or its path.Constructor and Description |
---|
JcrItemToLinkConverter(JcrDatasourceDefinition definition,
JcrSessionManager contentDecorator) |
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) |
public JcrItemToLinkConverter(JcrDatasourceDefinition definition, JcrSessionManager contentDecorator)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.