|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.galleries.CmsSiteSelectorOptionBuilder
public class CmsSiteSelectorOptionBuilder
Helper class for building the options for the site selector in the gallery dialog.
| Constructor Summary | |
|---|---|
CmsSiteSelectorOptionBuilder(CmsObject cms)
Creates a new builder instance. |
|
| Method Summary | |
|---|---|
void |
addCurrentSubsite(java.lang.String referencePath)
Adds the current subsite. |
void |
addNormalSites(boolean includeRoot,
java.lang.String startFolder)
Adds 'normal' sites. |
void |
addSharedSite()
Adds the shared folder. |
java.util.List<CmsSiteSelectorOption> |
getOptions()
Gets the site selector options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsSiteSelectorOptionBuilder(CmsObject cms)
cms - the CMS context to use| Method Detail |
|---|
public void addCurrentSubsite(java.lang.String referencePath)
referencePath - the reference path
public void addNormalSites(boolean includeRoot,
java.lang.String startFolder)
includeRoot - if true, also adds the root sitestartFolder - the users configured start folderpublic void addSharedSite()
public java.util.List<CmsSiteSelectorOption> getOptions()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||