diff --git a/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd b/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd index e76ab8acc05..513febadd67 100644 --- a/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd +++ b/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd @@ -12494,7 +12494,8 @@ - TODO + Options for execution of Model operations. These options influence the way how the operations are executed. + The options are not mandatory. All options have reasonable default values. They may not be specified at all. @@ -12520,13 +12521,16 @@ Avoid encryption of any cleartext data on write. Applies only to the encrypted data formats (ProtectedString, ProtectedByteArray). + It is not recommended to use in production environment. This option is provided only for diagnostic + purposes to be used in development environments. - Option to reconcile user while executing changes. + Option to reconcile focus and all projections while executing changes. + (implies reconcileFocus) @@ -12602,7 +12606,8 @@ - Business context that describes this request. + Options that control selective execution of model logic. + Use with extreme care. Some combinations may be dangerous. diff --git a/model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelExecuteOptions.java b/model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelExecuteOptions.java index ffdf9a4f7cc..0937b9bb88b 100644 --- a/model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelExecuteOptions.java +++ b/model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelExecuteOptions.java @@ -25,8 +25,10 @@ import java.util.List; /** + * Options for execution of Model operations. These options influence the way how the operations are executed. + * The options are not mandatory. All options have reasonable default values. They may not be specified at all. + * * @author semancik - * */ public class ModelExecuteOptions extends AbstractOptions implements Serializable, Cloneable { @@ -46,6 +48,8 @@ public class ModelExecuteOptions extends AbstractOptions implements Serializable /** * Encrypt any cleartext data on write, decrypt any encrypted data on read. Applies only to the encrypted * data formats (ProtectedString, ProtectedByteArray). + * It is not recommended to use in production environment. This option is provided only for diagnostic + * purposes to be used in development environments. */ private Boolean noCrypt; @@ -88,6 +92,9 @@ public class ModelExecuteOptions extends AbstractOptions implements Serializable */ private Boolean overwrite; + /** + * Option to simulate import operation. E.g. search filters will be resolved. + */ private Boolean isImport; /** @@ -106,8 +113,15 @@ public class ModelExecuteOptions extends AbstractOptions implements Serializable */ private Boolean preAuthorized; + /** + * Business context that describes this request. + */ private OperationBusinessContextType requestBusinessContext; + /** + * Options that control selective execution of model logic. + * Use with extreme care. Some combinations may be dangerous. + */ private PartialProcessingOptionsType partialProcessing; public Boolean getForce() {