[
https://jira.jboss.org/jira/browse/DNA-516?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-516:
--------------------------------
Attachment: DNA-516.patch
Attached patch that exposes the RTNM registerNodeTypes(JcrNodeTypeSource) method to users
through the JcrNodeTypeManager. The JNTM is the class returned by a call to
JcrWorkspace.getNodeTypeManager().
Reference Guide example that defines node types programmatically has
several typos
----------------------------------------------------------------------------------
Key: DNA-516
URL:
https://jira.jboss.org/jira/browse/DNA-516
Project: DNA
Issue Type: Bug
Components: Documentation, Examples
Affects Versions: 0.5
Reporter: Randall Hauch
Assignee: Randall Hauch
Fix For: 0.6
Attachments: DNA-516.patch
The example in Reference Guide that shows how to programmatically define node types
(
http://jboss.org/file-access/default/members/dna/freezone/docs/0.5/manual...)
has several typos:
1) Change NodeTypeManager on line 2 to JcrNodeTypeManager
2) Change childNode.setRequiredPrimaryTypeNames(...) to
childNode.setRequiredPrimaryTypes(...)
3) Add a boolean argument in the method call in the last line.
Also, the text in this section could be more clear about the in which package the
DNA-specific interfaces exist.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira