public class JCRBrowser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
errors |
protected javax.jcr.Node |
node |
protected ManageableRepository |
repository |
protected RepositoryService |
repositoryService |
protected javax.jcr.Session |
session |
| Constructor and Description |
|---|
JCRBrowser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(Throwable error) |
String[] |
getErrorsAndClean() |
javax.jcr.Node |
getNode()
Get browser current node.
|
ManageableRepository |
getRepository()
Get browser repository.
|
RepositoryService |
getRepositoryService() |
javax.jcr.Session |
getSession()
Get browser JCR session.
|
boolean |
isAsynchronousReplicationActive()
Tell if Asynchronous Replication service available.
|
boolean |
isAsynchronousReplicationPresent()
Tell if Asynchronous Replication service available.
|
boolean |
isErrorsFound() |
void |
refreshNode()
Refreshing current node with node which got with current session.
|
void |
runSynchronization()
Runs synchronization process if service is present.
|
void |
setNode(String absPath)
Sets current node used by JCRBrowser.
|
void |
setRepository(ManageableRepository repository)
Set browser repository.
|
void |
setRepositoryService(RepositoryService repositoryService) |
void |
setSession(javax.jcr.Session session)
Set browser JCR session.
|
protected RepositoryService repositoryService
protected ManageableRepository repository
protected javax.jcr.Session session
protected javax.jcr.Node node
public ManageableRepository getRepository()
public void setRepository(ManageableRepository repository)
repository - the repository to setpublic javax.jcr.Session getSession()
public void setSession(javax.jcr.Session session)
throws javax.jcr.RepositoryException
session - the session to setjavax.jcr.RepositoryExceptionpublic javax.jcr.Node getNode()
public void refreshNode()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void setNode(String absPath) throws javax.jcr.RepositoryException
absPath - absolute path onlyjavax.jcr.RepositoryExceptionpublic void addError(Throwable error)
public boolean isErrorsFound()
public String[] getErrorsAndClean()
public RepositoryService getRepositoryService()
public void setRepositoryService(RepositoryService repositoryService)
repositoryService - the repositoryService to setpublic boolean isAsynchronousReplicationPresent()
public boolean isAsynchronousReplicationActive()
public void runSynchronization()
Copyright © 2020 eXo Platform SAS. All Rights Reserved.