Package org.opencms.gwt.shared.alias
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 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.
-
-
-
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 aliasmode
- 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
-
-