Lines Matching refs:Permission
31 * Abstract class representing a collection of Permission objects.
42 * <p>When it is desirable to group together a number of Permission objects
44 * particular type of Permission object should first be called. The default
45 * behavior (from the Permission class) is to simply return null.
46 * Subclasses of class Permission override the method if they need to store
57 * <code>Permission.newPermissionCollection</code>
58 * method is a homogeneous collection, which stores only Permission objects
59 * for a given Permission type. A PermissionCollection may also be
88 * @see Permission
105 * @param permission the Permission object to add.
113 public abstract void add(Permission permission);
117 * the collection of Permission objects held in this PermissionCollection.
119 * @param permission the Permission object to compare.
124 public abstract boolean implies(Permission permission);
127 * Returns an enumeration of all the Permission objects in the collection.
131 public abstract Enumeration<Permission> elements();
136 * is marked as readonly, no new Permission objects can be added to it
145 * If it is readonly, no new Permission objects can be added to it
164 * // enumerate all the Permission
181 Enumeration<Permission> enum_ = elements();