|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScenariStorageService
Service de stockage des noeuds Scenari dans Nuxeo
Method Summary | |
---|---|
void |
closeRepositorySession(org.nuxeo.ecm.core.api.CoreSession session)
Méthode utilitaire pour fermer une CoreSession |
ScenariWorkspace |
createWorkspace(org.nuxeo.ecm.core.api.CoreSession session,
String name)
Crée un ScenariWorkspace à l'emplacement par défaut |
ScenariWorkspace |
createWorkspace(org.nuxeo.ecm.core.api.CoreSession session,
String parentPath,
String name)
Crée un ScenariWorkspace à l'emplacement parentPath |
String |
getIdForPath(org.nuxeo.ecm.core.api.CoreSession session,
String path,
boolean pCreateIfNone)
Retourne l'id d'un noeud par son chemin (même si le document est supprimé). |
ScenariNode |
getNode(org.nuxeo.ecm.core.api.DocumentModel pDoc)
Retourne un ScenariNode à partir d'un document de l'Api Nuxeo. |
ScenariNode |
getNodeById(org.nuxeo.ecm.core.api.CoreSession session,
String id,
Boolean pIfTrashed)
Retourne un ScenariNode par son id. |
ScenariNode |
getNodeByPath(org.nuxeo.ecm.core.api.CoreSession session,
String path)
Retourne un ScenariNode par son chemin |
ScenariWorkspace |
getNodeOwnerWorkspace(org.nuxeo.ecm.core.api.CoreSession pSession,
ScenariNode pNode)
Méthode utilitaire pour obtenir le ScenariWorkspace d'un ScenariNode |
String |
getPathForId(org.nuxeo.ecm.core.api.CoreSession session,
String id)
Retourne le chemin d'un noeud par son id (même si le document est supprimé). |
List<ScenariNode> |
getPointerNodes(org.nuxeo.ecm.core.api.CoreSession pSession,
String pId)
Retourne la liste des ScenariNode pointant le noeud d'id pId |
ScenariNode |
getVersionNodeById(org.nuxeo.ecm.core.api.CoreSession session,
String type,
String versionId)
Retourne un ScenariNode versionné par son versionId. |
List<ScenariWorkspace> |
listWorkspaces(org.nuxeo.ecm.core.api.CoreSession session)
Liste les ScenariWorkspace du système |
ScenariNode |
move(org.nuxeo.ecm.core.api.CoreSession pSession,
ScenariNode pFromNode,
ScenariSpace pTargetParent,
String pTargetName)
Déplace un ScenariNode vers pTargetParent |
org.nuxeo.ecm.core.api.CoreSession |
openRepositorySession(String repositoryName)
Méthode utilitaire pour ouvrir une CoreSession sur un dépot donné |
void |
registerCallback(ScenariCallBack cb)
Enregistre un ScenariCallback pour notification des évènements sur le workspace |
Method Detail |
---|
List<ScenariWorkspace> listWorkspaces(org.nuxeo.ecm.core.api.CoreSession session) throws Exception
ScenariWorkspace
du système
Exception
ScenariNode getNodeById(org.nuxeo.ecm.core.api.CoreSession session, String id, Boolean pIfTrashed) throws Exception
ScenariNode
par son id.
pIfTrashed
- Filtre sur l'état du noeud
Exception
ScenariNode getVersionNodeById(org.nuxeo.ecm.core.api.CoreSession session, String type, String versionId) throws Exception
ScenariNode
versionné par son versionId.
TODO : enlever de l'interface ?
Exception
ScenariNode getNode(org.nuxeo.ecm.core.api.DocumentModel pDoc) throws Exception
ScenariNode
à partir d'un document de l'Api Nuxeo.
Exception
String getPathForId(org.nuxeo.ecm.core.api.CoreSession session, String id) throws Exception
Exception
String getIdForPath(org.nuxeo.ecm.core.api.CoreSession session, String path, boolean pCreateIfNone) throws Exception
Exception
ScenariNode getNodeByPath(org.nuxeo.ecm.core.api.CoreSession session, String path) throws Exception
ScenariNode
par son chemin
Exception
ScenariWorkspace createWorkspace(org.nuxeo.ecm.core.api.CoreSession session, String name) throws Exception
ScenariWorkspace
à l'emplacement par défaut
Exception
ScenariWorkspace createWorkspace(org.nuxeo.ecm.core.api.CoreSession session, String parentPath, String name) throws Exception
ScenariWorkspace
à l'emplacement parentPath
Exception
void registerCallback(ScenariCallBack cb)
ScenariCallback
pour notification des évènements sur le workspace
org.nuxeo.ecm.core.api.CoreSession openRepositorySession(String repositoryName) throws Exception
CoreSession
sur un dépot donné
repositoryName
- Nom du dépot ou null
pour le dépot par défaut.
Exception
void closeRepositorySession(org.nuxeo.ecm.core.api.CoreSession session) throws Exception
CoreSession
Exception
ScenariWorkspace getNodeOwnerWorkspace(org.nuxeo.ecm.core.api.CoreSession pSession, ScenariNode pNode) throws Exception
ScenariWorkspace
d'un ScenariNode
Exception
ScenariNode move(org.nuxeo.ecm.core.api.CoreSession pSession, ScenariNode pFromNode, ScenariSpace pTargetParent, String pTargetName) throws Exception
ScenariNode
vers pTargetParent
Exception
List<ScenariNode> getPointerNodes(org.nuxeo.ecm.core.api.CoreSession pSession, String pId) throws Exception
ScenariNode
pointant le noeud d'id pId
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |