|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.galleries.shared.CmsSiteSelectorOption
public class CmsSiteSelectorOption
Bean class which represents an option for the site selector in the gallery dialog.
| Nested Class Summary | |
|---|---|
static class |
CmsSiteSelectorOption.Type
Enum for indicating the site type. |
| Constructor Summary | |
|---|---|
CmsSiteSelectorOption()
Default constructor. |
|
CmsSiteSelectorOption(CmsSiteSelectorOption.Type type,
java.lang.String siteRoot,
boolean isCurrentSite,
java.lang.String message)
Creates a new site selector option. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 site| Method Detail |
|---|
public java.lang.String getMessage()
public java.lang.String getSiteRoot()
public CmsSiteSelectorOption.Type getType()
public boolean isCurrentSite()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||