|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.tacos.services.impl.PageInfoImpl
public class PageInfoImpl
This class describes a tapestry page.
| Constructor Summary | |
|---|---|
PageInfoImpl(String name,
String desc,
String perm,
List children,
boolean isNavigable)
Create a tapestry page descriptor. |
|
| Method Summary | |
|---|---|
void |
addChild(PageInfo child)
Adds the specified child node. |
List |
getChildrenNames()
Get the children. |
String |
getDesc()
Get the page description. |
String |
getName()
Get the unique page name. |
PageInfo |
getParent()
Get the parent to this page. |
String |
getPermission()
Get the permission associated with page, if any. |
boolean |
isNavigable()
Check whether this page should be included in any page listings. |
void |
setParent(PageInfo parent)
Set the parent. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PageInfoImpl(String name,
String desc,
String perm,
List children,
boolean isNavigable)
name - The page name.desc - The page description.perm - The page permission (access code needed to access the page).children - List of chile pages.isNavigable - Whether or not page should be included in the navigation.| Method Detail |
|---|
public String getDesc()
PageInfo
getDesc in interface PageInfopublic String getName()
PageInfo
getName in interface PageInfopublic String getPermission()
PageInfo
getPermission in interface PageInfopublic PageInfo getParent()
PageInfo
getParent in interface PageInfopublic void setParent(PageInfo parent)
setParent in interface PageInfoparent - The parent.public void addChild(PageInfo child)
addChild in interface PageInfochild - Child pagepublic boolean isNavigable()
isNavigable in interface PageInfopublic List getChildrenNames()
getChildrenNames in interface PageInfopublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||