Class CmsAliasBean

java.lang.Object
org.opencms.gwt.shared.alias.CmsAliasBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

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

  • Constructor Details

    • CmsAliasBean

      public CmsAliasBean()
      Default constructor, used for serialization.

    • CmsAliasBean

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

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

    • getMode

      Returns the alias mode.

      Returns:
      the alias mode
    • getSitePath

      public 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(String sitePath)
      Sets the alias site path.

      Parameters:
      sitePath - the alias site path