jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2788) Provide a JackrabbitNode#setMixins(String[] mixinNames) method
Date Mon, 18 Oct 2010 13:55:23 GMT
Provide a JackrabbitNode#setMixins(String[] mixinNames) method

                 Key: JCR-2788
                 URL: https://issues.apache.org/jira/browse/JCR-2788
             Project: Jackrabbit Content Repository
          Issue Type: New Feature
          Components: jackrabbit-core
            Reporter: Stefan Guggisberg
             Fix For: 2.2.0

assume the following scenario:

- mixin A declares the mandatory property p
- mixin A' extends from A
- node n has mixin A'
- we'd like to migrate/downgrade node n from mixin A' to A

currently there's no easy way of replacing the assigned mixins.

assigning A first results in a NOP since A would be redundant.
removing A' first removes the mandatory property p.

a new method setMixins(String[]) would allow to migrate
a node from mixin A' to A while preserving 'shared' content.
the semantics of setMixins(String[]) would be similar to

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message