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 Details

    • UsableParentFilter

      UsableParentFilter()
  • Method Details

    • 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 interface Filter<Annotatable>
      Parameters:
      a - The object to evaluate
      Returns:
      TRUE if the object passes the filter, FALSE otherwise