intarsys runtime library

de.intarsys.aaa.permission
Class AndPermission

java.lang.Object
  extended by de.intarsys.aaa.permission.AndPermission
All Implemented Interfaces:
IPermission, IResourceAccessHandler

public class AndPermission
extends Object
implements IPermission

An "and" association of all permissions contained.


Constructor Summary
AndPermission(IPermission... operands)
           
 
Method Summary
 boolean isAccessGranted(IResource resource)
           if this handler grants access to the resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndPermission

public AndPermission(IPermission... operands)
Method Detail

isAccessGranted

public boolean isAccessGranted(IResource resource)
Description copied from interface: IResourceAccessHandler
if this handler grants access to the resource.

Specified by:
isAccessGranted in interface IResourceAccessHandler
Returns:
if this handler grants access to the resource.

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.