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 create

Re: getting the latest version of a checkedout node

2006-09-07 Thread J Kuijpers
probably looking 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 po

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 s

Re: altering ceckoutstate and uuid on importxml

2006-09-01 Thread J Kuijpers
one > already the code 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'

Re: altering ceckoutstate and uuid on importxml

2006-09-01 Thread J Kuijpers
o > my blog! http://www.deviant-abstraction.net !! > > On 9/1/06, J Kuijpers <[EMAIL PROTECTED]> 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 &

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 j

altering ceckoutstate and uuid on importxml

2006-09-01 Thread J Kuijpers
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 and jcr:uuid be overwritten during the importxml?

Re: problem retrieving nodes from different workspaces

2006-08-29 Thread J Kuijpers
> You must use a value that includes the workspace name as a variable. > > E.g. the sample configuration uses this: > > > > See also: > https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit/src/main/config/repository.xml > > Using the sample repository.xml the tes

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 repositor

Re: problem retrieving nodes from different workspaces

2006-08-28 Thread J Kuijpers
repositoryQuery.execute(); NodeIterator it = result.getNodes(); while (it.hasNext()) { Node node = it.nextNode(); System.out.println(node.getName()); } } catch (Exception e) {

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: worksp