Package org.opencms.gwt.shared
Class CmsLinkBean
java.lang.Object
org.opencms.gwt.shared.CmsLinkBean
A bean for representing a link, which can be external or internal.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLink()
Returns the link target.boolean
Returns true if this is an internal link.
-
Constructor Details
-
CmsLinkBean
Creates a new link bean.- Parameters:
link
- the link targetinternal
- true if this is an internal link
-
-
Method Details
-
getLink
Returns the link target.- Returns:
- the link target
-
isInternal
Returns true if this is an internal link.- Returns:
- true if this is an internal link
-