jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Adding a method to PropInfos
Date Tue, 15 Aug 2006 07:30:12 GMT
On 8/14/06, Nicolas <ntoper@gmail.com> wrote:
> Hi,
>
> In order to restore properly the content of a workspace, I needed to escape
> some checks the regular WorkspaceImporter class was doing. I rewrote a
> custom Importer with no problem. ( It's basically a copy/paste of the
> current importer without the check: it's a short term solution for now but a
> working one. We plan to implement a switch to escape all checks in JR
> internal.)
>
> However, I couldn't do the same with the PropInfo class. Therefore I add to
> add a restoreApply method, which is the same as apply but without the check.
> Maybe I should rename it? I choose restoreApply to emphathise the fact that
> it's reserved for the restore operation.

without knowing exactly what you're up to, i doubt that this would be a good
approach. it rather looks like a nasty hack...

cheers
stefan

>
> What do you think?
>
> BR
> Nico
> my blog! http://www.deviant-abstraction.net !!
>
>

Mime
View raw message