@Component public class ObjectService extends RepositoryService implements FedoraJcrTypes
org.modeshape.jcr.api.JcrTools.BasicOperation, org.modeshape.jcr.api.JcrTools.BrowseContent, org.modeshape.jcr.api.JcrTools.CountNodes, org.modeshape.jcr.api.JcrTools.Operation, org.modeshape.jcr.api.JcrTools.PrintNodes, org.modeshape.jcr.api.JcrTools.VariablerepoCONTENT_DIGEST, CONTENT_SIZE, FCR_CONTENT, FEDORA_BINARY, FEDORA_DATASTREAM, FEDORA_OBJECT, FEDORA_RESOURCE, JCR_CREATED, JCR_CREATEDBY, JCR_LASTMODIFIED, ROOT| Constructor and Description |
|---|
ObjectService() |
| Modifier and Type | Method and Description |
|---|---|
FedoraObject |
createObject(javax.jcr.Session session,
String path) |
FedoraObject |
getObject(javax.jcr.Session session,
String path) |
javax.jcr.Node |
getObjectNode(javax.jcr.Session session,
String path) |
exists, getAllNodeTypes, getNamespaceRegistryGraph, getRepositoryNamespaces, getRepositoryObjectCount, getRepositorySize, searchRepository, setRepositoryfindOrCreateChild, findOrCreateChild, findOrCreateNode, findOrCreateNode, findOrCreateNode, findOrCreateNode, getNode, getReadable, getStringValue, importContent, importContent, importContent, importContent, importContent, importContent, importContent, isDebug, print, printNode, printQuery, printQuery, printQuery, printQuery, printSubgraph, printSubgraph, printSubgraph, registerNodeTypes, removeAllChildren, removeAllChildren, repeatedlyWithSession, resourceUrl, uploadFile, uploadFile, uploadFile, uploadFileAndBlock, uploadFileAndBlock, uploadFileAndBlock, uploadFilesAndBlock, var, vars, withSessionpublic FedoraObject createObject(javax.jcr.Session session, String path) throws javax.jcr.RepositoryException
session - A JCR Sessionpath - The path to use to create the objectjavax.jcr.RepositoryExceptionpublic javax.jcr.Node getObjectNode(javax.jcr.Session session,
String path)
throws javax.jcr.RepositoryException
path - javax.jcr.RepositoryExceptionpublic FedoraObject getObject(javax.jcr.Session session, String path) throws javax.jcr.RepositoryException
path - session - javax.jcr.RepositoryExceptionCopyright © 2013 DuraSpace, Inc.. All Rights Reserved.