public interface InstanceLevelPrivilege
Modifier and Type | Interface and Description |
---|---|
static class |
InstanceLevelPrivilege.PrivilegeValue
Defines the possible privilege values.
|
Modifier and Type | Method and Description |
---|---|
InstanceLevelPrivilege.PrivilegeValue |
getPrivilege()
Gets the privilege value.
|
boolean |
hasPrivilege(InstanceLevelPrivilege.PrivilegeValue privilege)
Determines whether this privilege has or implies the requested privilege value.
|
void |
setPrivilege(InstanceLevelPrivilege.PrivilegeValue privilege)
Sets the privilege value.
|
boolean hasPrivilege(InstanceLevelPrivilege.PrivilegeValue privilege) throws javax.xml.registry.JAXRException
privilege
- the privilege to be checkedjavax.xml.registry.JAXRException
- if an internal error occurs.void setPrivilege(InstanceLevelPrivilege.PrivilegeValue privilege) throws javax.xml.registry.JAXRException
privilege
- the privilege to be setjavax.xml.registry.JAXRException
- if an internal error occurs on setting the privilege.InstanceLevelPrivilege.PrivilegeValue getPrivilege() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on getting the privilege.