com.ibm.jarm.api.constants

Enum RMAccessRight

  • java.lang.Object
    • java.lang.Enum<RMAccessRight>
      • com.ibm.jarm.api.constants.RMAccessRight
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      AddMarking
      Specifies the right to allow or deny permission to assign a Marking to a repository object.
      ChangeState
      Specifies the right to allow or deny permission to change the lifecycle state of a repository object.
      CreateInstance
      Specifies the right to allow or deny permission to create an instance of a repository object.
      Delete
      Specifies the right to allow or deny permission to delete an instance of a repository object.
      Link
      Specifies the right to allow or deny permission to link to an instance of a repository object.
      MajorVersion
      Specifies the right to allow or deny permission to create a major version of a repository document.
      MinorVersion
      Specifies the right to allow or deny permission to create a minor version of a repository document.
      None
      Specifies no access rights to an object.
      Read
      Specifies the right to allow or deny permission to view properties of a repository object.
      ReadACL
      Specifies the right to allow or deny permission to view the security of a repository object.
      RemoveMarking
      Specifies the right to allow or deny permission to remove a Marking from a repository object.
      Unlink
      Specifies the right to allow or deny permission to unlink from an instance of a repository object.
      UseMarking
      Determines whether or not the Marking constraint mask is applied.
      ViewContent
      Specifies the right to allow or deny permission to view content of a repository object.
      Write
      Specifies the right to allow or deny permission to modify the properties of a repository object.
      WriteACL
      Specifies the right to allow or deny permission to modify the security of a repository object.
      WriteAnyOwner
      Specifies the right to allow or deny the ability to change the owner of a repository object to another user.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getIntValue()
      Returns the integer value associated with this member.
      static RMAccessRight valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RMAccessRight[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • AddMarking

        public static final RMAccessRight AddMarking
        Specifies the right to allow or deny permission to assign a Marking to a repository object.
      • ChangeState

        public static final RMAccessRight ChangeState
        Specifies the right to allow or deny permission to change the lifecycle state of a repository object.
      • CreateInstance

        public static final RMAccessRight CreateInstance
        Specifies the right to allow or deny permission to create an instance of a repository object.
      • Delete

        public static final RMAccessRight Delete
        Specifies the right to allow or deny permission to delete an instance of a repository object.
      • Link

        public static final RMAccessRight Link
        Specifies the right to allow or deny permission to link to an instance of a repository object.
      • MajorVersion

        public static final RMAccessRight MajorVersion
        Specifies the right to allow or deny permission to create a major version of a repository document.
      • MinorVersion

        public static final RMAccessRight MinorVersion
        Specifies the right to allow or deny permission to create a minor version of a repository document.
      • None

        public static final RMAccessRight None
        Specifies no access rights to an object.
      • Read

        public static final RMAccessRight Read
        Specifies the right to allow or deny permission to view properties of a repository object.
      • ReadACL

        public static final RMAccessRight ReadACL
        Specifies the right to allow or deny permission to view the security of a repository object.
      • RemoveMarking

        public static final RMAccessRight RemoveMarking
        Specifies the right to allow or deny permission to remove a Marking from a repository object.
      • Unlink

        public static final RMAccessRight Unlink
        Specifies the right to allow or deny permission to unlink from an instance of a repository object.
      • UseMarking

        public static final RMAccessRight UseMarking
        Determines whether or not the Marking constraint mask is applied.
      • ViewContent

        public static final RMAccessRight ViewContent
        Specifies the right to allow or deny permission to view content of a repository object.
      • Write

        public static final RMAccessRight Write
        Specifies the right to allow or deny permission to modify the properties of a repository object.
      • WriteACL

        public static final RMAccessRight WriteACL
        Specifies the right to allow or deny permission to modify the security of a repository object.
      • WriteAnyOwner

        public static final RMAccessRight WriteAnyOwner
        Specifies the right to allow or deny the ability to change the owner of a repository object to another user.
    • Method Detail

      • values

        public static RMAccessRight[] 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 (RMAccessRight c : RMAccessRight.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RMAccessRight 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
      • getIntValue

        public int getIntValue()
        Returns the integer value associated with this member.
        Returns:
        An int value.

© Copyright IBM Corp. 2010, 2013. All Rights Reserved.