| de.webman.acl.resolver.Checker
All known Subclasses: de.webman.acl.resolver.SequentialResolver,
Checker | public interface Checker extends Resolver(Code) | | Interface for access right checkers.
version: 1.0 since: 1.0 author: © 2001 Webman AG |
Method Summary | |
boolean | check(Integer event, Integer context, Integer type, Integer reference) This method is provided to check if a particular event is permitted
for a login (user or group) in the current application state. |
check | boolean check(Integer event, Integer context, Integer type, Integer reference) throws TKException(Code) | | This method is provided to check if a particular event is permitted
for a login (user or group) in the current application state. The
application state is determined by the context, an object type and an
object reference.
If the optional arguments are omitted, only the context-wide
access rights are checked, otherwise the context-wide as well
as the object-specific access rights are checked. If no applicable
access rights were found, the event is considered to be not permitted.
Parameters: event - the ID if the event to be checked (required). Parameters: context - the ID if the current context (required). Parameters: type - the current object type (optional). Parameters: reference - the current object reference (optional). true if the event is permitted explicitely,otherwise false . exception: com.teamkonzept.lib.TKException - if an error occured duringaccess right checking. |
|
|