|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Navigation
| Method Summary | ||
|---|---|---|
Navigation |
addChild(String name)
Adds a child navigation |
|
void |
destroy()
Destroys this navigation. |
|
Navigation |
getChild(String name)
Returns a specified navigation. |
|
Collection<? extends Navigation> |
getChildren()
Returns the child navigations. |
|
Link |
getLink()
Returns the current link related to this navitation object. |
|
String |
getName()
Returns the navigation name. |
|
ObjectType<? extends Navigation> |
getObjectType()
Extends the object type to navigation. |
|
Navigation |
getParent()
Return the navigation parent or null if it is a root. |
|
Site |
getSite()
Returns the site this navigation belongs to |
|
|
linkTo(ObjectType<L> linkType)
Link the navigation to a specifed type and returns the corresponding link subclass that allows the configuration of the link. |
|
| Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceObject |
|---|
getAttributes, getObjectId |
| Methods inherited from interface org.gatein.mop.api.workspace.Templatized |
|---|
getTemplate, setTemplate |
| Method Detail |
|---|
String getName()
ObjectType<? extends Navigation> getObjectType()
getObjectType in interface WorkspaceObjectSite getSite()
Navigation getParent()
Collection<? extends Navigation> getChildren()
Navigation getChild(String name)
name - the navigation name
Navigation addChild(String name)
throws NullPointerException,
IllegalArgumentException
name - the child name
NullPointerException - when a null name is provided
IllegalArgumentException - when an illegal name is providedvoid destroy()
Link getLink()
<L extends Link> L linkTo(ObjectType<L> linkType)
L - the link type parameterlinkType - the link type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||