public enum CmsGallerySearchScope extends java.lang.Enum<CmsGallerySearchScope>
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 namejava.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