jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Which opportunities to add more mixin properties to a node if jcr:mixinTypes already defined
Date Wed, 12 Jun 2013 11:50:41 GMT
Hi Ulrich,

On Wed, Jun 12, 2013 at 2:40 PM, Ulrich <Forums@gombers.de> wrote:
> But then I loose the opportunity to expand/change this. According to the
> JCR-Specs "6.7.5 Special Properties jcr:primaryType and jcr:mixinTypes", the
> property jcr:mixinTypes cannot be deleted or changed any more; this is, I even
> cannot add additional nodeTypes to the multi-value array of the
> jcr:mixinTypes-property.

That point only refers to using methods like setProperty() to modify
the values of these properties. You can still use addMixin() and
removeMixin() to modify the set of mixin types associated with a node.

BR,

Jukka Zitting

Mime
View raw message