|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.app.template.TemplateBean
org.liquidsite.app.template.ContentBean
org.liquidsite.app.template.ForumBean
A forum template bean. This class is used to access forums from the template data model.
| Method Summary | |
java.util.ArrayList |
findTopics(int offset,
int count)
Returns all topics in this forum. |
java.lang.String |
getDescription()
Returns the forum description. |
TopicBean |
getFirst()
Returns the first topic in this forum. |
TopicBean |
getLast()
Returns the last topic in this forum. |
java.lang.String |
getRealName()
Returns the real forum name. |
int |
getTopicCount()
Returns the number of topics in this forum. |
boolean |
isModerator()
Checks if the current user is a forum moderator. |
boolean |
isModerator(java.lang.String user)
Checks if the specified user is a forum moderator. |
boolean |
isModerator(UserBean user)
Checks if the specified user is a forum moderator. |
| Methods inherited from class org.liquidsite.app.template.ContentBean |
getContent, getCreated, getDate, getId, getLock, getName, getOnline, getParent, getPath, getRevision, getUser, hasAccess, toString |
| Methods inherited from class org.liquidsite.app.template.TemplateBean |
getContext, getContextRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public boolean isModerator()
public boolean isModerator(java.lang.String user)
user - the name of the user to check
public boolean isModerator(UserBean user)
user - the user to check
public java.lang.String getRealName()
public java.lang.String getDescription()
public TopicBean getFirst()
public TopicBean getLast()
public int getTopicCount()
public java.util.ArrayList findTopics(int offset,
int count)
offset - the number of topics to skipcount - the maximum number of topics
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||