public interface JcrTemplate
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Node |
addNode(javax.jcr.Node parent,
java.lang.String nodePath)
Methode permettant d'ajouter un noeud a partir de la racine
|
javax.jcr.Node |
addNode(java.lang.String nodePath)
Methode permettant d'ajouter un noeud a partir de la racine
|
void |
copy(javax.jcr.Node sourceNode,
javax.jcr.Node destinationNode)
Methode permettant copier un noeud ainsi que son arborescence complete
|
java.lang.String |
dump(javax.jcr.Node node)
Methode permettant d'obtenir le dump du noeud
|
java.lang.Object |
execute(JcrAction action)
Methode permettant d'executer une action JCR
|
java.lang.Object |
execute(JcrAction action,
boolean autoSave)
Methode permettant d'executer une action JCR
|
java.util.List<javax.jcr.Node> |
executeSQL2Query(java.lang.String query)
Methode permettant d'executer une requete JCR-SQL2
|
javax.jcr.Item |
getItem(java.lang.String path)
Methode permettant d'obtenir l'element situe a cette adresse
|
javax.jcr.Node |
getNode(java.lang.String path)
Methode permettant de charger un noeud a partir de son chemin absolu
|
boolean |
itemExists(java.lang.String itemPath)
Methode permettant de verifier qu'un element existe pour ce chemin
|
void |
move(javax.jcr.Node sourceNode,
javax.jcr.Node destinationNode)
Methode permettant deplacer un noeud ainsi que son arborescence complete
|
void |
move(java.lang.String sourcePath,
java.lang.String destinationPath)
Methode permettant deplacer un noeud ainsi que son arborescence complete
|
boolean |
nodeExists(java.lang.String nodePath)
Methode permettant de verifier qu'un noeud existe pour ce chemin
|
void |
remove(javax.jcr.Node node)
Methode permettant de suppression d'un noeud
|
void |
remove(java.lang.String path)
Methode permettant de suppression d'un noeud
|
java.lang.Object execute(JcrAction action, boolean autoSave) throws org.springframework.dao.DataAccessException
action - Action a executerautoSave - Enregistrement automatique des modifications sur la sessionorg.springframework.dao.DataAccessException - Exception Potentiellejava.lang.Object execute(JcrAction action) throws org.springframework.dao.DataAccessException
action - Action a executerorg.springframework.dao.DataAccessException - Exception Potentiellejavax.jcr.Node addNode(javax.jcr.Node parent,
java.lang.String nodePath)
throws org.springframework.dao.DataAccessException
parent - Parent NodenodePath - Chemin du noeudorg.springframework.dao.DataAccessException - Exception potentiellejavax.jcr.Node addNode(java.lang.String nodePath)
throws org.springframework.dao.DataAccessException
nodePath - Chemin du noeudorg.springframework.dao.DataAccessException - Exception potentielleboolean itemExists(java.lang.String itemPath)
itemPath - Chemin de l'elementboolean nodeExists(java.lang.String nodePath)
nodePath - Chemin du noeudjavax.jcr.Item getItem(java.lang.String path)
path - Adresse de l'element recherchejavax.jcr.Node getNode(java.lang.String path)
throws org.springframework.dao.DataAccessException
path - Chemin absolu du noeudorg.springframework.dao.DataAccessException - Exception potentiellejava.util.List<javax.jcr.Node> executeSQL2Query(java.lang.String query)
throws org.springframework.dao.DataAccessException
query - Requete JCR-SQL2org.springframework.dao.DataAccessException - Exception potentiellevoid copy(javax.jcr.Node sourceNode,
javax.jcr.Node destinationNode)
throws org.springframework.dao.DataAccessException
sourceNode - Noeud sourcedestinationNode - Noeud cibleorg.springframework.dao.DataAccessException - Exception Potentiellevoid move(java.lang.String sourcePath,
java.lang.String destinationPath)
throws org.springframework.dao.DataAccessException
sourcePath - Chemin source du noeuddestinationPath - Chemin cible du noeudorg.springframework.dao.DataAccessException - Exception Potentiellevoid move(javax.jcr.Node sourceNode,
javax.jcr.Node destinationNode)
throws org.springframework.dao.DataAccessException
sourceNode - Noeud sourcedestinationNode - Noeud cibleorg.springframework.dao.DataAccessExceptionjava.lang.String dump(javax.jcr.Node node)
throws org.springframework.dao.DataAccessException
node - Noeud sourceorg.springframework.dao.DataAccessException - Exception Potentiellevoid remove(javax.jcr.Node node)
throws org.springframework.dao.DataAccessException
node - Noeud a supprimerorg.springframework.dao.DataAccessException - Exception potentielleorg.springframework.dao.DataAccessException - Exception Potentiellevoid remove(java.lang.String path)
throws org.springframework.dao.DataAccessException
path - Chemin du Noeud a supprimerorg.springframework.dao.DataAccessException - Exception potentielleorg.springframework.dao.DataAccessException - Exception PotentielleCopyright © 2018 Kube Cloud. All Rights Reserved.