Search in sources :

Example 6 with SelectorQualifiedGetOptionType

use of com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionType in project midpoint by Evolveum.

the class ModelClientUtil method createRootGetOptions.

public static SelectorQualifiedGetOptionsType createRootGetOptions(GetOperationOptionsType opt) {
    SelectorQualifiedGetOptionsType rootOpts = new SelectorQualifiedGetOptionsType();
    SelectorQualifiedGetOptionType selOpt = new SelectorQualifiedGetOptionType();
    selOpt.setOptions(opt);
    rootOpts.getOption().add(selOpt);
    return rootOpts;
}
Also used : SelectorQualifiedGetOptionType(com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionType) SelectorQualifiedGetOptionsType(com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionsType)

Example 7 with SelectorQualifiedGetOptionType

use of com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionType in project midpoint by Evolveum.

the class GetOperationOptionsUtil method selectorOptionToSelectorQualifiedGetOptionType.

private static SelectorQualifiedGetOptionType selectorOptionToSelectorQualifiedGetOptionType(SelectorOptions<GetOperationOptions> selectorOption) {
    OptionObjectSelectorType selectorType = selectorToSelectorType(selectorOption.getSelector());
    GetOperationOptionsType getOptionsType = getOptionsToGetOptionsType(selectorOption.getOptions());
    SelectorQualifiedGetOptionType selectorOptionType = new SelectorQualifiedGetOptionType();
    selectorOptionType.setOptions(getOptionsType);
    selectorOptionType.setSelector(selectorType);
    return selectorOptionType;
}
Also used : GetOperationOptionsType(com.evolveum.midpoint.xml.ns._public.common.common_3.GetOperationOptionsType) OptionObjectSelectorType(com.evolveum.midpoint.xml.ns._public.common.common_3.OptionObjectSelectorType) SelectorQualifiedGetOptionType(com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionType)

Aggregations

SelectorQualifiedGetOptionType (com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionType)7 SelectorQualifiedGetOptionsType (com.evolveum.midpoint.xml.ns._public.common.common_3.SelectorQualifiedGetOptionsType)6 GetOperationOptionsType (com.evolveum.midpoint.xml.ns._public.common.common_3.GetOperationOptionsType)5 OptionObjectSelectorType (com.evolveum.midpoint.xml.ns._public.common.common_3.OptionObjectSelectorType)3 ObjectListType (com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectListType)2 OperationResultType (com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType)2 TaskType (com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType)2 Collection (java.util.Collection)2 Holder (javax.xml.ws.Holder)2 ArrayList (java.util.ArrayList)1 NotNull (org.jetbrains.annotations.NotNull)1