|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.jcr.business.AbstractRepositoryDAO
public abstract class AbstractRepositoryDAO
Abstract class for common jcr operations like :
| Field Summary | |
|---|---|
protected org.springmodules.jcr.JcrTemplate |
_jcrTemplate
|
protected IRepositoryInitializer |
_repositoryInitializer
|
protected java.lang.String |
_strDefaultWorkspaceName
|
| Constructor Summary | |
|---|---|
AbstractRepositoryDAO()
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
execute(org.springmodules.jcr.JcrCallback callback)
Run a JcrCallback on the current workspace |
protected java.lang.Object |
execute(java.lang.String strWorkspace,
org.springmodules.jcr.JcrCallback callback)
Run a JcrCallback on the workspace specified by strWorkspace |
void |
free()
does some cleaning |
protected void |
init(org.springmodules.jcr.JcrTemplate jcrTemplate,
IRepositoryInitializer repositoryInitializer,
java.lang.String strDefaultWorkspaceName)
Constructor that MUST be called by derivated classes. |
boolean |
isAlive()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.springmodules.jcr.JcrTemplate _jcrTemplate
protected java.lang.String _strDefaultWorkspaceName
protected IRepositoryInitializer _repositoryInitializer
| Constructor Detail |
|---|
public AbstractRepositoryDAO()
| Method Detail |
|---|
protected void init(org.springmodules.jcr.JcrTemplate jcrTemplate,
IRepositoryInitializer repositoryInitializer,
java.lang.String strDefaultWorkspaceName)
jcrTemplate - the jcrTemplate used to execute jcr operationsrepositoryInitializer - the repositoryInitializer used to init some specific repository operationsstrDefaultWorkspaceName - the name of the default workspace to use (can be null in order to
use the default workspace repository)protected java.lang.Object execute(org.springmodules.jcr.JcrCallback callback)
callback - a JcrCallback
protected java.lang.Object execute(java.lang.String strWorkspace,
org.springmodules.jcr.JcrCallback callback)
strWorkspace - the name of the workspacecallback - a JcrCallback
public boolean isAlive()
isAlive in interface IJsr170DAOpublic void free()
IJsr170DAO
free in interface IJsr170DAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||