Пример #1
0
 public void deleteItems(
     Collection<UserUUID> anItemSelection,
     UserFilter anItemFilter,
     AsyncHandler<ItemUpdates<User>>... handlers) {
   GWT.log("RPC: Deleting users.");
   RpcConsoleServices.getIdentityService()
       .removeUsers(
           anItemSelection, anItemFilter, new ChainedCallback<ItemUpdates<User>>(handlers));
 }
Пример #2
0
 public void updateItem(UserUUID anItemId, User anItem, AsyncHandler<User>... handlers) {
   GWT.log("RPC: Updating user.");
   RpcConsoleServices.getIdentityService()
       .updateUser(anItemId, anItem, new ChainedCallback<User>(handlers));
 }
Пример #3
0
 public void getItems(
     List<UserUUID> anItemSelection, UserFilter aFilter, AsyncHandler<List<User>>... handlers) {
   GWT.log("RPC: Get a bunch of users.");
   RpcConsoleServices.getIdentityService()
       .getUsers(anItemSelection, aFilter, new ChainedCallback<List<User>>(handlers));
 }
Пример #4
0
 public void getItem(UserUUID anItemUUID, UserFilter aFilter, AsyncHandler<User>... handlers) {
   GWT.log("RPC: Get a user.");
   RpcConsoleServices.getIdentityService()
       .getUser(anItemUUID, aFilter, new ChainedCallback<User>(handlers));
 }
Пример #5
0
 public void getAllItems(UserFilter anItemFilter, AsyncHandler<ItemUpdates<User>>... handlers) {
   GWT.log("RPC: Get users.");
   RpcConsoleServices.getIdentityService()
       .getUsers(anItemFilter, new ChainedCallback<ItemUpdates<User>>(handlers));
 }
Пример #6
0
 public void addItem(
     User anItem, UserFilter aFilter, AsyncHandler<ItemUpdates<User>>... handlers) {
   GWT.log("RPC: Adding user.");
   RpcConsoleServices.getIdentityService()
       .addUser(anItem, aFilter, new ChainedCallback<ItemUpdates<User>>(handlers));
 }
Пример #7
0
 public void getIdentityConfiguration(final AsyncHandler<IdentityConfiguration>... handlers) {
   GWT.log("RPC: getIdentityConfiguration.");
   RpcConsoleServices.getIdentityService()
       .getIdentityConfiguration(new ChainedCallback<IdentityConfiguration>(handlers));
 }
Пример #8
0
 public void updateConfiguration(
     IdentityConfiguration aNewConfiguration, final AsyncHandler<Void>... handlers) {
   GWT.log("RPC: User updateConfiguration.");
   RpcConsoleServices.getIdentityService()
       .updateConfiguration(aNewConfiguration, new ChainedCallback<Void>(handlers));
 }