org.opencms.gwt.shared.alias
Class CmsAliasBean

java.lang.Object
  extended by org.opencms.gwt.shared.alias.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
CmsAliasBean()
          Default constructor, used for serialization.
CmsAliasBean(java.lang.String sitePath, CmsAliasMode mode)
          Creates a new alias bean.
 
Method Summary
 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

getMode

public CmsAliasMode getMode()
Returns the alias mode.

Returns:
the alias mode

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