![]() |
|
Contents |
Inherited by FilePermissionCollection, SocketPermissionCollection, AllPermissionCollection, BasicPermissionCollection, Permissions, PermissionsHash, UnresolvedPermissionCollection, PropertyPermissionCollection, KrbDelegationPermissionCollection, and KrbServicePermissionCollection.
Public Member Functions | |
| abstract void | add (Permission permission) |
| Adds the argument to the collection. | |
| abstract Enumeration< Permission > | elements () |
| Answers an enumeration of the permissions in the receiver. | |
| abstract boolean | implies (Permission permission) |
| Indicates whether the argument permission is implied by the permissions contained in the receiver. | |
| boolean | isReadOnly () |
| Indicates whether new permissions can be added to the receiver. | |
| void | setReadOnly () |
| Marks the receiver as read only, so that no new permissions can be added to it. | |
| String | toString () |
| Answers a string containing a concise, human-readable description of the receiver. | |
Private Attributes | |
| boolean | readOnly |
| .intel.drl.spec_ref | |
Static Private Attributes | |
| static final long | serialVersionUID = -6727011328946861783L |
| .intel.drl.spec_ref | |
| abstract void add | ( | Permission | permission | ) | [pure virtual] |
Adds the argument to the collection.
| permission | java.security.Permission the permission to add to the collection. |
| IllegalStateException | if the collection is read only. |
Implemented in KrbDelegationPermissionCollection, KrbServicePermissionCollection, FilePermissionCollection, SocketPermissionCollection, PropertyPermissionCollection, AllPermissionCollection, BasicPermissionCollection, Permissions, PermissionsHash, and UnresolvedPermissionCollection.
| abstract Enumeration<Permission> elements | ( | ) | [pure virtual] |
Answers an enumeration of the permissions in the receiver.
Implemented in KrbDelegationPermissionCollection, KrbServicePermissionCollection, FilePermissionCollection, SocketPermissionCollection, PropertyPermissionCollection, AllPermissionCollection, BasicPermissionCollection, Permissions, PermissionsHash, and UnresolvedPermissionCollection.
| abstract boolean implies | ( | Permission | permission | ) | [pure virtual] |
Indicates whether the argument permission is implied by the permissions contained in the receiver.
true if the argument permission is implied by the permissions in the receiver, and false if it is not. | permission | java.security.Permission the permission to check |
Implemented in KrbDelegationPermissionCollection, KrbServicePermissionCollection, FilePermissionCollection, SocketPermissionCollection, PropertyPermissionCollection, AllPermissionCollection, BasicPermissionCollection, Permissions, PermissionsHash, and UnresolvedPermissionCollection.
| boolean isReadOnly | ( | ) |
Indicates whether new permissions can be added to the receiver.
true if the receiver is read only false if new elements can still be added to the receiver. | void setReadOnly | ( | ) |
Marks the receiver as read only, so that no new permissions can be added to it.
| String toString | ( | ) |
Answers a string containing a concise, human-readable description of the receiver.
final long serialVersionUID = -6727011328946861783L [static, private] |
.intel.drl.spec_ref
Reimplemented in KrbDelegationPermissionCollection, KrbServicePermissionCollection, FilePermissionCollection, SocketPermissionCollection, PropertyPermissionCollection, AllPermissionCollection, BasicPermissionCollection, Permissions, PermissionsHash, and UnresolvedPermissionCollection.
boolean readOnly [private] |
.intel.drl.spec_ref