public enum WorkspaceType extends Enum<WorkspaceType>
| Enum Constant and Description |
|---|
INVITATION
Invitation only private workspace.
|
PRIVATE
Private workspace.
|
PUBLIC
Public workspace.
|
PUBLIC_INVITATION
Invitation only public workspace.
|
UNCHANGEABLE
Unchangeable workspace.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Getter for color.
|
String |
getIcon()
Getter for icon.
|
String |
getId()
Getter for id.
|
String |
getKey()
Getter for key.
|
boolean |
isAllowedInvitationRequests()
Getter for allowedInvitationRequests.
|
boolean |
isPortalAdministratorRestriction()
Getter for portalAdministratorRestriction.
|
static List<WorkspaceType> |
list(boolean admin)
Get workspace types values.
|
static WorkspaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkspaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkspaceType PUBLIC
public static final WorkspaceType PUBLIC_INVITATION
public static final WorkspaceType PRIVATE
public static final WorkspaceType INVITATION
public static final WorkspaceType UNCHANGEABLE
public static WorkspaceType[] values()
for (WorkspaceType c : WorkspaceType.values()) System.out.println(c);
public static WorkspaceType 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 nullpublic String getId()
public String getKey()
public String getIcon()
public String getColor()
public boolean isAllowedInvitationRequests()
public static List<WorkspaceType> list(boolean admin)
admin - portal administrator indicatorpublic boolean isPortalAdministratorRestriction()
Copyright © 2019. All rights reserved.