Navigation Service

cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation Service

resplin
Intermediate
0 0 967

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Core Repository Services


Navigation Service


This is not required and split into ResultSet wrappers for Node and ChildAssocRef collections.

getNodes(NodeRef context, String xpath, NamespaceResolver nsr, boolean primaryParentOnly)

Initial


This service supports common navigation methods which all return result sets.


  • General Queries
    • Lucene
    • XPath
  • Navigating to children
  • Navigating to parents
  • Navigating to categories
  • Navigating within Categories
ResultSet getChildren(NodeRef nodeRef, EnumMode {CATEGORYMEMBERS, CHILDREN, ALL}, EnumDepth {IMMEDIATE, ANY} );

ResultSet getChildren(NodeRef nodeRef, QNamePattern pattern);

ResultSet getParents(NodeRef nodeRef, boolean primaryOnly);

ResultSet getNodes(NodeRef nodeRef, String xpathExpressin);

ResultSet getCategories();

ResultSet getCategory(QName qname);

This just requires a result set based on a list of ChildAssociationRefs or NodeRefs to implement + a node service reference.

The query API should also be exposed here and could be subsumed.