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] Resolved: (JCR-2788) Provide a JackrabbitNode#setMixins(String[] mixinNames) method
Date Mon, 25 Oct 2010 16:23:19 GMT

     [ https://issues.apache.org/jira/browse/JCR-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Guggisberg resolved JCR-2788.
------------------------------------

    Resolution: Fixed

implemented in svn r1027183

> 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-api, 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
> Node.setPrimaryType(String).

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


Mime
View raw message