jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk V. Schesmer" <dirk.sches...@mac.com>
Subject How to unregister NodeTypes ?
Date Sun, 23 Apr 2006 15:29:57 GMT
Hello list,

I am trying to unregister a custom node type "myapp:User" by executing:

QName quName = new QName("myapp", "User");
NodeTypeManagerImpl ntMgr = (NodeTypeManagerImpl) session.getWorkspace 
().getNodeTypeManager();
NodeTypeRegistry ntreg = ntMgr.getNodeTypeRegistry();
ntreg.unregisterNodeType(quName);

As a result when executing the code, I get reported  
"javax.jcr.RepositoryException: not yet implemented"

Am I doing something incorrectly? If not, is there a work around ?

Thanks a lot,

Dirk V. Schesmer
Stuttgart/Germany

Mime
View raw message