Enum SaWsRight

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SaWsRight>

    public enum SaWsRight
    extends java.lang.Enum<SaWsRight>
    Webservice enum to represent right flags.
    • Enum Constant Detail

      • VISIBLE

        public static final SaWsRight VISIBLE
        visible.
      • READ

        public static final SaWsRight READ
        read.
      • ANNOTATIONS

        public static final SaWsRight ANNOTATIONS
        annotations.
      • BLACK_MARKER

        public static final SaWsRight BLACK_MARKER
        black marker.
      • MODIFY_INDEX

        public static final SaWsRight MODIFY_INDEX
        modify index.
      • EXPAND_INDEX

        public static final SaWsRight EXPAND_INDEX
        expand index.
      • MODIFY_DATA

        public static final SaWsRight MODIFY_DATA
        modify data.
      • MODIFY

        public static final SaWsRight MODIFY
        modify.
      • DELETE

        public static final SaWsRight DELETE
        delete.
      • PERMISSIONS

        public static final SaWsRight PERMISSIONS
        permissions.
      • RESTORE_BLACK_MARKER

        public static final SaWsRight RESTORE_BLACK_MARKER
        restore black marker.
      • RELEASE_DOCUMENT

        public static final SaWsRight RELEASE_DOCUMENT
        release document.
      • READ_VERSION_HISTORY

        public static final SaWsRight READ_VERSION_HISTORY
        read version history.
      • RESTORE_VERSION

        public static final SaWsRight RESTORE_VERSION
        restore version.
      • EXPORT_DOCUMENT

        public static final SaWsRight EXPORT_DOCUMENT
        export document.
      • RECORDS_MANAGEMENT

        public static final SaWsRight RECORDS_MANAGEMENT
        records management.
    • Field Detail

      • COMPLETE

        public static final java.util.EnumSet<SaWsRight> COMPLETE
        Enum set of all contained SaWsRights.
      • COMPLETE_LIST

        public static final java.util.List<SaWsRight> COMPLETE_LIST
        List of all contained SaWsRights.
    • Method Detail

      • values

        public static SaWsRight[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SaWsRight c : SaWsRight.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SaWsRight valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getSymbol

        public java.lang.String getSymbol()
        Returns the symbol (letter) of this instance.
        Returns:
        the symbol of this instance.
      • fromBackend

        public static java.util.List<SaWsRight> fromBackend​(com.saperion.rmi.SaACLRights aclRights)
        Creates and returns a list of SaWsRights from the given SaACLRights.
        Parameters:
        aclRights - the SaACLRights to map.
        Returns:
        the created list of SaWsRights.