|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.detailpage.CmsSitemapDetailPageFinder
public class CmsSitemapDetailPageFinder
This class uses information from the detail page information stored in the sitemap to find the detail page for a given resource.
| Constructor Summary | |
|---|---|
CmsSitemapDetailPageFinder()
|
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getAllDetailPages(CmsObject cms,
int resType)
Finds all detail pages for a given resource. |
java.lang.String |
getDetailPage(CmsObject cms,
java.lang.String rootPath,
java.lang.String linkSource)
Returns the detail page link for the given resource, or null if there is no detail page for the resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsSitemapDetailPageFinder()
| Method Detail |
|---|
public java.util.Collection<java.lang.String> getAllDetailPages(CmsObject cms,
int resType)
throws CmsException
I_CmsDetailPageFinder
getAllDetailPages in interface I_CmsDetailPageFindercms - the current CMS contextresType - the resource type for which the detail pages should be found
CmsExceptionI_CmsDetailPageFinder.getAllDetailPages(org.opencms.file.CmsObject, int)
public java.lang.String getDetailPage(CmsObject cms,
java.lang.String rootPath,
java.lang.String linkSource)
I_CmsDetailPageFinder
getDetailPage in interface I_CmsDetailPageFindercms - the CMS contextrootPath - the root path of the resource for which the detail page should be looked uplinkSource - the uri in the context of which the detail page link is being generated (relative to the site)
I_CmsDetailPageFinder.getDetailPage(org.opencms.file.CmsObject, java.lang.String, java.lang.String)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||