Class MemberOperationsQueryUtil
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.MemberOperationsQueryUtil
Helps with creating queries regarding members of an abstract role.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List<PrismReferenceValue>
createReferenceValuesList
(@NotNull AbstractRoleType targetObject, @NotNull Collection<QName> relations) Creates reference values pointing to given target with given relations.static @NotNull List<PrismReferenceValue>
createReferenceValuesList
(@NotNull ObjectReferenceType targetObjectRef, @NotNull Collection<QName> relations) Creates reference values pointing to given target with given relations.
-
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.
-