Class CmsLinkBean

java.lang.Object
org.opencms.gwt.shared.CmsLinkBean

public class CmsLinkBean extends Object
A bean for representing a link, which can be external or internal.

Since:
8.0.0
  • Constructor Details

    • CmsLinkBean

      public CmsLinkBean(String link, boolean internal)
      Creates a new link bean.

      Parameters:
      link - the link target
      internal - true if this is an internal link
  • Method Details

    • getLink

      public String getLink()
      Returns the link target.

      Returns:
      the link target
    • isInternal

      public boolean isInternal()
      Returns true if this is an internal link.

      Returns:
      true if this is an internal link