Ontimize Document Management 0.035EN

com.ontimize.dms.jcr
Class NodeManagerBase

java.lang.Object
  extended by com.ontimize.dms.jcr.NodeManagerBase
All Implemented Interfaces:
NodeManager

public class NodeManagerBase
extends java.lang.Object
implements NodeManager


Field Summary
protected static java.lang.String MSG_GET_PROPERTY_ERROR_1
           
protected static java.lang.String MSG_GET_PROPERTY_ERROR_2
           
 
Constructor Summary
NodeManagerBase(Node node)
           
 
Method Summary
protected  java.lang.String convertName(java.lang.String name)
           
protected  Value[] convertValue(java.lang.Object value)
           
protected  java.util.Map getAlias()
           
protected  ValueConverter getConverter()
           
protected  Node getFirstNode(java.lang.String path)
           
protected  Node getNode()
           
 Node getNode(java.lang.String name)
           
 Node getParent()
           
 Property getProperty(java.lang.String name)
           
 boolean hasNode(java.lang.String name)
           
 boolean hasProperty(java.lang.String name)
           
 void setAlias(java.util.Map alias)
           
 void setConverter(ValueConverter converter)
           
protected  void setNode(Node node)
           
 Property[] setProperties(java.util.Map properties)
           
 Property setProperty(java.lang.String name, boolean value)
           
 Property setProperty(java.lang.String name, java.util.Calendar value)
           
 Property setProperty(java.lang.String name, double value)
           
 Property setProperty(java.lang.String name, java.io.InputStream stream)
           
 Property setProperty(java.lang.String name, long value)
           
 Property setProperty(java.lang.String name, java.lang.Object value)
           
 Property setProperty(java.lang.String name, java.lang.String value)
           
 Property setProperty(java.lang.String name, Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_GET_PROPERTY_ERROR_1

protected static final java.lang.String MSG_GET_PROPERTY_ERROR_1
See Also:
Constant Field Values

MSG_GET_PROPERTY_ERROR_2

protected static final java.lang.String MSG_GET_PROPERTY_ERROR_2
See Also:
Constant Field Values
Constructor Detail

NodeManagerBase

public NodeManagerBase(Node node)
Method Detail

getNode

protected Node getNode()

getAlias

protected java.util.Map getAlias()

getConverter

protected ValueConverter getConverter()

getProperty

public Property getProperty(java.lang.String name)
                     throws RepositoryException
Specified by:
getProperty in interface NodeManager
Throws:
RepositoryException

hasProperty

public boolean hasProperty(java.lang.String name)
                    throws RepositoryException
Specified by:
hasProperty in interface NodeManager
Throws:
RepositoryException

hasNode

public boolean hasNode(java.lang.String name)
                throws RepositoryException
Specified by:
hasNode in interface NodeManager
Throws:
RepositoryException

getFirstNode

protected Node getFirstNode(java.lang.String path)
                     throws RepositoryException
Throws:
RepositoryException

getNode

public Node getNode(java.lang.String name)
             throws RepositoryException
Specified by:
getNode in interface NodeManager
Throws:
RepositoryException

getParent

public Node getParent()
               throws RepositoryException
Specified by:
getParent in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            java.lang.Object value)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

setProperties

public Property[] setProperties(java.util.Map properties)
                         throws RepositoryException
Specified by:
setProperties in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            java.lang.String value)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            boolean value)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            long value)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            double value)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            java.util.Calendar value)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            java.io.InputStream stream)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

setProperty

public Property setProperty(java.lang.String name,
                            Value value)
                     throws RepositoryException
Specified by:
setProperty in interface NodeManager
Throws:
RepositoryException

convertName

protected java.lang.String convertName(java.lang.String name)

convertValue

protected Value[] convertValue(java.lang.Object value)
                        throws RepositoryException
Throws:
RepositoryException

setNode

protected void setNode(Node node)

setAlias

public void setAlias(java.util.Map alias)
Specified by:
setAlias in interface NodeManager

setConverter

public void setConverter(ValueConverter converter)
Specified by:
setConverter in interface NodeManager

Ontimize Document Management