public class CmsSiteSelectorOption extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
CmsSiteSelectorOption.Type
Enum for indicating the site type.
|
| Constructor and Description |
|---|
CmsSiteSelectorOption()
Default constructor.
|
CmsSiteSelectorOption(CmsSiteSelectorOption.Type type,
java.lang.String siteRoot,
boolean isCurrentSite,
java.lang.String message)
Creates a new site selector option.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Gets the message to display for this site.
|
java.lang.String |
getSiteRoot()
Gets the site root for the site.
|
CmsSiteSelectorOption.Type |
getType()
Gets the type of the site.
|
boolean |
isCurrentSite()
Returns true if this site is the current site.
|
public CmsSiteSelectorOption()
public CmsSiteSelectorOption(CmsSiteSelectorOption.Type type, java.lang.String siteRoot, boolean isCurrentSite, java.lang.String message)
type - the site typesiteRoot - the site rootisCurrentSite - true if this is the current sitemessage - the message to display for this sitepublic java.lang.String getMessage()
public java.lang.String getSiteRoot()
public CmsSiteSelectorOption.Type getType()
public boolean isCurrentSite()