All Packages Class Hierarchy This Package Previous Next Index
Class key.PermissionList
java.lang.Object
|
+----key.PermissionList
- public class PermissionList
- extends Object
- implements Storable
-
DEFAULT_LIMIT
-
-
PermissionList(Atom)
-
-
actionRegistered(Action)
-
-
allow(Action)
-
-
allow(Tag, Action)
-
-
check(Action)
-
-
check(Tag, Action)
-
-
clear(Tag, Action)
-
-
count()
-
-
deallocate()
-
-
deleteEntryFor(Tag)
-
-
deny(Action)
-
-
deny(Tag, Action)
-
-
elements()
-
-
getEntryFor(Tag)
-
-
getLimit()
-
-
getParent()
-
-
isAllowingByDefault(Action)
-
-
loadFrom(DataInput)
-
-
newEntry(PermissionListEntry)
-
-
permissionCheck(Action, boolean)
- Checks the permissions for the currently running
thread.
-
resolve()
-
-
setLimit(int)
-
-
toString()
-
-
toString(boolean)
-
-
writeTo(DataOutput)
-
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT
PermissionList
public PermissionList(Atom p)
deallocate
public final void deallocate()
setLimit
public final void setLimit(int i)
getLimit
public final int getLimit()
actionRegistered
public final boolean actionRegistered(Action a)
elements
public Enumeration elements()
resolve
public void resolve()
count
public int count()
allow
public void allow(Action action)
deny
public void deny(Action action)
allow
public void allow(Tag tag,
Action action)
deny
public void deny(Tag tag,
Action action)
clear
public void clear(Tag tag,
Action action)
deleteEntryFor
public void deleteEntryFor(Tag tag)
getEntryFor
public PermissionListEntry getEntryFor(Tag tag)
isAllowingByDefault
public boolean isAllowingByDefault(Action action)
check
public boolean check(Tag tag,
Action action)
check
public void check(Action action)
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')
newEntry
protected void newEntry(PermissionListEntry ent)
loadFrom
public void loadFrom(DataInput from) throws IOException
writeTo
public void writeTo(DataOutput to) throws IOException
toString
public String toString()
- Overrides:
- toString in class Object
toString
public String toString(boolean expert)
getParent
public final Atom getParent()
All Packages Class Hierarchy This Package Previous Next Index