Class TenantClause

java.lang.Object
com.evolveum.midpoint.schema.selector.spec.SelectorClause
com.evolveum.midpoint.schema.selector.spec.TenantClause
All Implemented Interfaces:
DebugDumpable, Serializable

public class TenantClause extends SelectorClause
See Also:
  • Method Details

    • requiresFullInformation

      public boolean requiresFullInformation()
      Description copied from class: SelectorClause
      Does this clause require full information about the object that is provided by the Projector? For example, any clauses referring to `parentOrgRef` or `tenantRef` need that information (which is computed from the assignments).
      Overrides:
      requiresFullInformation in class SelectorClause
    • getName

      @NotNull public @NotNull String getName()
      Description copied from class: SelectorClause
      Human-understandable name to be used e.g. in tracing messages.
      Specified by:
      getName in class SelectorClause
    • matches

      public boolean matches(@NotNull @NotNull PrismValue value, @NotNull @NotNull MatchingContext ctx)
      Description copied from class: SelectorClause
      Returns `true` if the `value` matches this clause.
      Specified by:
      matches in class SelectorClause
    • toFilter

      public boolean toFilter(@NotNull @NotNull FilteringContext ctx)
      Description copied from class: SelectorClause
      Converts the clause into ObjectFilter (passed to FilteringContext.filterCollector). Returns `false` if the clause is not applicable to given situation.
      Specified by:
      toFilter in class SelectorClause
    • toString

      public String toString()
      Overrides:
      toString in class Object