jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Nuescheler" <david.nuesche...@gmail.com>
Subject Re: question about version removing
Date Wed, 30 Aug 2006 14:08:54 GMT
Hi Alexander,

Ok, thanks for the explanation.

I think what you are looking for is:

http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/version/VersionHistory.html#removeVersion(java.lang.String)

which allows to iterate through the version history and get rid
of all the versions. Is that correct?

regards,
david

On 8/30/06, Pospishniy Alexander <pospeshniy@softline.kiev.ua> wrote:
> On Wednesday 30 August 2006 16:38, David Nuescheler wrote:
>
> For security reasons we need to do the following actions:
> 1. Remove node from storage and destroy ALL traces of it's existence in
> repository. Now we see that removing a node leaves all it's versions in
> database no matter what we do.
> 2. We need to set all data occupied by node to null(0) values before we do
> actual removal. It's like low level format but in  the repository plane.
> Setting all properties of a node to null is no problem, but clearing it's
> version is as we can't modify them in any way known to us.
>
> Is there any way to perform such actions in jackrabbit? Again, it's local
> security issue and is very important to us no matter it's illogical nature )
>
> > Hi Paranoid,
> >
> > I am not exactly clear on what you are trying to do.
> >
> > Are you trying to remove versions? Which is
> > possible, but tends to an administrative task, which
> > I would refrain from using in an application if possible.
> >
> > Are you looking for a removal of a node from one
> > workspace and also removing the entire version
> > history (for all the workspaces) at the same time?.
> >
> > If I think of the equivalent of such an operation for
> > something like a CVS or Subversion repository,
> > it sounds like a highly unlikely, questionable and
> > even potentially harmful operation, that would need
> > to be executed very carefully, right?
> >
> > Maybe you can explain your use case a little bit more
> > in detail and why removing the individual versions from
> > the version history is not satisfactory?
> >
> > regards,
> > david
>


-- 
----------------------------------------------------------------------
http://jcr.day.com JCR in Action!
---------------------------------------< david.nuescheler@day.com >---

This message is a private communication. If you are not the intended
recipient, please do not read, copy, or use it, and do not disclose it
to others. Please notify the sender of the delivery error by replying
to this message, and then delete it from your system. Thank you.

The sender does not assume any liability for timely, trouble free,
complete, virus free, secure, error free or uninterrupted arrival of
this e-mail. For verification please request a hard copy version.


mailto:david.nuescheler@day.com
http://www.day.com

David Nuescheler
Chief Technology Officer
Day Software AG
Barfuesserplatz 6 / Postfach
4001 Basel
Switzerland

T  41 61 226 98 98
F  41 61 226 98 97

Mime
View raw message