com.ibm.as400.access
Class DLOPermission

java.lang.Object
  extended by com.ibm.as400.access.UserPermission
      extended by com.ibm.as400.access.DLOPermission
All Implemented Interfaces:
Serializable, 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:

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

Field Summary
 
Fields inherited from class com.ibm.as400.access.UserPermission
GROUPINDICATOR_GROUP, GROUPINDICATOR_SPECIALVALUE, GROUPINDICATOR_USER
 
Constructor Summary
DLOPermission(String userProfileName)
          Constructs a DLOPermission object.
 
Method Summary
 String getDataAuthority()
          Returns the data authority of the user.
 void setDataAuthority(String authority)
          Sets the data authority of the user.
 
Methods inherited from class com.ibm.as400.access.UserPermission
clone, getGroupIndicator, getUserID, isAuthorizationListManagement, isFromAuthorizationList, setAuthorizationListManagement, setFromAuthorizationList
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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(String)

setDataAuthority

public void setDataAuthority(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.