|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SharedNotebookPrivilegeLevel> com.evernote.edam.type.SharedNotebookPrivilegeLevel
public enum SharedNotebookPrivilegeLevel
Privilege levels for accessing shared notebooks. READ_NOTEBOOK: Recipient is able to read the contents of the shared notebook but does to have access to information about other recipients of the notebook or the activity stream information. MODIFY_NOTEBOOK_PLUS_ACTIVITY: Recipient has rights to read and modify the contents of the shared notebook, including the right to move notes to the trash and to create notes in the notebook. The recipient can also access information about other recipients and the activity stream. READ_NOTEBOOK_PLUS_ACTIVITY: Recipient has READ_NOTEBOOK rights and can also access information about other recipients and the activity stream. GROUP: If the user belongs to a group, such as a Business, that has a defined privilege level, use the privilege level of the group as the privilege for the individual. FULL_ACCESS: Recipient has full rights to the shared notebook and recipient lists, including privilege to revoke and create invitations and to change privilege levels on invitations for individuals. This privilege level is primarily intended for use by individual shares. BUSINESS_FULL_ACCESS: Intended for use with Business Notebooks, a BUSINESS_FULL_ACCESS level is FULL_ACCESS with the additional rights to change how the notebook will appear in the business library, including the rights to publish and unpublish the notebook from the library.
Enum Constant Summary | |
---|---|
BUSINESS_FULL_ACCESS
|
|
FULL_ACCESS
|
|
GROUP
|
|
MODIFY_NOTEBOOK_PLUS_ACTIVITY
|
|
READ_NOTEBOOK
|
|
READ_NOTEBOOK_PLUS_ACTIVITY
|
Method Summary | |
---|---|
static SharedNotebookPrivilegeLevel |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static SharedNotebookPrivilegeLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SharedNotebookPrivilegeLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 SharedNotebookPrivilegeLevel READ_NOTEBOOK
public static final SharedNotebookPrivilegeLevel MODIFY_NOTEBOOK_PLUS_ACTIVITY
public static final SharedNotebookPrivilegeLevel READ_NOTEBOOK_PLUS_ACTIVITY
public static final SharedNotebookPrivilegeLevel GROUP
public static final SharedNotebookPrivilegeLevel FULL_ACCESS
public static final SharedNotebookPrivilegeLevel BUSINESS_FULL_ACCESS
Method Detail |
---|
public static SharedNotebookPrivilegeLevel[] values()
for (SharedNotebookPrivilegeLevel c : SharedNotebookPrivilegeLevel.values()) System.out.println(c);
public static SharedNotebookPrivilegeLevel 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 nullpublic int getValue()
getValue
in interface com.evernote.thrift.TEnum
public static SharedNotebookPrivilegeLevel findByValue(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |