|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeHierarchyCreator
This service is used as an helper to initialize the JCR Created by The eXo Platform SAS Author : Dang Van Minh minh.dang@exoplatform.com Nov 15, 2007 10:10:10 AM
| Method Summary | |
|---|---|
void |
addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
Registers a new plugins |
String |
getJcrPath(String alias)
Gets the JCR path corresponding to the given alias |
javax.jcr.Node |
getPublicApplicationNode(SessionProvider sessionProvider)
Gets the JCR node corresponding to the root node of the public applications |
javax.jcr.Node |
getUserApplicationNode(SessionProvider sessionProvider,
String userName)
Gets the JCR node corresponding to the root node of the user's applications |
javax.jcr.Node |
getUserNode(SessionProvider sessionProvider,
String userName)
Gets the JCR node corresponding to the root node of the user workspace |
void |
init()
Initialize the current repository thanks to all the registered plugins |
void |
init(String repository)
Deprecated. use init() instead |
void |
removeUserNode(SessionProvider sessionProvider,
String userName)
Remove the JCR node corresponding to the root node of the user workspace |
| Method Detail |
|---|
String getJcrPath(String alias)
alias - the alias of the path to retrieve
void init(String repository)
throws Exception
repository - the repository to initialize
Exception - if an exception occurs
void init()
throws Exception
repository - the repository to initialize
Exception - if an exception occurs
void removeUserNode(SessionProvider sessionProvider,
String userName)
throws Exception
sessionProvider - the session provider to use to remove the root nodeuserName - the user name for which we want to remove the root node of his workspace
Exception - if an exception occurs
javax.jcr.Node getUserNode(SessionProvider sessionProvider,
String userName)
throws Exception
sessionProvider - the session provider to use to get the root nodeuserName - the user name for which we want to find the root node of his workspace
Exception - if an exception occurs
javax.jcr.Node getUserApplicationNode(SessionProvider sessionProvider,
String userName)
throws Exception
sessionProvider - the session provider to use to get the root nodeuserName - the user name for which we want to find the root node of his applications
Exception - if an exception occurs
javax.jcr.Node getPublicApplicationNode(SessionProvider sessionProvider)
throws Exception
sessionProvider - the session provider to use to get the root node
Exception - if an exception occursvoid addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
plugin - the plugin to register
|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||