Class CmsQuickLaunchData

java.lang.Object
org.opencms.gwt.shared.CmsQuickLaunchData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsQuickLaunchData extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Bean representing an entry in the quick launch menu.

  • Constructor Details

    • CmsQuickLaunchData

      public CmsQuickLaunchData(String defaultUrl, String title, String iconUrl, String buttonStyle, String errorTitle, String errorMessage, boolean legacy, boolean reload)
      Creates a new instance.

      Parameters:
      defaultUrl - the default URL
      title - the title
      iconUrl - the icon URL
      buttonStyle - the additional button style classes
      errorTitle - the title for the error alert box
      errorMessage - the content for the error alert box
      legacy - true if this is a legacy dialog
      reload - true if the page should just be reloaded when this is selected
    • CmsQuickLaunchData

      protected CmsQuickLaunchData()
      Default constructor for serialization.

  • Method Details

    • getButtonStyle

      Returns the additional button style classes.

      Returns:
      the additional button style classes
    • getDefaultUrl

      Returns the defaultUrl.

      Returns:
      the defaultUrl
    • getErrorMessage

      Gets the error message.

      Returns:
      the error message
    • getErrorTitle

      Gets the title for the error alert box.

      Returns:
      the title for the error alert box
    • getIconUrl

      public String getIconUrl()
      Returns the iconUrl.

      Returns:
      the iconUrl
    • getTitle

      public String getTitle()
      Returns the title.

      Returns:
      the title
    • isLegacy

      public boolean isLegacy()
      Returns true if this item opens a legacy dialog.

      Returns:
      true if this item opens a legacy dialog
    • isReload

      public boolean isReload()
      Return true if the page should be reloaded when this is selected.

      Returns:
      true if the page should be reloaded
    • setReload

      public void setReload(boolean reload)
      Sets the 'reload' flag.

      Parameters:
      reload - the new value for the 'reload' flag