public enum SearchScope extends Enum<SearchScope>
Enum Constant and Description |
---|
ALL_TENANTS
Search across all tenants, and apply any globally set default restrictions.
|
ALL_TENANTS_NO_RESTRICTIONS
Search across all tenants, and apply no further restrictions.
|
CURRENT_TENANT
Search within the scope of the current tenant, and apply any globally set default restrictions.
|
CURRENT_TENANT_NO_RESTRICTIONS
Search within the scope of the current tenant, and apply no further restrictions.
|
Modifier and Type | Method and Description |
---|---|
static SearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchScope CURRENT_TENANT
public static final SearchScope CURRENT_TENANT_NO_RESTRICTIONS
public static final SearchScope ALL_TENANTS
public static final SearchScope ALL_TENANTS_NO_RESTRICTIONS
public static SearchScope[] values()
for (SearchScope c : SearchScope.values()) System.out.println(c);
public static SearchScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.