jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject modify a node type definition
Date Wed, 29 Nov 2006 19:18:42 GMT
I have created a repository with several hundred of nodes and now I want
to add a "mix:referenceable" to all these nodes. The node actually is
defined as:

[okm:document] > nt:hierarchyNode, mix:lockable, mix:accessControlled
- okm:author (string) mandatory
- okm:name (string)
- okm:language (string)
- okm:keywords (string)
+ okm:content (okm:resource) primary mandatory

and I want to become:

[okm:document] > nt:hierarchyNode, mix:referenceable, mix:lockable,
mix:accessControlled
- okm:author (string) mandatory
- okm:name (string)
- okm:language (string)
- okm:keywords (string)
+ okm:content (okm:resource) primary mandatory

I'have try 

NodeTypeRegistry.reregisterNodeType(NodeTypeDef)

but seems to be "not yet implemented" :(
-- 
Paco Avila <pavila@git.es>


Mime
View raw message