Skip to content

Commit

Permalink
fixing report sample in documentation (MID-8042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Katarina Bolemant committed Oct 12, 2022
1 parent ab255c1 commit e98e63a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ We need import only report, because we use object collection from initial object
import com.evolveum.midpoint.prism.delta.ItemDelta;
import com.evolveum.midpoint.prism.path.ItemPath;
import com.evolveum.midpoint.xml.ns._public.common.common_3.*;
import com.evolveum.midpoint.schema.DeltaConvertor;
ret = new ArrayList();
for (ObjectDeltaOperation delta : object) {
for (ObjectDeltaOperationType deltaType : input) {
delta = DeltaConvertor.createObjectDeltaOperation(deltaType, midpoint.getPrismContext());
for (ItemDelta itemDelta : delta.getObjectDelta().getModifications()){
if(!itemDelta.getPath().toString().startsWith("metadata")) {
stringItem = itemDelta.getElementName().toString();
Expand Down

0 comments on commit e98e63a

Please sign in to comment.