Re: Version history of deleted nodes and garbage collection

2018-03-16 Thread Fabián Mandelbaum
it.core.ItemImpl.perform(ItemImpl.java:91) >> >> at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:322) >> >> at com.calenco.core.robot.JcrHistoryCleanerTimerTask.processNod >> e(JcrHistoryCleanerTimerTask.java:75) >> >> at com.calenco.core.r

Re: Version history of deleted nodes and garbage collection

2018-03-16 Thread Julian Reschke
at (soundly, but won't let me remove what I need) the tree under /jcr:system/jcr:versionStorage is protected in a way that some of the "regular" node manipulation API (node.remove()) cannot be used on those nodes. ... What type of node are you trying to delete? The version history node? Best regards, Julian

Re: Version history of deleted nodes and garbage collection

2018-03-16 Thread Fabián Mandelbaum
0 - Finished repository garbage collection. Then stopped the application and used the tool to inspect the repository... I still find the orphan version history nodes, which take up useless disk space and all their references are actually pointing nowhere (to no stored node, that's what defi

Re: Version history of deleted nodes and garbage collection

2018-03-15 Thread Julian Reschke
On 2018-03-15 11:47, Fabián Mandelbaum wrote: I'll try to provide the details for dependency hell with 2.6 and other frameworks/libs later, I'm a bit overloaded with other things now, sorry. Thanks. Nothing happens with the tree, OK, but is it eligible to be garbage-collected or not? I woul

Re: Version history of deleted nodes and garbage collection

2018-03-15 Thread Fabián Mandelbaum
n Mandelbaum wrote: > >> Hello, >> >> my application based on JackRabbit 2.x (albeit an old .x, IIRC, .6, still >> cannot upgrade to latest because it breaks my build... lots of >> dependencies >> > > Details appreciated. We'll abandon 2.6 this year. > >

Re: Version history of deleted nodes and garbage collection

2018-03-15 Thread Julian Reschke
uses version history tracking of items stored under certain paths. > One of the features of the application is to be able to erase the items (wipe them, and all related nodes and stored information forever) in question. When deleting those items, what happens with their version history tree?

Version history of deleted nodes and garbage collection

2018-03-15 Thread Fabián Mandelbaum
Hello, my application based on JackRabbit 2.x (albeit an old .x, IIRC, .6, still cannot upgrade to latest because it breaks my build... lots of dependencies from other libs/frameworks I use) uses version history tracking of items stored under certain paths. One of the features of the application

is it possible to delete old versions from Version History

2016-12-12 Thread modelrepository
sions-from-Version-History-tp4665744.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Cleaning up version history

2014-06-26 Thread Rakesh Vidyadharan
o-you-restore-a-versioned-node-in-a-jackrabbit-2-1-repository >> to iterate over all the version history for the workspace, and found the >> versions that were saved for the nodes that we had deleted. I assume it is >> the version history that prevents the GC from removing the

Re: Cleaning up version history

2014-06-26 Thread Julian Reschke
of a difference in the repository disk usage. I followed the steps outlined in http://stackoverflow.com/questions/3292719/how-do-you-restore-a-versioned-node-in-a-jackrabbit-2-1-repository to iterate over all the version history for the workspace, and found the versions that were saved for the

Cleaning up version history

2014-06-20 Thread Rakesh Vidyadharan
followed the steps outlined in http://stackoverflow.com/questions/3292719/how-do-you-restore-a-versioned-node-in-a-jackrabbit-2-1-repository to iterate over all the version history for the workspace, and found the versions that were saved for the nodes that we had deleted. I assume it is the

Is there a way to set a version history limit?

2014-03-17 Thread crm6360
To prevent jackrabbit server disk space from filling up too quickly, is there a configuration or setting we can apply to cap the number of versions that a node can retain in its version history? Or is this something that will require programmatic/manual scrubbing? Thanks, Chris -- View this

Re: Accessing the version history of a deleted node

2014-01-16 Thread Michael Wechner
;>> I have reading >>> >>> http://www.day.com/specs/jcr/2.0/15_Versioning.html >>> >>> but it's not really clear to me whether it is possible to access the >>> version history of a deleted node? >>> >>> Let's say I am

Re: Accessing the version history of a deleted node

2014-01-16 Thread Julian Reschke
/15_Versioning.html but it's not really clear to me whether it is possible to access the version history of a deleted node? Let's say I am creating a node at /foo/bar/hello-world.txt and edit the content associated with this node several times and hence create a version history. At some point I a

Re: Accessing the version history of a deleted node

2014-01-16 Thread Michael Wechner
ng.html >> >> but it's not really clear to me whether it is possible to access the >> version history of a deleted node? >> >> Let's say I am creating a node at >> >> /foo/bar/hello-world.txt >> >> and edit the content associated with t

Re: Accessing the version history of a deleted node

2014-01-15 Thread Julian Reschke
On 2014-01-15 20:45, Michael Wechner wrote: Hi I have reading http://www.day.com/specs/jcr/2.0/15_Versioning.html but it's not really clear to me whether it is possible to access the version history of a deleted node? Let's say I am creating a node at /foo/bar/hello-world.txt an

Accessing the version history of a deleted node

2014-01-15 Thread Michael Wechner
Hi I have reading http://www.day.com/specs/jcr/2.0/15_Versioning.html but it's not really clear to me whether it is possible to access the version history of a deleted node? Let's say I am creating a node at /foo/bar/hello-world.txt and edit the content associated with this no

RE: Remove unused version history

2013-07-10 Thread Marek Slama
Hi, ok I see. If version history has at least one regular version I will check if node with UUID jrc:versionableUuid exists. If it does not exist it is orphaned version history and I can remove it by removing versions from it (from version history). If version history has only root version

RE: Remove unused version history

2013-07-09 Thread Marcel Reutegger
Hi, removing the last regular version of a version history should remove the version history. See: https://issues.apache.org/jira/browse/JCR-134 however, there's a special case and an open issue, when only a root version exists for a versionable node. see: https://issues.apache.org/jira/b

Remove unused version history

2013-07-08 Thread Marek Slama
Hello, I want to ask if there is any way how to remove unused version history. My (incorrect used case) 1.Add versionable node. 2.Remove versionable node without removing version history. I know it is possible to remove version history when I get version history first from node using

Re: Delete complete version history when node is deleted.

2011-05-25 Thread Fabián Mandelbaum
>>                } >> >> >> >> On Tue, May 24, 2011 at 12:34 PM, Raj wrote: >> > Any pointers would be helpful. >> > >> > thanks, >> > Raj >> > >> > On Mon, May 23, 2011 at 2:12 PM, Raj wrote: >> > >

Re: Delete complete version history when node is deleted.

2011-05-25 Thread Raj
} >} >} > > > > On Tue, May 24, 2011 at 12:34 PM, Raj wrote: > > Any pointers would be helpful. > > > > thanks, > > Raj > > > > On Mon, May 23, 2011 at 2:12 PM, Raj wrote: > > > >

