Groovy Documentation

org.grails.plugin.platform.navigation
[Groovy] Class NavigationScope

java.lang.Object
  org.grails.plugin.platform.navigation.NavigationScope

class NavigationScope

Immutable encapsulation of a node in the navigation structure Instances of this are shared globally and available to requests so this must be immutable and threadsafe


Field Summary
private java.util.List children

private java.lang.String name

 
Property Summary
static java.lang.Object NODE_PATH_SEPARATOR

NavigationScope parent

 
Constructor Summary
NavigationScope(java.util.Map args)

 
Method Summary
NavigationItem add(NavigationItem node)

void finalizeItems()

Called when all loading has been done, to sort all of the node lists

java.util.List getChildren()

java.lang.String getId()

java.lang.String getName()

NavigationScope getRootScope()

void lockChildren()

NavigationItem remove(NavigationItem node)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

children

private java.util.List children


name

private java.lang.String name


 
Property Detail

NODE_PATH_SEPARATOR

static java.lang.Object NODE_PATH_SEPARATOR


parent

NavigationScope parent


 
Constructor Detail

NavigationScope

NavigationScope(java.util.Map args)


 
Method Detail

add

NavigationItem add(NavigationItem node)


finalizeItems

void finalizeItems()
Called when all loading has been done, to sort all of the node lists


getChildren

java.util.List getChildren()


getId

java.lang.String getId()


getName

java.lang.String getName()


getRootScope

NavigationScope getRootScope()


lockChildren

void lockChildren()


remove

NavigationItem remove(NavigationItem node)


 

Groovy Documentation