public enum CommunityPrivacy extends Enum<CommunityPrivacy>
Enum Constant and Description |
---|
PRIVATE
Private privacy indicates that the community cannot be found in global
listings and a user can only become a member by being added by
a community administrator.
|
PUBLIC
Public privacy indicates that the community can be found in global
listings and is available for anyone to become member of automatically.
|
RESTRICTED
Restricted privacy indicates that the community can be found in global
listings, but to become a member, the user must first request membership
and await it to be approved by a community administrator.
|
Modifier and Type | Method and Description |
---|---|
static CommunityPrivacy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommunityPrivacy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommunityPrivacy PUBLIC
public static final CommunityPrivacy RESTRICTED
public static final CommunityPrivacy PRIVATE
public static CommunityPrivacy[] values()
for (CommunityPrivacy c : CommunityPrivacy.values()) System.out.println(c);
public static CommunityPrivacy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullLumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.