|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.detailpage.CmsDetailPageUtil
public final class CmsDetailPageUtil
This is a utility class which provides convenience methods for finding detail page names for resources which include the URL names of the resources themselves.
I_CmsDetailPageFinder| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
getAllDetailPagesWithUrlName(CmsObject cms,
CmsResource res)
Gets a list of detail page URIs for the given resource, with its URL name appended. |
static java.lang.String |
getBestUrlName(CmsObject cms,
CmsUUID id)
Returns either the newest URL name for a structure id, or the structure id as a string if there is no URL name. |
static CmsResource |
lookupPage(CmsObject cms,
java.lang.String uri)
Looks up a page by URI (which may be a detail page URI, or a normal VFS uri). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<java.lang.String> getAllDetailPagesWithUrlName(CmsObject cms,
CmsResource res)
throws CmsException
cms - the current CMS contextres - the resource for which the detail pages should be retrieved
CmsException - if something goes wrong
public static java.lang.String getBestUrlName(CmsObject cms,
CmsUUID id)
throws CmsException
cms - the current CMS contextid - the structure id of a resource
CmsException - if something goes wrong
public static CmsResource lookupPage(CmsObject cms,
java.lang.String uri)
throws CmsException
cms - the current CMS contexturi - the detail page or VFS uri
CmsException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||