Package nl.gx.webmanager.cms.forum
Interface Forum
-
public interface Forum
Forum wrapper.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getId()
Returns the forum id.int
getTopicCount()
Returns the number of topics in the forum.ForumMessage[]
getTopics()
Returns all topics in the forum.ForumMessage[]
getTopics(int from, int to)
Returns the topics in the forum between the specified bounds.boolean
isLocked()
Returns true if the forum has been locked.
-
-
-
Method Detail
-
getId
int getId()
Returns the forum id.- Returns:
- the forum id.
-
getTopics
ForumMessage[] getTopics()
Returns all topics in the forum.- Returns:
- all topics in the forum.
-
getTopicCount
int getTopicCount()
Returns the number of topics in the forum.- Returns:
- the number of topics in the forum.
-
getTopics
ForumMessage[] getTopics(int from, int to)
Returns 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()
Returns true if the forum has been locked.- Returns:
- true if the forum has been locked
-
-