public interface I_CmsDetailPageFinder
| Modifier and Type | Method and Description |
|---|---|
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,
java.lang.String targetDetailPage)
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 foundCmsException - in case reading the resource type failsjava.lang.String getDetailPage(CmsObject cms, java.lang.String rootPath, java.lang.String linkSource, java.lang.String targetDetailPage) 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)targetDetailPage - the target detail page to useCmsException - if something goes wrong