Package com.sap.ecm.api
Enum RepositoryOptions.Visibility
- All Implemented Interfaces:
Serializable
,Comparable<RepositoryOptions.Visibility>
,Constable
- Enclosing class:
- RepositoryOptions
Specifies the repository visibility level. This options should be carefully considered as it
directly impacts the visibility and isolation of the repository.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA CERTPROTECTED repository can only be accessed with a valid certificate.A private repository is visible only to the application which created the repository.A protected repository is secured with an authentication key, that is provided by the application.A public repository is not protected and can be accessed from all applications that know the unique name or id of the repository. -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryOptions.Visibility
Returns the enum constant of this type with the specified name.static RepositoryOptions.Visibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRIVATE
A private repository is visible only to the application which created the repository. All other applications cannot access this repository. Note: PRIVATE repositories are not supported yet! -
PROTECTED
A protected repository is secured with an authentication key, that is provided by the application. All applications that know this authentication key can access this repository. -
CERTPROTECTED
A CERTPROTECTED repository can only be accessed with a valid certificate. Note: CERTPROTECTED repositories are not intended for public use and unsupported. -
PUBLIC
A public repository is not protected and can be accessed from all applications that know the unique name or id of the repository. Note: PUBLIC repositories are not supported yet!
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-