use of com.evolveum.midpoint.model.impl.lens.LensProjectionContext in project midpoint by Evolveum.
the class PrimaryChangeProcessor method contextCopyWithNoDelta.
public LensContext contextCopyWithNoDelta(ModelContext context) {
LensContext contextCopy = ((LensContext) context).clone();
contextCopy.replacePrimaryFocusDelta(null);
Collection<LensProjectionContext> projectionContexts = contextCopy.getProjectionContexts();
for (ModelProjectionContext projectionContext : projectionContexts) {
projectionContext.setPrimaryDelta(null);
}
return contextCopy;
}
Aggregations