| Modifier and Type | Method and Description |
|---|---|
void |
copyObject(javax.jcr.Session session,
String source,
String destination)
Copy an existing object from the source path to the destination path
|
void |
deleteObject(javax.jcr.Session session,
String path)
Delete an existing object from the repository at the given path
|
FedoraResource |
findOrCreateObject(javax.jcr.Session session,
String path)
Find or create a new Fedora resource at the given path
|
javax.jcr.nodetype.NodeTypeIterator |
getAllNodeTypes(javax.jcr.Session session)
Get the full list of node types in the repository
|
RdfStream |
getNodeTypes(javax.jcr.Session session) |
FedoraResource |
getObject(javax.jcr.Session session,
String path)
Retrieve an existing Fedora resource at the given path
|
FedoraResource |
getObject(javax.jcr.Session session,
String path,
String versionId)
Get an existing Fedora resource at the given path with the given version
label
|
Set<String> |
getObjectNames(javax.jcr.Session session,
String path) |
Set<String> |
getObjectNames(javax.jcr.Session session,
String path,
String mixin)
Get the list of children at the given path filtered by the given mixin
|
void |
moveObject(javax.jcr.Session session,
String source,
String destination)
Move an existing object from the source path to the destination path
|
void |
registerNodeTypes(javax.jcr.Session session,
InputStream cndStream) |
exists, setRepositoryFedoraResource findOrCreateObject(javax.jcr.Session session, String path) throws javax.jcr.RepositoryException
session - path - javax.jcr.RepositoryExceptionFedoraResource getObject(javax.jcr.Session session, String path) throws javax.jcr.RepositoryException
session - path - javax.jcr.RepositoryExceptionFedoraResource getObject(javax.jcr.Session session, String path, String versionId) throws javax.jcr.RepositoryException
session - path - versionId - a version labeljavax.jcr.RepositoryExceptionSet<String> getObjectNames(javax.jcr.Session session, String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionSet<String> getObjectNames(javax.jcr.Session session, String path, String mixin) throws javax.jcr.RepositoryException
session - path - mixin - javax.jcr.RepositoryExceptionvoid deleteObject(javax.jcr.Session session,
String path)
throws javax.jcr.RepositoryException
session - path - javax.jcr.RepositoryExceptionvoid copyObject(javax.jcr.Session session,
String source,
String destination)
throws javax.jcr.RepositoryException
session - source - destination - javax.jcr.RepositoryExceptionvoid moveObject(javax.jcr.Session session,
String source,
String destination)
throws javax.jcr.RepositoryException
session - source - destination - javax.jcr.RepositoryExceptionjavax.jcr.nodetype.NodeTypeIterator getAllNodeTypes(javax.jcr.Session session)
throws javax.jcr.RepositoryException
session - javax.jcr.RepositoryExceptionRdfStream getNodeTypes(javax.jcr.Session session) throws javax.jcr.RepositoryException
session - javax.jcr.RepositoryExceptionvoid registerNodeTypes(javax.jcr.Session session,
InputStream cndStream)
throws javax.jcr.RepositoryException,
IOException
session - cndStream - javax.jcr.RepositoryExceptionIOExceptionCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.