SpacesQueryOptions
class and its
enums/methods is discouraged. Use SpacesQueryParameters
class instead.
SpacesQueryCondition specify the query condition based on the group membership
of the user. For example, following EL will return All user joined spaces.
EL: #{spaceContext.spacesQuery.unionOf['USER_JOINED']}
@Deprecated public static enum SpacesQueryOptions.SpacesQueryCondition extends java.lang.Enum<SpacesQueryOptions.SpacesQueryCondition>
Enum Constant and Description |
---|
SHOW_ALL
Deprecated.
|
SHOW_DISCOVERABLE
Deprecated.
|
SHOW_JOINED
Deprecated.
|
SHOW_MODERATED
Deprecated.
|
SHOW_PUBLIC
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getQueryCondition()
Deprecated.
|
static SpacesQueryOptions.SpacesQueryCondition |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static SpacesQueryOptions.SpacesQueryCondition[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpacesQueryOptions.SpacesQueryCondition SHOW_PUBLIC
public static final SpacesQueryOptions.SpacesQueryCondition SHOW_DISCOVERABLE
public static final SpacesQueryOptions.SpacesQueryCondition SHOW_MODERATED
public static final SpacesQueryOptions.SpacesQueryCondition SHOW_JOINED
public static final SpacesQueryOptions.SpacesQueryCondition SHOW_ALL
public static SpacesQueryOptions.SpacesQueryCondition[] values()
for (SpacesQueryOptions.SpacesQueryCondition c : SpacesQueryOptions.SpacesQueryCondition.values()) System.out.println(c);
public static SpacesQueryOptions.SpacesQueryCondition 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getQueryCondition()