Interface ContentNodeBinder


  • 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.

    Version:
    $Id$
    • Method Detail

      • bind

        boolean bind​(Object content,
                     Node node)
              throws ContentNodeBindingException
        Does custom binding from content POJO object to JCR node.
        Parameters:
        content - content POJO object, which can be retrieved by an OCM solution
        node - a main target JCR node which can have some properties or child nodes.
        Returns:
        returns true if the binding makes changes
        Throws:
        ContentNodeBindingException