public static final class QueryHelper.Visibility extends Object
Modifier and Type | Field and Description |
---|---|
private Set<GroupIdentity> |
_groups |
private UserIdentity |
_user |
Modifier | Constructor and Description |
---|---|
private |
Visibility(UserIdentity user,
Set<GroupIdentity> groups) |
Modifier and Type | Method and Description |
---|---|
(package private) Set<GroupIdentity> |
getGroups() |
(package private) UserIdentity |
getUser() |
static QueryHelper.Visibility |
of(UserIdentity user,
Set<GroupIdentity> groups)
Creates a new
QueryHelper.Visibility |
private UserIdentity _user
private Set<GroupIdentity> _groups
private Visibility(UserIdentity user, Set<GroupIdentity> groups)
public static QueryHelper.Visibility of(UserIdentity user, Set<GroupIdentity> groups)
QueryHelper.Visibility
user
- The usergroups
- The user groupsQueryHelper.Visibility
wrapperUserIdentity getUser()
Set<GroupIdentity> getGroups()