- All Implemented Interfaces:
Serializable
,Comparable<PortalItem.Access>
,Constable
- Enclosing class:
PortalItem
Signifies the level of access to a portal item.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAccess level is organization.Access level is private.Access level is public.Access level is shared.Access level is unknown. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a string representing the access level.static PortalItem.Access
Returns the enum constant of this class with the specified name.static PortalItem.Access[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRIVATE
Access level is private.- Since:
- 100.0.0
-
ORGANIZATION
Access level is organization.- Since:
- 100.0.0
-
PUBLIC
Access level is public.- Since:
- 100.0.0
-
SHARED
Access level is shared.- Since:
- 100.0.0
-
UNKNOWN
Access level is unknown.- Since:
- 100.0.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
Returns a string representing the access level.- Overrides:
toString
in classEnum<PortalItem.Access>
- Returns:
- a string representing the access level
- Since:
- 100.0.0
-