public class UserObjectsOwnedListEntry
extends java.lang.Object
Each entry corresponds to an entry from the QSYLOBJA API (format OBJA0300 or OBJA0310).
Instances of this class are created by the UserObjectsOwnedList.getObjectList()
method.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHORITY_VALUE_ALL
Special authority value indicating that the user has all object (operational, management, existence, alter and reference) and
data (read, add, update, delete, and execute) authorities to the object.
|
static java.lang.String |
AUTHORITY_VALUE_CHANGE
Special authority value indicating that the user has object operational and all data authorities to the object.
|
static java.lang.String |
AUTHORITY_VALUE_EXCLUDE
Special authority value indicating that the user has none of the object or data authorities to the object, or authorization list management authority.
|
static java.lang.String |
AUTHORITY_VALUE_USE
Special authority value indicating that the user has object operational and data read and execute authorities to the object.
|
static java.lang.String |
AUTHORITY_VALUE_USER_DEF
Special authority value indicating that the user has some combination of object and data authorities that do not relate to a special value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAspDeviceNameOfLibrary()
Returns the auxiliary storage pool (ASP) device name where the object's
library is stored.
|
java.lang.String |
getAspDeviceNameOfObject()
Returns the auxiliary storage pool (ASP) device name where the object
is stored.
|
java.lang.String |
getAttribute()
Returns the object's attribute.
|
boolean |
getAuthorityHolder()
Returns whether the object is an authority holder.
|
boolean |
getAuthorityListManagement()
Returns whether the user has authorization list management authority to the
object.
|
java.lang.String |
getAuthorityValue()
Returns the special value indicating the user's authority to the object.
|
boolean |
getDataAdd()
Returns whether the user has data add authority to the object.
|
boolean |
getDataDelete()
Returns whether the user has data delete authority to the object.
|
boolean |
getDataExecute()
Returns whether the user has data execute authority to the object.
|
boolean |
getDataRead()
Returns whether the user has data read authority to the object.
|
boolean |
getDataUpdate()
Returns whether the user has data update authority to the object.
|
java.lang.String |
getLibraryName()
Returns the name of the library containing the object.
|
boolean |
getObjectAlter()
Returns whether the user has object alter authority to the object.
|
boolean |
getObjectExistence()
Returns whether the user has object existence authority to the object.
|
boolean |
getObjectManagement()
Returns whether the user has object management authority to the object.
|
java.lang.String |
getObjectName()
Returns the name of the object the user is authorized to, owns, or is the primary group for.
|
boolean |
getObjectOperational()
Returns whether the user has object operational authority to the object.
|
boolean |
getObjectReference()
Returns whether the user has object reference authority to the object.
|
java.lang.String |
getObjectType()
Returns the type of object the user is authorized to, owns, or is the primary group of.
|
java.lang.String |
getOwnership()
Returns whether the user owns the object or is the primary group for the object.
|
java.lang.String |
getPathName()
Returns the path name of the object the user owns, is authorized to, or is the primary group for.
|
java.lang.String |
getTextDescription()
Returns the text description of the object.
|
boolean |
isQSYSObjectEntry()
Indicates if this UserObjectsOwnedListEntry is for a QSYS library based object vs an IFS directory based object.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public static final java.lang.String AUTHORITY_VALUE_ALL
public static final java.lang.String AUTHORITY_VALUE_CHANGE
public static final java.lang.String AUTHORITY_VALUE_USE
public static final java.lang.String AUTHORITY_VALUE_EXCLUDE
public static final java.lang.String AUTHORITY_VALUE_USER_DEF
public java.lang.String getObjectName()
isQSYSObjectEntry()
is false.public java.lang.String getLibraryName()
isQSYSObjectEntry()
is false.public java.lang.String getObjectType()
public boolean getAuthorityHolder()
public java.lang.String getOwnership()
public java.lang.String getAuthorityValue()
UserObjectsOwnedListEntry.AUTHORITY_VALUE_ALL
- The user has all object (operational, management, existence, alter and reference) and
data (read, add, update, delete, and execute) authorities to the object.
UserObjectsOwnedListEntry.AUTHORITY_VALUE_CHANGE
- The user has object operational and all data authorities to the object.
UserObjectsOwnedListEntry.AUTHORITY_VALUE_USE
- The user has object operational and data read and execute authorities to the object.
UserObjectsOwnedListEntry.AUTHORITY_VALUE_EXCLUDE
- The user has none of the object or data authorities to the object, or authorization list management authority.
UserObjectsOwnedListEntry.AUTHORITY_VALUE_USER_DEF
- The user has some combination of object and data authorities that do not relate to a special value.
The individual authorities for the user should be checked to determine what authority the user has to the object.
This value is returned if the user owns an object and all authority for the user to the object has been removed.
If this happens, all individual authority fields are set to false.
public boolean getAuthorityListManagement()
public boolean getObjectOperational()
public boolean getObjectManagement()
public boolean getObjectExistence()
public boolean getDataRead()
public boolean getDataAdd()
public boolean getDataUpdate()
public boolean getDataDelete()
public java.lang.String getAttribute()
public java.lang.String getTextDescription()
public boolean getDataExecute()
public boolean getObjectAlter()
public boolean getObjectReference()
public java.lang.String getAspDeviceNameOfLibrary()
isQSYSObjectEntry()
is false.public java.lang.String getAspDeviceNameOfObject()
public java.lang.String getPathName()
isQSYSObjectEntry()
is true.public boolean isQSYSObjectEntry()
Some fields are not valid for QSYS vs IFS directory based objects. Refer to:
public java.lang.String toString()
toString
in class java.lang.Object