public class JcrNodeToWorkspaceAndIdConverter extends JcrNodeToIdentifierConverter
Converter
. Turns a Node (presentation type) into its identifier/workspace (model type or a String) and vice versa.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 uuid,
com.vaadin.data.ValueContext context) |
getNodeByIdentifier, getNodeByPath
public com.vaadin.data.Result<String> convertToModel(javax.jcr.Node value, com.vaadin.data.ValueContext context)
convertToModel
in interface com.vaadin.data.Converter<javax.jcr.Node,String>
convertToModel
in class JcrNodeToIdentifierConverter
public javax.jcr.Node convertToPresentation(String uuid, com.vaadin.data.ValueContext context)
convertToPresentation
in interface com.vaadin.data.Converter<javax.jcr.Node,String>
convertToPresentation
in class JcrNodeToIdentifierConverter
Copyright © 2020 Magnolia International Ltd.. All rights reserved.