|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.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 |
|---|
private java.util.List children
private java.lang.String name
| Property Detail |
|---|
static java.lang.Object NODE_PATH_SEPARATOR
NavigationScope parent
| Constructor Detail |
|---|
NavigationScope(java.util.Map args)
| Method Detail |
|---|
NavigationItem add(NavigationItem node)
void finalizeItems()
java.util.List getChildren()
java.lang.String getId()
java.lang.String getName()
NavigationScope getRootScope()
void lockChildren()
NavigationItem remove(NavigationItem node)
Groovy Documentation