|
||||||||
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 | |
---|---|
Collection<String> |
getAllDetailPages(CmsObject cms,
int resType)
Finds all detail pages for a given resource. |
String |
getDetailPage(CmsObject cms,
String rootPath,
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 Collection<String> getAllDetailPages(CmsObject cms, int resType) throws CmsException
I_CmsDetailPageFinder
getAllDetailPages
in interface I_CmsDetailPageFinder
cms
- the current CMS contextresType
- the resource type for which the detail pages should be found
CmsException
I_CmsDetailPageFinder.getAllDetailPages(org.opencms.file.CmsObject, int)
public String getDetailPage(CmsObject cms, String rootPath, String linkSource)
I_CmsDetailPageFinder
getDetailPage
in interface I_CmsDetailPageFinder
cms
- 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 |