public interface LRepository
| Modifier and Type | Method and Description |
|---|---|
void |
backup(String name,
BackupParams options)
Backup repository.
|
String[] |
getWorkspaces()
Gets list of available workspaces.
|
String |
name()
Name of the repository.
|
javax.jcr.Repository |
repository()
Provides access to the original repository.
|
void |
restore(String name,
RestoreParams options)
Restore repository.
|
javax.jcr.Session |
session(String workspace)
Gets session to the given workspace.
|
javax.jcr.Repository repository()
String[] getWorkspaces()
javax.jcr.Session session(String workspace) throws RemoteException
workspace - the name of the workspace.RemoteException - if there is a problem talking to a remote servicevoid backup(String name, BackupParams options) throws RemoteException
name - options - RemoteExceptionvoid restore(String name, RestoreParams options) throws RemoteException
name - options - RemoteExceptionCopyright © 2008–2018 JBoss, a division of Red Hat. All rights reserved.