com.ibm.as400.access

Class DLOPermission

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class DLOPermission
    extends UserPermission

    The DLOPermission class represents the permission for the specfied user for document library objects (DLO) stored in QDLS.

    A user can have one of the following authorities to a document library object can have one of the following values:

    • *ALL
    • *AUTL
    • *CHANGE
    • *EXCLUDE
    • *USE
    • USER DEFINED.
    Use getAuthority() to display the current value and the setAuthority() to set the authority to one of the valid values. Use commit() from the Permission class to send the changes to the system.
    See Also:
    Serialized Form
    • Constructor Detail

      • DLOPermission

        public DLOPermission(java.lang.String userProfileName)
        Constructs a DLOPermission object. This is the permission of the specified user.
        Parameters:
        userProfileName - The name of the user profile.
    • Method Detail

      • getDataAuthority

        public java.lang.String getDataAuthority()
        Returns the data authority of the user.
        Returns:
        The data authority of the user. The possible values are:
        • *ALL The user can perform all operations except those limited to the owner or controlled by authorization list management authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user can also change ownership of the object.
        • *AUTL The authority of the authorization list is used for the document. This is valid for user *PUBLIC.
        • *CHANGE The user can change and perform basic functions on the object. Change authority provides object operational authority and all data authorities.
        • *EXCLUDE The user cannot access the object.
        • *USE The user has object operational authority, read authority, and execute authority.
        • USER DEFINED The user has specifically defined authority to the object.
        See Also:
        setDataAuthority(String)
      • setDataAuthority

        public void setDataAuthority(java.lang.String authority)
        Sets the data authority of the user.
        Parameters:
        authority - The data authority of the user.

        Valid values are:

        • *ALL The user can perform all operations except those limited to the owner or controlled by authorization list management authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user can also change ownership of the object.
        • *AUTL The authority of the authorization list is used for the document. This is valid for user *PUBLIC.
        • *CHANGE The user can change and perform basic functions on the object. Change authority provides object operational authority and all data authorities.
        • *EXCLUDE The user cannot access the object.
        • *USE The user has object operational authority, read authority, and execute authority.