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
A bean which contains the information for creating an alias.
-
Constructor Summary
ConstructorDescriptionDefault constructor, used for serialization.CmsAliasBean
(String sitePath, CmsAliasMode mode) Creates a new alias bean. -
Method Summary
Modifier and TypeMethodDescriptiongetMode()
Returns the alias mode.Returns the site-relative alias path.void
setMode
(CmsAliasMode mode) Sets the alias mode.void
setSitePath
(String sitePath) Sets the alias site path.
-
Constructor Details
-
CmsAliasBean
public CmsAliasBean()Default constructor, used for serialization.
-
-
Method Details
-
getMode
Returns the alias mode.- Returns:
- the alias mode
-
getSitePath
Returns the site-relative alias path.- Returns:
- the site relative alias path
-
setSitePath
Sets the alias site path.- Parameters:
sitePath
- the alias site path
-