|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.as400.access.UserObjectsOwnedListEntry
public class UserObjectsOwnedListEntry extends Object
This entry represents a single IBM i object that a user owns or is authorized to.
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 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 String |
AUTHORITY_VALUE_CHANGE
Special authority value indicating that the user has object operational and all data authorities to the object. |
static 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 String |
AUTHORITY_VALUE_USE
Special authority value indicating that the user has object operational and data read and execute authorities to the object. |
static 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 |
---|---|
String |
getAspDeviceNameOfLibrary()
Returns the auxiliary storage pool (ASP) device name where the object's library is stored. |
String |
getAspDeviceNameOfObject()
Returns the auxiliary storage pool (ASP) device name where the object is stored. |
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. |
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. |
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. |
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. |
String |
getObjectType()
Returns the type of object the user is authorized to, owns, or is the primary group of. |
String |
getOwnership()
Returns whether the user owns the object or is the primary group for the object. |
String |
getPathName()
Returns the path name of the object the user owns, is authorized to, or is the primary group for. |
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. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String AUTHORITY_VALUE_ALL
public static final String AUTHORITY_VALUE_CHANGE
public static final String AUTHORITY_VALUE_USE
public static final String AUTHORITY_VALUE_EXCLUDE
public static final String AUTHORITY_VALUE_USER_DEF
Method Detail |
---|
public String getObjectName()
isQSYSObjectEntry()
is false.public String getLibraryName()
isQSYSObjectEntry()
is false.public String getObjectType()
public boolean getAuthorityHolder()
public String getOwnership()
public 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 String getAttribute()
public String getTextDescription()
public boolean getDataExecute()
public boolean getObjectAlter()
public boolean getObjectReference()
public String getAspDeviceNameOfLibrary()
isQSYSObjectEntry()
is false.public String getAspDeviceNameOfObject()
public String getPathName()
isQSYSObjectEntry()
is true.public boolean isQSYSObjectEntry()
Some fields are not valid for QSYS vs IFS directory based objects. Refer to:
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |