public interface I_CmsDetailPageFinder
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
java.util.Collection<java.lang.String> getAllDetailPages(CmsObject cms, int restype) throws CmsException
cms - the current CMS contextrestype - the resource type for which the detail pages should be foundCmsExceptionjava.lang.String getDetailPage(CmsObject cms, java.lang.String rootPath, java.lang.String linkSource) throws CmsException
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)CmsException - if something goes wrong