All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.PermissionList

java.lang.Object
   |
   +----key.PermissionList

public class PermissionList
extends Object
implements Storable

Variable Index

 o DEFAULT_LIMIT

Constructor Index

 o PermissionList(Atom)

Method Index

 o actionRegistered(Action)
 o allow(Action)
 o allow(Tag, Action)
 o check(Action)
 o check(Tag, Action)
 o clear(Tag, Action)
 o count()
 o deallocate()
 o deleteEntryFor(Tag)
 o deny(Action)
 o deny(Tag, Action)
 o elements()
 o getEntryFor(Tag)
 o getLimit()
 o getParent()
 o isAllowingByDefault(Action)
 o loadFrom(DataInput)
 o newEntry(PermissionListEntry)
 o permissionCheck(Action, boolean)
Checks the permissions for the currently running thread.
 o resolve()
 o setLimit(int)
 o toString()
 o toString(boolean)
 o writeTo(DataOutput)

Variables

 o DEFAULT_LIMIT
 public static final int DEFAULT_LIMIT

Constructors

 o PermissionList
 public PermissionList(Atom p)

Methods

 o deallocate
 public final void deallocate()
 o setLimit
 public final void setLimit(int i)
 o getLimit
 public final int getLimit()
 o actionRegistered
 public final boolean actionRegistered(Action a)
 o elements
 public Enumeration elements()
 o resolve
 public void resolve()
 o count
 public int count()
 o allow
 public void allow(Action action)
 o deny
 public void deny(Action action)
 o allow
 public void allow(Tag tag,
                   Action action)
 o deny
 public void deny(Tag tag,
                  Action action)
 o clear
 public void clear(Tag tag,
                   Action action)
 o deleteEntryFor
 public void deleteEntryFor(Tag tag)
 o getEntryFor
 public PermissionListEntry getEntryFor(Tag tag)
 o isAllowingByDefault
 public boolean isAllowingByDefault(Action action)
 o check
 public boolean check(Tag tag,
                      Action action)
 o check
 public void check(Action action)
 o permissionCheck
 public boolean permissionCheck(Action action,
                                boolean noisy)
Checks the permissions for the currently running thread. This is (possibly), a very inefficient routine. This is permitted because priv checks are relatively rare things. (Aside from the first 'list lookup')

 o newEntry
 protected void newEntry(PermissionListEntry ent)
 o loadFrom
 public void loadFrom(DataInput from) throws IOException
 o writeTo
 public void writeTo(DataOutput to) throws IOException
 o toString
 public String toString()
Overrides:
toString in class Object
 o toString
 public String toString(boolean expert)
 o getParent
 public final Atom getParent()

All Packages  Class Hierarchy  This Package  Previous  Next  Index