public interface ContentNodeBinder
ContentNodeBinder
is the interface for custom mapping content POJO object to JCR node.
An implementation of this interface should be able to set property values of the content node or its child nodes.
Modifier and Type | Method and Description |
---|---|
boolean |
bind(Object content,
javax.jcr.Node node)
Does custom binding from content POJO object to JCR node.
|
boolean bind(Object content, javax.jcr.Node node) throws ContentNodeBindingException
content
- content POJO object, which can be retrieved by an OCM solutionnode
- a main target JCR node which can have some properties or child nodes.ContentNodeBindingException
Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.