Home | History | Annotate | Download | only in acl

Lines Matching defs:Owner

28 public interface Owner {
35 * @param owner
36 * the owner to added.
37 * @return {@code true} if the owner was added, {@code false} if it was already an owner.
39 * if the invoking principal is not an owner.
41 boolean addOwner(Principal caller, Principal owner)
49 * @param owner
50 * the owner to be removed.
51 * @return {@code true} if the owner was removed, {@code false} if it was not an owner.
53 * if the invoking principal is not an owner.
55 * if the owner to be removed is the last owner and hence removing it
56 * would make this object owner-less.
58 boolean deleteOwner(Principal caller, Principal owner)
62 * Checks whether the specified principal is an owner of this object.
64 * @param owner
66 * @return {@code true} if the specified principal is an owner, otherwise {@code false}.
68 boolean isOwner(Principal owner);