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
FedoraJcrTypes.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.RepositoryExceptionpublic static void tagHierarchyWithPairtreeMixin(javax.jcr.Node baseNode, javax.jcr.Node createdNode) throws javax.jcr.RepositoryException
FedoraJcrTypes.FEDORA_PAIRTREEbaseNode - Top most ancestor that should not be taggedcreatedNode - Node whose parents should be tagged up to but not including baseNodejavax.jcr.RepositoryException - if repository exception occurredCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.