Class MemberOperationsQueryUtil

java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.MemberOperationsQueryUtil

public class MemberOperationsQueryUtil extends Object
Helps with creating queries regarding members of an abstract role.
  • Constructor Details

    • MemberOperationsQueryUtil

      public MemberOperationsQueryUtil()
  • Method Details

    • createReferenceValuesList

      @NotNull public static @NotNull List<PrismReferenceValue> createReferenceValuesList(@NotNull @NotNull AbstractRoleType targetObject, @NotNull @NotNull Collection<QName> relations)
      Creates reference values pointing to given target with given relations.
      Parameters:
      relations - The relations. Must be at least one, otherwise the resulting list (to be used in a query, presumably) will be empty, making the query wrong.
    • createReferenceValuesList

      @NotNull public static @NotNull List<PrismReferenceValue> createReferenceValuesList(@NotNull @NotNull ObjectReferenceType targetObjectRef, @NotNull @NotNull Collection<QName> relations)
      Creates reference values pointing to given target with given relations.
      Parameters:
      relations - The relations. Must be at least one, otherwise the resulting list (to be used in a query, presumably) will be empty, making the query wrong.