com.ibm.as400.access
Class DLOPermission
- java.lang.Object
-
- com.ibm.as400.access.UserPermission
-
- com.ibm.as400.access.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.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.as400.access.UserPermission
GROUPINDICATOR_GROUP, GROUPINDICATOR_SPECIALVALUE, GROUPINDICATOR_USER
-
-
Constructor Summary
Constructors Constructor and Description DLOPermission(java.lang.String userProfileName)
Constructs a DLOPermission object.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getDataAuthority()
Returns the data authority of the user.void
setDataAuthority(java.lang.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
-
-
-
-
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.
-
-