All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.DLOPermission

java.lang.Object
   |
   +----com.ibm.as400.access.UserPermission
           |
           +----com.ibm.as400.access.DLOPermission

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:

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 AS/400.


Constructor Index

 o DLOPermission(String)
Constructs a DLOPermission object.

Method Index

 o getDataAuthority()
Returns the data authority of the user.
 o setDataAuthority(String)
Sets the data authority of the user.

Constructors

 o DLOPermission
 public DLOPermission(String userProfileName)
Constructs a DLOPermission object. This is the permission of the specified user.

Parameters:
userProfileName - The name of the user profile.

Methods

 o getDataAuthority
 public 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
 o setDataAuthority
 public synchronized void setDataAuthority(String authority)
Sets the data authority of the user.

Parameters:
dataAuthority - 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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index