Examples of deleteForum()


Examples of com.ibm.sbt.services.client.connections.forums.ForumService.deleteForum()

        if (forum != null) {
            try {
              loginConnections();
                ForumService forumService = getForumService();
                // TODO should be deleteForum
                forumService.deleteForum(forum.getForumUuid());
            } catch (AuthenticationException pe) {
              if (pe.getCause() != null) {
                pe.getCause().printStackTrace();
              }
                Assert.fail("Error authenicating: " + pe.getMessage());
View Full Code Here

Examples of com.ibm.sbt.services.client.connections.forums.ForumService.deleteForum()

    protected void deleteForum(String forumId) {
        if (forumId != null) {
            try {
              loginConnections();
                ForumService forumService = getForumService();
                forumService.deleteForum(forumId);
            } catch (AuthenticationException pe) {
              if (pe.getCause() != null) {
                pe.getCause().printStackTrace();
              }
                Assert.fail("Error authenicating: " + pe.getMessage());
View Full Code Here

Examples of ee.widespace.forum.data.ForumData.deleteForum()

          }
        Connection conn = getConnection();
        try {
         
          ForumData data = new ForumData(conn);
          int code = data.deleteForum( forumName);
          if ( code > 0 ){
            req.setAttribute( "e", "Forum not empty, can't delete" );
            System.out.println( "Forum not empty, can't delete" )
          }
          conn.commit();
View Full Code Here

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

        ProcessForumForm pfForm = (ProcessForumForm) form;

        try {
           

            dao.deleteForum(pfForm.getFid());
            log(request, "logs.LOG12", pfForm.getFid());
        } catch (SQLException sqle) {
            getServlet().log("Connection.process", sqle);
            throw new SystemException(sqle);
        }
View Full Code Here

Examples of org.nemesis.forum.ForumFactory.deleteForum()

        try {
         
          ForumFactory forumFactory = ForumFactory.getInstance(getAuthToken(request));
          ProfileManager manager = forumFactory.getProfileManager();
          Forum f = forumFactory.getForum(Integer.parseInt(request.getParameter("id")));
          forumFactory.deleteForum(f);
         
          errors.add("general"new ActionError("delForum.confirm"));
         
        }
        catch( NotFoundException fnfe ) {
View Full Code Here

Examples of org.olat.modules.fo.ForumManager.deleteForum()

    Property forumKeyProperty = npm.findProperty(null, null, PROP_CAT_BG_COLLABTOOLS, KEY_FORUM);
    if (forumKeyProperty != null) {
      // if there was a forum, delete it
      Long forumKey = forumKeyProperty.getLongValue();
      if (forumKey == null) throw new AssertException("property had no longValue, prop:" + forumKeyProperty);
      fom.deleteForum(forumKey);
    }
    /*
     * delete the folder, if existing
     */
    OlatRootFolderImpl vfsContainer = new OlatRootFolderImpl(getFolderRelPath(), 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.