Package org.gatein.api.navigation

Examples of org.gatein.api.navigation.NodeVisitor$NodeDetails


    @Managed
    public ModelObject getNavigation(@ManagedContext OperationContext context,
                                     @MappedAttribute("scope") String scopeAttribute,
                                     @MappedAttribute("showAll") String showAllAttribute) {
        NodeVisitor visitor = Nodes.visitChildren();
        int scope = 0;
        if (scopeAttribute != null) {
            scope = Integer.parseInt(scopeAttribute);
            visitor = Nodes.visitNodes(scope);
        }
View Full Code Here


    }

    @Managed("{path: .*}")
    public ModelObject getNode(@MappedPath("path") String path, @MappedAttribute("scope") String scopeAttribute,
                               @MappedAttribute("showAll") String showAllAttribute, @ManagedContext OperationContext context) {
        NodeVisitor visitor = Nodes.visitChildren();
        int scope = 0;
        if (scopeAttribute != null) {
            scope = Integer.parseInt(scopeAttribute);
            visitor = Nodes.visitNodes(scope);
        }
View Full Code Here

TOP

Related Classes of org.gatein.api.navigation.NodeVisitor$NodeDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.