Examples of addOwners()


Examples of com.gitblit.models.RepositoryModel.addOwners()

          }
        }
      }
      model.description = getConfig(config, "description", "");
      model.originRepository = getConfig(config, "originRepository", null);
      model.addOwners(ArrayUtils.fromString(getConfig(config, "owner", "")));
      model.acceptNewPatchsets = getConfig(config, "acceptNewPatchsets", true);
      model.acceptNewTickets = getConfig(config, "acceptNewTickets", true);
      model.requireApproval = getConfig(config, "requireApproval", settings.getBoolean(Keys.tickets.requireApproval, false));
      model.mergeTo = getConfig(config, "mergeTo", null);
      model.useIncrementalPushTags = getConfig(config, "useIncrementalPushTags", false);
View Full Code Here

Examples of com.gitblit.models.RepositoryModel.addOwners()

          }
        }
      }
      model.description = getConfig(config, "description", "");
      model.originRepository = getConfig(config, "originRepository", null);
      model.addOwners(ArrayUtils.fromString(getConfig(config, "owner", "")));
      model.acceptNewPatchsets = getConfig(config, "acceptNewPatchsets", true);
      model.acceptNewTickets = getConfig(config, "acceptNewTickets", true);
      model.requireApproval = getConfig(config, "requireApproval", settings.getBoolean(Keys.tickets.requireApproval, false));
      model.mergeTo = getConfig(config, "mergeTo", null);
      model.useIncrementalPushTags = getConfig(config, "useIncrementalPushTags", false);
View Full Code Here

Examples of gov.nasa.jsc.mct.importExport.utilities.CustomFileChooser.addOwners()

      //Initialize the file chooser with the current user
      User user = PlatformAccess.getPlatform().getCurrentUser();
        final CustomFileChooser fileChooser = new CustomFileChooser();
       
        //add the list of owners and set selection to current owner
        fileChooser.addOwners(Arrays.asList(RoleAccess.getAllUsers()));
        fileChooser.setOwner(user.getUserId());
      
        fileChooser.setDialogTitle(bundle.getString("import_message")
        + targetComponent.getDisplayName());
        fileChooser.setApproveButtonText(bundle.getString("import_button"));
View Full Code Here

Examples of gov.nasa.jsc.mct.importExport.utilities.CustomFileChooser.addOwners()

      //Initialize the file chooser with the current user
      User user = PlatformAccess.getPlatform().getCurrentUser();
        final CustomFileChooser fileChooser = new CustomFileChooser();
       
        //add the list of owners and set selection to current owner
        fileChooser.addOwners(Arrays.asList(RoleAccess.getAllUsers()));
        fileChooser.setOwner(user.getUserId());
      
        fileChooser.setDialogTitle(bundle.getString("import_message")
        + targetComponent.getDisplayName());
        fileChooser.setApproveButtonText(bundle.getString("import_button"));
View Full Code Here

Examples of org.olat.repository.RepositoryManager.addOwners()

        IdentitiesAddEvent identitiesAddedEvent = (IdentitiesAddEvent) event;
        RepositoryManager rm = RepositoryManager.getInstance();
        //add to group and also adds identities really added to the event.
        //this is then later used by the GroupController to determine if the
        //model should be updated or not.
        rm.addOwners(ureq.getIdentity(),identitiesAddedEvent,repositoryEntry);
      } else if (event instanceof IdentitiesRemoveEvent) {
        IdentitiesRemoveEvent identitiesRemoveEvent = (IdentitiesRemoveEvent) event;
        RepositoryManager rm = RepositoryManager.getInstance();
        rm.removeOwners(ureq.getIdentity(),identitiesRemoveEvent.getRemovedIdentities(), repositoryEntry);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.