Re: Delete complete version history when node is deleted.

2011-05-25 Thread Fabián Mandelbaum
uld be helpful. > > thanks, > Raj > > On Mon, May 23, 2011 at 2:12 PM, Raj wrote: > >> hi All, >> >> My requirement is to delete the node and its history, as both won't be >> useful as per application logic. >> I would like to completel

Re: Delete complete version history when node is deleted.

2011-05-24 Thread Raj
Any pointers would be helpful. thanks, Raj On Mon, May 23, 2011 at 2:12 PM, Raj wrote: > hi All, > > My requirement is to delete the node and its history, as both won't be > useful as per application logic. > I would like to completely delete version history for the node

Delete complete version history when node is deleted.

2011-05-23 Thread Raj
hi All, My requirement is to delete the node and its history, as both won't be useful as per application logic. I would like to completely delete version history for the node as it will save us disk space and backup time. Node childNode = parentNode.getNode("mynode")

AW: Change a version from version history

2010-07-14 Thread Sascha.Theves
Hi, we do not want to change the latest revision. We want to change the complete version history and all versions (revisions) in there because we have to migrate some data. I think that is not possible because Jackrabbit throws a Exception when you try to change a version node from version

Re: Change a version from version history

2010-07-09 Thread Fabián Mandelbaum
; Hi all, > > > > is it possible to change some properties on a already checked in node? I > mean when I create a node that is versionable and create a version of > this node in the version history with some properties, is it then > possible to change the properties of the version

