Examples of updateGroup()


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

      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);
    }
    return groupid;
View Full Code Here

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

    {
      InitialContext ic = CVUtility.getInitialContext();
      GroupLocalHome home = (GroupLocalHome)ic.lookup("local/Group");
      GroupLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      remote.updateGroup(userId,groupDetail);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.updateGroup] Exception Thrown: "+e);
      e.printStackTrace();
    }
  }   // end updateGroup() method
View Full Code Here

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

    GroupBD groupbd =
      (GroupBD) BusinessDelegateFactory.getInstance().getDelegate(
        "com.eteam.ems.auth.delegates.GroupBD");

    try {
      groupbd.updateGroup(dsName, dbType, groupVO);

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

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

  public void updateGroup( String dsName, String dbType, GroupVO groupVO)
    throws DAOException, BusinessException
  {
    GroupDAO dao = (GroupDAO) DAOFactory.getInstance().
              getDAO("com.eteam.ems.auth.dao.GroupDAO");
    dao.updateGroup(dsName,dbType,groupVO);
  }
 
 
  /**
   * Called when search is selected
View Full Code Here

Examples of org.apache.marmotta.platform.core.api.task.Task.updateGroup()

            return createSubTask(name, group);
        else {
            task = stack.peek();
            task.updateName(name);
            if (group != null) {
                task.updateGroup(group);
            }
        }
        return task;
    }
View Full Code Here

Examples of org.apache.marmotta.platform.core.api.task.Task.updateGroup()

            return createSubTask(name, group);
        else {
            task = stack.peek();
            task.updateName(name);
            if (group != null) {
                task.updateGroup(group);
            }
        }
        return task;
    }
View Full Code Here

Examples of org.exist.security.SecurityManager.updateGroup()

           
            try {
                executeWithBroker(new BrokerOperation<Void>() {
                    @Override
                    public Void withBroker(final DBBroker broker) throws EXistException, URISyntaxException, PermissionDeniedException {
                        manager.updateGroup(group);
                        return null;
                    }
                });
                return true;
            } catch (final URISyntaxException use) {
View Full Code Here

Examples of org.exist.security.SecurityManager.updateGroup()

                    final SecurityManager sm = broker.getBrokerPool().getSecurityManager();
                   
                    final Account account = sm.getAccount(manager);
                    final Group group = sm.getGroup(groupName);
                    group.addManager(account);
                    sm.updateGroup(group);
                   
                    return null;
                }
            });
        } catch (final URISyntaxException use) {
View Full Code Here

Examples of org.exist.security.SecurityManager.updateGroup()

                    final SecurityManager sm = broker.getBrokerPool().getSecurityManager();
                    final Group group = sm.getGroup(groupName);
                    final Account account = sm.getAccount(manager);
                   
                    group.removeManager(account);
                    sm.updateGroup(group);
                   
                    return null;
                }
            });
        } catch (final URISyntaxException use) {
View Full Code Here

Examples of org.exist.security.SecurityManager.updateGroup()

                    //if we created a personal group, then add the new account as a manager of their personal group
                    if(getSignature().getArgumentCount() == 3 || getSignature().getArgumentCount() == 5) {
                        final Group group = securityManager.getGroup(username);
                        group.addManager(securityManager.getAccount(username));
                        securityManager.updateGroup(group);
                    }
                } else {
                    throw new XPathException("Unknown function call: " + getSignature());
                }
            }
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.