|
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 | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.hierarchy.impl.NodeHierarchyCreatorImpl
public class NodeHierarchyCreatorImpl
Created by The eXo Platform SAS Author : Dang Van Minh minh.dang@exoplatform.com Nov 15, 2007 2:21:57 PM
| Constructor Summary | |
|---|---|
NodeHierarchyCreatorImpl(RepositoryService jcrService,
DataDistributionManager dataDistributionManager,
org.exoplatform.container.xml.InitParams params)
|
|
NodeHierarchyCreatorImpl(RepositoryService jcrService,
org.exoplatform.container.xml.InitParams params)
|
|
| 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)
Initialize the given repository thanks to all the registered plugins |
void |
removeUserNode(SessionProvider sessionProvider,
String userName)
Remove the JCR node corresponding to the root node of the user workspace |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeHierarchyCreatorImpl(RepositoryService jcrService,
org.exoplatform.container.xml.InitParams params)
public NodeHierarchyCreatorImpl(RepositoryService jcrService,
DataDistributionManager dataDistributionManager,
org.exoplatform.container.xml.InitParams params)
| Method Detail |
|---|
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
public void init(String repository)
throws Exception
init in interface NodeHierarchyCreatorrepository - the repository to initialize
Exception - if an exception occurs
public void init()
throws Exception
init in interface NodeHierarchyCreatorException - if an exception occurs
public javax.jcr.Node getUserApplicationNode(SessionProvider sessionProvider,
String userName)
throws Exception
getUserApplicationNode in interface NodeHierarchyCreatorsessionProvider - 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
public javax.jcr.Node getPublicApplicationNode(SessionProvider sessionProvider)
throws Exception
getPublicApplicationNode in interface NodeHierarchyCreatorsessionProvider - the session provider to use to get the root node
Exception - if an exception occurs
public javax.jcr.Node getUserNode(SessionProvider sessionProvider,
String userName)
throws Exception
getUserNode in interface NodeHierarchyCreatorsessionProvider - 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
public void removeUserNode(SessionProvider sessionProvider,
String userName)
throws Exception
removeUserNode in interface NodeHierarchyCreatorsessionProvider - 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 occurspublic String getJcrPath(String alias)
getJcrPath in interface NodeHierarchyCreatoralias - the alias of the path to retrieve
public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
addPlugin in interface NodeHierarchyCreatorplugin - 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 | |||||||||