|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<CmsGallerySearchScope>
org.opencms.ade.galleries.shared.CmsGallerySearchScope
public enum CmsGallerySearchScope
An enum that represents the possible search scope choices in the ADE gallery search tab.
| Enum Constant Summary | |
|---|---|
everything
Search everything. |
|
shared
Search only in the shared folder. |
|
site
Search in the current site. |
|
siteShared
Search in the current site and the shared folder. |
|
subSite
Search in the current subsite. |
|
subSiteShared
Search in the current subsite and the shared folder. |
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Returns the localization key for the choice. |
boolean |
isIncludeShared()
Returns if this search scope includes the shared folder. |
boolean |
isIncludeSite()
Returns if this search scope includes the site folder. |
boolean |
isIncludeSubSite()
Returns if this search scope includes the sub site folder. |
static CmsGallerySearchScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CmsGallerySearchScope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CmsGallerySearchScope everything
public static final CmsGallerySearchScope shared
public static final CmsGallerySearchScope site
public static final CmsGallerySearchScope siteShared
public static final CmsGallerySearchScope subSite
public static final CmsGallerySearchScope subSiteShared
| Method Detail |
|---|
public static CmsGallerySearchScope[] values()
for (CmsGallerySearchScope c : CmsGallerySearchScope.values()) System.out.println(c);
public static CmsGallerySearchScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getKey()
public boolean isIncludeShared()
true if this search scope includes the shared folderpublic boolean isIncludeSite()
true if this search scope includes the site folderpublic boolean isIncludeSubSite()
true if this search scope includes the sub site folder
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||