Examples of createGroup()


Examples of com.centraview.contact.contactfacade.ContactFacade.createGroup()

    int groupid = 0;
    try {
      ContactFacade remote = cfh.create();
      remote.setDataSource(dataSource);
      if (group.getGroupID() < 1) {
        groupid = remote.createGroup(individualId, groupVO);
      } else {
        remote.updateGroup(individualId, groupVO);
      }
    } catch (Exception e) {
      logger.error("[saveGroup] Exception thrown.", e);
View Full Code Here

Examples of com.centraview.contact.group.GroupLocal.createGroup()

      InitialContext ic = CVUtility.getInitialContext();
      GroupLocalHome home = (GroupLocalHome)ic.lookup("local/Group");
      GroupLocal remote =  home.create();
      remote.setDataSource(dataSource);
      // Transaction not required cause even if adding member fails its ok.
      newGroupID = remote.createGroup(userId, groupDetail);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.createGroup] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return newGroupID;
View Full Code Here

Examples of com.eforce.baby.auth.delegates.GroupBD.createGroup()

        (SessionUserVO) session.getAttribute(
          IConstants.SESSION_ATTR_USER_SESSION_INFO);
      String dsName = sessUser.getDsName();
      String dbType = sessUser.getDbType();

      bd.createGroup(dsName, dbType, groupVO);
      log.debug("Group Created Successfully !!!");

      request.setAttribute(
        "fwd",
        "/admin/Group.do?target=viewGroup&id=" + groupVO.getId());
View Full Code Here

Examples of com.eteam.ems.auth.dao.GroupDAO.createGroup()

   * @throws BusinessException
   */
  public void createGroup(String dsName, String dbType, GroupVO groupVOthrows DAOException, BusinessException
  {
    GroupDAO dao = (GroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.GroupDAO");
    dao.createGroup(dsName,dbType,groupVO);
  }

  /*
   * Called when Administration Group Report is opened for update.
   * This is a delegator method - delegating the request to the DAO class
View Full Code Here

Examples of com.foundationdb.ais.model.AISBuilder.createGroup()

        builder.column("test", "t2", "c1", 0, intType, false, null, null);
        builder.column("test", "t2", "c2", 1, intType, false, null, null);
        builder.column("test", "t2", "y", 2, intType, false, null, null);
        builder.basicSchemaIsComplete();

        builder.createGroup("t1", "test");
        builder.addTableToGroup("t1", "test", "t1");
        builder.joinTables("t2/t1", "test", "t1", "test", "t2");
        builder.joinColumns("t2/t1", "test", "t2", "c1", "test", "t2", "c2");
        builder.addJoinToGroup("t1", "t2/t1", 0);
        builder.groupingIsComplete();
View Full Code Here

Examples of com.foundationdb.ais.model.TestAISBuilder.createGroup()

        builder.column("schema", "address", "zipcode", 2, "MCOMPAT", "int", false);
        builder.joinTables("ca", "schema", "customer", "schema", "address");
        builder.joinColumns("ca", "schema", "customer", "customer_id", "schema", "address", "customer_id");
       
        builder.basicSchemaIsComplete();
        builder.createGroup("group", "groupschema");
        builder.addJoinToGroup("group", "co", 0);
        builder.addJoinToGroup("group", "oi", 0);
        builder.addJoinToGroup("group", "ca", 0);
        builder.createGroup("state", "schema");
        builder.addTableToGroup("state", "schema", "state");
View Full Code Here

Examples of com.foxconn.gds.security.facade.IUserAccountServices.createGroup()

          acc.setProfile(pfl);
          //accMgr.createUserAccount(acc);
         
          //同時創建一個組與account相同,並將此account加到此組中
          Group group = new Group(acc.getAccount());
          accMgr.createGroup(group);
         
          //
          UserGroup userGroup = new UserGroup(acc, group);
          Collection<UserGroup> inGroups = new ArrayList<UserGroup>();
          inGroups.add(userGroup);
View Full Code Here

Examples of com.google.gerrit.server.account.PerformCreateGroup.createGroup()

  @Override
  public AccountGroup.Id call() throws OrmException, NameAlreadyUsedException,
      PermissionDeniedException {
    final PerformCreateGroup performCreateGroup = performCreateGroupFactory.create();
    final Account.Id me = user.getAccountId();
    return performCreateGroup.createGroup(groupName, null, false, null, Collections.singleton(me), null);
  }
}
View Full Code Here

Examples of com.opensymphony.module.user.UserManager.createGroup()

  UserManager um = UserManager.getInstance();

  if (request.getParameter("addGroup") != null)
  {
    Group newgroup = um.createGroup(request.getParameter("name"));
  }
  else if (request.getParameter("delGroup") != null)
  {
    Group removegroup = um.getGroup(request.getParameter("delGroup"));
    removegroup.remove();
View Full Code Here

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

        // after done with all groups, we need access to the last group, for set property 'KeepTogether' so we remember it.
        XGroup aLastGroup = null;
       
        for (int i=0;i<m_aGroupNames.length;i++)
        {
           final XGroup xGroup = xGroups.createGroup();
           aLastGroup = xGroup;

           // TODO: debug what the m_aGroupNames are, "field:[...]" or the "fieldname"
           xGroup.setExpression(m_aGroupNames[i]);
           xGroup.setHeaderOn(true);
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.