Package org.opencms.gwt.shared
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the additional button style classes.Returns the defaultUrl.Gets the error message.Gets the title for the error alert box.Returns the iconUrl.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.
-
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 URLtitle
- the titleiconUrl
- the icon URLbuttonStyle
- the additional button style classeserrorTitle
- the title for the error alert boxerrorMessage
- the content for the error alert boxlegacy
- true if this is a legacy dialogreload
- 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
Returns the iconUrl.- Returns:
- the iconUrl
-
getTitle
Returns the title.- Returns:
- the title
-
isLegacy
Returns true if this item opens a legacy dialog.- Returns:
- true if this item opens a legacy dialog
-
isReload
Return true if the page should be reloaded when this is selected.- Returns:
- true if the page should be reloaded
-
setReload
Sets the 'reload' flag.- Parameters:
reload
- the new value for the 'reload' flag
-