Owner.deleteOwner
Interface Overview | Interface Members |
This Package |
All Packages
public abstract boolean deleteOwner( Principal caller,
Principal owner ) throws NotOwnerException, LastOwnerException
Parameters
- caller
- the principal invoking this method. It must be an owner
of the ACL.
- owner
- the owner to be removed from the list of owners.
Returns
true if the owner is removed, false if the owner is not part
of the list of owners.
Description
Deletes an owner. If this is the last owner in the ACL, an exception is
raised.
The caller principal must be an owner of the ACL in order to invoke
this method.
Exceptions
NotOwnerException
if the caller principal is not an owner
of the ACL.
Exceptions
LastOwnerException
if there is only one owner left, so that
deleteOwner would leave the ACL owner-less.