|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 PageInfo
public String getName()
PageInfo
getName
in interface PageInfo
public String getPermission()
PageInfo
getPermission
in interface PageInfo
public PageInfo getParent()
PageInfo
getParent
in interface PageInfo
public void setParent(PageInfo parent)
setParent
in interface PageInfo
parent
- The parent.public void addChild(PageInfo child)
addChild
in interface PageInfo
child
- Child pagepublic boolean isNavigable()
isNavigable
in interface PageInfo
public List getChildrenNames()
getChildrenNames
in interface PageInfo
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |