Class 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, CmsUUID sessionPageId)
      Creates a new instance.
    • 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 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
    • Method Detail

      • getContext

        public java.lang.String getContext()
        Returns the context.

        Returns:
        the context
      • getPageId

        public CmsUUID getPageId()
        Returns the pageId.

        Returns:
        the pageId
      • 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