Package com.saperion.ws.wrapper
Enum Class SaWsRight
- All Implemented Interfaces:
Serializable
,Comparable<SaWsRight>
,Constable
Webservice enum to represent right flags.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionannotations.black marker.delete.expand index.export document.modify.modify data.modify index.permissions.read.read version history.records management.release document.restore black marker.restore version.visible. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfromBackend
(com.saperion.rmi.SaACLRights aclRights) Creates and returns a list of SaWsRights from the given SaACLRights.Returns the symbol (letter) of this instance.static SaWsRight
Returns the enum constant of this class with the specified name.static SaWsRight[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VISIBLE
visible. -
READ
read. -
ANNOTATIONS
annotations. -
BLACK_MARKER
black marker. -
MODIFY_INDEX
modify index. -
EXPAND_INDEX
expand index. -
MODIFY_DATA
modify data. -
MODIFY
modify. -
DELETE
delete. -
PERMISSIONS
permissions. -
RESTORE_BLACK_MARKER
restore black marker. -
RELEASE_DOCUMENT
release document. -
READ_VERSION_HISTORY
read version history. -
RESTORE_VERSION
restore version. -
EXPORT_DOCUMENT
export document. -
RECORDS_MANAGEMENT
records management.
-
-
Field Details
-
COMPLETE
Enum set of all contained SaWsRights. -
COMPLETE_LIST
List of all contained SaWsRights.
-
-
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
-
getSymbol
Returns the symbol (letter) of this instance.- Returns:
- the symbol of this instance.
-
fromBackend
Creates and returns a list of SaWsRights from the given SaACLRights.- Parameters:
aclRights
- the SaACLRights to map.- Returns:
- the created list of SaWsRights.
-