208209210211212213214215
} public GroupQueryBuilder addAssociatedUser(String id) { checkNotNullArgument(id, "User id"); usersAssociated.add(new SimpleUser(id)); return this; }
224225226227228229230231232
public GroupQueryBuilder addAssociatedUsersIds(Collection<String> ids) { checkNotNullArgument(ids, "Users ids"); for (String id : ids) { usersAssociated.add(new SimpleUser(id)); } return this; }
239240241242243244245246
} public GroupQueryBuilder addUserConnectedByRole(String id) { checkNotNullArgument(id, "User id"); usersConnectedByRole.add(new SimpleUser(id)); return this; }
255256257258259260261262263
public GroupQueryBuilder addUsersIdsConnectedByRole(Collection<String> ids) { checkNotNullArgument(ids, "Users ids"); for (String id : ids) { usersConnectedByRole.add(new SimpleUser(id)); } return this; }
270271272273274275276277
} public GroupQueryBuilder addRelatedUser(String id) { checkNotNullArgument(id, "User id"); usersRelated.add(new SimpleUser(id)); return this; }
90919293949596
return getSessionContext().resolveStoreInvocationContext(); } protected User createUser(IdentityObject identityObject) { return new SimpleUser(identityObject.getName()); }
96979899100101102
} protected User createUserFromId(String name) { return new SimpleUser(name); }
115116117118119120121122
return new SimpleGroup(groupId); } else { return new SimpleUser(id); } }
82838485868788
87888990919293
return new SimpleUser(identityObject.getName()); } protected User createUserFromId(String name) { return new SimpleUser(name); }