Lines Matching defs:permission
69 * Adds the specified permission to this ACL entry.
71 * @param permission
72 * the permission to be added.
73 * @return {@code true} if the specified permission is added, {@code false} if the
74 * permission was already in this entry.
76 boolean addPermission(Permission permission);
79 * Removes the specified permission from this ACL entry.
81 * @param permission
82 * the permission to be removed.
83 * @return {@code true} if the permission is removed, {@code false} if the permission was
86 boolean removePermission(Permission permission);
89 * Checks whether the specified permission is in this ACL entry.
91 * @param permission
92 * the permission to check.
93 * @return {@code true} if the permission is in this entry, otherwise {@code false}.
95 boolean checkPermission(Permission permission);