use of com.evolveum.midpoint.xml.ns._public.common.common_3.LensObjectDeltaOperationType in project midpoint by Evolveum.
the class AbstractChangeExecutionOpNode method initialize.
void initialize() {
if (!initialized) {
trace = getTraceDownwards(ModelExecuteDeltaTraceType.class, 1);
LensObjectDeltaOperationType lensObjectDeltaOperation = trace != null ? trace.getDelta() : null;
objectDeltaOperation = lensObjectDeltaOperation != null ? lensObjectDeltaOperation.getObjectDeltaOperation() : null;
initialized = true;
}
}
use of com.evolveum.midpoint.xml.ns._public.common.common_3.LensObjectDeltaOperationType in project midpoint by Evolveum.
the class LensObjectDeltaOperation method toLensObjectDeltaOperationType.
@NotNull
public LensObjectDeltaOperationType toLensObjectDeltaOperationType() throws SchemaException {
LensObjectDeltaOperationType retval = new LensObjectDeltaOperationType();
DeltaConversionOptions options = DeltaConversionOptions.createSerializeReferenceNames();
// Escaping invalid characters in serialized deltas could be questionable; see MID-6262.
// But because we currently do not use the deltas for other than human readers we can afford
// to replace invalid characters by descriptive text.
options.setEscapeInvalidCharacters(true);
retval.setObjectDeltaOperation(DeltaConvertor.toObjectDeltaOperationType(this, options));
retval.setAudited(audited);
return retval;
}
Aggregations