Re: getting the latest version of a checkedout node

2006-09-08 Thread J Kuijpers
I am sorry. I didn't realize I was reading the dev list when I was posting this. Will keep it in mind next time. I had already tried your approach with multiple workspaces. The problem with that is, I don't want a workspace for every user, since there might be a lot of users. So I tried to

Re: getting the latest version of a checkedout node

2006-09-07 Thread J Kuijpers
for: Node.restore(node.getBaseVersion()); regards, toby On 9/6/06, J Kuijpers [EMAIL PROTECTED] wrote: Hello, when the property jcr:isCheckedOut of a node is true, I want to retrieve this node without the changes which are possibly made during the checkout state. So I want to retrieve the node

getting the latest version of a checkedout node

2006-09-06 Thread J Kuijpers
Hello, when the property jcr:isCheckedOut of a node is true, I want to retrieve this node without the changes which are possibly made during the checkout state. So I want to retrieve the node as it was, when it was last checked in. Only when the checkedout node is checkedin the changes are final

Re: altering checkoutstate and uuid on importxml

2006-09-01 Thread J Kuijpers
xml file uploaded J Kuijpers wrote: We use the importxml method on the sessionimpl to import some nodes in jackrabbit. I want to have some influence on the uuid and checkedoutstate on the main node during importing. Can I do something like the xml below or will the jcr:ischeckedout

Re: altering ceckoutstate and uuid on importxml

2006-09-01 Thread J Kuijpers
for this. Nico On 9/1/06, J Kuijpers [EMAIL PROTECTED] wrote: There's no way of influence these props on the fly in some way? I need the node to be checkedin and give it my own uuid. Don't want to alter them afterwards for performance reaons Nicolas Toper wrote: Hi

Re: problem retrieving nodes from different workspaces

2006-08-29 Thread J Kuijpers
Were you able to reproduce our problem? Jukka Zitting-3 wrote: Hi, On 8/28/06, J Kuijpers [EMAIL PROTECTED] wrote: Supplied repository.xml and runnable MultipleWorkspaceTest.java http://www.nabble.com/user-files/235783/repository.xml repository.xml http://www.nabble.com/user-files

problem retrieving nodes from different workspaces

2006-08-28 Thread J Kuijpers
Hello I am having a problem retrieving nodes from different workspaces. I have supplied a runnable example class. In this class I am creating two workspaces and add some nodes to them. When I retrieve the nodes without first shutting down the repository I am getting a result as expected:

Re: problem retrieving nodes from different workspaces

2006-08-28 Thread J Kuijpers
) { session.logout(); } } } } Jukka Zitting-3 wrote: Hi, On 8/28/06, J Kuijpers [EMAIL PROTECTED] wrote: Supplied repository.xml and runnable MultipleWorkspaceTest.java http://www.nabble.com/user-files/235783