Change a version from version history

2010-07-09 Thread Sascha.Theves
Hi all, is it possible to change some properties on a already checked in node? I mean when I create a node that is versionable and create a version of this node in the version history with some properties, is it then possible to change the properties of the version node in the version history

Re: Version History

2010-02-25 Thread AElshereay
Thank you so much Thomas. Ich wünsche dir einen schönen Tag ;-)

Re: Version History

2010-02-25 Thread Thomas Müller
Hi, > should obtain it from VersionManager or something like this, but don't > know how!! See http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/version/VersionManager.html "The VersionManager object is accessed via Workspace.getVersionManager()." and "The Workspace object can be acqu

Version History

2010-02-25 Thread AElshereay
Hi, Please, can any one guide me how to obtain the VersionHistory of a node in Jackrabbit 2.0? Here's the code how I used to obtain it in the previous release: VersionHistory versionIterator = node.getVersionHistory(); while(versionIterator.hasNext()){ Version version = versionIterator.

Version history problems

2009-11-23 Thread Eyji (Eje) Thorarinsson
Hi! I'm using Jackrabbit 1.4.x and trying to access child nodes by using OCM. The code is somewhat as below: VersionedDocument document = (VersionedDocument) ocm.getObject(orginalDocument.getPath(), version); String data = null; try { Resource r = document.get

Re: Version History

2009-11-02 Thread Tobias Bocanegra
hi, versions are shared amongst all workspaces. this is intentionally so that corresponding nodes can checkin/checkout/restore/merge from their common version. if you need/want to remember the versions origin, you need to set it manually on a property before your do the checkin. regards, toby On

Version History

2009-11-02 Thread Robin Batra
Hi, Is there any way one can determine what workspace a version belongs to? If we have multiple workspaces configured (in case of branching), the history view will show all the versions present in multiple workspace. Is there a way we can determine which version belongs to which workspace??? Than

Export version history

2009-09-30 Thread freak182
Hello, How can export the version history? if for example coron.jpg has has version 1.0, 1.1, 1.2, as per my testing the latest version exported. How can export the old version? thanks a lot. cheers. -- View this message in context: http://www.nabble.com/Export-version-history

Re: Deleting a node also delete version history of the node

2009-07-20 Thread Cédric Damioli
nterest in this solution. -- View this message in context: http://www.nabble.com/Deleting-a-node-also-delete-version-history-of-the-node-tp18104105p18221650.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. -- Cédric Damioli Responsable produit Ametys So

Re: Deleting a node also delete version history of the node

2009-07-19 Thread wulf.rowek
would create a lot > of really unused data on the disk), you might consider not to version > them at all. > > Regards, > Alex > > On Tue, Jul 1, 2008 at 7:53 PM, hsp_ wrote: >> >> Hi, I also have interest in this solution. >> >> -- >> View this me

Re: OCM, queries and version history

2009-02-10 Thread g.reinhart
Done : https://issues.apache.org/jira/browse/JCR-1973 Regards, Gerald Reinhart -- View this message in context: http://www.nabble.com/OCM%2C-queries-and-version-history-tp21459838p21934062.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: OCM, queries and version history

2009-02-10 Thread Christophe Lombart
in a couple of days. Best regards, Christophe > > -- > View this message in context: > http://www.nabble.com/OCM%2C-queries-and-version-history-tp21459838p21918082.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > >

Re: OCM, queries and version history

2009-02-09 Thread g.reinhart
teFilter(MyObject.class ); filterChange.setScope( "/jcr:system/jcr:versionStrorage//"); -- View this message in context: http://www.nabble.com/OCM%2C-queries-and-version-history-tp21459838p21918082.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: OCM, queries and version history

