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 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 context
      pageId - the page id
      detailId - the detail content id
      returnCode - the return code
      path - the path
      sessionPageId - the id of the last opened page from the browser sessionStorage
    • CmsQuickLaunchParams

      Default constructor for serialization.

  • Method Details

    • getContext

      public String getContext()
      Returns the context.

      Returns:
      the context
    • getDetailId

      public CmsUUID getDetailId()
      Returns the detailId.

      Returns:
      the detailId
    • getPageId

      public CmsUUID getPageId()
      Returns the pageId.

      Returns:
      the pageId
    • getPath

      public String 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

      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