Class CmsAliasBean

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

    public class CmsAliasBean
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    A bean which contains the information for creating an alias.

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsAliasBean()
      Default constructor, used for serialization.
      CmsAliasBean​(java.lang.String sitePath, CmsAliasMode mode)
      Creates a new alias bean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsAliasMode getMode()
      Returns the alias mode.
      java.lang.String getSitePath()
      Returns the site-relative alias path.
      void setMode​(CmsAliasMode mode)
      Sets the alias mode.
      void setSitePath​(java.lang.String sitePath)
      Sets the alias site path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsAliasBean

        public CmsAliasBean()
        Default constructor, used for serialization.

      • CmsAliasBean

        public CmsAliasBean​(java.lang.String sitePath,
                            CmsAliasMode mode)
        Creates a new alias bean.

        Parameters:
        sitePath - the site path of the alias
        mode - the alias mode
    • Method Detail

      • getSitePath

        public java.lang.String getSitePath()
        Returns the site-relative alias path.

        Returns:
        the site relative alias path
      • setMode

        public void setMode​(CmsAliasMode mode)
        Sets the alias mode.

        Parameters:
        mode - the alias mode
      • setSitePath

        public void setSitePath​(java.lang.String sitePath)
        Sets the alias site path.

        Parameters:
        sitePath - the alias site path