nl.gx.webmanager.cms.forum
Interface Forum


public interface Forum

Forum wrapper.


Method Summary
 int getId()
          Return the forum id.
 int getTopicCount()
          Return the number of topics in the forum.
 ForumMessage[] getTopics()
          Return all topics in the forum.
 ForumMessage[] getTopics(int from, int to)
          Return the topics in the forum between the specified bounds.
 boolean isLocked()
          Return true if the forum has been locked.
 

Method Detail

getId

int getId()
Return the forum id.

Returns:
the forum id.

getTopics

ForumMessage[] getTopics()
Return all topics in the forum.

Returns:
all topics in the forum.

getTopicCount

int getTopicCount()
Return the number of topics in the forum.

Returns:
the number of topics in the forum.

getTopics

ForumMessage[] getTopics(int from,
                         int to)
Return the topics in the forum between the specified bounds.

Parameters:
from - The start index, inclusive.
to - The end index, exclusive
Returns:
the topics in the forum between the specified bounds.

isLocked

boolean isLocked()
Return true if the forum has been locked.

Returns:
true if the forum has been locked


Copyright © 2007-2011 GX Software BV. All Rights Reserved.