예제 #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 updatePreferredStatReport(
     final UserProfile aUserProfile,
     final ReportUUID aReportUUID,
     final AsyncHandler<Void>... handlers) {
   GWT.log("RPC: updatePreferredStatReportName.");
   RpcConsoleServices.getUserService()
       .updateProfilePreferredStatReportName(
           aUserProfile, aReportUUID, new ChainedCallback<Void>(handlers));
 }
예제 #3
0
  protected void buildIframeAndInsertIt(final String anApplicationURL) {

    String theApplicationURL = anApplicationURL;
    if (theApplicationURL == null) {
      theApplicationURL = "";
    }
    if (BonitaConsole.userProfile.useCredentialTransmission()) {
      RpcConsoleServices.getLoginService()
          .generateTemporaryToken(new GetTokenAsyncCallback(theApplicationURL));
    } else {
      insertFormIFrame(buildProcessFormIFrame(theApplicationURL, ""));
    }
  }
예제 #4
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));
 }
예제 #5
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));
 }
예제 #6
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));
 }
예제 #7
0
 public void getAllItems(UserFilter anItemFilter, AsyncHandler<ItemUpdates<User>>... handlers) {
   GWT.log("RPC: Get users.");
   RpcConsoleServices.getIdentityService()
       .getUsers(anItemFilter, new ChainedCallback<ItemUpdates<User>>(handlers));
 }
예제 #8
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));
 }
예제 #9
0
 public void getIdentityConfiguration(final AsyncHandler<IdentityConfiguration>... handlers) {
   GWT.log("RPC: getIdentityConfiguration.");
   RpcConsoleServices.getIdentityService()
       .getIdentityConfiguration(new ChainedCallback<IdentityConfiguration>(handlers));
 }
예제 #10
0
 public void updateConfiguration(
     IdentityConfiguration aNewConfiguration, final AsyncHandler<Void>... handlers) {
   GWT.log("RPC: User updateConfiguration.");
   RpcConsoleServices.getIdentityService()
       .updateConfiguration(aNewConfiguration, new ChainedCallback<Void>(handlers));
 }