Interface LogicalFilter

All Superinterfaces:
DebugDumpable, Freezable, ObjectFilter, PrismContextSensitive, Revivable, Serializable
All Known Subinterfaces:
AndFilter, NaryLogicalFilter, NotFilter, OrFilter, UnaryLogicalFilter

public interface LogicalFilter extends ObjectFilter
  • Method Details

    • getConditions

      List<ObjectFilter> getConditions()
    • setConditions

      void setConditions(List<ObjectFilter> condition)
    • addCondition

      void addCondition(ObjectFilter condition)
    • contains

      boolean contains(ObjectFilter condition)
    • cloneEmpty

      LogicalFilter cloneEmpty()
    • isEmpty

      boolean isEmpty()
    • checkConsistence

      void checkConsistence(boolean requireDefinitions)
      Specified by:
      checkConsistence in interface ObjectFilter
    • accept

      void accept(Visitor visitor)
      Specified by:
      accept in interface ObjectFilter
    • matchesOnly

      default boolean matchesOnly(ItemPath... paths)
      Description copied from interface: ObjectFilter
      Returns true, if filter processes only enumerated item paths and does not use referencedBy, ownedBy where path context changes drastically. Useful to find if filter could be executed with limited set of information (e.g. only access to target name in RefFilter
      Specified by:
      matchesOnly in interface ObjectFilter