@Component public class RepositoryServiceImpl extends AbstractService implements RepositoryService
jcrTools| Constructor and Description |
|---|
RepositoryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Throwable> |
backupRepository(FedoraSession 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
|
Collection<Throwable> |
restoreRepository(FedoraSession session,
File backupDirectory)
This methods restores the repository from a backup
|
exists, findNode, findOrCreateNode, tagHierarchyWithPairtreeMixinpublic RepositoryServiceImpl()
public Long getRepositorySize()
getRepositorySize in interface RepositoryServicepublic Long getRepositoryObjectCount()
RepositoryServicegetRepositoryObjectCount in interface RepositoryServicepublic Collection<Throwable> backupRepository(FedoraSession session, File backupDirectory)
RepositoryServicebackupRepository in interface RepositoryServicesession - the sessionbackupDirectory - the backup directorypublic Collection<Throwable> restoreRepository(FedoraSession session, File backupDirectory)
RepositoryServicerestoreRepository in interface RepositoryServicesession - the sessionbackupDirectory - the backup directoryCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.