public enum BoxResourceType extends Enum<BoxResourceType> implements IBoxType
Enum Constant and Description |
---|
ADMIN_SETTINGS
Administrator settings
|
COLLABORATION
Box's equivalent of access control lists.
|
COLLABORATIONS
A plural format of
.BoxResourceType .COLLABORATIONS . |
COMMENT
A comment.
|
COMMENTS
A plural format of
COMMENT . |
EMAIL_ALIAS
An email alias.
|
EMAIL_ALIASES
A plural format of
EMAIL_ALIAS . |
ERROR
Error.
|
EVENT
Event.
|
EVENTS
A plural format of
EVENT . |
FILE
A box file.
|
FILE_VERSION
A version of a file.
|
FILE_VERSIONS
A plural format of
FILE_VERSION . |
FILES
A plural format of
FILE . |
FOLDER
A box folder.
|
GROUP
A group of
GROUP . |
ITEM
An item, which could be a file, a folder, a weblink...
|
ITEMS
A plural format of
ITEM . |
LOCK
File lock (shows up in event stream).
|
LOGIN_TOKEN
Login token
|
OAUTH_DATA
OAuth data.
|
PREVIEW
Preview of a file.
|
REALTIME_SERVER
Realtime server.
|
SERVICE_ACTION
Service action is a subtype of file lock.
|
UPDATES
Updates
|
USER
A box user.
|
USERS
A plural format of
USER . |
WEB_LINK
A box weblink.
|
WEB_LINKS
A plural format of
WEB_LINK . |
Modifier and Type | Method and Description |
---|---|
static BoxResourceType |
getTypeFromLowercaseString(String string)
Deprecated.
|
String |
toPluralString()
Get the String representing plural format of a resource.
|
String |
toString() |
static BoxResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxResourceType ITEM
public static final BoxResourceType ITEMS
ITEM
.public static final BoxResourceType FILE
public static final BoxResourceType FILES
FILE
.public static final BoxResourceType WEB_LINK
public static final BoxResourceType WEB_LINKS
WEB_LINK
.public static final BoxResourceType PREVIEW
public static final BoxResourceType FOLDER
public static final BoxResourceType USER
public static final BoxResourceType USERS
USER
.public static final BoxResourceType GROUP
GROUP
.public static final BoxResourceType COMMENT
public static final BoxResourceType COMMENTS
COMMENT
.public static final BoxResourceType FILE_VERSION
public static final BoxResourceType FILE_VERSIONS
FILE_VERSION
.public static final BoxResourceType COLLABORATION
public static final BoxResourceType COLLABORATIONS
.BoxResourceType .COLLABORATIONS
.public static final BoxResourceType EMAIL_ALIAS
public static final BoxResourceType EMAIL_ALIASES
EMAIL_ALIAS
.public static final BoxResourceType OAUTH_DATA
public static final BoxResourceType ERROR
public static final BoxResourceType EVENT
public static final BoxResourceType EVENTS
EVENT
.public static final BoxResourceType UPDATES
public static final BoxResourceType REALTIME_SERVER
public static final BoxResourceType LOCK
public static final BoxResourceType SERVICE_ACTION
public static final BoxResourceType ADMIN_SETTINGS
public static final BoxResourceType LOGIN_TOKEN
public static BoxResourceType[] values()
for (BoxResourceType c : BoxResourceType.values()) System.out.println(c);
public static BoxResourceType 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 null@Deprecated public static BoxResourceType getTypeFromLowercaseString(String string)
string
- public String toString()
toString
in class Enum<BoxResourceType>
public String toPluralString()
Copyright © 2016 Nuxeo SA. All rights reserved.