|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AccessModel>
tigase.pubsub.AccessModel
public enum AccessModel
| Enum Constant Summary | |
|---|---|
authorize
The node owner must approve all subscription requests, and only subscribers may retrieve items from the node. |
|
open
Any entity may subscribe to the node (i.e., without the necessity for subscription approval) and any entity may retrieve items from the node (i.e., without being subscribed); this SHOULD be the default access model for generic pubsub services. |
|
presence
Any entity with a subscription of type "from" or "both" may subscribe to the node and retrieve items from the node; this access model applies mainly to instant messaging systems (see RFC 3921). |
|
roster
Any entity in the specified roster group(s) may subscribe to the node and retrieve items from the node; this access model applies mainly to instant messaging systems (see RFC 3921). |
|
whitelist
An entity may subscribe or retrieve items only if on a whitelist managed by the node owner. |
|
| Method Summary | |
|---|---|
static AccessModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AccessModel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AccessModel authorize
public static final AccessModel open
public static final AccessModel presence
public static final AccessModel roster
public static final AccessModel whitelist
| Method Detail |
|---|
public static AccessModel[] values()
for (AccessModel c : AccessModel.values()) System.out.println(c);
public static AccessModel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||