Class CmsQuickLaunchData

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

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

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmsQuickLaunchData()
      Default constructor for serialization.
        CmsQuickLaunchData​(java.lang.String defaultUrl, java.lang.String title, java.lang.String iconUrl, java.lang.String buttonStyle, java.lang.String errorTitle, java.lang.String errorMessage, boolean legacy, boolean reload)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getButtonStyle()
      Returns the additional button style classes.
      java.lang.String getDefaultUrl()
      Returns the defaultUrl.
      java.lang.String getErrorMessage()
      Gets the error message.
      java.lang.String getErrorTitle()
      Gets the title for the error alert box.
      java.lang.String getIconUrl()
      Returns the iconUrl.
      java.lang.String getTitle()
      Returns the title.
      boolean isLegacy()
      Returns true if this item opens a legacy dialog.
      boolean isReload()
      Return true if the page should be reloaded when this is selected.
      void setReload​(boolean reload)
      Sets the 'reload' flag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsQuickLaunchData

        public CmsQuickLaunchData​(java.lang.String defaultUrl,
                                  java.lang.String title,
                                  java.lang.String iconUrl,
                                  java.lang.String buttonStyle,
                                  java.lang.String errorTitle,
                                  java.lang.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 Detail

      • getButtonStyle

        public java.lang.String getButtonStyle()
        Returns the additional button style classes.

        Returns:
        the additional button style classes
      • getDefaultUrl

        public java.lang.String getDefaultUrl()
        Returns the defaultUrl.

        Returns:
        the defaultUrl
      • getErrorMessage

        public java.lang.String getErrorMessage()
        Gets the error message.

        Returns:
        the error message
      • getErrorTitle

        public java.lang.String getErrorTitle()
        Gets the title for the error alert box.

        Returns:
        the title for the error alert box
      • getIconUrl

        public java.lang.String getIconUrl()
        Returns the iconUrl.

        Returns:
        the iconUrl
      • getTitle

        public java.lang.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