|
eXo JCR :: Applications :: Browser Demo 1.15.6-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.applications.jcr.browser.JCRBrowser
public class JCRBrowser
Created by The eXo Platform SAS.
Date: 27.05.2008
JavaBean for JCRBrowser sample application.
Since JCR 1.11 Browser supports Ext Repository synchronization.
| Field Summary | |
|---|---|
protected List<String> |
errors
|
protected javax.jcr.Node |
node
|
protected ManageableRepository |
repository
|
protected RepositoryService |
repositoryService
|
protected javax.jcr.Session |
session
|
| Constructor Summary | |
|---|---|
JCRBrowser()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RepositoryService repositoryService
protected ManageableRepository repository
protected javax.jcr.Session session
protected javax.jcr.Node node
protected List<String> errors
| Constructor Detail |
|---|
public JCRBrowser()
| Method Detail |
|---|
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 set
javax.jcr.RepositoryExceptionpublic javax.jcr.Node getNode()
public void refreshNode()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void setNode(String absPath)
throws javax.jcr.RepositoryException
absPath - absolute path only
javax.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()
|
eXo JCR :: Applications :: Browser Demo 1.15.6-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||