Examples of createGroup()


Examples of com.sun.star.report.XGroups.createGroup()

            SectionObject aSO = null;
            if (nGroups == 0)
            {
                // Spezial case, there is no Group.
                final XGroups xGroups = getReportDefinition().getGroups();
                final XGroup xGroup = xGroups.createGroup();
                xGroup.setHeaderOn(true);
              
                xGroups.insertByIndex(xGroups.getCount(), xGroup);
                xSection = xGroup.getHeader();
                copyGroupProperties(0);
View Full Code Here

Examples of com.vmware.vim25.mo.HostLocalAccountManager.createGroup()

    HostAccountSpec grpSpec = new HostAccountSpec();
    grpSpec.setId("masters");
    // DON'T CALL the following two lines! NOT supported.
    // grpSpec.setDescription("The Group for VI Masters");
    // grpSpec.setPassword("grppass");
    hlam.createGroup(grpSpec);

    //assign the new user to the new group
    hlam.assignUserToGroup("vimaster", "masters");
   
    //let's check their existence
View Full Code Here

Examples of de.nava.informa.utils.PersistChanGrpMgr.createGroup()

   */
  public PersistChanGrpMgr makeEmptyGroup(String name) {
    PersistChanGrpMgr res;
    logger.info("Creating group: " + name);
    res = new PersistChanGrpMgr(handler, false);
    res.createGroup(name);
    logger.info("Result: " + res);
    assertEquals("Newly created group has non-zero Channels", 0, res.getChannelGroup()
        .getChannels().size());
    return res;
  }
View Full Code Here

Examples of es.ipsa.atril.sec.admin.AuthorizationAdminManager.createGroup()

      // AdministeredUser oAsr = oAam.getUser("admin");
      // Log.out.debug("PROFILING: AuthorizationAdminManager.getUser('admin') "+String.valueOf((lEnd=new Date().getTime())-lStart)+" ms");

      if (null==oCom) {
        Log.out.debug("AuthorizationAdminManager.createGroup("+sBusinessName+")");
        oCom = oAam.createGroup(sBusinessName, "", false, null, oGrp);
        lStart = new Date().getTime();
        // oCom.addMember(oAsr);
        // Log.out.debug("PROFILING: AdministeredGroup.addMember(AdministeredUser) "+String.valueOf((lEnd=new Date().getTime())-lStart)+" ms");
        // lStart = lEnd;
        // oAam.setRights(oAsr, oCom, oAll);
View Full Code Here

Examples of evolaris.framework.sys.business.GroupManager.createGroup()

    GroupEnterOrEditForm groupEnterOrEditForm = (GroupEnterOrEditForm) form;
    GroupManager manager = new GroupManager(locale,session);   
    Group group = new Group();
    groupEnterOrEditForm.modifyGroup(group, locale, session, getResources(req),req.isUserInRole(UserManagerBase.ADMINISTRATOR));
    checkAccessRights(req, group);
    manager.createGroup(group);
    return mapping.findForward("created");
  }


  /**
 
View Full Code Here

Examples of io.fabric8.groups.GroupFactory.createGroup()

    public CuratorFramework addingService(ServiceReference<CuratorFramework> reference) {
        CuratorFramework curator = context.getService(reference);
        try {
            logger.debug("CuratorFramework found, starting group");
            GroupFactory factory = new ZooKeeperGroupFactory(curator);
            singleton = factory.createGroup("/fabric/registry/clusters/elasticsearch/" + clusterName.value(), ESNode.class);
            singleton.add(this);
            singleton.update(new ESNode(clusterName.value(), localNode, false));
            singleton.start();
        } catch (Exception e) {
            LOG.error("Error starting group", e);
View Full Code Here

Examples of io.fabric8.groups.internal.ZooKeeperGroupFactory.createGroup()

    public CuratorFramework addingService(ServiceReference<CuratorFramework> reference) {
        CuratorFramework curator = context.getService(reference);
        try {
            logger.debug("CuratorFramework found, starting group");
            GroupFactory factory = new ZooKeeperGroupFactory(curator);
            singleton = factory.createGroup("/fabric/registry/clusters/elasticsearch/" + clusterName.value(), ESNode.class);
            singleton.add(this);
            singleton.update(new ESNode(clusterName.value(), localNode, false));
            singleton.start();
        } catch (Exception e) {
            LOG.error("Error starting group", e);
View Full Code Here

Examples of net.xoetrope.xui.XRadioButtonGroup.createGroup()

      if ( comp instanceof XRadioButtonGroup ) {
        XRadioButtonGroup rb = ((XRadioButtonGroup)comp);
        if ( checkBoxGroup == null ) {
          // The radio button may already have a group
          if ( rb.getRadioButtonGroup() == null )
            checkBoxGroup = rb.createGroup();
          else
            checkBoxGroup = rb.getRadioButtonGroup();
        }
        else
          rb.setRadioButtonGroup( checkBoxGroup );
View Full Code Here

Examples of org.apache.catalina.UserDatabase.createGroup()

     * @param description Description of the new group
     */
    public String createGroup(String groupname, String description) {

        UserDatabase database = (UserDatabase) this.resource;
        Group group = database.createGroup(groupname, description);
        try {
            MBeanUtils.createMBean(group);
        } catch (Exception e) {
            IllegalArgumentException iae = new IllegalArgumentException
                ("Exception creating group [" + groupname + "] MBean");
View Full Code Here

Examples of org.apache.catalina.UserDatabase.createGroup()

     * @param description Description of the new group
     */
    public String createGroup(String groupname, String description) {

        UserDatabase database = (UserDatabase) this.resource;
        Group group = database.createGroup(groupname, description);
        /*
        if (roles != null) {
            for (int i = 0; i < roles.length; i++) {
                Role role = database.findRole(roles[i]);
                if (role == null) {
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.