|
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.AbuseType
public class AbuseType
A typesafe enum class that contains various abuse types used for reporting abuse
| Field Summary | |
|---|---|
static AbuseType[] |
ABUSE_TYPES
An array containing all possible types of abuse |
static AbuseType |
EXPLICIT_CONTENT
Type representing an explicit content abuse report. |
static AbuseType |
GENERAL
Type representing a general abuse report. |
static AbuseType |
HARASSMENT
Type representing a harassment abuse report. |
static AbuseType |
IMPERSONATION
Type representing an impersonation abuse report. |
static AbuseType |
PRIVATE_INFORMATION
Type representing a private information abuse report. |
static AbuseType |
PROFANITY
Type representing a profanity abuse report. |
static AbuseType |
RACIAL
Type representing a racial abuse report. |
static AbuseType |
RELIGIOUS
Type representing a religious abuse report. |
static AbuseType |
SLANDER
Type representing a slander abuse report. |
static AbuseType |
SPAM
Type representing a spam abuse report. |
| Method Summary | |
|---|---|
static AbuseType |
getAbuseType(int key)
A helper method to get a specific AbuseType object from its key |
int |
getKey()
Gets the unique key representing this abuse type. |
String |
getValue()
Gets the i18n key that can be used to lookup the text value for this abuse type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AbuseType GENERAL
public static final AbuseType PROFANITY
public static final AbuseType EXPLICIT_CONTENT
public static final AbuseType IMPERSONATION
public static final AbuseType HARASSMENT
public static final AbuseType SLANDER
public static final AbuseType RACIAL
public static final AbuseType RELIGIOUS
public static final AbuseType SPAM
public static final AbuseType PRIVATE_INFORMATION
public static final AbuseType[] ABUSE_TYPES
| Method Detail |
|---|
public int getKey()
public String getValue()
public static AbuseType getAbuseType(int key)
key - the key value of the AbuseType object
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||