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 protected
CmsQuickLaunchParams()
Default constructor for serialization.CmsQuickLaunchParams(java.lang.String context, CmsUUID pageId, CmsUUID detailId, java.lang.String returnCode, java.lang.String path)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContext()
Returns the context.CmsUUID
getDetailId()
Returns the detailId.CmsUUID
getPageId()
Returns the pageId.java.lang.String
getPath()
Gets the path.java.lang.String
getReturnCode()
Returns the returnCode.boolean
isPageContext()
Returns true if the quick launcher is called from the page editor.boolean
isSitemapContext()
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)
Creates a new instance.- Parameters:
context
- the quick launch contextpageId
- the page iddetailId
- the detail content idreturnCode
- the return codepath
- the path
-
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
-
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
-
-