Package org.opencms.gwt.shared
Class CmsQuickLaunchParams
java.lang.Object
org.opencms.gwt.shared.CmsQuickLaunchParams
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsQuickLaunchParams
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Parameters used by the quick launch provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the context.Returns the detailId.Returns the pageId.getPath()
Gets the path.Returns the returnCode.Gets the id of the last edited container page.boolean
Returns true if the quick launcher is called from the page editor.boolean
Returns true if the quick launcher is called from the sitemap editor.
-
Constructor Details
-
CmsQuickLaunchParams
public CmsQuickLaunchParams(String context, CmsUUID pageId, CmsUUID detailId, String returnCode, String path, CmsUUID sessionPageId) Creates a new instance.- Parameters:
context
- the quick launch contextpageId
- the page iddetailId
- the detail content idreturnCode
- the return codepath
- the pathsessionPageId
- the id of the last opened page from the browser sessionStorage
-
CmsQuickLaunchParams
protected CmsQuickLaunchParams()Default constructor for serialization.
-
-
Method Details
-
getContext
Returns the context.- Returns:
- the context
-
getDetailId
Returns the detailId.- Returns:
- the detailId
-
getPageId
Returns the pageId.- Returns:
- the pageId
-
getPath
Gets the path.- Returns:
- the path
-
getReturnCode
Returns the returnCode.- Returns:
- the returnCode
-
getSessionPageId
Gets the id of the last edited container page.- Returns:
- the id of the last edited container page
-
isPageContext
Returns true if the quick launcher is called from the page editor.- Returns:
- true if the quick launcher was called from the page editor
-
isSitemapContext
Returns true if the quick launcher is called from the sitemap editor.- Returns:
- true if the quick launcher was called from the sitemap editor
-