moderator permission的許可權問題

skyala發表於2003-07-24
我在看jive原始碼,發現有個
moderator permission的許可權,而且有不少地方用到了如
setModeratorMinThreadValue()
這些,誰能幫我解釋一下,moderator的功能和作用,及他在論壇中的地位和能執行的許可權。

下面是上面set方法的說明,我也沒看太明白。也請大家幫解釋一下。


/**
* Sets the default number of moderation points necessary for threads to be
* visible in the forum. The default moderation points value can be used in
* conjunction with the minimum thread moderation points value to
* effectively turn moderation on or off. Consider a default value of 0 and
* a minimum value of 1 -- this will mean that new messages will
* be created below the display threshold of 1, and must be assigned a
* moderation point before being visible.<p>
*
* By default, the minimum and default message moderation value is 1.
*
* @param value the minimum number of moderation points for threads to be
* visible.
* @throws UnauthorizedException if does not have ADMIN or MODERATE_THREADS
* permissions.
*/
public void setModerationMinThreadValue(int value)
throws UnauthorizedException;

相關文章