|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.gwt.CmsBrokenLinkRenderer
public class CmsBrokenLinkRenderer
A helper class used to generate the necessary information for displaying links which will be broken if the user tries to delete a file in the ADE GUI.
| Constructor Summary | |
|---|---|
CmsBrokenLinkRenderer(CmsObject cms)
Creates a new broken link renderer instance. |
|
| Method Summary | |
|---|---|
protected void |
addPageInfo(CmsBrokenLinkBean bean,
java.lang.String extraTitle,
java.lang.String extraPath)
Adds optional page information to the broken link bean. |
protected CmsBrokenLinkBean |
createBrokenLinkBean(java.lang.String type,
java.lang.String title,
java.lang.String path,
java.lang.String extraTitle,
java.lang.String extraPath)
Creates a broken link bean from the necessary values. |
protected CmsBrokenLinkBean |
createSitemapBrokenLinkBean(CmsResource resource)
Creates a "broken link" bean based on a resource. |
java.util.List<CmsBrokenLinkBean> |
renderBrokenLink(CmsResource target,
CmsResource source)
Renders the source of a broken link as a list of CmsBrokenLinkBean instances. |
java.util.List<CmsBrokenLinkBean> |
renderBrokenLinkDefault(CmsResource target,
CmsResource source)
The default method for rendering broken link sources. |
java.util.List<CmsBrokenLinkBean> |
renderBrokenLinkGroupContainer(CmsResource target,
CmsResource source)
Renders the broken links for a group container. |
java.util.List<CmsBrokenLinkBean> |
renderBrokenLinkInheritanceGroup(CmsResource target,
CmsResource source)
Renders broken links from an inheritance group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsBrokenLinkRenderer(CmsObject cms)
cms - the current CMS context| Method Detail |
|---|
public java.util.List<CmsBrokenLinkBean> renderBrokenLink(CmsResource target,
CmsResource source)
throws CmsException
target - the broken link targetsource - the broken link source
CmsException - if something goes wrong
public java.util.List<CmsBrokenLinkBean> renderBrokenLinkDefault(CmsResource target,
CmsResource source)
throws CmsException
target - source -
CmsException - if something goes wrong
public java.util.List<CmsBrokenLinkBean> renderBrokenLinkGroupContainer(CmsResource target,
CmsResource source)
throws CmsException
target - the broken link targetsource - the broken link source
CmsException - if something goes wrong
public java.util.List<CmsBrokenLinkBean> renderBrokenLinkInheritanceGroup(CmsResource target,
CmsResource source)
throws CmsException
target - the link targetsource - the link source
CmsException - if something goes wrong
protected void addPageInfo(CmsBrokenLinkBean bean,
java.lang.String extraTitle,
java.lang.String extraPath)
bean - the broken link beanextraTitle - the optional page titleextraPath - the optional page path
protected CmsBrokenLinkBean createBrokenLinkBean(java.lang.String type,
java.lang.String title,
java.lang.String path,
java.lang.String extraTitle,
java.lang.String extraPath)
type - the resource typetitle - the titlepath - the pathextraTitle - an optional additional page titleextraPath - an optional additional page path
protected CmsBrokenLinkBean createSitemapBrokenLinkBean(CmsResource resource)
throws CmsException
resource - the resource
CmsException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||