org.crsh.jcr
Class JCRUtils
java.lang.Object
org.crsh.jcr.JCRUtils
public class JCRUtils
- extends java.lang.Object
- Version:
- $Revision$
- Author:
- Julien Viet
|
Method Summary |
static java.lang.String |
decodeName(java.lang.String name)
|
static java.lang.String |
encodeName(java.lang.String name)
|
static javax.jcr.Property |
getProperty(javax.jcr.Node node,
java.lang.String propertyName)
|
static boolean |
isJCRPropertyType(java.lang.Object value)
|
static void |
setProperty(javax.jcr.Node node,
java.lang.String propertyName,
boolean value)
|
static void |
setProperty(javax.jcr.Node node,
java.lang.String propertyName,
javax.jcr.Value value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH
public static final int PATH
- See Also:
- Constant Field Values
STRING
public static final int STRING
- See Also:
- Constant Field Values
DATE
public static final int DATE
- See Also:
- Constant Field Values
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
LONG
public static final int LONG
- See Also:
- Constant Field Values
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
REFERENCE
public static final int REFERENCE
- See Also:
- Constant Field Values
BINARY
public static final int BINARY
- See Also:
- Constant Field Values
getProperty
public static javax.jcr.Property getProperty(javax.jcr.Node node,
java.lang.String propertyName)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
setProperty
public static void setProperty(javax.jcr.Node node,
java.lang.String propertyName,
boolean value)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
setProperty
public static void setProperty(javax.jcr.Node node,
java.lang.String propertyName,
javax.jcr.Value value)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
isJCRPropertyType
public static boolean isJCRPropertyType(java.lang.Object value)
encodeName
public static java.lang.String encodeName(java.lang.String name)
decodeName
public static java.lang.String decodeName(java.lang.String name)
Copyright © 2010 eXo Platform SAS. All Rights Reserved.