Search in sources :

Example 6 with IThread

use of org.eclipse.ecf.bulletinboard.IThread in project ecf by eclipse.

the class Forum method createThread.

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;
}
Also used : IllegalWriteException(org.eclipse.ecf.bulletinboard.IllegalWriteException) IThread(org.eclipse.ecf.bulletinboard.IThread)

Aggregations

IThread (org.eclipse.ecf.bulletinboard.IThread)6 IOException (java.io.IOException)4 NameValuePair (org.apache.commons.httpclient.NameValuePair)4 GetRequest (org.eclipse.ecf.internal.bulletinboard.commons.webapp.GetRequest)4 ID (org.eclipse.ecf.core.identity.ID)3 HashSet (java.util.HashSet)2 AbstractBBObject (org.eclipse.ecf.internal.bulletinboard.commons.AbstractBBObject)2 WebRequest (org.eclipse.ecf.internal.bulletinboard.commons.webapp.WebRequest)2 URL (java.net.URL)1 LinkedHashMap (java.util.LinkedHashMap)1 Matcher (java.util.regex.Matcher)1 IBBObject (org.eclipse.ecf.bulletinboard.IBBObject)1 IllegalWriteException (org.eclipse.ecf.bulletinboard.IllegalWriteException)1 IDCreateException (org.eclipse.ecf.core.identity.IDCreateException)1 IPatternDescriptor (org.eclipse.ecf.internal.bulletinboard.commons.parsing.IPatternDescriptor)1 ForumID (org.eclipse.ecf.internal.provider.phpbb.identity.ForumID)1 ForumID (org.eclipse.ecf.internal.provider.vbulletin.identity.ForumID)1