intarsys runtime library

de.intarsys.aaa.permission
Class NotPermission

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

public class NotPermission
extends Object
implements IPermission

A permission that negates its wrapped permission.


Constructor Summary
NotPermission(IPermission operand)
           
 
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

NotPermission

public NotPermission(IPermission operand)
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.