2009-01-16 Thread Christophe Lombart
Hi, Searching objects in the version history is not yet supported. For the moment, you can only get the version history and loop on the different versions (see the unit test AnnotationBasicVersionningTest). There is a workaround but this is not the ideal solution : Make your own jcr query to get

OCM, queries and version history

2009-01-14 Thread Gaetano Sferra
Hi again, it's possible to search an object by the value of an attribute thought the version history? Ok, let me to better explain it; I have an object like this (correctly mapped in a xml descriptor and defined (CND) - it has the "mix:versionable" type too): public

Re: Deleting the version history of a node

2009-01-06 Thread Sébastien Launay
ave to first delete the node and then its versions. >>>> For this you need to store the version history before deleting the node. >>>> Indeed, if you delete the node you cannot access the version history >>>> anymore. >>>> >>>> Here an

Re: Deleting the version history of a node

2009-01-06 Thread Alexandru Popescu ☀
On Tue, Jan 6, 2009 at 11:55 AM, Sébastien Launay wrote: > Alexandru Popescu ☀ a écrit : >> On Mon, Jan 5, 2009 at 11:19 PM, Sébastien Launay >> wrote: >> >>> You have to first delete the node and then its versions. >>> For this you need to store the v

Re: Deleting the version history of a node

2009-01-06 Thread Sébastien Launay
Alexandru Popescu ☀ a écrit : > On Mon, Jan 5, 2009 at 11:19 PM, Sébastien Launay > wrote: > >> You have to first delete the node and then its versions. >> For this you need to store the version history before deleting the node. >> Indeed, if you delete the node yo

Re: Deleting the version history of a node

2009-01-06 Thread Alexandru Popescu ☀
On Mon, Jan 5, 2009 at 11:19 PM, Sébastien Launay wrote: > You have to first delete the node and then its versions. > For this you need to store the version history before deleting the node. > Indeed, if you delete the node you cannot access the version history > anymore. > &g

Re: Deleting the version history of a node

2009-01-05 Thread Sébastien Launay
You have to first delete the node and then its versions. For this you need to store the version history before deleting the node. Indeed, if you delete the node you cannot access the version history anymore. Here an example, from JCR-134 test case: Node n = rootNode.addNode("test");

Re: Deleting the version history of a node

2009-01-05 Thread Diego Marin Santos
> - after 3 years we deleted the content (the node and then its remaining > versions) > > Because, the node is deleted but its empty version history is still > present in Jackrabbit storage, the disk usage continues to grow. > The goal of the purge was precisely to have a const

Re: Deleting the version history of a node

2009-01-05 Thread Sébastien Launay
empty version history is still present in Jackrabbit storage, the disk usage continues to grow. The goal of the purge was precisely to have a constant disk usage because the content creation throughput is constant (i.e. after 3 years of production the number of nodes must have reached a maximum). I

Re: Deleting the version history of a node

2009-01-05 Thread Diego Marin Santos
how can I restore some information about a node after it being deleted? how i get a reference for your version history? 2009/1/5 Tako Schotanus > IMO this is because versioning is not seen as a method to go back to older > version for isolated files but as a way to get a "snapshot&qu

Re: Deleting the version history of a node

2009-01-05 Thread Tako Schotanus
on versioning makes sense when we wanna > modify a file and may wanna restore the previous file versions in the > future. > When we delete a file, we don't think of restoring previous file versions. > Moreover, deleting a node(representing a file) we won't get a reference for > your version history, then why should we keep the version history of this > node? >

Deleting the version history of a node

2009-01-05 Thread Diego Marin Santos
storing previous file versions. Moreover, deleting a node(representing a file) we won't get a reference for your version history, then why should we keep the version history of this node?

Re: Version History

2008-07-30 Thread Felix Gonschorek
nother repo, and then the version-history was lost. i had to write the workspace again, but with large binary data i could not use the import/export mechanism of jackrabbit and i had to do it manually - this was pain. i would be very interested in a better solution too. greetings felix Tamara

Re: Version History

