org.opencms.gwt.shared
public class CmsBrokenLinkBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Modifier | Constructor and Description |
---|---|
protected |
CmsBrokenLinkBean()
Hidden default constructor.
|
|
CmsBrokenLinkBean(java.lang.String title,
java.lang.String subtitle)
Constructor without a type parameter.
|
|
CmsBrokenLinkBean(java.lang.String title,
java.lang.String subtitle,
java.lang.String type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(CmsBrokenLinkBean bean)
Adds a child bean to this bean.
|
void |
addInfo(java.lang.String name,
java.lang.String value)
Adds optional page information to the broken link bean.
|
java.util.List<CmsBrokenLinkBean> |
getChildren()
Returns the child beans of this bean.
|
java.util.Map<java.lang.String,java.lang.String> |
getInfo()
Returns the additional link info.
|
java.lang.String |
getSubTitle()
Returns the sub-title of the bean.
|
java.lang.String |
getTitle()
Returns the title of the bean.
|
java.lang.String |
getType()
Returns the resource type.
|
protected CmsBrokenLinkBean()
public CmsBrokenLinkBean(java.lang.String title, java.lang.String subtitle)
title
- the titlesubtitle
- the subtitlepublic CmsBrokenLinkBean(java.lang.String title, java.lang.String subtitle, java.lang.String type)
title
- the titlesubtitle
- the subtitletype
- the resource typepublic void addChild(CmsBrokenLinkBean bean)
The child usually represents a link target.
bean
- the bean to add as a sub-beanpublic void addInfo(java.lang.String name, java.lang.String value)
name
- the info namevalue
- the infopublic java.util.List<CmsBrokenLinkBean> getChildren()
public java.util.Map<java.lang.String,java.lang.String> getInfo()
public java.lang.String getSubTitle()
public java.lang.String getTitle()
public java.lang.String getType()