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 java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Parameters used by the quick launch provider.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCmsQuickLaunchParams()Default constructor for serialization.CmsQuickLaunchParams(java.lang.String context, CmsUUID pageId, CmsUUID detailId, java.lang.String returnCode, java.lang.String path, CmsUUID sessionPageId)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContext()Returns the context.CmsUUIDgetDetailId()Returns the detailId.CmsUUIDgetPageId()Returns the pageId.java.lang.StringgetPath()Gets the path.java.lang.StringgetReturnCode()Returns the returnCode.CmsUUIDgetSessionPageId()Gets the id of the last edited container page.booleanisPageContext()Returns true if the quick launcher is called from the page editor.booleanisSitemapContext()Returns true if the quick launcher is called from the sitemap editor.
-
-
-
Constructor Detail
-
CmsQuickLaunchParams
public CmsQuickLaunchParams(java.lang.String context, CmsUUID pageId, CmsUUID detailId, java.lang.String returnCode, java.lang.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 Detail
-
getContext
public java.lang.String getContext()
Returns the context.- Returns:
- the context
-
getDetailId
public CmsUUID getDetailId()
Returns the detailId.- Returns:
- the detailId
-
getPath
public java.lang.String getPath()
Gets the path.- Returns:
- the path
-
getReturnCode
public java.lang.String getReturnCode()
Returns the returnCode.- Returns:
- the returnCode
-
getSessionPageId
public CmsUUID getSessionPageId()
Gets the id of the last edited container page.- Returns:
- the id of the last edited container page
-
isPageContext
public boolean 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
public boolean 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
-
-