2008-07-30 Thread Tamara Coutinho
another repo, and then the version-history was lost. i had to write the workspace again, but with large binary data i could not use the import/export mechanism of jackrabbit and i had to do it manually - this was pain. i would be very interested in a better solution too. greetings felix

Re: Version History

2008-07-30 Thread Felix Gonschorek
Hi all, I have had this problem too, those nodes were read-only after i transferred the workspace to another repo, and then the version-history was lost. i had to write the workspace again, but with large binary data i could not use the import/export mechanism of jackrabbit and i had to do

Version History

2008-07-29 Thread Tamara Coutinho
I lost the versionHistory node from several nodes and now isn't possible to remove these nodes. I would like to know how can I remove these nodes or rebuild the versionHistory nodes. Thanks in advance, Tamara Coutinho

Re: Deleting a node also delete version history of the node

2008-07-01 Thread Alexander Klimetschek
> wrote: > > Hi, I also have interest in this solution. > > -- > View this message in context: > http://www.nabble.com/Deleting-a-node-also-delete-version-history-of-the-node-tp18104105p18221650.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.co

Re: Deleting a node also delete version history of the node

2008-07-01 Thread hsp_
Hi, I also have interest in this solution. -- View this message in context: http://www.nabble.com/Deleting-a-node-also-delete-version-history-of-the-node-tp18104105p18221650.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: Deleting a node also delete version history of the node

2008-06-27 Thread mainikamiya
version has the uuid of the root version as its predecessor. Since a reference is existing i am unable to delete each of them and it gives me a Referential Integrity Exception. I tried using node.removeMixin() but that only removes the reference of the version history from the actual node and does not

Re: Deleting a node also delete version history of the node

2008-06-24 Thread Alexander Klimetschek
On Tue, Jun 24, 2008 at 11:02 PM, Pulla Venkat <[EMAIL PROTECTED]> wrote: > what should I do to delete version history also ? Call VersionHistory.removeVersion() for each version. Regards, Alex -- Alexander Klimetschek [EMAIL PROTECTED]

Deleting a node also delete version history of the node

2008-06-24 Thread Pulla Venkat
Hi, I am trying to understand the node deletion in jackrabbit. we have scenarios for deleting nodes which should delete version history associated with the node. Node.remove() -- Method in javax.jcr.Item Interface [ inherited by javax.jcr.Node interface ] Does the above method remove the

Re: Can I export / import version history?

2008-03-11 Thread David Nuescheler
hi paco, > > i think the version history is not affected if you make changes > > to your node types. > This is not always true. I'have added an "user comment" property to the > versioned node, so the applications expect to see this property in the > versi

Re: Can I export / import version history?

2008-03-11 Thread Paco Avila
change my node type configuration and want to > > preserve the node version history? > > The easiest way to achieve that at the moment is probably to update > the namespace of the node types in question so you can keep both the > old and the new types in the same repository and migr

Re: Can I export / import version history?

2008-03-11 Thread Paco Avila
El mar, 11-03-2008 a las 12:07 +0100, David Nuescheler escribió: > hi paco, > > i think the version history is not affected if you make changes > to your node types. This is not always true. I'have added an "user comment" property to the versioned node, so the appl

Re: Can I export / import version history?

2008-03-11 Thread David Nuescheler
hi paco, i think the version history is not affected if you make changes to your node types. generally the version store is implemented as a workspace so you can just copy the version store on to your new repository, but you need to make sure that the uuid's (and version property) of the

Re: Can I export / import version history?

2008-03-11 Thread Jukka Zitting
Hi, On Tue, Mar 11, 2008 at 12:58 PM, Paco Avila <[EMAIL PROTECTED]> wrote: > I've posted this message a week ago and nobody tell anything about it. > > What can I do if i need to change my node type configuration and want to > preserve the node version history? The easi

Can I export / import version history?

2008-03-11 Thread Paco Avila
I've posted this message a week ago and nobody tell anything about it. What can I do if i need to change my node type configuration and want to preserve the node version history? I can't belibe nobody have this problem! -- Paco Avila <[EMAIL PROTECTED]> GIT Consultors

Re: Getting Version History after the node is deleted

