public class CmsSitemapDetailPageFinder extends java.lang.Object implements I_CmsDetailPageFinder
| 构造器和说明 |
|---|
CmsSitemapDetailPageFinder() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public java.util.Collection<java.lang.String> getAllDetailPages(CmsObject cms, int resType) throws CmsException
I_CmsDetailPageFindergetAllDetailPages 在接口中 I_CmsDetailPageFindercms - the current CMS contextresType - the resource type for which the detail pages should be foundCmsExceptionI_CmsDetailPageFinder.getAllDetailPages(org.opencms.file.CmsObject, int)public java.lang.String getDetailPage(CmsObject cms, java.lang.String rootPath, java.lang.String linkSource)
I_CmsDetailPageFindergetDetailPage 在接口中 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)