|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AccessLevel>
com.sap.sl.sdk.authoring.businesslayer.AccessLevel
public enum AccessLevel
A representation of the literals of the 'Access Level' enumeration, and methods to use them.
The security access level of an object restricts use of the object to users with the appropriate object-access level granted. See the BI platform Administrator Guide for more information about object-access levels.
Enum Constant Summary | |
---|---|
CONFIDENTIAL
The 'CONFIDENTIAL' literal object. |
|
CONTROLLED
The 'CONTROLLED' literal object. |
|
PRIVATE
The 'PRIVATE' literal object. |
|
PUBLIC
The 'PUBLIC' literal object. |
|
RESTRICTED
The 'RESTRICTED' literal object. |
Field Summary | |
---|---|
static int |
CONFIDENTIAL_VALUE
The 'CONFIDENTIAL' literal value. |
static int |
CONTROLLED_VALUE
The 'CONTROLLED' literal value. |
static int |
PRIVATE_VALUE
The 'PRIVATE' literal value. |
static int |
PUBLIC_VALUE
The 'PUBLIC' literal value. |
static int |
RESTRICTED_VALUE
The 'RESTRICTED' literal value. |
static java.util.List<AccessLevel> |
VALUES
A public read-only list of all the 'Access Level' enumerators. |
Method Summary | |
---|---|
static AccessLevel |
get(int value)
Returns the 'Access Level' literal with the specified integer value. |
static AccessLevel |
get(java.lang.String literal)
Returns the 'Access Level' literal with the specified literal value. |
static AccessLevel |
getByName(java.lang.String name)
Returns the 'Access Level' literal with the specified name. |
java.lang.String |
getLiteral()
Returns the string representation of the enumerator. |
java.lang.String |
getName()
Returns the literal name of the enumerator. |
int |
getValue()
Returns the literal integer value of the enumerator. |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static AccessLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AccessLevel[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AccessLevel PUBLIC
This literal represents the Public access level for business objects.
PUBLIC_VALUE
public static final AccessLevel CONTROLLED
This literal represents the Controlled access level for business objects.
CONTROLLED_VALUE
public static final AccessLevel RESTRICTED
This literal represents the Restricted access level for business objects.
RESTRICTED_VALUE
public static final AccessLevel CONFIDENTIAL
This literal represents the Confidential access level for business objects.
CONFIDENTIAL_VALUE
public static final AccessLevel PRIVATE
This literal represents the Private access level for business objects.
PRIVATE_VALUE
Field Detail |
---|
public static final int PUBLIC_VALUE
PUBLIC
,
Constant Field Valuespublic static final int CONTROLLED_VALUE
CONTROLLED
,
Constant Field Valuespublic static final int RESTRICTED_VALUE
RESTRICTED
,
Constant Field Valuespublic static final int CONFIDENTIAL_VALUE
CONFIDENTIAL
,
Constant Field Valuespublic static final int PRIVATE_VALUE
PRIVATE
,
Constant Field Valuespublic static final java.util.List<AccessLevel> VALUES
Method Detail |
---|
public static AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel 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 static AccessLevel get(java.lang.String literal)
literal
- The enumerator literal as a string
AccessLevel
object
public static AccessLevel getByName(java.lang.String name)
name
- The literal name of the enumerator
AccessLevel
object
public static AccessLevel get(int value)
value
- The literal integer value of the enumerator
AccessLevel
object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<AccessLevel>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |