Lines Matching defs:Permission

32  * particular Permission subclass.
34 * <p>Most Permission objects also include an "actions" list that tells the actions
40 * The actions list is optional for Permission objects, such as
52 * <P> Permission objects are similar to String objects in that they
65 public abstract class Permission implements Guard, java.io.Serializable {
74 * @param name name of the Permission object being created.
78 public Permission(String name) {
109 * This must be implemented by subclasses of Permission, as they are the
110 * only ones that can impose semantics on a Permission object.
122 public abstract boolean implies(Permission permission);
125 * Checks two Permission objects for equality.
132 * @return true if both Permission objects are equivalent.
138 * Returns the hash code value for this Permission object.
140 * The required <code>hashCode</code> behavior for Permission Objects is
143 * <li>Whenever it is invoked on the same Permission object more than
149 * <li>If two Permission objects are equal according to the
152 * two Permission objects must produce the same integer result.
161 * Returns the name of this Permission.
165 * @return the name of this Permission.
189 * @return the actions of this Permission.
196 * Returns an empty PermissionCollection for a given Permission object, or null if
197 * one is not defined. Subclasses of class Permission should
206 * @return a new PermissionCollection object for this type of Permission, or
215 * Returns a string describing this Permission. The convention is to
220 * @return information about this Permission.