public enum SearchScope extends Enum<SearchScope>
Defines the scope in which to apply a lookup / query.
Enum Constant and Description |
---|
ALL_TENANTS
Searches across all tenants, applying the default access restrictions.
|
ALL_TENANTS_NO_RESTRICTIONS
Searches across all tenants, with no restrictions.
|
CURRENT_TENANT
Searches within the scope of the current tenant, applying the default access restrictions.
|
CURRENT_TENANT_NO_RESTRICTIONS
Searches within the scope of the current tenant, with no 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
Searches within the scope of the current tenant, applying the default access restrictions.
public static final SearchScope CURRENT_TENANT_NO_RESTRICTIONS
Searches within the scope of the current tenant, with no restrictions.
public static final SearchScope ALL_TENANTS
Searches across all tenants, applying the default access restrictions.
public static final SearchScope ALL_TENANTS_NO_RESTRICTIONS
Searches across all tenants, with 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.