Enum Class ExtRepositoryObject.ExtRepositoryPermission
java.lang.Object
java.lang.Enum<ExtRepositoryObject.ExtRepositoryPermission>
com.liferay.document.library.repository.external.ExtRepositoryObject.ExtRepositoryPermission
- All Implemented Interfaces:
Serializable
,Comparable<ExtRepositoryObject.ExtRepositoryPermission>
,Constable
- Enclosing interface:
- ExtRepositoryObject
public static enum ExtRepositoryObject.ExtRepositoryPermission
extends Enum<ExtRepositoryObject.ExtRepositoryPermission>
Holds the permissions that external repositories must support. In this
context, the external repository implementation may be asked about a
permission, and it must answer correctly, but is not required to fully
implement it.
For instance, an external repository must not fail when asked about the
ADD_SHORTCUT
permission, even if the back-end external
repository does not support shortcuts. However, it can return
false
when asked for that permission.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCESS
-
ADD_DISCUSSION
-
ADD_DOCUMENT
-
ADD_FOLDER
-
ADD_SHORTCUT
-
ADD_SUBFOLDER
-
DELETE
-
DELETE_DISCUSSION
-
PERMISSIONS
-
UPDATE
-
UPDATE_DISCUSSION
-
VIEW
-
-
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
-