Mail Archive Home | exoplatform List | May 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
See also http://wiki.exoplatform.org/xwiki/bin/view/JCR/Using+JCR
HTH,
Gennady
Hi,
Here is some sample to access the JCR within a portlet :
PortalContainer container = PortalContainer.getInstance(); RepositoryService repositoryService = (RepositoryService) container.getComponentInstanceOfType(RepositoryService.class); Session jcrSession = repositoryService.getRepository().getSystemSession ("production"); // I use system session to avoid having user restriction on the JCR, you can get other workspaces as well like "draft" Node root = jcrSession.getRootNode();
Best regards,
On Thu, 2007-05-31 at 12:15 +0200, FLORENT.TROLAT wrote:Hi,
I want to browse content located in the ECM from my portlet... I don't know which service I have to use and where I can found some piece of code to understand!
Any links are welcome,
Florent.
plain text document attachment (message-footer.txt)
--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws-- Laurent Laudinet Open Source Software Architect - ThereSIS THALES RD 128;Palaiseau Cedex 91767 Phone : 33169415905 laurent.laudinet@xxxxxxxxxxxxxxx
--------------------------------------------------------------------------------
--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.