org.chromattic.core.jcr
Interface SessionWrapper
- All Known Implementing Classes:
- SessionWrapperImpl
public interface SessionWrapper
- Version:
- $Revision$
- Author:
- Julien Viet
|
Method Summary |
void |
addMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
|
javax.jcr.Node |
addNode(javax.jcr.Node parentNode,
java.lang.String relPath,
java.lang.String primartyNodeTypeName,
java.util.List<java.lang.String> mixinNodeTypeNames)
|
boolean |
canAddMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
|
void |
close()
|
javax.jcr.query.Query |
createQuery(java.lang.String statement)
|
javax.jcr.query.QueryResult |
executeQuery(javax.jcr.query.Query query,
java.lang.Long offset,
java.lang.Long limit)
|
javax.jcr.Node |
getChild(javax.jcr.Node parentNode,
java.lang.String name)
|
java.util.Iterator<javax.jcr.Node> |
getChildren(javax.jcr.Node parentNode)
|
javax.jcr.Node |
getNode(javax.jcr.Node node,
java.lang.String relPath)
|
javax.jcr.Node |
getNode(java.lang.String path)
|
javax.jcr.Node |
getNodeByUUID(java.lang.String uuid)
|
javax.jcr.nodetype.NodeType |
getNodeType(java.lang.String nodeTypeName)
|
javax.jcr.Node |
getParent(javax.jcr.Node childNode)
|
java.util.Iterator<javax.jcr.Property> |
getProperties(javax.jcr.Node node)
|
javax.jcr.Property |
getProperty(javax.jcr.Node node,
java.lang.String relPath)
|
javax.jcr.Node |
getReferenced(javax.jcr.Node referent,
java.lang.String propertyName,
LinkType linkType)
|
java.util.Iterator<javax.jcr.Node> |
getReferents(javax.jcr.Node referenced,
java.lang.String propertyName,
LinkType linkType)
|
javax.jcr.Session |
getSession()
|
boolean |
haxMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
|
int |
hits(javax.jcr.query.QueryResult result)
|
boolean |
isClosed()
|
void |
move(javax.jcr.Node srcNode,
javax.jcr.Node dstNode,
java.lang.String dstName)
|
void |
orderBefore(javax.jcr.Node parentNode,
javax.jcr.Node srcNode,
javax.jcr.Node dstNode)
|
void |
remove(javax.jcr.Node node)
|
boolean |
removeMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
|
void |
save()
|
javax.jcr.Node |
setReferenced(javax.jcr.Node referent,
java.lang.String propertyName,
javax.jcr.Node referenced,
LinkType linkType)
|
getProperty
javax.jcr.Property getProperty(javax.jcr.Node node,
java.lang.String relPath)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getProperties
java.util.Iterator<javax.jcr.Property> getProperties(javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getNode
javax.jcr.Node getNode(javax.jcr.Node node,
java.lang.String relPath)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getNode
javax.jcr.Node getNode(java.lang.String path)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getNodeType
javax.jcr.nodetype.NodeType getNodeType(java.lang.String nodeTypeName)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
addNode
javax.jcr.Node addNode(javax.jcr.Node parentNode,
java.lang.String relPath,
java.lang.String primartyNodeTypeName,
java.util.List<java.lang.String> mixinNodeTypeNames)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
orderBefore
void orderBefore(javax.jcr.Node parentNode,
javax.jcr.Node srcNode,
javax.jcr.Node dstNode)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
move
void move(javax.jcr.Node srcNode,
javax.jcr.Node dstNode,
java.lang.String dstName)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getParent
javax.jcr.Node getParent(javax.jcr.Node childNode)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getChildren
java.util.Iterator<javax.jcr.Node> getChildren(javax.jcr.Node parentNode)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getChild
javax.jcr.Node getChild(javax.jcr.Node parentNode,
java.lang.String name)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getNodeByUUID
javax.jcr.Node getNodeByUUID(java.lang.String uuid)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
remove
void remove(javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
canAddMixin
boolean canAddMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
addMixin
void addMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
removeMixin
boolean removeMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
haxMixin
boolean haxMixin(javax.jcr.Node node,
java.lang.String mixinTypeName)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
save
void save()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
setReferenced
javax.jcr.Node setReferenced(javax.jcr.Node referent,
java.lang.String propertyName,
javax.jcr.Node referenced,
LinkType linkType)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getReferenced
javax.jcr.Node getReferenced(javax.jcr.Node referent,
java.lang.String propertyName,
LinkType linkType)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getReferents
java.util.Iterator<javax.jcr.Node> getReferents(javax.jcr.Node referenced,
java.lang.String propertyName,
LinkType linkType)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getSession
javax.jcr.Session getSession()
close
void close()
isClosed
boolean isClosed()
createQuery
javax.jcr.query.Query createQuery(java.lang.String statement)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
executeQuery
javax.jcr.query.QueryResult executeQuery(javax.jcr.query.Query query,
java.lang.Long offset,
java.lang.Long limit)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
hits
int hits(javax.jcr.query.QueryResult result)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.