2008-01-28 Thread Sridhar Raman
t; >> What's your use case for wanting to get the version history of a > >> removed node? > > > > On a more theoretical level: isn't this a limitation of the spec? By > > the time you remove the event the path information attached to the > > event

Re: XPath queries on version history nodes

2007-05-11 Thread Bob Wieler
rabbit-core/src/main/config/repository.xml It's at the very end of the file. regards marcel Bob Wieler wrote: > The version workspace configuration we're using is: > > > > > > > > > I'm not sure what else would need to be config

Re: XPath queries on version history nodes

2007-05-11 Thread Marcel Reutegger
The version workspace configuration we're using is: I'm not sure what else would need to be configured to allow me to search through the version history node. Thank you for your help, Bob On 5/10/07, harvey waters <[EMAIL PROTECTED]> wrote: Just a thought, bu

Re: XPath queries on version history nodes

2007-05-10 Thread Bob Wieler
The version workspace configuration we're using is: I'm not sure what else would need to be configured to allow me to search through the version history node. Thank you for your help, Bob On 5/10/07, harvey waters <[EMAIL PROTECTED]> wrote: Just a t

Re: XPath queries on version history nodes

2007-05-10 Thread harvey waters
Just a thought, but have you set up the Version workspace index settings ? On 5/9/07, Bob Wieler <[EMAIL PROTECTED]> wrote: -- Forwarded message -- From: Bob Wieler <[EMAIL PROTECTED]> Date: May 9, 2007 5:11 PM Subject: XPath queries on version history nod

XPath queries on version history nodes

2007-05-09 Thread Bob Wieler
-- Forwarded message -- From: Bob Wieler <[EMAIL PROTECTED]> Date: May 9, 2007 5:11 PM Subject: XPath queries on version history nodes To: users@jackrabbit.apache.org I'm trying to write an XPath query (Jackrabbit version 1.3) that will find all of the jcr:versionLabe

Re: Getting Version History after the node is deleted

2007-04-11 Thread Florent Guillaume
Alexandru Popescu wrote: What's your use case for wanting to get the version history of a removed node? On a more theoretical level: isn't this a limitation of the spec? By the time you remove the event the path information attached to the event is quite useless, so the mechanism sho

Re: Getting Version History after the node is deleted

2007-04-11 Thread Sudhan
perty set inside jcr:content). So when i update or add new nt:file node, I can always read those custom property which decides whether to publish the file on the file system. I was assuming that the version history still remains intact eventhough you remove the versionable node from the repository.

Re: Getting Version History after the node is deleted

2007-04-11 Thread Alexandru Popescu ☀
On 4/11/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: Hi, On 4/10/07, Alexandru Popescu ☀ <[EMAIL PROTECTED]> wrote: > On a more theoretical level: isn't this a limitation of the spec? By > the time you remove the event the path information attached to the > event is quite useless, so the mechani

Re: Getting Version History after the node is deleted

2007-04-11 Thread Jukka Zitting
y. So when i get an event for NODE_REMOVED, I need to pull out the property set on jcr:content node of the deleted node. I had a notion that the version history still remains eventhough you remove the node from the repository. Now my problem is to get a handle to jcr:content node and do some proc

Re: Getting Version History after the node is deleted

2007-04-11 Thread Jukka Zitting
Hi, On 4/10/07, Alexandru Popescu ☀ <[EMAIL PROTECTED]> wrote: On a more theoretical level: isn't this a limitation of the spec? By the time you remove the event the path information attached to the event is quite useless, so the mechanism should try to publish more usefull information. I thin

Re: Getting Version History after the node is deleted

2007-04-10 Thread Sudhan
the repository. So when i get an event for NODE_REMOVED, I need to pull out the property set on jcr:content node of the deleted node. I had a notion that the version history still remains eventhough you remove the node from the repository. Now my problem is to get a handle to jcr:content node and do

Re: Getting Version History after the node is deleted

2007-04-10 Thread Alexandru Popescu ☀
What's your use case for wanting to get the version history of a removed node? On a more theoretical level: isn't this a limitation of the spec? By the time you remove the event the path information attached to the event is quite useless, so the mechanism should try to publish more use

