Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OldNew
Derived objects creation
new ResourceAttribute<>(...)ObjectFactory.createResourceAttribute(...)
new ResourceAttributeDefinition<>(...)ObjectFactory.createResourceAttributeDefinition(...)
new ResourceAttributeContainer(...)ObjectFactory.createResourceAttributeContainer(...)
new ResourceAttributeContainerDefinition(...)ObjectFactory.createResourceAttributeContainerDefinition(...)
new ResourceSchema(...)ObjectFactory.createResourceSchema(...)
ShadowDiscriminatorObjectDelta.createModificationReplaceProperty(...)RefineryObjectFactory.createShadowDiscriminatorModificationReplaceProperty(...)
GetOperationOptions

SelectorOptions.createCollection(LookupTableType.F_ROW,
    GetOperationOptions.createRetrieve(
        new RelationalValueSearchQuery(
            ObjectPaging.createPaging(
                LookupTableRowType.F_LABEL, OrderDirection.ASCENDING))));

schemaHelper.getOperationOptionsBuilder()
    .item(LookupTableType.F_ROW)
        .retrieveQuery()
            .asc(LookupTableRowType.F_LABEL)
        .end()
    .build();

import com.evolveum.midpoint.schema.SelectorOptions;
import com.evolveum.midpoint.schema.GetOperationOptions;
options = SelectorOptions.createCollection(GetOperationOptions.createNoFetch());

import com.evolveum.midpoint.schema.GetOperationOptionsBuilderImpl;
def oob = new GetOperationOptionsBuilderImpl(prismContext);
options = oob.noFetch().build();

Related changes in admin-gui

...