|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SiteMap
This class reads the sitemap configuration, and provides access to basic relationship information, such as page categories, bread crumbs, and other information, that the application may need to ease navigation.
Method Summary | |
---|---|
boolean |
contains(String parent,
String pageName)
Check if page name is contained in the page element tree. |
List |
getBreadCrumbs(String pageName)
Get bread crumbs. |
List |
getCategories()
Get list of named categories. |
CategoryInfo |
getCategoryFromPage(String pageName)
Get the category info for the page name. |
CategoryInfo |
getCategoryInfo(String name)
Get category info for named category. |
List |
getCategoryPages(String pageName)
Get pages for a specific page names category. |
PageInfo |
getDefaultPage(String category)
Get the default page. |
String |
getDefaultPageDesc(String category)
Get the default page description. |
PageInfo |
getPageInfo(String name)
Get page information. |
boolean |
inCategory(String pageName,
String category)
Check if page name is in the specified category. |
Method Detail |
---|
List getCategories()
CategoryInfo getCategoryInfo(String name)
name
- The category name
PageInfo getPageInfo(String name)
name
- The page name
CategoryInfo getCategoryFromPage(String pageName)
pageName
- The page name.
boolean inCategory(String pageName, String category)
pageName
- Page namecategory
- Category
String getDefaultPageDesc(String category)
category
- Category
List getCategoryPages(String pageName)
pageName
- Page name
PageInfo getDefaultPage(String category)
category
- Category
boolean contains(String parent, String pageName)
parent
- The page to start at.pageName
- The page to find.
List getBreadCrumbs(String pageName)
pageName
- The page name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |