Class GenericScope.Branch.Visitor

java.lang.Object
org.exoplatform.portal.mop.navigation.GenericScope.Branch.Visitor
All Implemented Interfaces:
Scope.Visitor
Enclosing class:
GenericScope.Branch

public abstract static class GenericScope.Branch.Visitor extends Object implements Scope.Visitor
  • Constructor Details

    • Visitor

      protected Visitor()
  • Method Details

    • getSize

      protected abstract int getSize()
    • getName

      protected abstract String getName(int index)
    • getFederated

      protected abstract Scope.Visitor getFederated()
    • enter

      public VisitMode enter(int depth, String id, String name, NodeState state)
      Description copied from interface: Scope.Visitor
      Signals a node is ented and returns the visit mode for that node.
      Specified by:
      enter in interface Scope.Visitor
      Parameters:
      depth - the relative depth to the root of the loading
      id - the node persistent id
      name - the node name
      state - the node state
      Returns:
      the visit mode
    • leave

      public void leave(int depth, String id, String name, NodeState state)
      Description copied from interface: Scope.Visitor
      Signals a node is left.
      Specified by:
      leave in interface Scope.Visitor
      Parameters:
      depth - the relative depth to the root of the loading
      id - the node persistent id
      name - the node name
      state - the node state