| Modifier and Type | Method and Description |
|---|---|
org.modeshape.jcr.api.Problems |
backupRepository(javax.jcr.Session session,
File backupDirectory)
This method backups up a running repository
|
com.hp.hpl.jena.query.Dataset |
getNamespaceRegistryDataset(javax.jcr.Session session,
IdentifierTranslator idTranslator)
Serialize the JCR namespace information as an RDF Dataset
|
RdfStream |
getNamespaceRegistryStream(javax.jcr.Session session,
IdentifierTranslator idTranslator)
Serialize the JCR namespace information as an
RdfStream |
Map<String,String> |
getRepositoryNamespaces(javax.jcr.Session session)
Get a map of JCR prefixes to their URI namespaces
|
Long |
getRepositoryObjectCount()
Calculate the number of objects in the repository
|
Long |
getRepositorySize()
Calculate the total size of all the binary properties in the repository
|
org.modeshape.jcr.api.Problems |
restoreRepository(javax.jcr.Session session,
File backupDirectory)
This methods restores the repository from a backup
|
com.hp.hpl.jena.query.Dataset |
searchRepository(IdentifierTranslator subjectFactory,
com.hp.hpl.jena.rdf.model.Resource searchSubject,
javax.jcr.Session session,
String terms,
int limit,
long offset)
Perform a full-text search on the whole repository and return the
information as an RDF Dataset
|
exists, setRepositoryLong getRepositorySize()
Long getRepositoryObjectCount()
Map<String,String> getRepositoryNamespaces(javax.jcr.Session session) throws javax.jcr.RepositoryException
session - javax.jcr.RepositoryExceptioncom.hp.hpl.jena.query.Dataset getNamespaceRegistryDataset(javax.jcr.Session session,
IdentifierTranslator idTranslator)
throws javax.jcr.RepositoryException
session - javax.jcr.RepositoryExceptionRdfStream getNamespaceRegistryStream(javax.jcr.Session session, IdentifierTranslator idTranslator) throws javax.jcr.RepositoryException
RdfStreamsession - RdfStreamjavax.jcr.RepositoryExceptioncom.hp.hpl.jena.query.Dataset searchRepository(IdentifierTranslator subjectFactory, com.hp.hpl.jena.rdf.model.Resource searchSubject, javax.jcr.Session session, String terms, int limit, long offset) throws javax.jcr.RepositoryException
subjectFactory - searchSubject - RDF resource to use as the subject of the searchsession - terms - limit - offset - javax.jcr.RepositoryExceptionorg.modeshape.jcr.api.Problems backupRepository(javax.jcr.Session session,
File backupDirectory)
throws javax.jcr.RepositoryException
session - backupDirectory - javax.jcr.RepositoryExceptionorg.modeshape.jcr.api.Problems restoreRepository(javax.jcr.Session session,
File backupDirectory)
throws javax.jcr.RepositoryException
session - backupDirectory - javax.jcr.RepositoryExceptionCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.