public static enum UserService.UserSearchScope extends Enum<UserService.UserSearchScope>
Enum Constant and Description |
---|
ALL_TENANTS
Search across all tenants.
|
CURRENT_TENANT
Search within the scope of the current tenant.
|
Modifier and Type | Method and Description |
---|---|
com.edorasware.commons.core.service.entity.SearchScope |
getQuerySearchScope() |
static UserService.UserSearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserService.UserSearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserService.UserSearchScope CURRENT_TENANT
public static final UserService.UserSearchScope ALL_TENANTS
public static UserService.UserSearchScope[] values()
for (UserService.UserSearchScope c : UserService.UserSearchScope.values()) System.out.println(c);
public static UserService.UserSearchScope 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 nullpublic com.edorasware.commons.core.service.entity.SearchScope getQuerySearchScope()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.