On 6/5/07, Sridhar Raman <[EMAIL PROTECTED]> wrote:
HiIs it possible to change the primary type of a node programmatically? Or is the only option is to create a new node with the new primary type, and transfer the contents?
currently there's no easy programmatic way of changing the primary type of a node. jcr 2.0 (jsr-283) will include a new method Node.setPrimaryType(String) but for the time being you'll have to use some workaround. cheers stefan
Thanks, Sridhar
