|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.ban.BanLevel
public class BanLevel
A typesafe-enum class containing key/value pairs representing BanLevel objects.
Field Summary | |
---|---|
static BanLevel[] |
BAN_LEVELS
An array containing all possible types of ban levels |
static BanLevel |
BAN_LOGIN
Users will not be allowed to login to the system |
static BanLevel |
BAN_POST
Users will not be able to post messages or private messages to the system |
static BanLevel |
MODERATE
Posts from a user will need to be moderated |
Method Summary | |
---|---|
static BanLevel |
getBanLevel(int key)
A helper method to get a specific BanLevel object from its key |
java.lang.String |
getI18nKey()
Gets the i18n key of a BanLevel object. |
int |
getKey()
Gets the key of a BanLevel object |
java.lang.String |
getValue()
Gets the value of a BanLevel object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BanLevel BAN_LOGIN
public static final BanLevel BAN_POST
public static final BanLevel MODERATE
public static final BanLevel[] BAN_LEVELS
Method Detail |
---|
public int getKey()
public java.lang.String getI18nKey()
public java.lang.String getValue()
public static BanLevel getBanLevel(int key)
key
- the key value of the BanLevel object
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |