public enum SharingEntryAction extends java.lang.Enum<SharingEntryAction>
| Enum Constant and Description |
|---|
ADD_DISCUSSION |
DOWNLOAD |
UPDATE |
VIEW |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getActionId()
Returns the sharing entry action's ID.
|
long |
getBitwiseValue()
Returns the sharing entry action's bitwise value.
|
static java.util.Collection<SharingEntryAction> |
getSharingEntryActions(long bitwiseValue)
Returns the sharing entry actions from the bitwise value.
|
static boolean |
isSupportedActionId(java.lang.String actionId)
Returns
true if the sharing entry action's ID matches a valid
sharing entry action. |
static SharingEntryAction |
parseFromActionId(java.lang.String actionId)
Returns the sharing entry action parsed from a sharing entry action's ID.
|
static SharingEntryAction |
parseFromBitwiseValue(long bitwiseValue)
Returns the sharing entry action parsed from the bitwise value.
|
static SharingEntryAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SharingEntryAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharingEntryAction ADD_DISCUSSION
public static final SharingEntryAction DOWNLOAD
public static final SharingEntryAction UPDATE
public static final SharingEntryAction VIEW
public static SharingEntryAction[] values()
for (SharingEntryAction c : SharingEntryAction.values()) System.out.println(c);
public static SharingEntryAction 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 static java.util.Collection<SharingEntryAction> getSharingEntryActions(long bitwiseValue)
bitwiseValue - the bitwise valuepublic static boolean isSupportedActionId(java.lang.String actionId)
true if the sharing entry action's ID matches a valid
sharing entry action.actionId - the sharing entry action's IDtrue if the sharing entry action's ID matches a valid
sharing entry action; false otherwisepublic static SharingEntryAction parseFromActionId(java.lang.String actionId)
actionId - the sharing entry action's IDpublic static SharingEntryAction parseFromBitwiseValue(long bitwiseValue)
bitwiseValue - the bitwise valuepublic java.lang.String getActionId()
public long getBitwiseValue()