Examples of updateGroup()


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

                @Override
                public Void withBroker(final DBBroker broker) throws XMLDBException, LockException, PermissionDeniedException, IOException, EXistException, TriggerException, SyntaxException {
                    final SecurityManager sm = broker.getBrokerPool().getSecurityManager();
         
                    sm.updateGroup(g);
                   
                    return null;
                }
            });
        } catch(final Exception e) {
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 Exception e) {
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 Exception e) {
View Full Code Here

Examples of org.geoserver.security.GeoServerUserGroupStore.updateGroup()

        if (fail)
            Assert.fail(failMessage);
       
        fail=true;
        try {
            store2.updateGroup(group);
        } catch (IOException ex) {
            try {
                store2.removeGroup(group);
            } catch (IOException ex1) {
                try {
View Full Code Here

Examples of org.geoserver.security.GeoServerUserGroupStore.updateGroup()

    protected void onFormSubmit(GeoServerUserGroup group) throws IOException {
        GeoServerUserGroupStore store = null;
        try {
            if (hasUserGroupStore(userGroupServiceName)) {
                store = new UserGroupStoreValidationWrapper(getUserGroupStore(userGroupServiceName));
                store.updateGroup(group);
                store.store();
            };
        } catch (IOException ex) {
            try {
                //try to reload the store
View Full Code Here

Examples of org.jdesktop.wonderland.modules.securitygroups.weblib.db.GroupDAO.updateGroup()

            MemberEntity sasMember = new MemberEntity("admin", "sasxprovider");
            sasMember.setGroup(adminGroup);
            adminGroup.getMembers().add(sasMember);

            groups.updateGroup(adminGroup);

            logger.warning("Created initial group " + adminGroup.getId() +
                           " with " + adminGroup.getMembers().size() +
                           " members.");
        }
View Full Code Here

Examples of org.jresearch.gossip.dao.ForumDAO.updateGroup()

      return (mapping.getInputForward());
    }
    ForumDAO dao = ForumDAO.getInstance();
    try {
     
      dao.updateGroup(gForm);
      log(request, "logs.LOG18", gForm.getGroup_name());
    } catch (SQLException sqle) {
      getServlet().log("Connection.process", sqle);
      throw new SystemException(sqle);
    }
View Full Code Here

Examples of org.mifosplatform.portfolio.loanaccount.domain.Loan.updateGroup()

            if (changes.containsKey(groupIdParamName)) {
                final Long groupId = command.longValueOfParameterNamed(groupIdParamName);
                final Group group = this.groupRepository.findOneWithNotFoundDetection(groupId);
                if (group.isNotActive()) { throw new GroupNotActiveException(groupId); }

                existingLoanApplication.updateGroup(group);
            }

            final String productIdParamName = "productId";
            if (changes.containsKey(productIdParamName)) {
                final Long productId = command.longValueOfParameterNamed(productIdParamName);
View Full Code Here

Examples of org.sonatype.nexus.test.utils.GroupMessageUtil.updateGroup()

    resource = groupUtil.createGroup(resource);

    resource.getRepositories().clear();

    resource = groupUtil.updateGroup(resource);

    Assert.assertEquals(0, resource.getRepositories().size());
  }
}
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.