Examples of deleteGroup()


Examples of org.apache.roller.planet.business.PlanetManager.deleteGroup()

                PlanetManager planet = roller.getPlanetManager();
                PlanetGroupForm form = (PlanetGroupForm)actionForm;
                if (form.getHandle() != null)
                {
                    PlanetGroupData group = planet.getGroup(form.getHandle());
                    planet.deleteGroup(group);
                    roller.flush();
                    // TODO: why release here?
                    roller.release();
                   
                    form.doReset(mapping, request);
View Full Code Here

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

                } else {
                    successorGroup = securityManager.getGroup("guest");
                }

                try {
                    securityManager.deleteGroup(groupName);
                } catch(final EXistException ee) {
                    throw new XPathException(this, ee);
                }
            } else {
                throw new XPathException("Unknown function call: " + getSignature());
View Full Code Here

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

            executeWithBroker(new BrokerOperation<Void>(){
                @Override
                public Void withBroker(DBBroker broker) throws XMLDBException, LockException, PermissionDeniedException, IOException, EXistException, TriggerException, SyntaxException {
                    final SecurityManager sm = broker.getBrokerPool().getSecurityManager();
         
                    sm.deleteGroup(group.getName());
                   
                    return null;
                }
            });
        } catch(final Exception e) {
View Full Code Here

Examples of org.jahia.services.usermanager.JahiaGroupManagerService.deleteGroup()

        } catch (Exception ex) {
            logger.warn("Exception during test tearDown", ex);
        }
        JahiaUserManagerService userManagerService = ServicesRegistry.getInstance().getJahiaUserManagerService();
        JahiaGroupManagerService groupManagerService = ServicesRegistry.getInstance().getJahiaGroupManagerService();
        groupManagerService.deleteGroup(groupManagerService.lookupGroup(site.getID(), "taskUsersGroup"));
        userManagerService.deleteUser(userManagerService.lookupUser("johndoe"));
        userManagerService.deleteUser(userManagerService.lookupUser("johnsmoe"));
        JCRSessionWrapper session = JCRSessionFactory.getInstance().getCurrentUserSession();
        session.save();
        JCRSessionFactory.getInstance().closeAllSessions();
View Full Code Here

Examples of org.jahia.services.usermanager.JahiaGroupManagerService.deleteGroup()

            if (session.nodeExists("/sites/"+TESTSITE_NAME)) {
                TestHelper.deleteSite(TESTSITE_NAME);
            }

            JahiaGroupManagerService groupManager = ServicesRegistry.getInstance().getJahiaGroupManagerService();
            groupManager.deleteGroup(group1);
            groupManager.deleteGroup(group2);

            JahiaUserManagerService userManager = ServicesRegistry.getInstance().getJahiaUserManagerService();
            userManager.deleteUser(user1);
            userManager.deleteUser(user2);
View Full Code Here

Examples of org.jahia.services.usermanager.JahiaGroupManagerService.deleteGroup()

                TestHelper.deleteSite(TESTSITE_NAME);
            }

            JahiaGroupManagerService groupManager = ServicesRegistry.getInstance().getJahiaGroupManagerService();
            groupManager.deleteGroup(group1);
            groupManager.deleteGroup(group2);

            JahiaUserManagerService userManager = ServicesRegistry.getInstance().getJahiaUserManagerService();
            userManager.deleteUser(user1);
            userManager.deleteUser(user2);
            userManager.deleteUser(user3);
View Full Code Here

Examples of org.jbpm.pvm.internal.identity.spi.IdentitySession.deleteGroup()

    this.groupId = groupId;
  }

  public Void execute(Environment environment) throws Exception {
    IdentitySession identitySession = environment.get(IdentitySession.class);
    identitySession.deleteGroup(groupId);
    return null;
  }
}
View Full Code Here

Examples of org.jbpm.pvm.internal.identity.spi.IdentitySession.deleteGroup()

    this.groupId = groupId;
  }

  public Void execute(Environment environment) throws Exception {
    IdentitySession identitySession = environment.get(IdentitySession.class);
    identitySession.deleteGroup(groupId);
    return null;
  }
}
View Full Code Here

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

      throws SystemException {
    ForumDAO dao = ForumDAO.getInstance();
    ProcessGroupForm pgForm = (ProcessGroupForm) form;
    try {
     
      dao.deleteGroup(pgForm.getGid());
      log(request, "logs.LOG13", pgForm.getGid());
    } catch (SQLException sqle) {
      getServlet().log("Connection.process", sqle);
      throw new SystemException(sqle);
    }
View Full Code Here

Examples of org.nemesis.forum.ProfileManager.deleteGroup()

        try {
         
          ForumFactory forumFactory = ForumFactory.getInstance(getAuthToken(request));
          ProfileManager manager = forumFactory.getProfileManager();
          Group group = manager.getGroup(Integer.parseInt(request.getParameter("id")));
          manager.deleteGroup(group);
          errors.add("general"new ActionError("delGroup.confirm"));
         
        }
        catch( NotFoundException fnfe ) {
          errors.add("general"new ActionError("delGroup.notFound"));         
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.