@Component public class RepositoryServiceImpl extends AbstractService implements RepositoryService
jcrTools| Constructor and Description |
|---|
RepositoryServiceImpl() |
| 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
|
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
|
exists, findNode, findOrCreateNodepublic RepositoryServiceImpl()
public Long getRepositorySize()
getRepositorySize in interface RepositoryServicepublic Long getRepositoryObjectCount()
RepositoryServicegetRepositoryObjectCount in interface RepositoryServicepublic org.modeshape.jcr.api.Problems backupRepository(javax.jcr.Session session, File backupDirectory)
RepositoryServicebackupRepository in interface RepositoryServicepublic org.modeshape.jcr.api.Problems restoreRepository(javax.jcr.Session session, File backupDirectory)
RepositoryServicerestoreRepository in interface RepositoryServiceCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.