public class CmsSiteSelectorOption
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
限定符和类型 | 类和说明 |
---|---|
static class |
CmsSiteSelectorOption.Type
Enum for indicating the site type.
|
构造器和说明 |
---|
CmsSiteSelectorOption()
Default constructor.
|
CmsSiteSelectorOption(CmsSiteSelectorOption.Type type,
java.lang.String siteRoot,
boolean isCurrentSite,
java.lang.String message)
Creates a new site selector option.
|
限定符和类型 | 方法和说明 |
---|---|
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()