public class AdminRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADD_ADMIN |
static int |
ADD_HANDLE |
static int |
ADD_NAMING_AUTH |
static int |
ADD_VALUE |
byte[] |
adminId |
int |
adminIdIndex |
static int |
DELETE_HANDLE |
static int |
DELETE_NAMING_AUTH |
static int |
LIST_HANDLES |
static int |
MODIFY_ADMIN |
static int |
MODIFY_VALUE |
boolean[] |
perms |
static boolean |
PRM_ADD_ADMIN |
static boolean |
PRM_ADD_HANDLE |
static boolean |
PRM_ADD_NA |
static boolean |
PRM_ADD_VALUE |
static boolean |
PRM_DELETE_HANDLE |
static boolean |
PRM_DELETE_NA |
static boolean |
PRM_LIST_HANDLES |
static boolean |
PRM_MODIFY_ADMIN |
static boolean |
PRM_MODIFY_VALUE |
static boolean |
PRM_NO_ADD_ADMIN |
static boolean |
PRM_NO_ADD_HANDLE |
static boolean |
PRM_NO_ADD_NA |
static boolean |
PRM_NO_ADD_VALUE |
static boolean |
PRM_NO_DELETE_HANDLE |
static boolean |
PRM_NO_DELETE_NA |
static boolean |
PRM_NO_LIST_HANDLES |
static boolean |
PRM_NO_MODIFY_ADMIN |
static boolean |
PRM_NO_MODIFY_VALUE |
static boolean |
PRM_NO_READ_VALUE |
static boolean |
PRM_NO_REMOVE_ADMIN |
static boolean |
PRM_NO_REMOVE_VALUE |
static boolean |
PRM_READ_VALUE |
static boolean |
PRM_REMOVE_ADMIN |
static boolean |
PRM_REMOVE_VALUE |
static int |
READ_VALUE |
static int |
REMOVE_ADMIN |
static int |
REMOVE_VALUE |
Constructor and Description |
---|
AdminRecord()
Null constructor
|
AdminRecord(byte[] adminId,
int adminIdIndex,
boolean addHandle,
boolean deleteHandle,
boolean addNA,
boolean deleteNA,
boolean modifyValue,
boolean removeValue,
boolean addValue,
boolean modifyAdmin,
boolean removeAdmin,
boolean addAdmin,
boolean readValue,
boolean listHandles)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
String representation of object (Admin's handle, index, and permissions)
|
public byte[] adminId
public int adminIdIndex
public static final int ADD_HANDLE
public static final int DELETE_HANDLE
public static final int ADD_NAMING_AUTH
public static final int DELETE_NAMING_AUTH
public static final int MODIFY_VALUE
public static final int REMOVE_VALUE
public static final int ADD_VALUE
public static final int READ_VALUE
public static final int MODIFY_ADMIN
public static final int REMOVE_ADMIN
public static final int ADD_ADMIN
public static final int LIST_HANDLES
public static final boolean PRM_ADD_HANDLE
public static final boolean PRM_NO_ADD_HANDLE
public static final boolean PRM_DELETE_HANDLE
public static final boolean PRM_NO_DELETE_HANDLE
public static final boolean PRM_ADD_NA
public static final boolean PRM_NO_ADD_NA
public static final boolean PRM_DELETE_NA
public static final boolean PRM_NO_DELETE_NA
public static final boolean PRM_READ_VALUE
public static final boolean PRM_NO_READ_VALUE
public static final boolean PRM_MODIFY_VALUE
public static final boolean PRM_NO_MODIFY_VALUE
public static final boolean PRM_REMOVE_VALUE
public static final boolean PRM_NO_REMOVE_VALUE
public static final boolean PRM_ADD_VALUE
public static final boolean PRM_NO_ADD_VALUE
public static final boolean PRM_MODIFY_ADMIN
public static final boolean PRM_NO_MODIFY_ADMIN
public static final boolean PRM_REMOVE_ADMIN
public static final boolean PRM_NO_REMOVE_ADMIN
public static final boolean PRM_ADD_ADMIN
public static final boolean PRM_NO_ADD_ADMIN
public static final boolean PRM_LIST_HANDLES
public static final boolean PRM_NO_LIST_HANDLES
public boolean[] perms
public AdminRecord()
public AdminRecord(byte[] adminId, int adminIdIndex, boolean addHandle, boolean deleteHandle, boolean addNA, boolean deleteNA, boolean modifyValue, boolean removeValue, boolean addValue, boolean modifyAdmin, boolean removeAdmin, boolean addAdmin, boolean readValue, boolean listHandles)