public class AbstractService extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.modeshape.jcr.api.JcrTools |
jcrTools |
Constructor and Description |
---|
AbstractService() |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(javax.jcr.Session session,
String path)
test node existence at path
|
protected javax.jcr.Node |
findNode(javax.jcr.Session session,
String path) |
protected javax.jcr.Node |
findOrCreateNode(javax.jcr.Session session,
String path,
String finalNodeType) |
static void |
tagHierarchyWithPairtreeMixin(javax.jcr.Node baseNode,
javax.jcr.Node createdNode)
Tag a hierarchy with
FedoraTypes.FEDORA_PAIRTREE |
protected static final org.modeshape.jcr.api.JcrTools jcrTools
public AbstractService()
protected javax.jcr.Node findOrCreateNode(javax.jcr.Session session, String path, String finalNodeType) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static void tagHierarchyWithPairtreeMixin(javax.jcr.Node baseNode, javax.jcr.Node createdNode) throws javax.jcr.RepositoryException
FedoraTypes.FEDORA_PAIRTREE
baseNode
- Top most ancestor that should not be taggedcreatedNode
- Node whose parents should be tagged up to but not including baseNode
javax.jcr.RepositoryException
- if repository exception occurredCopyright © 2013–2016 DuraSpace, Inc.. All rights reserved.