Method Summary |
|
public void | addForumMessageFilter(MessageFilter filter) Adds a new ForumMessageFilter to the end of the filter list. |
public void | addForumMessageFilter(MessageFilter filter, int index) Inserts a new ForumMessageFilter at specified index in the filter list. |
public void | addGroupPermission(Group group, int permissionType) Grants a group a particular permission for the forum. |
public void | addThread(ForumThread thread) Adds a thread to the forum. |
public void | addUserPermission(User user, int permissionType) Grants a user a particular permission for the forum. |
public Message | applyFilters(Message message) Applies all of the currently active filters to a message. |
abstract public Message | createMessage(User user) Factory method to create a Message. |
abstract public ForumThread | createThread(Message rootMessage) Factory method to create a Thread. |
public void | deleteThread(ForumThread thread) Deletes a thread. |
public Date | getCreationDate() Returns the Date that the forum was created. |
public String | getDescription() Returns the description of the forum. |
public MessageFilter[] | getForumMessageFilters() Returns an array of the currently active ForumMessageFilters. |
public int | getID() Returns the unique id of the forum. |
public Message | getMessage(int messageID) |
public int | getMessageCount() Returns the number of messages in the forum. |
public int | getMessageCount(boolean approved) |
public int | getModerationType() Returns true if this forum is moderated. |
public Date | getModifiedDate() Returns the Date that the forum was last modified. |
public String | getName() Returns the name of the forum. |
abstract public ForumPermissions | getPermissions(Authorization authorization) Returns the permissions for the forum that correspond to the
passed-in Authorization. |
public String | getProperty(String name) Returns an extended property of the forum. |
public ForumThread | getThread(int threadID) Returns the thread specified by id. |
public int | getThreadCount() Returns the number of threads in the forum. |
public int | getThreadCount(boolean approved) |
public int[] | groupsWithPermission(int permissionType) Returns all the groupID's of groups with a particular permission. |
public boolean | hasPermission(int type) Returns true if the handle on the object has the permission specified.
A list of possible permissions can be found in the ForumPermissions
class. |
public void | moveThread(ForumThread thread, Forum newForum) Moves a thread from one forum to another. |
public Enumeration | propertyNames() Returns an Enumeration of all the names of the forum properties. |
public void | removeForumMessageFilter(int index) Removes a ForumMessageFilter at the specified index in the filter list. |
public void | removeGroupPermission(Group group, int permissionType) Revokes a particular permission from a group for the forum. |
public void | removeUserPermission(User user, int permissionType) Revokes a particular permission from a user for the forum. |
public void | setCreationDate(Date creationDate) Sets the creation date of the forum. |
public void | setDescription(String description) Sets the description of the forum. |
public void | setModerationType(int type) Sets whether the forum is moderated. |
public void | setModifiedDate(Date modifiedDate) Sets the date the forum was last modified. |
public void | setName(String name) Sets the name of a the forum. |
public void | setProperty(String name, String value) Sets an extended property of the forum. |
public Iterator | threads() Returns a Iterator for the forum to move through the threads. |
public Iterator | threads(boolean approved) Returns a Iterator for the forum to move through the threads. |
public Iterator | threads(int startIndex, int numResults) Returns a ListIterator for the forum to move through the threads. |
public Iterator | threads(boolean approved, int startIndex, int numResults) Returns a ListIterator for the forum to move through the threads. |
public int[] | usersWithPermission(int permissionType) Returns all the userID's of users with a particular permission. |