Package net.sf.basedb.util.annotations
Class InheritAnnotationsManager.UsableParentFilter
- java.lang.Object
-
- net.sf.basedb.util.annotations.InheritAnnotationsManager.UsableParentFilter
-
- All Implemented Interfaces:
Filter<Annotatable>
- Enclosing class:
- InheritAnnotationsManager
static class InheritAnnotationsManager.UsableParentFilter extends Object implements Filter<Annotatable>
Filter used to find parent items that are annotated and for which the current user has permission to USE the annotations.
-
-
Constructor Summary
Constructors Constructor Description UsableParentFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(Annotatable a)
Evaluate if the given object should pass the filter or not.
-
-
-
Method Detail
-
evaluate
public boolean evaluate(Annotatable a)
Description copied from interface:Filter
Evaluate if the given object should pass the filter or not.- Specified by:
evaluate
in interfaceFilter<Annotatable>
- Parameters:
a
- The object to evaluate- Returns:
- TRUE if the object passes the filter, FALSE otherwise
-
-