8485868788899091
} public RoleQuery setUser(String id) { checkNotNullArgument(id, "User id"); this.user = new SimpleUser(id); return this; }
128129130131132133134135
return new SimpleGroup(groupId); } else { return new SimpleUser(id); } }
88899091929394
return getSessionContext().resolveStoreInvocationContext(); } protected User createUser(IdentityObject identityObject) { return new SimpleUser(identityObject.getName()); }
93949596979899
return new SimpleUser(identityObject.getName()); } protected User createUserFromId(String name) { return new SimpleUser(name); }
112113114115116117118119
196197198199200201202203
} public GroupQuery addAssociatedUser(String id) { checkNotNullArgument(id, "User id"); usersAssociated.add(new SimpleUser(id)); return this; }
212213214215216217218219220
public GroupQuery addAssociatedUsersIds(Collection<String> ids) { checkNotNullArgument(ids, "Users ids"); for (String id : ids) { usersAssociated.add(new SimpleUser(id)); } return this; }
227228229230231232233234
} public GroupQuery addUserConnectedByRole(String id) { checkNotNullArgument(id, "User id"); usersConnectedByRole.add(new SimpleUser(id)); return this; }
243244245246247248249250251
public GroupQuery addUsersIdsConnectedByRole(Collection<String> ids) { checkNotNullArgument(ids, "Users ids"); for (String id : ids) { usersConnectedByRole.add(new SimpleUser(id)); } return this; }
258259260261262263264265
} public GroupQuery addRelatedUser(String id) { checkNotNullArgument(id, "User id"); usersRelated.add(new SimpleUser(id)); return this; }