Package org.opencms.gwt.shared
Class CmsBrokenLinkBean
java.lang.Object
org.opencms.gwt.shared.CmsBrokenLinkBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsBrokenLinkBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
A bean which represents either the source or the target of a broken link.
- Since:
- 8.0.0
-
Constructor Summary
ModifierConstructorDescriptionprotected
Hidden default constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(CmsBrokenLinkBean bean) Adds a child bean to this bean.void
Adds optional page information to the broken link bean.boolean
Returns the child beans of this bean.getIcon()
Gets the icon CSS classes.getInfo()
Returns the additional link info.Gets the structure id.Returns the sub-title of the bean.getTitle()
Returns the title of the bean.getType()
Returns the resource type.int
hashCode()
-
Constructor Details
-
CmsBrokenLinkBean
public CmsBrokenLinkBean(CmsUUID structureId, String title, String subtitle, String type, String icon) Constructor.- Parameters:
structureId
- the structure idtitle
- the titlesubtitle
- the subtitletype
- the resource typeicon
- the
-
CmsBrokenLinkBean
protected CmsBrokenLinkBean()Hidden default constructor.
-
-
Method Details
-
addInfo
Adds optional page information to the broken link bean.- Parameters:
name
- the info namevalue
- the info
-
equals
-
getChildren
Returns the child beans of this bean.- Returns:
- the list of child beans
-
getIcon
Gets the icon CSS classes.- Returns:
- the icon CSS classes
-
getInfo
Returns the additional link info.- Returns:
- the broken link info
-
getStructureId
Gets the structure id.- Returns:
- the structure id
-
getSubTitle
Returns the sub-title of the bean.- Returns:
- the sub-title
-
getTitle
Returns the title of the bean.- Returns:
- the title of the bean
-
getType
Returns the resource type.- Returns:
- the resource type
-
hashCode