com.cc.framework.util
Class Algorithms.AccessFilter

java.lang.Object
  extended bycom.cc.framework.util.Algorithms.AccessFilter
All Implemented Interfaces:
AlgorithmFilter
Enclosing class:
Algorithms

public static class Algorithms.AccessFilter
extends java.lang.Object
implements AlgorithmFilter

Filter that excludes nodes which the user is not allowed to see


Field Summary
private  Principal principal
          The Principal Object that performs the access validation
 
Constructor Summary
Algorithms.AccessFilter(Principal principal)
          Constructor
 
Method Summary
 boolean exclude(java.lang.String uniqueId, java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

principal

private Principal principal
The Principal Object that performs the access validation

Constructor Detail

Algorithms.AccessFilter

public Algorithms.AccessFilter(Principal principal)
Constructor

Parameters:
principal - The Principal Object that performs the access validation
Method Detail

exclude

public boolean exclude(java.lang.String uniqueId,
                       java.lang.Object obj)
Specified by:
exclude in interface AlgorithmFilter
Parameters:
uniqueId - Id
obj - Object
Returns:
returns true when a key should be skipped in an iteration
See Also:
AlgorithmFilter.exclude(java.lang.String, java.lang.Object)


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.