Re: Getting Version History after the node is deleted

2007-04-10 Thread Jukka Zitting
re any thing i am doing wrong here. let me know. Casting the event to EventImpl only works when you're using a local Jackrabbit instance, not when using Jackrabbit remotely over the RMI layer. What's your use case for wanting to get the version history of a removed node? BR, Jukka Zitting

Re: Getting Version History after the node is deleted

2007-04-10 Thread Sudhan
doing wrong here. let me know. thanks, Sudhan Tobias Bocanegra wrote: > > hi, > unfortunately, the event for the node_removed does not contain any > suitable information by the path anymore. what you need is the uuid of > the node, in order to get the version history. > &

Re: Getting Version History after the node is deleted

2007-04-10 Thread Tobias Bocanegra
hi, unfortunately, the event for the node_removed does not contain any suitable information by the path anymore. what you need is the uuid of the node, in order to get the version history. if you run inside jackrabbit, you can cast the Event to EventImpl, and then fetch the "NodeId getPar

Getting Version History after the node is deleted

2007-04-09 Thread Sudhan
I am having trouble in getting the version history once I delete the node through DavExplorer. I have listeners like this : 1) This is used for listening to any nodes created or updated on version storage session.getWorkspace().getObservationManager().addEventListener

Re: Version history - paths and node types

2006-11-01 Thread James Hang
Makes sense. Thanks! Jukka Zitting-3 wrote: > > Hi, > > On 11/2/06, James Hang <[EMAIL PROTECTED]> wrote: >> I noticed that when traversing a node's version history by calling >> Node.getVersionHistory(), the versions returned contains paths and node

Re: Version history - paths and node types

2006-11-01 Thread Jukka Zitting
Hi, On 11/2/06, James Hang <[EMAIL PROTECTED]> wrote: I noticed that when traversing a node's version history by calling Node.getVersionHistory(), the versions returned contains paths and node types of the node in the version workspace, not in the workspace of the node that was ver

Version history - paths and node types

2006-11-01 Thread James Hang
I noticed that when traversing a node's version history by calling Node.getVersionHistory(), the versions returned contains paths and node types of the node in the version workspace, not in the workspace of the node that was versioned. So calling Version.getPath() returns something

Re: File node - Version History

2006-08-23 Thread Marcel Reutegger
Shanmugam Gopal wrote: Can I have sample code for creating custom nodes like extending nt:file and nt:unstructured node types? yes, you can. See the documentation: http://jackrabbit.apache.org/doc/nodetype/index.html regards marcel

Re: File node - Version History

2006-08-23 Thread Shanmugam Gopal
Hi, Can I have sample code for creating custom nodes like extending nt:file and nt:unstructured node types? regards, Shanmugam G From: Marcel Reutegger <[EMAIL PROTECTED]> Reply-To: users@jackrabbit.apache.org To: users@jackrabbit.apache.org Subject: Re: File node - Version Histor

Re: File node - Version History

2006-08-23 Thread Marcel Reutegger
ge as well. regards marcel Shanmugam Gopal wrote: Hi, I have created a file node in repository. Different users can check out and check in this file. At any point of time, I should get the version history like version name, version created time and the user who has created that particular versi

RE: File node - Version History

2006-08-22 Thread Shanmugam Gopal
Hi, I have created a file node in repository. Different users can check out and check in this file. At any point of time, I should get the version history like version name, version created time and the user who has created that particular version. From VersionHistory and Version

File node - Version History

2006-08-21 Thread Shanmugam Gopal
Hi, I have created a file node in repository. Different users can check out and check in this file. At any point of time, I should get the version history like version name, version created time and the user who has created that particular version. From VersionHistory and Version interfaces

How to move version history!

2006-07-07 Thread thachun
Hi,helper! Now, I have a problem with JackRabbit API. I don't know how to move version history from a repository (A) to another (B) and remove this versision history. I gived a solution but it is not performance: - Get node from A - Add node into B - Get List of versions of node from A