Package org.eclipse.ecf.bulletinboard

Examples of org.eclipse.ecf.bulletinboard.IllegalWriteException


    this.thread = thread;
  }

  public void setName(String name) throws IllegalWriteException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    this.name = name;
  }
View Full Code Here


    this.name = name;
  }

  public void setMessage(String message) throws IllegalWriteException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    this.message = message;
  }
View Full Code Here

    return new HashSet<IThread>(threadMap.values());
  }

  public IThread createThread() throws IllegalWriteException, BBException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    Thread thread = new Thread();
    thread.setBulletinBoard(bb);
    thread.forum = this;
    return thread;
View Full Code Here

  }

  public boolean postThread(IThread thread) throws IllegalWriteException,
      BBException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    WebRequest request = new PostRequest(bb.getHttpClient(), bb.getURL(),
        "posting.php");

    NameValuePair params[];
View Full Code Here

    return 0;
  }

  public IThreadMessage createReplyMessage() throws IllegalWriteException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    ThreadMessage msg = new ThreadMessage();
    msg.setBulletinBoard(bb);
    msg.setThread(this);
    return msg;
View Full Code Here

  }

  public ID postReply(IThreadMessage message) throws IllegalWriteException,
      BBException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    ThreadMessage msg = (ThreadMessage) message;
    // FIXME assert msg.bb == bb;
    assert msg.getThread() == this;
    PostRequest request = new PostRequest(bb.getHttpClient(), bb.getURL(),
View Full Code Here

    this.thread = thread;
  }

  public void setName(String name) throws IllegalWriteException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    this.name = name;
  }
View Full Code Here

    this.name = name;
  }

  public void setMessage(String message) throws IllegalWriteException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    this.message = message;
  }
View Full Code Here

  }

  public boolean postThread(IThread thread) throws IllegalWriteException,
      BBException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    /*
     * WebRequest request = new PostRequest(bb.getHttpClient(), bb.getURL(),
     * "posting.php");
     *
 
View Full Code Here

    return 0;
  }

  public IThreadMessage createReplyMessage() throws IllegalWriteException {
    if ((mode & READ_ONLY) == READ_ONLY) {
      throw new IllegalWriteException(E_READ_ONLY);
    }
    ThreadMessage msg = new ThreadMessage();
    msg.setBulletinBoard(bb);
    msg.setThread(this);
    return msg;
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.bulletinboard.IllegalWriteException

Copyright © 2018 www.massapicom. 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.