An instance of this interface can be retrieved from the {@link IntegrationServer} using thefollowing code:
IntegrationServer server = IntegrationServer.getInstance(); UserAdmin call = server.getServerCall(UserAdmin.class);
101102103104105106107108
@Override protected void runImpl() throws InterruptedException { setMessage("Retrieving info from the server"); IntegrationServer server = IntegrationServer.getInstance(); UserAdmin call = server.getServerCall(UserAdmin.class); call.getUsersAndGroups(FetchJob.this, includePasswords); }
4344454647484950
@Override protected void runImpl() throws InterruptedException { setMessage(Strings.get("UserProfile.Upload.Started")); Thread.sleep(500); IntegrationServer server = IntegrationServer.getInstance(); UserAdmin call = server.getServerCall(UserAdmin.class); call.setUserInfo(user, callback); }
3637383940414243
@Override protected void runImpl() throws InterruptedException { setMessage(Strings.get("UserProfile.Download.Started")); Thread.sleep(500); IntegrationServer server = IntegrationServer.getInstance(); UserAdmin call = server.getServerCall(UserAdmin.class); call.getUserInfo(callback); }
4748495051525354
protected void runImpl() throws InterruptedException { setMessage(Strings.get("User.UploadJob.Started")); List<User> users = model.getUsers(); List<Group> groups = model.getGroups(); IntegrationServer server = IntegrationServer.getInstance(); UserAdmin call = server.getServerCall(UserAdmin.class); call.setUsersAndGroups(users, groups, internalCallback); }