intarsys runtime library

de.intarsys.aaa.permission
Class OrPermission

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

public class OrPermission
extends Object
implements IPermission

An "or" association of all permissions contained.


Constructor Summary
OrPermission(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

OrPermission

public OrPermission(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.