|
Clearspace API (2.5.18) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.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 |
int |
getKey()
Gets the key of a BanLevel object |
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 String getValue()
public static BanLevel getBanLevel(int key)
key - the key value of the BanLevel object
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||