|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.forums.bean.ForumModeratorBean
public class ForumModeratorBean
User: Yohann Chastagnier Date: 17/06/13
Method Summary | |
---|---|
static ForumModeratorBean |
from(int forumId,
List<Moderator> moderators)
Initializing a bean that handle moderators of a forum. |
int |
getForumId()
Gets the identifier of handled forum. |
Collection<Moderator> |
getModerators()
Gets the moderator of the forum (inherited and specifics) |
boolean |
isSpecificModerator(String userId)
Indicates id given user (represented by its identifier) is a moderator of the forum. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ForumModeratorBean from(int forumId, List<Moderator> moderators)
forumId
- moderators
-
public int getForumId()
public boolean isSpecificModerator(String userId)
userId
-
public Collection<Moderator> getModerators()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |