From 03652fb52590757c64e433c546e2b2c68650d80c Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Wed, 21 May 2014 12:28:14 +0200 Subject: [PATCH 01/27] Enabling correct WS implementation (ModelWebServiceRaw instead of ModelWebService). --- .../midpoint/model/{ => impl}/ModelWebServiceRaw.java | 5 ++--- model/model-impl/src/main/resources/ctx-model.xml | 8 ++++++-- 2 files changed, 8 insertions(+), 5 deletions(-) rename model/model-impl/src/main/java/com/evolveum/midpoint/model/{ => impl}/ModelWebServiceRaw.java (98%) diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/ModelWebServiceRaw.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java similarity index 98% rename from model/model-impl/src/main/java/com/evolveum/midpoint/model/ModelWebServiceRaw.java rename to model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java index df51d4d011a..b87841c596a 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/ModelWebServiceRaw.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java @@ -13,10 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.evolveum.midpoint.model; +package com.evolveum.midpoint.model.impl; import com.evolveum.midpoint.model.api.ModelPort; -import com.evolveum.midpoint.model.impl.ModelWebService; import com.evolveum.midpoint.prism.PrismContext; import com.evolveum.midpoint.schema.result.OperationResult; import com.evolveum.midpoint.util.DOMUtil; @@ -46,7 +45,6 @@ import com.evolveum.midpoint.xml.ns._public.model.model_3.SearchObjectsResponse; import com.evolveum.midpoint.xml.ns._public.model.model_3.TestResource; import com.evolveum.midpoint.xml.ns._public.model.model_3.TestResourceResponse; -import org.jcp.xml.dsig.internal.dom.DOMUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.w3c.dom.Document; @@ -57,6 +55,7 @@ import javax.xml.transform.dom.DOMSource; import javax.xml.ws.Holder; import javax.xml.ws.Provider; +import javax.xml.ws.WebServiceProvider; import java.io.PrintWriter; import java.io.StringWriter; diff --git a/model/model-impl/src/main/resources/ctx-model.xml b/model/model-impl/src/main/resources/ctx-model.xml index ac01a8f3244..19312077f9d 100644 --- a/model/model-impl/src/main/resources/ctx-model.xml +++ b/model/model-impl/src/main/resources/ctx-model.xml @@ -340,9 +340,13 @@ + address="/model-3" + wsdlLocation="classpath:xml/ns/public/model/model-3.wsdl" + serviceName="model:modelWebService" + endpointName="model:modelPort" + xmlns:model="http://midpoint.evolveum.com/xml/ns/public/model/model-3"> - + From f0729beb8e684982304d4c5f91fc52dd46754dd2 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Thu, 22 May 2014 15:27:50 +0200 Subject: [PATCH 02/27] Attempting to fix Prism-based SOAP Web Service. (Introducing difference between compile-time and run-time JAX-WS/XML catalogs.) --- build-system/pom.xml | 5 + .../midpoint/prism/maven/SchemaDocMojo.java | 2 +- infra/prism/pom.xml | 4 + .../prism/schema/SchemaDescription.java | 54 ++- .../midpoint/prism/schema/SchemaRegistry.java | 42 +- .../main/resources/xml/ns/public/query-3.xsd | 13 +- .../main/resources/xml/ns/public/types-3.xsd | 11 +- infra/schema/pom.xml | 38 +- .../schema/MidPointPrismContextFactory.java | 7 +- .../META-INF/catalog-compile-time.xml | 98 +++++ .../{catalog.xml => catalog-runtime.xml} | 12 +- .../META-INF/jax-ws-catalog-compile-time.xml | 44 ++ .../resources/META-INF/jax-ws-catalog.xml | 15 +- .../xml/ns/public/common/fault-3.wsdl | 9 +- .../xml/ns/public/model/model-3.wsdl | 398 +++++++++--------- .../com/evolveum/midpoint/util/DOMUtil.java | 2 +- .../midpoint/model/impl/ModelWebService.java | 31 +- .../model/impl/ModelWebServiceRaw.java | 100 +++-- 18 files changed, 575 insertions(+), 310 deletions(-) create mode 100644 infra/schema/src/main/resources/META-INF/catalog-compile-time.xml rename infra/schema/src/main/resources/META-INF/{catalog.xml => catalog-runtime.xml} (92%) create mode 100644 infra/schema/src/main/resources/META-INF/jax-ws-catalog-compile-time.xml diff --git a/build-system/pom.xml b/build-system/pom.xml index b4135cd0c44..375c35ffcde 100644 --- a/build-system/pom.xml +++ b/build-system/pom.xml @@ -271,6 +271,11 @@ cxf-rt-frontend-simple ${cxf.version} + + org.apache.cxf + cxf-api + ${cxf.version} + org.apache.cxf cxf-rt-frontend-jaxws diff --git a/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java b/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java index f237527780a..3751fc8aa5a 100644 --- a/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java +++ b/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java @@ -278,7 +278,7 @@ private void handleFailure(Exception e) throws MojoFailureException { } private SchemaRegistry createSchemaRegistry() throws SchemaException { - SchemaRegistry schemaRegistry = new SchemaRegistry(); + SchemaRegistry schemaRegistry = new SchemaRegistry(true); schemaRegistry.setNamespacePrefixMapper(new GlobalDynamicNamespacePrefixMapper()); return schemaRegistry; } diff --git a/infra/prism/pom.xml b/infra/prism/pom.xml index ea3d86b14ab..10de3c1422c 100644 --- a/infra/prism/pom.xml +++ b/infra/prism/pom.xml @@ -47,6 +47,10 @@ jaxb-xjc ${jaxb-xjc.version} + + org.apache.cxf + cxf-api + commons-lang commons-lang diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaDescription.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaDescription.java index 8d126d5f187..63c1520c79f 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaDescription.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaDescription.java @@ -20,6 +20,8 @@ import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; import java.util.Map; import javax.xml.namespace.QName; @@ -27,6 +29,10 @@ import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamSource; +import com.evolveum.midpoint.util.logging.Trace; +import com.evolveum.midpoint.util.logging.TraceManager; + +import org.apache.cxf.common.WSDLConstants; import org.apache.commons.lang.StringUtils; import org.w3c.dom.Element; import org.w3c.dom.Node; @@ -37,6 +43,9 @@ import com.evolveum.midpoint.util.exception.SchemaException; public class SchemaDescription implements DebugDumpable { + + private static final Trace LOGGER = TraceManager.getTrace(SchemaDescription.class); + private String path; private String usualPrefix; private String namespace; @@ -145,8 +154,49 @@ public InputStream openInputStream() { desc.parseFromInputStream(); return desc; } - - public static SchemaDescription parseFile(final File file) throws FileNotFoundException, SchemaException { + + public static List parseWsdlResource(final String resourcePath) throws SchemaException { + List schemaDescriptions = new ArrayList<>(); + + InputStream inputStream = SchemaRegistry.class.getClassLoader().getResourceAsStream(resourcePath); + if (inputStream == null) { + throw new IllegalStateException("Cannot fetch system resource for schema " + resourcePath); + } + Node node; + try { + node = DOMUtil.parse(inputStream); + } catch (IOException e) { + throw new SchemaException("Cannot parse schema from system resource " + resourcePath, e); + } + Element rootElement = node instanceof Element ? (Element)node : DOMUtil.getFirstChildElement(node); + QName rootElementQName = DOMUtil.getQName(rootElement); + if (WSDLConstants.QNAME_DEFINITIONS.equals(rootElementQName)) { + Element types = DOMUtil.getChildElement(rootElement, WSDLConstants.QNAME_TYPES); + if (types == null) { + LOGGER.warn("No section in WSDL document in system resource " + resourcePath); + return schemaDescriptions; + } + List schemaElements = DOMUtil.getChildElements(types, DOMUtil.XSD_SCHEMA_ELEMENT); + if (schemaElements.isEmpty()) { + LOGGER.warn("No schemas in section in WSDL document in system resource " + resourcePath); + return schemaDescriptions; + } + int number = 1; + for (Element schemaElement : schemaElements) { + SchemaDescription desc = new SchemaDescription("schema #" + (number++) + " in system resource " + resourcePath); + desc.node = schemaElement; + desc.fetchBasicInfoFromSchema(); + schemaDescriptions.add(desc); + LOGGER.trace("Schema registered from {}", desc.getSourceDescription()); + } + return schemaDescriptions; + } else { + throw new SchemaException("WSDL system resource "+resourcePath+" does not start with wsdl:definitions element"); + } + } + + + public static SchemaDescription parseFile(final File file) throws FileNotFoundException, SchemaException { SchemaDescription desc = new SchemaDescription("file "+file.getPath()); desc.path = file.getPath(); desc.streamable = new InputStreamable() { diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java index 0a781caef31..fbe7242b7fe 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java @@ -77,6 +77,11 @@ public class SchemaRegistry implements LSResourceResolver, EntityResolver, DebugDumpable { private static final QName DEFAULT_XSD_TYPE = DOMUtil.XSD_STRING; + + private static final String RUNTIME_CATALOG_RESOURCE = "META-INF/catalog-runtime.xml"; + private static final String COMPILE_TIME_CATALOG_RESOURCE = "META-INF/catalog.xml"; + + private String catalogResource; private javax.xml.validation.SchemaFactory schemaFactory; private javax.xml.validation.Schema javaxSchema; @@ -94,10 +99,18 @@ public class SchemaRegistry implements LSResourceResolver, EntityResolver, Debug public SchemaRegistry() { super(); + this.catalogResource = RUNTIME_CATALOG_RESOURCE; this.schemaDescriptions = new ArrayList(); this.parsedSchemas = new HashMap(); this.extensionSchemas = new HashMap(); } + + public SchemaRegistry(boolean useCompileTimeCatalog) { + this(); + if (useCompileTimeCatalog) { + catalogResource = COMPILE_TIME_CATALOG_RESOURCE; + } + } public DynamicNamespacePrefixMapper getNamespacePrefixMapper() { return namespacePrefixMapper; @@ -149,8 +162,27 @@ public void registerPrismSchemaResource(String resourcePath, String usualPrefix) desc.setPrismSchema(true); registerSchemaDescription(desc); } - - /** + + public void registerPrismSchemasFromWsdlResource(String resourcePath, List compileTimeClassesPackages) throws SchemaException { + List descriptions = SchemaDescription.parseWsdlResource(resourcePath); + Iterator pkgIterator = null; + if (compileTimeClassesPackages != null) { + if (descriptions.size() != compileTimeClassesPackages.size()) { + throw new SchemaException("Mismatch between the size of compileTimeClassesPackages ("+compileTimeClassesPackages.size() + +" and schemas in "+resourcePath+" ("+descriptions.size()+")"); + } + pkgIterator = compileTimeClassesPackages.iterator(); + } + for (SchemaDescription desc : descriptions) { + desc.setPrismSchema(true); + if (pkgIterator != null) { + desc.setCompileTimeClassesPackage(pkgIterator.next()); + } + registerSchemaDescription(desc); + } + } + + /** * Must be called before call to initialize() */ public void registerPrismSchemaResource(String resourcePath, String usualPrefix, Package compileTimeClassesPackage) throws SchemaException { @@ -386,8 +418,12 @@ private void initResolver() throws IOException { CatalogResolver catalogResolver = new CatalogResolver(catalogManager); Catalog catalog = catalogResolver.getCatalog(); + if (catalogResource == null) { + throw new IllegalStateException("Catalog is not defined"); + } + Enumeration catalogs = Thread.currentThread().getContextClassLoader() - .getResources("META-INF/catalog.xml"); + .getResources(catalogResource); while (catalogs.hasMoreElements()) { URL catalogURL = catalogs.nextElement(); catalog.parseCatalog(catalogURL); diff --git a/infra/prism/src/main/resources/xml/ns/public/query-3.xsd b/infra/prism/src/main/resources/xml/ns/public/query-3.xsd index 6db459cc432..d501006a3f0 100644 --- a/infra/prism/src/main/resources/xml/ns/public/query-3.xsd +++ b/infra/prism/src/main/resources/xml/ns/public/query-3.xsd @@ -67,11 +67,6 @@ - - - - - @@ -183,13 +178,7 @@ - - - - - - - + diff --git a/infra/prism/src/main/resources/xml/ns/public/types-3.xsd b/infra/prism/src/main/resources/xml/ns/public/types-3.xsd index e8641cbd5e9..454ca4409b3 100644 --- a/infra/prism/src/main/resources/xml/ns/public/types-3.xsd +++ b/infra/prism/src/main/resources/xml/ns/public/types-3.xsd @@ -111,7 +111,7 @@ Any additional form of normalized value. Any element present in this section must be of xsd:string type and it must be single-value (in the prism sense). - Note: Some implementations may not be able to use them or even store them. + Note: Some implementations may not be able to use them or even store them. @@ -366,16 +366,17 @@ - + + Defines a type for XPath-like item pointer. It points to a specific part of the prism object. - - - + + + diff --git a/infra/schema/pom.xml b/infra/schema/pom.xml index 5219c70b8a7..01b12928b81 100644 --- a/infra/schema/pom.xml +++ b/infra/schema/pom.xml @@ -156,6 +156,32 @@ --> + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-prism-schema-files + initialize + + unpack + + + + + com.evolveum.midpoint.infra + prism + 2.3-SNAPSHOT + jar + + + **/*.xsd,**/*.dtd,**/*.wsdl + ${project.basedir}/target/additional-schemas/prism + + + + org.apache.cxf cxf-codegen-plugin @@ -207,7 +233,7 @@ src/main/resources/xml/ns/private/model/modelWrapper.wsdl classpath:xml/ns/private/model/modelWrapper.wsdl - ${basedir}/src/main/resources/META-INF/jax-ws-catalog.xml + ${basedir}/src/main/resources/META-INF/jax-ws-catalog-compile-time.xml -impl -verbose @@ -234,7 +260,7 @@ This is the only way I found to generate equals and hashCode methods with CXF. If you find anything better please correct it. --> src/main/resources/xml/ns/private/fake/fakeWrapper.wsdl - ${basedir}/src/main/resources/META-INF/jax-ws-catalog.xml + ${basedir}/src/main/resources/META-INF/jax-ws-catalog-compile-time.xml -impl -verbose @@ -375,6 +401,14 @@ + + + src/main/resources + + + target/additional-schemas + + diff --git a/infra/schema/src/main/java/com/evolveum/midpoint/schema/MidPointPrismContextFactory.java b/infra/schema/src/main/java/com/evolveum/midpoint/schema/MidPointPrismContextFactory.java index 79f15e938f3..93b7e4f260b 100644 --- a/infra/schema/src/main/java/com/evolveum/midpoint/schema/MidPointPrismContextFactory.java +++ b/infra/schema/src/main/java/com/evolveum/midpoint/schema/MidPointPrismContextFactory.java @@ -20,6 +20,7 @@ import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; +import java.util.Arrays; import org.xml.sax.SAXException; @@ -120,9 +121,11 @@ private void registerBuiltinSchemas(SchemaRegistry schemaRegistry) throws Schema schemaRegistry.registerPrismDefaultSchemaResource("xml/ns/public/common/common-3.xsd", "c", com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectFactory.class.getPackage()); - - schemaRegistry.registerPrismSchemaResource("xml/ns/public/common/api-types-3.xsd", "apti", + schemaRegistry.registerPrismSchemaResource("xml/ns/public/common/api-types-3.xsd", "apti", com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectFactory.class.getPackage()); + + schemaRegistry.registerPrismSchemasFromWsdlResource("xml/ns/public/model/model-3.wsdl", + Arrays.asList(com.evolveum.midpoint.xml.ns._public.model.model_3.ObjectFactory.class.getPackage())); schemaRegistry.registerPrismSchemaResource("xml/ns/public/resource/annotation-3.xsd", "ra"); diff --git a/infra/schema/src/main/resources/META-INF/catalog-compile-time.xml b/infra/schema/src/main/resources/META-INF/catalog-compile-time.xml new file mode 100644 index 00000000000..924e882521b --- /dev/null +++ b/infra/schema/src/main/resources/META-INF/catalog-compile-time.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/infra/schema/src/main/resources/META-INF/catalog.xml b/infra/schema/src/main/resources/META-INF/catalog-runtime.xml similarity index 92% rename from infra/schema/src/main/resources/META-INF/catalog.xml rename to infra/schema/src/main/resources/META-INF/catalog-runtime.xml index ef1d245cd31..af38fd4848d 100644 --- a/infra/schema/src/main/resources/META-INF/catalog.xml +++ b/infra/schema/src/main/resources/META-INF/catalog-runtime.xml @@ -19,14 +19,14 @@ - - + + - - + + - - + + diff --git a/infra/schema/src/main/resources/META-INF/jax-ws-catalog-compile-time.xml b/infra/schema/src/main/resources/META-INF/jax-ws-catalog-compile-time.xml new file mode 100644 index 00000000000..18de0d9778f --- /dev/null +++ b/infra/schema/src/main/resources/META-INF/jax-ws-catalog-compile-time.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + diff --git a/infra/schema/src/main/resources/META-INF/jax-ws-catalog.xml b/infra/schema/src/main/resources/META-INF/jax-ws-catalog.xml index 5ce27af974a..f6bd7fd8396 100644 --- a/infra/schema/src/main/resources/META-INF/jax-ws-catalog.xml +++ b/infra/schema/src/main/resources/META-INF/jax-ws-catalog.xml @@ -15,11 +15,6 @@ ~ limitations under the License. --> - @@ -27,17 +22,9 @@ - - + diff --git a/infra/schema/src/main/resources/xml/ns/public/common/fault-3.wsdl b/infra/schema/src/main/resources/xml/ns/public/common/fault-3.wsdl index fc93c337778..eafe2583b98 100644 --- a/infra/schema/src/main/resources/xml/ns/public/common/fault-3.wsdl +++ b/infra/schema/src/main/resources/xml/ns/public/common/fault-3.wsdl @@ -24,15 +24,10 @@ xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/fault-3"> - - - - - - + diff --git a/infra/schema/src/main/resources/xml/ns/public/model/model-3.wsdl b/infra/schema/src/main/resources/xml/ns/public/model/model-3.wsdl index dca9752f7a5..6c37fd1f935 100644 --- a/infra/schema/src/main/resources/xml/ns/public/model/model-3.wsdl +++ b/infra/schema/src/main/resources/xml/ns/public/model/model-3.wsdl @@ -49,10 +49,12 @@ location="../common/fault-3.wsdl"/> - + + - @@ -61,161 +63,153 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - Search criteria (may be null). - - - - - - - - - - - - - - - + + + + + + + Search criteria (may be null). + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Object class to import. - Local name, assumed to be in the resource namespace. - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Object class to import. + Local name, assumed to be in the resource namespace. + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -327,8 +321,8 @@ IllegalArgumentFaultType: wrong OID format ObjectNotFoundFaultType: object with specified OID does not exists - - + + @@ -343,8 +337,8 @@ IllegalArgumentFaultType: wrong object type SchemaViolationFaultType: unknown property used in search query - - + + @@ -403,8 +397,8 @@ IllegalArgumentException: wrong OID format, etc. - - + + @@ -426,8 +420,8 @@ IllegalArgumentFaultType: wrong OID format ObjectNotFoundFaultType: object with specified OID does not exists - - + + @@ -452,8 +446,8 @@ any SystemFaultType ObjectNotFoundFaultType: specified Resource definition does not exist - - + + @@ -475,8 +469,8 @@ any SystemFaultType ObjectNotFoundFaultType: specified Resource definition does not exist - - + + @@ -486,24 +480,24 @@ Trigger change notification. - - + + - - + + - - + + @@ -513,11 +507,11 @@ - - + + - - + + @@ -525,11 +519,11 @@ - - + + - - + + @@ -537,11 +531,11 @@ - - + + - - + + @@ -549,11 +543,11 @@ - - + + - - + + @@ -561,11 +555,11 @@ - - + + - - + + @@ -573,11 +567,11 @@ - - + + - - + + @@ -585,11 +579,11 @@ - - + + - - + + @@ -597,11 +591,11 @@ - - + + - - + + @@ -610,15 +604,21 @@ - - + + - - + + + + + + + diff --git a/infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java b/infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java index 46acc26b205..5fcb0842347 100644 --- a/infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java +++ b/infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java @@ -937,7 +937,7 @@ public static Element createElement(Document document, QName qname) { } else { element = document.createElementNS(qname.getNamespaceURI(), qname.getLocalPart()); } - if (qname.getPrefix() != null) { + if (StringUtils.isNotEmpty(qname.getPrefix())) { element.setPrefix(qname.getPrefix()); } return element; diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebService.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebService.java index 089c08ed64f..dbba1c6ed0d 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebService.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebService.java @@ -76,9 +76,9 @@ import com.evolveum.midpoint.xml.ns._public.common.fault_3.ObjectAlreadyExistsFaultType; import com.evolveum.midpoint.xml.ns._public.common.fault_3.ObjectNotFoundFaultType; import com.evolveum.midpoint.xml.ns._public.common.fault_3.SystemFaultType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsType; import com.evolveum.midpoint.xml.ns._public.model.model_3.ModelPortType; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScripts; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsResponse; import com.evolveum.midpoint.xml.ns._public.model.scripting_3.ItemListType; import com.evolveum.prism.xml.ns._public.query_3.QueryType; import com.evolveum.prism.xml.ns._public.types_3.PolyStringType; @@ -125,7 +125,7 @@ public class ModelWebService implements ModelPortType, ModelPort { @Autowired(required = true) private PrismContext prismContext; - @Autowired + //@Autowired private ScriptingExpressionEvaluator scriptingExpressionEvaluator; @Override @@ -245,7 +245,7 @@ public OperationResultType testResource(String resourceOid) throws FaultMessage } @Override - public ExecuteScriptsResponse executeScripts(ExecuteScripts parameters) throws FaultMessage { + public ExecuteScriptsResponseType executeScripts(ExecuteScriptsType parameters) throws FaultMessage { Task task = createTaskInstance(EXECUTE_SCRIPTS); auditLogin(task); OperationResult result = task.getResult(); @@ -259,7 +259,7 @@ public ExecuteScriptsResponse executeScripts(ExecuteScripts parameters) throws F } } - private List> parseScripts(ExecuteScripts parameters) throws JAXBException, SchemaException { + private List> parseScripts(ExecuteScriptsType parameters) throws JAXBException, SchemaException { List> scriptsToExecute = new ArrayList<>(); if (parameters.getXmlScripts() != null) { for (Object scriptAsObject : parameters.getXmlScripts().getAny()) { @@ -283,8 +283,8 @@ private List> parseScripts(ExecuteScripts parameters) throws JAXB return scriptsToExecute; } - private ExecuteScriptsResponse doExecuteScripts(List> scriptsToExecute, ExecuteScriptsOptionsType options, Task task, OperationResult result) throws ScriptExecutionException, JAXBException, SchemaException { - ExecuteScriptsResponse response = new ExecuteScriptsResponse(); + private ExecuteScriptsResponseType doExecuteScripts(List> scriptsToExecute, ExecuteScriptsOptionsType options, Task task, OperationResult result) throws ScriptExecutionException, JAXBException, SchemaException { + ExecuteScriptsResponseType response = new ExecuteScriptsResponseType(); ScriptOutputsType outputs = new ScriptOutputsType(); response.setOutputs(outputs); @@ -316,14 +316,15 @@ private ExecuteScriptsResponse doExecuteScripts(List> scriptsToEx } private ItemListType prepareXmlData(Data output) throws JAXBException, SchemaException { - ItemListType itemListType = new ItemListType(); - if (output != null) { - for (Item item : output.getData()) { - RawType rawType = prismContext.toRawType(item); - itemListType.getItem().add(rawType); - } - } - return itemListType; + throw new UnsupportedOperationException("uncomment and fix this code"); +// ItemListType itemListType = new ItemListType(); +// if (output != null) { +// for (Item item : output.getData()) { +// RawType rawType = prismContext.toRawType(item); +// itemListType.getItem().add(rawType); +// } +// } +// return itemListType; } diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java index b87841c596a..58b68f59da6 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java @@ -29,22 +29,22 @@ import com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType; import com.evolveum.midpoint.xml.ns._public.common.common_3.UserType; import com.evolveum.midpoint.xml.ns._public.common.fault_3.FaultMessage; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteChanges; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteChangesResponse; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScripts; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsResponse; -import com.evolveum.midpoint.xml.ns._public.model.model_3.FindShadowOwner; -import com.evolveum.midpoint.xml.ns._public.model.model_3.FindShadowOwnerResponse; -import com.evolveum.midpoint.xml.ns._public.model.model_3.GetObject; -import com.evolveum.midpoint.xml.ns._public.model.model_3.GetObjectResponse; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ImportFromResource; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ImportFromResourceResponse; -import com.evolveum.midpoint.xml.ns._public.model.model_3.NotifyChange; -import com.evolveum.midpoint.xml.ns._public.model.model_3.NotifyChangeResponse; -import com.evolveum.midpoint.xml.ns._public.model.model_3.SearchObjects; -import com.evolveum.midpoint.xml.ns._public.model.model_3.SearchObjectsResponse; -import com.evolveum.midpoint.xml.ns._public.model.model_3.TestResource; -import com.evolveum.midpoint.xml.ns._public.model.model_3.TestResourceResponse; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteChangesResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteChangesType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.FindShadowOwnerResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.FindShadowOwnerType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.GetObjectResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.GetObjectType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ImportFromResourceResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ImportFromResourceType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.NotifyChangeResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.NotifyChangeType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.SearchObjectsResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.SearchObjectsType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.TestResourceResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.TestResourceType; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.w3c.dom.Document; @@ -52,10 +52,15 @@ import org.w3c.dom.Node; import javax.xml.namespace.QName; +import javax.xml.soap.Detail; +import javax.xml.soap.SOAPException; +import javax.xml.soap.SOAPFactory; +import javax.xml.soap.SOAPFault; import javax.xml.transform.dom.DOMSource; import javax.xml.ws.Holder; import javax.xml.ws.Provider; import javax.xml.ws.WebServiceProvider; +import javax.xml.ws.soap.SOAPFaultException; import java.io.PrintWriter; import java.io.StringWriter; @@ -90,7 +95,20 @@ public DOMSource invoke(DOMSource request) { try { return invokeAllowingFaults(request); } catch (FaultMessage faultMessage) { - return serializeFaultMessage(faultMessage); + try { + SOAPFactory factory = SOAPFactory.newInstance(); + SOAPFault soapFault = factory.createFault(); + soapFault.setFaultCode(SOAP11_FAULTCODE_SERVER); // todo here is a constant until we have a mechanism to determine the correct value (client / server) + soapFault.setFaultString(faultMessage.getMessage()); + // fault actor? + // stack trace of the outer exception (FaultMessage) is unimportant, because it is always created at one place + // todo consider providing stack trace of the inner exception + //Detail detail = soapFault.addDetail(); + //detail.setTextContent(getStackTraceAsString(faultMessage)); + throw new SOAPFaultException(soapFault); + } catch (SOAPException e) { + throw new RuntimeException("SOAP Exception: " + e.getMessage(), e); + } } } @@ -115,56 +133,56 @@ public DOMSource invokeAllowingFaults(DOMSource request) throws FaultMessage { Node response; Holder operationResultTypeHolder = new Holder<>(); try { - if (requestObject instanceof GetObject) { - GetObject g = (GetObject) requestObject; + if (requestObject instanceof GetObjectType) { + GetObjectType g = (GetObjectType) requestObject; Holder objectTypeHolder = new Holder<>(); ws.getObject(g.getObjectType(), g.getOid(), g.getOptions(), objectTypeHolder, operationResultTypeHolder); - GetObjectResponse gr = new GetObjectResponse(); + GetObjectResponseType gr = new GetObjectResponseType(); gr.setObject(objectTypeHolder.value); gr.setResult(operationResultTypeHolder.value); response = prismContext.serializeAnyDataToElement(gr, ModelPort.GET_OBJECT_RESPONSE); - } else if (requestObject instanceof SearchObjects) { - SearchObjects s = (SearchObjects) requestObject; + } else if (requestObject instanceof SearchObjectsType) { + SearchObjectsType s = (SearchObjectsType) requestObject; Holder objectListTypeHolder = new Holder<>(); ws.searchObjects(s.getObjectType(), s.getQuery(), s.getOptions(), objectListTypeHolder, operationResultTypeHolder); - SearchObjectsResponse sr = new SearchObjectsResponse(); + SearchObjectsResponseType sr = new SearchObjectsResponseType(); sr.setObjectList(objectListTypeHolder.value); sr.setResult(operationResultTypeHolder.value); response = prismContext.serializeAnyDataToElement(sr, ModelPort.SEARCH_OBJECTS_RESPONSE); - } else if (requestObject instanceof ExecuteChanges) { - ExecuteChanges e = (ExecuteChanges) requestObject; + } else if (requestObject instanceof ExecuteChangesType) { + ExecuteChangesType e = (ExecuteChangesType) requestObject; ObjectDeltaOperationListType objectDeltaOperationListType = ws.executeChanges(e.getDeltaList(), e.getOptions()); - ExecuteChangesResponse er = new ExecuteChangesResponse(); + ExecuteChangesResponseType er = new ExecuteChangesResponseType(); er.setDeltaOperationList(objectDeltaOperationListType); response = prismContext.serializeAnyDataToElement(er, ModelPort.EXECUTE_CHANGES_RESPONSE); - } else if (requestObject instanceof FindShadowOwner) { - FindShadowOwner f = (FindShadowOwner) requestObject; + } else if (requestObject instanceof FindShadowOwnerType) { + FindShadowOwnerType f = (FindShadowOwnerType) requestObject; Holder userTypeHolder = new Holder<>(); ws.findShadowOwner(f.getShadowOid(), userTypeHolder, operationResultTypeHolder); - FindShadowOwnerResponse fsr = new FindShadowOwnerResponse(); + FindShadowOwnerResponseType fsr = new FindShadowOwnerResponseType(); fsr.setUser(userTypeHolder.value); fsr.setResult(operationResultTypeHolder.value); response = prismContext.serializeAnyDataToElement(fsr, ModelPort.FIND_SHADOW_OWNER_RESPONSE); - } else if (requestObject instanceof TestResource) { - TestResource tr = (TestResource) requestObject; + } else if (requestObject instanceof TestResourceType) { + TestResourceType tr = (TestResourceType) requestObject; OperationResultType operationResultType = ws.testResource(tr.getResourceOid()); - TestResourceResponse trr = new TestResourceResponse(); + TestResourceResponseType trr = new TestResourceResponseType(); trr.setResult(operationResultType); response = prismContext.serializeAnyDataToElement(trr, ModelPort.TEST_RESOURCE_RESPONSE); - } else if (requestObject instanceof ExecuteScripts) { - ExecuteScripts es = (ExecuteScripts) requestObject; - ExecuteScriptsResponse esr = ws.executeScripts(es); + } else if (requestObject instanceof ExecuteScriptsType) { + ExecuteScriptsType es = (ExecuteScriptsType) requestObject; + ExecuteScriptsResponseType esr = ws.executeScripts(es); response = prismContext.serializeAnyDataToElement(esr, ModelPort.EXECUTE_SCRIPTS_RESPONSE); - } else if (requestObject instanceof ImportFromResource) { - ImportFromResource ifr = (ImportFromResource) requestObject; + } else if (requestObject instanceof ImportFromResourceType) { + ImportFromResourceType ifr = (ImportFromResourceType) requestObject; TaskType taskType = ws.importFromResource(ifr.getResourceOid(), ifr.getObjectClass()); - ImportFromResourceResponse ifrr = new ImportFromResourceResponse(); + ImportFromResourceResponseType ifrr = new ImportFromResourceResponseType(); ifrr.setTask(taskType); response = prismContext.serializeAnyDataToElement(ifrr, ModelPort.IMPORT_FROM_RESOURCE_RESPONSE); - } else if (requestObject instanceof NotifyChange) { - NotifyChange nc = (NotifyChange) requestObject; + } else if (requestObject instanceof NotifyChangeType) { + NotifyChangeType nc = (NotifyChangeType) requestObject; TaskType taskType = ws.notifyChange(nc.getChangeDescription()); - NotifyChangeResponse ncr = new NotifyChangeResponse(); + NotifyChangeResponseType ncr = new NotifyChangeResponseType(); ncr.setTask(taskType); response = prismContext.serializeAnyDataToElement(ncr, ModelPort.NOTIFY_CHANGE_RESPONSE); } else { From fc89247cb94e1aa94bd5c98c15fa16548cb888e0 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Fri, 23 May 2014 09:12:35 +0200 Subject: [PATCH 03/27] Fixing Web Services, phase one - everything except bulk actions XSD and unqualified path segments. Removed JAXB-related code from RawType, added prismContext to it. Fixed a couple of serialization bugs. Fixed some roles in samples. --- .../midpoint/prism/maven/SchemaDocMojo.java | 2 +- .../com/evolveum/midpoint/prism/Item.java | 15 +- .../prism/parser/PrismBeanConverter.java | 17 +- .../prism/parser/PrismBeanInspector.java | 54 +- .../midpoint/prism/parser/XNodeProcessor.java | 10 +- .../prism/parser/XNodeSerializer.java | 34 +- .../midpoint/prism/query/PagingConvertor.java | 8 +- .../midpoint/prism/schema/SchemaRegistry.java | 8 - .../xml/ns/_public/query_3/PagingType.java | 19 +- .../xml/ns/_public/types_3/ItemDeltaType.java | 14 +- .../prism/xml/ns/_public/types_3/RawType.java | 460 +------- .../{catalog.xml => catalog-runtime.xml} | 0 .../main/resources/xml/ns/public/query-3.xsd | 13 +- .../midpoint/schema/DeltaConvertor.java | 2 +- .../midpoint/schema/PagingTypeFactory.java | 5 +- .../midpoint/schema/util/SchemaDebugUtil.java | 9 +- .../midpoint/schema/TestDeltaConverter.java | 14 +- .../midpoint/schema/TestJaxbParsing.java | 3 +- .../midpoint/schema/TestParseDiffPatch.java | 80 +- .../model/client/ModelClientUtil.java | 9 +- .../model/impl/lens/AssignmentEvaluator.java | 3 +- .../model/impl/lens/ChangeExecutor.java | 2 +- .../intest/scripting/TestScriptingBasic.java | 1024 ++++++++--------- .../model/intest/sync/TestRecomputeTask.java | 2 +- model/model-intest/testng.xml | 2 +- .../provisioning/test/impl/TestCsvFile.java | 2 +- .../provisioning/test/ucf/TestUcfOpenDj.java | 2 +- .../testing/model/client/sample/Main.java | 34 +- .../model/client/sample/MyProxySelector.java | 50 + .../model/client/sample/RunScript.java | 8 +- samples/roles/role-captain.xml | 8 +- samples/roles/role-pirate-lord.xml | 4 +- samples/roles/role-pirate-opendj.xml | 6 +- samples/roles/role-pirate.xml | 6 +- .../midpoint/testing/sanity/TestSanity.java | 18 +- 35 files changed, 786 insertions(+), 1161 deletions(-) rename infra/prism/src/main/resources/META-INF/{catalog.xml => catalog-runtime.xml} (100%) create mode 100644 samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/MyProxySelector.java diff --git a/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java b/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java index 3751fc8aa5a..f237527780a 100644 --- a/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java +++ b/infra/prism-maven-plugin/src/main/java/com/evolveum/midpoint/prism/maven/SchemaDocMojo.java @@ -278,7 +278,7 @@ private void handleFailure(Exception e) throws MojoFailureException { } private SchemaRegistry createSchemaRegistry() throws SchemaException { - SchemaRegistry schemaRegistry = new SchemaRegistry(true); + SchemaRegistry schemaRegistry = new SchemaRegistry(); schemaRegistry.setNamespacePrefixMapper(new GlobalDynamicNamespacePrefixMapper()); return schemaRegistry; } diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/Item.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/Item.java index b33af0f7df6..36ca787f19e 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/Item.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/Item.java @@ -555,13 +555,14 @@ public void applyDefinition(ItemDefinition definition, boolean force) throws Sch } public void revive(PrismContext prismContext) throws SchemaException { - if (this.prismContext != null) { - return; - } - this.prismContext = prismContext; - if (definition != null) { - definition.revive(prismContext); - } + // TODO cleanup this method; currently, it can be expected there is no Item without prismContext + // (but it is necessary to do e.g. PolyString recomputation even if PrismContext is set!) + if (this.prismContext == null) { + this.prismContext = prismContext; + if (definition != null) { + definition.revive(prismContext); + } + } if (values != null) { for (V value: values) { value.revive(prismContext); diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java index eac4ed18079..7e5f5d44998 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java @@ -70,23 +70,24 @@ public class PrismBeanConverter { private static final Trace LOGGER = TraceManager.getTrace(PrismBeanConverter.class); - public static final String DEFAULT_NAMESPACE_PLACEHOLDER = "##default"; + public static final String DEFAULT_PLACEHOLDER = "##default"; - private PrismBeanInspector inspector = new PrismBeanInspector(); + private PrismBeanInspector inspector; private PrismContext prismContext; public PrismBeanConverter(PrismContext prismContext) { this.prismContext = prismContext; + this.inspector = new PrismBeanInspector(prismContext); } public PrismContext getPrismContext() { return prismContext; } - public void setPrismContext(PrismContext prismContext) { - this.prismContext = prismContext; - } +// public void setPrismContext(PrismContext prismContext) { +// this.prismContext = prismContext; +// } private SchemaRegistry getSchemaRegistry() { if (prismContext == null) { @@ -100,7 +101,7 @@ public boolean canProcess(QName typeName) { } public boolean canProcess(Class clazz) { - return clazz.getAnnotation(XmlType.class) != null; + return RawType.class.equals(clazz) || clazz.getAnnotation(XmlType.class) != null; } public T unmarshall(MapXNode xnode, QName typeQName) throws SchemaException { @@ -620,7 +621,7 @@ else if (prismContext != null && prismContext.getSchemaRegistry().determineDefin if (StringUtils.isEmpty(enumValue)){ enumValue = bean.toString(); } - QName fieldTypeName = inspector.findFieldTypeName(null, beanClass, DEFAULT_NAMESPACE_PLACEHOLDER); + QName fieldTypeName = inspector.findFieldTypeName(null, beanClass, DEFAULT_PLACEHOLDER); return createPrimitiveXNode(enumValue, fieldTypeName, false); // return marshallValue(bean, fieldTypeName, false); } @@ -637,7 +638,7 @@ else if (prismContext != null && prismContext.getSchemaRegistry().determineDefin List propOrder = inspector.getPropOrder(beanClass); for (String fieldName: propOrder) { - QName elementName = new QName(namespace, inspector.findFieldElementName(fieldName, beanClass)); + QName elementName = inspector.findFieldElementQName(fieldName, beanClass, namespace); Method getter = inspector.findPropertyGetter(beanClass, fieldName); if (getter == null) { throw new IllegalStateException("No getter for field "+fieldName+" in "+beanClass); diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java index 57ddfce6cb6..c64afd048e2 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java @@ -16,9 +16,12 @@ package com.evolveum.midpoint.prism.parser; +import com.evolveum.midpoint.prism.PrismContext; +import com.evolveum.midpoint.prism.schema.PrismSchema; import com.evolveum.midpoint.prism.xml.XsdTypeMapper; import com.evolveum.midpoint.util.Handler; import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang.Validate; import org.w3c.dom.Node; import javax.xml.XMLConstants; @@ -43,6 +46,13 @@ */ public class PrismBeanInspector { + private PrismContext prismContext; + + public PrismBeanInspector(PrismContext prismContext) { + Validate.notNull(prismContext, "prismContext"); + this.prismContext = prismContext; + } + //region Caching mechanism (multiple dimensions) interface Getter1 { @@ -196,13 +206,13 @@ public QName get(Field field, Class beanClass, String defaultN }); } - private Map,String>> _findFieldElementName = new HashMap<>(); + private Map,Map>> _findFieldElementQName = new HashMap<>(); - String findFieldElementName(String fieldName, Class beanClass) { - return find2(_findFieldElementName, fieldName, beanClass, new Getter2>() { + QName findFieldElementQName(String fieldName, Class beanClass, String defaultNamespace) { + return find3(_findFieldElementQName, fieldName, beanClass, defaultNamespace, new Getter3, String>() { @Override - public String get(String fieldName, Class beanClass) { - return findFieldElementNameUncached(fieldName, beanClass); + public QName get(String fieldName, Class beanClass, String defaultNamespace) { + return findFieldElementQNameUncached(fieldName, beanClass, defaultNamespace); } }); } @@ -320,11 +330,11 @@ private String determineNamespaceUncached(Class beanClass) { } String namespace = xmlType.namespace(); - if (namespace == null || PrismBeanConverter.DEFAULT_NAMESPACE_PLACEHOLDER.equals(namespace)) { + if (namespace == null || PrismBeanConverter.DEFAULT_PLACEHOLDER.equals(namespace)) { XmlSchema xmlSchema = beanClass.getPackage().getAnnotation(XmlSchema.class); namespace = xmlSchema.namespace(); } - if (StringUtils.isBlank(namespace) || PrismBeanConverter.DEFAULT_NAMESPACE_PLACEHOLDER.equals(namespace)) { + if (StringUtils.isBlank(namespace) || PrismBeanConverter.DEFAULT_PLACEHOLDER.equals(namespace)) { return null; } @@ -524,8 +534,15 @@ private QName findFieldTypeNameUncached(Field field, Class fieldType, String sch String propTypeLocalPart = xmlType.name(); if (propTypeLocalPart != null) { String propTypeNamespace = xmlType.namespace(); - if (propTypeNamespace == null || propTypeNamespace.equals(PrismBeanConverter.DEFAULT_NAMESPACE_PLACEHOLDER)) { - propTypeNamespace = schemaNamespace; + if (propTypeNamespace == null || propTypeNamespace.equals(PrismBeanConverter.DEFAULT_PLACEHOLDER)) { + PrismSchema schema = prismContext.getSchemaRegistry().findSchemaByCompileTimeClass(fieldType); + if (schema != null && schema.getNamespace() != null) { + propTypeNamespace = schema.getNamespace(); + } else { + // schemaNamespace is only a poor indicator of required namespace (consider e.g. having c:UserType in apit:ObjectListType) + // so we use it only if we couldn't find anything else + propTypeNamespace = schemaNamespace; + } } propTypeQname = new QName(propTypeNamespace, propTypeLocalPart); } @@ -535,24 +552,27 @@ private QName findFieldTypeNameUncached(Field field, Class fieldType, String sch return propTypeQname; } - private String findFieldElementNameUncached(String fieldName, Class beanClass) { + private QName findFieldElementQNameUncached(String fieldName, Class beanClass, String defaultNamespace) { Field field; - if (beanClass.getSimpleName().equals("UnknownJavaObjectType")) { - System.out.println("Here we are"); - } try { field = beanClass.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { - return fieldName; // TODO implement this if needed (lookup the getter method instead of the field) + return new QName(defaultNamespace, fieldName); // TODO implement this if needed (lookup the getter method instead of the field) } + String realLocalName = fieldName; + String realNamespace = defaultNamespace; XmlElement xmlElement = field.getAnnotation(XmlElement.class); if (xmlElement != null) { String name = xmlElement.name(); - if (name != null && !name.startsWith("#")) { // ##default is the default value - return name; + if (name != null && !PrismBeanConverter.DEFAULT_PLACEHOLDER.equals(name)) { + realLocalName = name; + } + String namespace = xmlElement.namespace(); + if (namespace != null && !PrismBeanConverter.DEFAULT_PLACEHOLDER.equals(namespace)) { + realNamespace = namespace; } } - return fieldName; + return new QName(realNamespace, realLocalName); } //endregion } diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java index 02fa88ef723..01643fdef9c 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java @@ -1135,10 +1135,12 @@ public RootXNode serializeAnyData(Object object, QName defaultRootElementName) t Validate.notNull(defaultRootElementName, "rootElementName must be specified for non-Item objects"); XNode valueXNode = prismContext.getBeanConverter().marshall(object); QName typeQName = JAXBUtil.getTypeQName(object.getClass()); - if (typeQName != null) { - valueXNode.setTypeQName(typeQName); - } else { - throw new SchemaException("No type QName for class " + object.getClass()); + if (valueXNode.getTypeQName() == null) { + if (typeQName != null) { + valueXNode.setTypeQName(typeQName); + } else { + throw new SchemaException("No type QName for class " + object.getClass()); + } } return new RootXNode(defaultRootElementName, valueXNode); } diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java index a51dfa58c2a..ed942e305f8 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java @@ -183,22 +183,24 @@ public XNode serializeItemValue(V itemValue, ItemDefiniti return serializePropertyRawValue((PrismPropertyValue) itemValue); } if (beanConverter.getPrismContext() == null) { - // HACK. Ugly hack. We need to make sure that the bean converter has a prism context. - // If it does not then it cannot serialize any values and the subsequent calls may fail. - // The bean converter usually has a context. The context may be missing if it was initialized - // inside one of the JAXB getters/setters. - // We need to get rid of JAXB entirelly to get rid of hacks like this - PrismContext context = null; - if (definition != null) { - context = definition.getPrismContext(); - } - if (context == null && itemValue.getParent() != null) { - context = itemValue.getParent().getPrismContext(); - } - if (context == null) { - throw new SystemException("Cannot determine prism context when serializing "+itemValue); - } - beanConverter.setPrismContext(context); + // hope we don't need this code any more + throw new IllegalStateException("No prismContext in beanConverter!"); +// // HACK. Ugly hack. We need to make sure that the bean converter has a prism context. +// // If it does not then it cannot serialize any values and the subsequent calls may fail. +// // The bean converter usually has a context. The context may be missing if it was initialized +// // inside one of the JAXB getters/setters. +// // We need to get rid of JAXB entirelly to get rid of hacks like this +// PrismContext context = null; +// if (definition != null) { +// context = definition.getPrismContext(); +// } +// if (context == null && itemValue.getParent() != null) { +// context = itemValue.getParent().getPrismContext(); +// } +// if (context == null) { +// throw new SystemException("Cannot determine prism context when serializing "+itemValue); +// } +// beanConverter.setPrismContext(context); } if (itemValue instanceof PrismReferenceValue) { xnode = serializeReferenceValue((PrismReferenceValue)itemValue, (PrismReferenceDefinition) definition); diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/query/PagingConvertor.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/query/PagingConvertor.java index b62490c3e01..383998c8f33 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/query/PagingConvertor.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/query/PagingConvertor.java @@ -18,6 +18,7 @@ import javax.xml.namespace.QName; +import com.evolveum.prism.xml.ns._public.types_3.ItemPathType; import org.w3c.dom.Element; import com.evolveum.midpoint.prism.PrismConstants; @@ -38,8 +39,7 @@ public static ObjectPaging createObjectPaging(PagingType pagingType){ QName orderBy = null; if (pagingType.getOrderBy() != null){ - XPathHolder xpath = new XPathHolder(pagingType.getOrderBy()); - orderBy = ItemPath.getName(xpath.toItemPath().first()); + orderBy = ItemPath.getName(pagingType.getOrderBy().getItemPath().first()); } return ObjectPaging.createPaging(pagingType.getOffset(), pagingType.getMaxSize(), orderBy, toOrderDirection(pagingType.getOrderDirection())); @@ -71,9 +71,7 @@ public static PagingType createPagingType(ObjectPaging paging){ pagingType.setMaxSize(paging.getMaxSize()); pagingType.setOffset(paging.getOffset()); if (paging.getOrderBy() != null) { - Element orderBy = DOMUtil.createElement(PrismConstants.Q_ORDER_BY); - DOMUtil.setQNameValue(orderBy, paging.getOrderBy()); - pagingType.setOrderBy(orderBy); + pagingType.setOrderBy(new ItemPathType(new ItemPath(paging.getOrderBy()))); } return pagingType; diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java index fbe7242b7fe..cf881bddad0 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java @@ -79,7 +79,6 @@ public class SchemaRegistry implements LSResourceResolver, EntityResolver, Debug private static final QName DEFAULT_XSD_TYPE = DOMUtil.XSD_STRING; private static final String RUNTIME_CATALOG_RESOURCE = "META-INF/catalog-runtime.xml"; - private static final String COMPILE_TIME_CATALOG_RESOURCE = "META-INF/catalog.xml"; private String catalogResource; @@ -105,13 +104,6 @@ public SchemaRegistry() { this.extensionSchemas = new HashMap(); } - public SchemaRegistry(boolean useCompileTimeCatalog) { - this(); - if (useCompileTimeCatalog) { - catalogResource = COMPILE_TIME_CATALOG_RESOURCE; - } - } - public DynamicNamespacePrefixMapper getNamespacePrefixMapper() { return namespacePrefixMapper; } diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PagingType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PagingType.java index f32d602085c..58219b1f7be 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PagingType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PagingType.java @@ -14,6 +14,7 @@ import com.evolveum.midpoint.util.xml.DomAwareEqualsStrategy; import com.evolveum.midpoint.util.xml.DomAwareHashCodeStrategy; +import com.evolveum.prism.xml.ns._public.types_3.ItemPathType; import org.apache.commons.lang.builder.ToStringBuilder; import org.jvnet.jaxb2_commons.lang.Equals; import org.jvnet.jaxb2_commons.lang.EqualsStrategy; @@ -64,8 +65,7 @@ public class PagingType implements Serializable, Cloneable, Equals, HashCode { private final static long serialVersionUID = 201105211233L; - @XmlAnyElement - protected Element orderBy; + protected ItemPathType orderBy; @XmlElement(defaultValue = "ascending") protected OrderDirectionType orderDirection; @XmlElement(defaultValue = "0") @@ -101,8 +101,7 @@ public PagingType(final PagingType o) { if (o == null) { throw new NullPointerException("Cannot create a copy of 'PagingType' from 'null'."); } - // CWildcardTypeInfo: org.w3c.dom.Element - this.orderBy = ((o.orderBy == null)?null:((o.getOrderBy() == null)?null:((Element) o.getOrderBy().cloneNode(true)))); + this.orderBy = (o.orderBy == null)?null:o.orderBy.clone(); // CEnumLeafInfo: com.evolveum.prism.xml.ns._public.query_3.OrderDirectionType this.orderDirection = ((o.orderDirection == null)?null:o.getOrderDirection()); // CBuiltinLeafInfo: java.lang.Integer @@ -119,7 +118,7 @@ public PagingType(final PagingType o) { * {@link Element } * */ - public Element getOrderBy() { + public ItemPathType getOrderBy() { return orderBy; } @@ -131,7 +130,7 @@ public Element getOrderBy() { * {@link Element } * */ - public void setOrderBy(Element value) { + public void setOrderBy(ItemPathType value) { this.orderBy = value; } @@ -220,7 +219,7 @@ public String toString() { public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { - Element theOrderBy; + ItemPathType theOrderBy; theOrderBy = this.getOrderBy(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "orderBy", theOrderBy), currentHashCode, theOrderBy); } @@ -256,9 +255,9 @@ public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Obje } final PagingType that = ((PagingType) object); { - Element lhsOrderBy; + ItemPathType lhsOrderBy; lhsOrderBy = this.getOrderBy(); - Element rhsOrderBy; + ItemPathType rhsOrderBy; rhsOrderBy = that.getOrderBy(); if (!strategy.equals(LocatorUtils.property(thisLocator, "orderBy", lhsOrderBy), LocatorUtils.property(thatLocator, "orderBy", rhsOrderBy), lhsOrderBy, rhsOrderBy)) { return false; @@ -313,7 +312,7 @@ public PagingType clone() { // CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000 final PagingType clone = ((PagingType) super.clone()); // CWildcardTypeInfo: org.w3c.dom.Element - clone.orderBy = ((this.orderBy == null)?null:((this.getOrderBy() == null)?null:((Element) this.getOrderBy().cloneNode(true)))); + clone.orderBy = ((this.orderBy == null)?null:((this.getOrderBy() == null)?null:(this.getOrderBy().clone()))); // CEnumLeafInfo: com.evolveum.prism.xml.ns._public.query_3.OrderDirectionType clone.orderDirection = ((this.orderDirection == null)?null:this.getOrderDirection()); // CBuiltinLeafInfo: java.lang.Integer diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemDeltaType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemDeltaType.java index 3c670fc6d9e..f5918b21e0e 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemDeltaType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemDeltaType.java @@ -185,13 +185,13 @@ public List getValue() { return (List) (List) value; // brutal hack } - public List getAnyValues(){ - List vals = new ArrayList(); - for (Object raw : value){ - vals.addAll(((RawType) raw).getContent()); - } - return vals; - } +// public List getAnyValues(){ +// List vals = new ArrayList(); +// for (Object raw : value){ +// vals.addAll(((RawType) raw).getContent()); +// } +// return vals; +// } /** * Sets the value of the value property. diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java index 54b9d09a4ab..39ac4b63625 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java @@ -1,79 +1,32 @@ package com.evolveum.prism.xml.ns._public.types_3; -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlTransient; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import com.evolveum.midpoint.prism.parser.PrismBeanConverter; -import com.evolveum.midpoint.prism.util.CloneUtil; -import com.evolveum.midpoint.util.exception.SystemException; - -import org.apache.commons.lang.StringUtils; -import org.apache.commons.lang.Validate; -import org.jvnet.jaxb2_commons.lang.Equals; -import org.jvnet.jaxb2_commons.lang.EqualsStrategy; -import org.jvnet.jaxb2_commons.locator.ObjectLocator; -import org.w3c.dom.Attr; -import org.w3c.dom.Element; - import com.evolveum.midpoint.prism.Item; import com.evolveum.midpoint.prism.ItemDefinition; import com.evolveum.midpoint.prism.PrismContext; import com.evolveum.midpoint.prism.PrismProperty; import com.evolveum.midpoint.prism.PrismValue; -import com.evolveum.midpoint.prism.parser.DomParser; import com.evolveum.midpoint.prism.parser.XNodeProcessor; -import com.evolveum.midpoint.prism.parser.XNodeSerializer; -import com.evolveum.midpoint.prism.xml.XmlTypeConverter; -import com.evolveum.midpoint.prism.xnode.MapXNode; -import com.evolveum.midpoint.prism.xnode.PrimitiveXNode; -import com.evolveum.midpoint.prism.xnode.ValueParser; import com.evolveum.midpoint.prism.xnode.XNode; -import com.evolveum.midpoint.util.DOMUtil; import com.evolveum.midpoint.util.exception.SchemaException; +import com.evolveum.midpoint.util.exception.SystemException; +import org.apache.commons.lang.Validate; +import org.jvnet.jaxb2_commons.lang.Equals; +import org.jvnet.jaxb2_commons.lang.EqualsStrategy; +import org.jvnet.jaxb2_commons.locator.ObjectLocator; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; -import org.w3c.dom.Text; +import javax.xml.namespace.QName; +import java.io.Serializable; /** * A class used to hold raw XNodes until the definition for such an object is known. */ -@XmlAccessorType(XmlAccessType.NONE) -@XmlType(name = "RawType", propOrder = { - "content" -}) public class RawType implements Serializable, Cloneable, Equals { private static final long serialVersionUID = 4430291958902286779L; - - public RawType() { - } - public RawType(XNode xnode) { - this.xnode = xnode; - ((ContentList) content).fillIn(null); - } - - public RawType(XNode xnode, PrismContext prismContext) { - this.xnode = xnode; - ((ContentList) content).fillIn(prismContext); - } + /** + * This is obligatory. + */ + private PrismContext prismContext; /* * At most one of these two values (xnode, parsed) should be set. @@ -94,374 +47,26 @@ public RawType(XNode xnode, PrismContext prismContext) { */ private PrismValue parsed; - /** - * Raw content (mix of strings, DOM elements and probably JAXB elements). - * It is set either when parsing via JAXB or when receiving an XNode value. - * - * It is *NOT* updated on xnode/parsed changes, which are forbidden anyway. - */ - @XmlMixed - @XmlAnyElement - protected List content = new ContentList(); // must be here, otherwise JAXB provides its own implementation of the list - - /** - * Raw attributes: set when parsing via JAXB. - * - * Attributes are not serialized when marshalling this object via JAXB (except xsiType one). - * All information is marshalled into XML elements, regardless of whether they originate - * from elements or attributes. We hope the JAXB will be abandoned soon, so this is not - * a big problem. - */ - @XmlAnyAttribute - private Map attributes = new AttributesMap(); - - /** - * Explicit designation of the value type. - * It is set either when parsing via JAXB or when receiving XNode value. - * - * It is *NOT* updated on xnode/parsed changes, which are forbidden anyway. - * - * Will be removed when we get rid of JAXB. - */ - private QName xsiType; - - //region General getters/setters - public XNode getXnode() { - return xnode; - } - - public List getContent() { - return content; // content is initialized at instantiation time + public RawType(PrismContext prismContext) { + Validate.notNull(prismContext, "prismContext"); + this.prismContext = prismContext; } - @XmlAttribute(name = "xsiType") - public QName getXsiType() { - if (xnode != null) { - return xnode.getTypeQName(); - } else { - return xsiType; - } - } - - public void setXsiType(QName type) { - this.xsiType = type; - if (xnode != null) { - xnode.setTypeQName(type); - } - } - //endregion - - //region ContentList management - /** - * We do not maintain ContentList after any changes in xnode or parsed are made. - */ - class ContentList extends ArrayList implements Serializable { - - @Override - public boolean add(Object e) { - addObject(e); - return super.add(e); - } - - @Override - public void clear() { - removeContent(false); - super.clear(); - } - - void fillIn(PrismContext prismContext) { - try { - fillInWithSchemaException(prismContext); - } catch (SchemaException e) { - throw new SystemException("Couldn't prepare RawType contents: " + e.getMessage(), e); - } - } - - // prismContext may be null - private void fillInWithSchemaException(PrismContext prismContext) throws SchemaException { - DomParser domParser; - XNode xnodeToSerialize; - if (parsed != null) { - if (prismContext == null) { - prismContext = parsed.getPrismContext(); - } - xnodeToSerialize = prismContext.getXnodeProcessor().serializeItemValue(parsed); - domParser = prismContext.getParserDom(); - } else { - xnodeToSerialize = xnode; - domParser = new DomParser(prismContext != null ? prismContext.getSchemaRegistry() : null); - } - if (xnode != null) { - Element rootElement = domParser.serializeToElement(xnodeToSerialize, new QName("dummy")); - NodeList children = rootElement.getChildNodes(); - for (int i = 0; i < children.getLength(); i++) { - Node child = children.item(i); - if (child instanceof Element) { - DOMUtil.fixNamespaceDeclarations((Element) child); - super.add(child); - } else if (child instanceof Text) { - super.add(((Text) child).getData()); - } else if (child instanceof Attr) { - // attributes are ignored (xmlns have been already copied to child) - } else { - System.out.println("fillIn: ignoring " + child); // TODO remove this eventually - } - } - } - } - - @Override - public Object set(int index, Object element) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - - @Override - public Object remove(int index) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - - @Override - public boolean remove(Object o) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - - @Override - public boolean addAll(Collection c) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - - @Override - public boolean addAll(int index, Collection c) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - - @Override - protected void removeRange(int fromIndex, int toIndex) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - - @Override - public boolean removeAll(Collection c) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - - @Override - public boolean retainAll(Collection c) { - throw new UnsupportedOperationException("This is not a supported way of dealing with RawType internal contents."); - } - } - - private void removeContent(boolean removeAttributes) { - if (parsed != null) { - throw new UnsupportedOperationException("Clearing content is unsupported if the content is already parsed"); - } else if (xnode != null) { - if (xnode instanceof PrimitiveXNode) { - if (!removeAttributes) { - xnode = null; // primitive xnode of this kind got here from the content (not from attributes), so remove it - } - } else if (xnode instanceof MapXNode) { - Iterator> iterator = ((MapXNode) xnode).entrySet().iterator(); - while (iterator.hasNext()) { - Map.Entry entry = iterator.next(); - boolean entryIsAttribute = (entry.getValue() instanceof PrimitiveXNode && ((PrimitiveXNode) entry.getValue()).isAttribute()); - if (removeAttributes == entryIsAttribute) { - iterator.remove(); - } - } - } else { - throw new IllegalStateException("Unsupported xnode type: " + xnode); - } - } else { - // no content, nothing to remove - } - } - - private void addObject(Object e) { - if (e instanceof String) { - if (!StringUtils.isBlank((String) e)) { - addStringContent((String) e); - } - } else if (e instanceof Element) { - addElement((Element) e); - } else if (e instanceof JAXBElement) { - addJaxbElement((JAXBElement) e); - } else { - throw new IllegalArgumentException("RAW TYPE ADD: "+e+" "+e.getClass()); - } - updateXNodeType(); - } - - private void addJaxbElement(JAXBElement jaxb) { - PrismBeanConverter converter = new PrismBeanConverter(null); - XNodeSerializer serializer = new XNodeSerializer(converter); - - - XNode newXNode; - try { - if (ProtectedDataType.class.isAssignableFrom(jaxb.getValue().getClass())){ - xnode = serializer.serializeProtectedDataType((ProtectedDataType) jaxb.getValue()); - } else{ - xnode = converter.marshall(jaxb.getValue()); - } - } catch (SchemaException ex) { - throw new IllegalArgumentException("Cannot parse element: "+ex+" Reason: "+ex.getMessage(), ex); - } -// MapXNode mapXNode = prepareMapXNode(); -// mapXNode.put(jaxb.getName(), newXNode); - } - - private void addElement(Element e) { - DomParser domParser = new DomParser(null); - MapXNode newXnode; - try { - newXnode = domParser.parseElementAsMap(e); - } catch (SchemaException ex) { - throw new IllegalArgumentException("Cannot parse element: "+e+" Reason: "+ex.getMessage(), ex); - } - MapXNode mapXNode = prepareMapXNode(); - mapXNode.merge(newXnode); - } - - private MapXNode prepareMapXNode() { - if (xnode == null) { - xnode = new MapXNode(); - } else if (!(xnode instanceof MapXNode)) { - throw new IllegalStateException("xnode is not a MapXNode, aren't you mixing text with XML elements in this RawType?"); - } - return (MapXNode) xnode; + public RawType(XNode xnode, PrismContext prismContext) { + this(prismContext); + this.xnode = xnode; } - class StringValueParser implements ValueParser { - String val; - - StringValueParser(String val) { - this.val = val; - } - - @Override - public Object parse(QName typeName) throws SchemaException { - // XmlTypeConverter is not able to deal with QNames, so we have to do it here - // Currently we know nothing about prefixes (although this might change in the future), - // so we'll simply strip them away. - // - // TODO deal with ItemPathType as well - if (DOMUtil.XSD_QNAME.equals(typeName)) { - if (val != null) { - int i = val.indexOf(':'); - if (i >= 0) { - return new QName(val.substring(i+1)); - } else { - return new QName(val); - } - } else { - return null; - } - } else { - return XmlTypeConverter.toJavaValue(val, typeName); - } - } - - @Override - public boolean isEmpty() { - return StringUtils.isEmpty(val); - } - - @Override - public String getStringValue() { - return val; - } - } + //region General getters/setters - private void addStringContent(final String val) { - ValueParser valueParser = new StringValueParser(val); - if (xnode != null || parsed != null) { - throw new IllegalStateException("Trying to add text value to already filled-in RawType. Value being added = " + val); - } - PrimitiveXNode newXNode = new PrimitiveXNode(); - newXNode.setValueParser(valueParser); - newXNode.setAttribute(false); - xnode = newXNode; - updateXNodeType(); + public XNode getXnode() { + return xnode; } - //endregion - - //region AttributesMap management - class AttributesMap implements Map, Serializable { - - private Map map = new HashMap<>(); - - @Override - public int size() { - return map.size(); - } - - @Override - public boolean isEmpty() { - return map.isEmpty(); - } - - @Override - public boolean containsKey(Object key) { - return map.containsKey(key); - } - - @Override - public boolean containsValue(Object value) { - return map.containsValue(value); - } - - @Override - public String get(Object key) { - return map.get(key); - } - - @Override - public String put(QName key, String value) { - addStringFromAttribute(key, value); - System.out.println("Adding attribute " + key + " = " + value); - return map.put(key, value); - } - - @Override - public String remove(Object key) { - throw new UnsupportedOperationException(); - } - - @Override - public void putAll(Map m) { - throw new UnsupportedOperationException(); - } - - @Override - public void clear() { - removeContent(true); - } - - @Override - public Set keySet() { - return map.keySet(); - } - - @Override - public Collection values() { - return map.values(); - } - - @Override - public Set> entrySet() { - return map.entrySet(); - } + public PrismContext getPrismContext() { + return prismContext; } - private void addStringFromAttribute(QName attributeName, String val) { - ValueParser valueParser = new StringValueParser(val); - PrimitiveXNode newXNode = new PrimitiveXNode(); - newXNode.setValueParser(valueParser); - newXNode.setAttribute(true); - xnode = prepareMapXNode(); - ((MapXNode) xnode).put(attributeName, newXNode); - } //endregion //region Parsing and serialization @@ -472,7 +77,6 @@ public V getParsedValue(ItemDefinition itemDefinition, QN } else if (xnode != null) { V value; if (itemDefinition != null) { - PrismContext prismContext = itemDefinition.getPrismContext(); if (itemName == null) { itemName = itemDefinition.getName(); } @@ -506,24 +110,11 @@ public Item getParsedItem(ItemDefinition itemDefinitio return item; } - private void updateXNodeType() { - if (xsiType != null && xnode != null) { - xnode.setTypeQName(xsiType); - } - } - public XNode serializeToXNode() throws SchemaException { if (xnode != null) { return xnode; } else if (parsed != null) { - XNodeProcessor processor = null; - if (parsed.getPrismContext() != null){ - processor = parsed.getPrismContext().getXnodeProcessor(); - } else{ - processor = new XNodeProcessor(); - } - System.out.println("parsed : " + parsed); - return processor.serializeItemValue(parsed); + return prismContext.getXnodeProcessor().serializeItemValue(parsed); } else { return null; // or an exception here? } @@ -532,15 +123,12 @@ public XNode serializeToXNode() throws SchemaException { //region Cloning, comparing, dumping (TODO) public RawType clone() { - RawType clone = new RawType(); - clone.xsiType = CloneUtil.clone(xsiType); + RawType clone = new RawType(prismContext); if (xnode != null) { clone.xnode = xnode.clone(); - clone.updateXNodeType(); } else if (parsed != null) { clone.parsed = parsed.clone(); } - // contents cannot be cloned, because copying it would result in re-adding existing contents to the clone return clone; } diff --git a/infra/prism/src/main/resources/META-INF/catalog.xml b/infra/prism/src/main/resources/META-INF/catalog-runtime.xml similarity index 100% rename from infra/prism/src/main/resources/META-INF/catalog.xml rename to infra/prism/src/main/resources/META-INF/catalog-runtime.xml diff --git a/infra/prism/src/main/resources/xml/ns/public/query-3.xsd b/infra/prism/src/main/resources/xml/ns/public/query-3.xsd index d501006a3f0..db44d159954 100644 --- a/infra/prism/src/main/resources/xml/ns/public/query-3.xsd +++ b/infra/prism/src/main/resources/xml/ns/public/query-3.xsd @@ -67,6 +67,11 @@ + + + + + @@ -178,7 +183,13 @@ - + + + + + + + diff --git a/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java b/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java index ba5e04f8ad2..a31bfbc7e09 100644 --- a/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java +++ b/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java @@ -368,7 +368,7 @@ private static void addModValues(ItemDelta delta, ItemDeltaType mod, Collection< //modValue.setXnode(null); - RawType modValue = new RawType(); + RawType modValue = new RawType(delta.getPrismContext()); mod.getValue().add(modValue); } else { diff --git a/infra/schema/src/main/java/com/evolveum/midpoint/schema/PagingTypeFactory.java b/infra/schema/src/main/java/com/evolveum/midpoint/schema/PagingTypeFactory.java index 65034f39bd6..0dfea75f62a 100644 --- a/infra/schema/src/main/java/com/evolveum/midpoint/schema/PagingTypeFactory.java +++ b/infra/schema/src/main/java/com/evolveum/midpoint/schema/PagingTypeFactory.java @@ -15,6 +15,7 @@ */ package com.evolveum.midpoint.schema; +import com.evolveum.prism.xml.ns._public.types_3.ItemPathType; import org.apache.commons.lang.StringUtils; import org.w3c.dom.Element; @@ -55,8 +56,8 @@ public static PagingType createPaging(int offset, int maxSize, OrderDirectionTyp return paging; } - private static Element fillPropertyReference(String resolve) { + private static ItemPathType fillPropertyReference(String resolve) { XPathHolder xpath = new XPathHolder(resolve); - return xpath.toElement(SchemaConstants.NS_C, "property"); + return new ItemPathType(xpath.toItemPath()); } } diff --git a/infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java b/infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java index 573d1e3cd3b..b064877da9e 100644 --- a/infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java +++ b/infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java @@ -28,6 +28,7 @@ import javax.xml.bind.JAXBElement; import javax.xml.namespace.QName; +import com.evolveum.midpoint.util.exception.SchemaException; import org.w3c.dom.Element; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; @@ -388,7 +389,7 @@ public static String prettyPrint(OperationResultType resultType) { return sb.toString(); } - public static String prettyPrint(ItemDeltaType change) { + public static String prettyPrint(ItemDeltaType change) throws SchemaException { if (change == null) { return "null"; } @@ -406,10 +407,8 @@ public static String prettyPrint(ItemDeltaType change) { List values = change.getValue(); for (RawType value : values) { - for (Object element : value.getContent()) { - sb.append(prettyPrint(element)); - sb.append(","); - } + sb.append(prettyPrint(value.serializeToXNode())); // todo implement correctly... + sb.append(","); } return sb.toString(); diff --git a/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestDeltaConverter.java b/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestDeltaConverter.java index d7c551a3b6b..dd09fd5970f 100644 --- a/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestDeltaConverter.java +++ b/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestDeltaConverter.java @@ -216,11 +216,10 @@ public void testAccountRefDelta() throws Exception { objectChange.setOid("12345"); ItemDeltaType modificationDeleteAccountRef = new ItemDeltaType(); modificationDeleteAccountRef.setModificationType(ModificationTypeType.DELETE); - RawType modificationValue = new RawType(); ObjectReferenceType accountRefToDelete = new ObjectReferenceType(); accountRefToDelete.setOid("54321"); - JAXBElement accountRefToDeleteElement = new JAXBElement(UserType.F_LINK_REF, ObjectReferenceType.class, accountRefToDelete); - modificationValue.getContent().add(accountRefToDeleteElement); + PrismContext prismContext = PrismTestUtil.getPrismContext(); + RawType modificationValue = new RawType(prismContext.getBeanConverter().marshall(accountRefToDelete), prismContext); modificationDeleteAccountRef.getValue().add(modificationValue); objectChange.getItemDelta().add(modificationDeleteAccountRef); ItemPathType itemPathType = new ItemPathType(new ItemPath(UserType.F_LINK_REF)); @@ -319,12 +318,13 @@ public void testObjectDeltaRoundtrip() throws Exception { List valueElements = mod1.getValue(); assertEquals("Wrong number of value elements", 1, valueElements.size()); RawType rawValue = valueElements.get(0); - List values = rawValue.getContent(); - assertEquals("Wrong number of value elements", 1, values.size()); + // TODO check the raw value +// List values = rawValue.getContent(); +// assertEquals("Wrong number of value elements", 1, values.size()); // System.out.println("value elements: " + valueElements); - String valueElement = (String) values.iterator().next(); +// String valueElement = (String) values.iterator().next(); // assertEquals("Wrong element name", ItemDeltaType.F_VALUE, DOMUtil.getQName(valueElement)); - assertEquals("Wrong element value", VALUE, valueElement); +// assertEquals("Wrong element value", VALUE, valueElement); // WHEN ObjectDelta objectDeltaRoundtrip = DeltaConvertor.createObjectDelta(objectDeltaType, PrismTestUtil.getPrismContext()); diff --git a/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestJaxbParsing.java b/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestJaxbParsing.java index 875c1783a78..b8e7176547d 100644 --- a/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestJaxbParsing.java +++ b/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestJaxbParsing.java @@ -220,8 +220,7 @@ public void testMarshallObjectDeltaType() throws Exception { item1.setPath(new ItemPathType(path)); ProtectedStringType protectedString = new ProtectedStringType(); protectedString.setEncryptedData(new EncryptedDataType()); - RawType value = new RawType(); - value.getContent().add(new JAXBElement(new QName(SchemaConstants.NS_C, "protectedString"), ProtectedStringType.class, protectedString)); + RawType value = new RawType(PrismTestUtil.getPrismContext().getBeanConverter().marshall(protectedString), PrismTestUtil.getPrismContext()); item1.getValue().add(value); String xml = PrismTestUtil.serializeJaxbElementToString( diff --git a/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseDiffPatch.java b/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseDiffPatch.java index 8308daf0295..d6c6aea0e05 100644 --- a/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseDiffPatch.java +++ b/infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseDiffPatch.java @@ -31,6 +31,7 @@ import com.evolveum.midpoint.prism.path.ItemPath; import com.evolveum.midpoint.prism.polystring.PolyString; +import com.evolveum.midpoint.prism.xnode.XNode; import com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType; import com.evolveum.midpoint.xml.ns._public.common.common_3.*; @@ -590,7 +591,7 @@ public void testResourceNsChangeLiteral() throws SchemaException, SAXException, } private void assertXmlPolyMod(ObjectModificationType objectModificationType, QName propertyName, - ModificationTypeType modType, PolyStringType... expectedValues) { + ModificationTypeType modType, PolyStringType... expectedValues) throws SchemaException { //FIXME: for (ItemDeltaType mod : objectModificationType.getItemDelta()) { if (!propertyName.equals(mod.getPath().getItemPath().last())) { @@ -603,9 +604,9 @@ private void assertXmlPolyMod(ObjectModificationType objectModificationType, QNa } } - private void assertModificationPolyStringValue(RawType value, PolyStringType... expectedValues){ - List elements = value.getContent(); - assertFalse(elements.isEmpty()); + private void assertModificationPolyStringValue(RawType value, PolyStringType... expectedValues) throws SchemaException { + XNode xnode = value.serializeToXNode(); + assertFalse(xnode.isEmpty()); // Object first = elements.get(0); // QName elementQName = JAXBUtil.getElementQName(first); // if (!propertyName.equals(elementQName)) { @@ -613,21 +614,14 @@ private void assertModificationPolyStringValue(RawType value, PolyStringType... // } - assertEquals(expectedValues.length, elements.size()); - for (Object element : elements) { - boolean found = false; - for (PolyStringType expectedValue: expectedValues) { - JAXBElement jaxbElement = (JAXBElement)element; -// Element orig = DOMUtil.getChildElement(domElement, new QName(SchemaConstantsGenerated.NS_TYPES, "orig")); -// Element norm = DOMUtil.getChildElement(domElement, new QName(SchemaConstantsGenerated.NS_TYPES, "norm")); - PolyStringType polyString = jaxbElement.getValue(); - - if (expectedValue.getOrig().equals(polyString.getOrig()) && expectedValue.getNorm().equals(polyString.getNorm())) { - found = true; - } + PolyStringType valueAsPoly = value.getPrismContext().getXnodeProcessor().parseAtomicValue(xnode, PolyStringType.COMPLEX_TYPE); + boolean found = false; + for (PolyStringType expectedValue: expectedValues) { + if (expectedValue.getOrig().equals(valueAsPoly.getOrig()) && expectedValue.getNorm().equals(valueAsPoly.getNorm())) { + found = true; } - assertTrue(found); } + assertTrue(found); } private boolean equal(String value, Element element) { @@ -642,32 +636,32 @@ private boolean equal(String value, Element element) { return value.equals(element.getTextContent()); } - private void assertXmlMod(ObjectModificationType objectModificationType, QName propertyName, - ModificationTypeType modType, String... expectedValues) { - for (ItemDeltaType mod: objectModificationType.getItemDelta()) { - assertEquals(modType, mod.getModificationType()); - for (RawType val : mod.getValue()){ - List elements = val.getContent(); - assertFalse(elements.isEmpty()); - Object first = elements.get(0); -// QName elementQName = JAXBUtil.getElementQName(first); - if (propertyName.equals(mod.getPath().getItemPath().last())) { - - assertEquals(expectedValues.length, elements.size()); - for (Object element: elements) { - boolean found = false; - for (String expectedValue: expectedValues) { - Element domElement = (Element)element; - if (expectedValue.equals(domElement.getTextContent())) { - found = true; - } - } - assertTrue(found); - } - } - } - } - } +// private void assertXmlMod(ObjectModificationType objectModificationType, QName propertyName, +// ModificationTypeType modType, String... expectedValues) { +// for (ItemDeltaType mod: objectModificationType.getItemDelta()) { +// assertEquals(modType, mod.getModificationType()); +// for (RawType val : mod.getValue()){ +// List elements = val.getContent(); +// assertFalse(elements.isEmpty()); +// Object first = elements.get(0); +//// QName elementQName = JAXBUtil.getElementQName(first); +// if (propertyName.equals(mod.getPath().getItemPath().last())) { +// +// assertEquals(expectedValues.length, elements.size()); +// for (Object element: elements) { +// boolean found = false; +// for (String expectedValue: expectedValues) { +// Element domElement = (Element)element; +// if (expectedValue.equals(domElement.getTextContent())) { +// found = true; +// } +// } +// assertTrue(found); +// } +// } +// } +// } +// } } diff --git a/model/model-client/src/main/java/com/evolveum/midpoint/model/client/ModelClientUtil.java b/model/model-client/src/main/java/com/evolveum/midpoint/model/client/ModelClientUtil.java index 142191a65a1..4cfa109ae9c 100644 --- a/model/model-client/src/main/java/com/evolveum/midpoint/model/client/ModelClientUtil.java +++ b/model/model-client/src/main/java/com/evolveum/midpoint/model/client/ModelClientUtil.java @@ -16,12 +16,14 @@ package com.evolveum.midpoint.model.client; import java.io.IOException; +import java.io.StringReader; import java.util.HashMap; import java.util.Map; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; +import javax.xml.bind.Unmarshaller; import javax.xml.namespace.QName; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; @@ -33,6 +35,7 @@ import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType; import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType; import com.evolveum.midpoint.xml.ns._public.common.common_3.PasswordType; +import com.evolveum.prism.xml.ns._public.query_3.FilterClauseType; import com.evolveum.prism.xml.ns._public.query_3.SearchFilterType; import com.evolveum.prism.xml.ns._public.types_3.ChangeTypeType; import com.evolveum.prism.xml.ns._public.types_3.ItemPathType; @@ -94,11 +97,11 @@ public static Element createPathElement(String stringPath, Document doc) { public static ItemPathType createItemPathType(String stringPath) { ItemPathType itemPathType = new ItemPathType(); String pathDeclaration = "declare default namespace '" + NS_COMMON + "'; " + stringPath; - itemPathType.getContent().add(pathDeclaration); + itemPathType.setValue(pathDeclaration); return itemPathType; } - public static SearchFilterType parseSearchFilterType(String filterClauseAsXml) throws IOException, SAXException { + public static SearchFilterType parseSearchFilterType(String filterClauseAsXml) throws IOException, SAXException, JAXBException { Element filterClauseAsElement = parseElement(filterClauseAsXml); SearchFilterType searchFilterType = new SearchFilterType(); searchFilterType.setFilterClause(filterClauseAsElement); @@ -162,7 +165,7 @@ public static Element parseElement(String stringXml) throws SAXException, IOExce Document document = domDocumentBuilder.parse(IOUtils.toInputStream(stringXml, "utf-8")); return getFirstChildElement(document); } - + public static Element getFirstChildElement(Node parent) { if (parent == null || parent.getChildNodes() == null) { return null; diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentEvaluator.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentEvaluator.java index 15760071fcd..920279264a3 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentEvaluator.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentEvaluator.java @@ -262,7 +262,8 @@ private void evaluateAssignment(EvaluatedAssignment evalAssignment, AssignmentPa } else { // Do not throw an exception. We don't have referential integrity. Therefore if a role is deleted then throwing // an exception would prohibit any operations with the users that have the role, including removal of the reference. - LOGGER.debug("No target or construcion in assignment in {}, ignoring it", source); + LOGGER.debug("No target or construction in assignment in {}, ignoring it", source); + //result.recordWarning("No target or construction in assignment in " + source + ", ignoring it."); } } else { diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java index d456f95cc5e..073e416bd80 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java @@ -1034,7 +1034,7 @@ private void evaluateScriptArgument(ProvisioningScriptArgumentType argument, Exp // We need to create at least one evaluator. Otherwise the expression code will complain // Element value = DOMUtil.createElement(SchemaConstants.C_VALUE); // DOMUtil.setNill(value); - JAXBElement el = new JAXBElement(SchemaConstants.C_VALUE, RawType.class, new RawType()); + JAXBElement el = new JAXBElement(SchemaConstants.C_VALUE, RawType.class, new RawType(prismContext)); argument.getExpressionEvaluator().add(el); } else { diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/scripting/TestScriptingBasic.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/scripting/TestScriptingBasic.java index bb66b8b01d3..4fe1d280bc6 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/scripting/TestScriptingBasic.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/scripting/TestScriptingBasic.java @@ -15,40 +15,10 @@ */ package com.evolveum.midpoint.model.intest.scripting; -import com.evolveum.midpoint.common.monitor.InternalMonitor; -import com.evolveum.midpoint.model.impl.scripting.Data; -import com.evolveum.midpoint.model.impl.scripting.ExecutionContext; -import com.evolveum.midpoint.model.impl.scripting.ScriptingExpressionEvaluator; import com.evolveum.midpoint.model.intest.AbstractInitializedModelIntegrationTest; -import com.evolveum.midpoint.model.test.LogfileTestTailer; -import com.evolveum.midpoint.prism.Item; -import com.evolveum.midpoint.prism.PrismObject; -import com.evolveum.midpoint.prism.PrismProperty; -import com.evolveum.midpoint.schema.result.OperationResult; -import com.evolveum.midpoint.schema.util.ObjectQueryUtil; -import com.evolveum.midpoint.task.api.Task; -import com.evolveum.midpoint.test.IntegrationTestTools; -import com.evolveum.midpoint.test.util.TestUtil; -import com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType; -import com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType; -import com.evolveum.midpoint.xml.ns._public.common.common_3.UserType; -import com.evolveum.midpoint.xml.ns._public.model.scripting_3.ExpressionPipelineType; -import com.evolveum.midpoint.xml.ns._public.model.scripting_3.ExpressionSequenceType; -import com.evolveum.midpoint.xml.ns._public.model.scripting_3.ObjectFactory; - -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.annotation.DirtiesContext.ClassMode; import org.springframework.test.context.ContextConfiguration; -import org.testng.annotations.Test; - -import javax.xml.bind.JAXBElement; - -import java.io.File; -import java.util.List; - -import static org.testng.AssertJUnit.assertEquals; -import static org.testng.AssertJUnit.assertTrue; /** * @author mederly @@ -58,502 +28,502 @@ @DirtiesContext(classMode = ClassMode.AFTER_CLASS) public class TestScriptingBasic extends AbstractInitializedModelIntegrationTest { - public static final File TEST_DIR = new File("src/test/resources/scripting"); - private static final String DOT_CLASS = TestScriptingBasic.class.getName() + "."; - private static final File LOG_FILE = new File(TEST_DIR, "log.xml"); - private static final File SEARCH_FOR_USERS_FILE = new File(TEST_DIR, "search-for-users.xml"); - private static final File SEARCH_FOR_SHADOWS_FILE = new File(TEST_DIR, "search-for-shadows.xml"); - private static final File SEARCH_FOR_SHADOWS_NOFETCH_FILE = new File(TEST_DIR, "search-for-shadows-nofetch.xml"); - private static final File SEARCH_FOR_RESOURCES_FILE = new File(TEST_DIR, "search-for-resources.xml"); - private static final File SEARCH_FOR_ROLES_FILE = new File(TEST_DIR, "search-for-roles.xml"); - private static final File SEARCH_FOR_USERS_ACCOUNTS_FILE = new File(TEST_DIR, "search-for-users-accounts.xml"); - private static final File SEARCH_FOR_USERS_ACCOUNTS_NOFETCH_FILE = new File(TEST_DIR, "search-for-users-accounts-nofetch.xml"); - private static final File DISABLE_JACK_FILE = new File(TEST_DIR, "disable-jack.xml"); - private static final File ENABLE_JACK_FILE = new File(TEST_DIR, "enable-jack.xml"); - private static final File DELETE_AND_ADD_JACK_FILE = new File(TEST_DIR, "delete-and-add-jack.xml"); - private static final File MODIFY_JACK_FILE = new File(TEST_DIR, "modify-jack.xml"); - private static final File MODIFY_JACK_BACK_FILE = new File(TEST_DIR, "modify-jack-back.xml"); - private static final File RECOMPUTE_JACK_FILE = new File(TEST_DIR, "recompute-jack.xml");; - private static final File ASSIGN_TO_JACK_FILE = new File(TEST_DIR, "assign-to-jack.xml"); - private static final File ASSIGN_TO_JACK_2_FILE = new File(TEST_DIR, "assign-to-jack-2.xml"); - private static final File PURGE_DUMMY_BLACK_SCHEMA_FILE = new File(TEST_DIR, "purge-dummy-black-schema.xml"); - private static final File TEST_DUMMY_RESOURCE_FILE = new File(TEST_DIR, "test-dummy-resource.xml"); - - @Autowired - private ScriptingExpressionEvaluator scriptingExpressionEvaluator; - - @Override - public void initSystem(Task initTask, OperationResult initResult) - throws Exception { - super.initSystem(initTask, initResult); - InternalMonitor.reset(); -// InternalMonitor.setTraceShadowFetchOperation(true); -// InternalMonitor.setTraceResourceSchemaOperations(true); - } - - @Test - public void test100EmptySequence() throws Exception { - TestUtil.displayTestTile(this, "test100EmptySequence"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test100EmptySequence"); - ExpressionSequenceType sequence = new ExpressionSequenceType(); - ObjectFactory of = new ObjectFactory(); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(of.createSequence(sequence), result); - - // THEN - assertNoOutputData(output); - result.computeStatus(); - TestUtil.assertSuccess(result); - } - - @Test - public void test110EmptyPipeline() throws Exception { - TestUtil.displayTestTile(this, "test110EmptyPipeline"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test110EmptyPipeline"); - ExpressionPipelineType pipeline = new ExpressionPipelineType(); - ObjectFactory of = new ObjectFactory(); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(of.createPipeline(pipeline), result); - - // THEN - assertNoOutputData(output); - result.computeStatus(); - TestUtil.assertSuccess(result); - } - - @Test - public void test120Log() throws Exception { - TestUtil.displayTestTile(this, "test120Log"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test120Log"); - PrismProperty logAction = (PrismProperty) prismContext.parseAnyData(LOG_FILE); - - LogfileTestTailer tailer = new LogfileTestTailer(); - tailer.tail(); - tailer.setExpecteMessage("Custom message:"); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(logAction.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - result.computeStatus(); - TestUtil.assertSuccess(result); - tailer.tail(); - tailer.assertExpectedMessage(); - } - - @Test - public void test200SearchUser() throws Exception { - TestUtil.displayTestTile(this, "test200SearchUser"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test200SearchUser"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_USERS_FILE); - - // WHEN - Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); - - // THEN - IntegrationTestTools.display("output", output.getData()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(2, output.getData().size()); - //assertEquals("administrator", ((PrismObject) output.getData().get(0)).asObjectable().getName().getOrig()); - } - - @Test - public void test205SearchForResources() throws Exception { - TestUtil.displayTestTile(this, "test205SearchForResources"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test205SearchForResources"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_RESOURCES_FILE); - - // WHEN - Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); - - // THEN - IntegrationTestTools.display("output", output.getData()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(9, output.getData().size()); - } - - @Test - public void test206SearchForRoles() throws Exception { - TestUtil.displayTestTile(this, "test206SearchForRoles"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test206SearchForRoles"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_ROLES_FILE); - - // WHEN - Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); - - // THEN - IntegrationTestTools.display("output", output.getData()); - result.computeStatus(); - TestUtil.assertSuccess(result); - //assertEquals(9, output.getData().size()); - } - - @Test - public void test210SearchForShadows() throws Exception { - TestUtil.displayTestTile(this, "test210SearchForShadows"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test210SearchForShadows"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_SHADOWS_FILE); - - // WHEN - Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); - - // THEN - IntegrationTestTools.display("output", output.getData()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(5, output.getData().size()); - assertAttributesFetched(output.getData()); - } - - @Test - public void test215SearchForShadowsNoFetch() throws Exception { - TestUtil.displayTestTile(this, "test215SearchForShadowsNoFetch"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test215SearchForShadowsNoFetch"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_SHADOWS_NOFETCH_FILE); - - // WHEN - Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); - - // THEN - IntegrationTestTools.display("output", output.getData()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(5, output.getData().size()); - assertAttributesNotFetched(output.getData()); - } - - @Test - public void test220SearchForUsersAccounts() throws Exception { - TestUtil.displayTestTile(this, "test220SearchForUsersAccounts"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test220SearchForUsersAccounts"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_USERS_ACCOUNTS_FILE); - - // WHEN - Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); - - // THEN - IntegrationTestTools.display("output", output.getData()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(4, output.getData().size()); - assertAttributesFetched(output.getData()); - } - - @Test - public void test225SearchForUsersAccountsNoFetch() throws Exception { - TestUtil.displayTestTile(this, "test225SearchForUsersAccountsNoFetch"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test225SearchForUsersAccountsNoFetch"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_USERS_ACCOUNTS_NOFETCH_FILE); - - // WHEN - Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); - - // THEN - IntegrationTestTools.display("output", output.getData()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(4, output.getData().size()); - assertAttributesNotFetched(output.getData()); - } - - @Test - public void test300DisableJack() throws Exception { - TestUtil.displayTestTile(this, "test300DisableJack"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test300DisableJack"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(DISABLE_JACK_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - assertEquals("Disabled user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertAdministrativeStatusDisabled(searchObjectByName(UserType.class, "jack")); - } - - @Test - public void test310EnableJack() throws Exception { - TestUtil.displayTestTile(this, "test310EnableJack"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test310EnableJack"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(ENABLE_JACK_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals("Enabled user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); - assertAdministrativeStatusEnabled(searchObjectByName(UserType.class, "jack")); - } - - @Test - public void test320DeleteAndAddJack() throws Exception { - TestUtil.displayTestTile(this, "test320DeleteAndAddJack"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test320DeleteAndAddJack"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(DELETE_AND_ADD_JACK_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals("Deleted user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\nAdded user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); - assertAdministrativeStatusEnabled(searchObjectByName(UserType.class, "jack")); - } - - @Test - public void test330ModifyJack() throws Exception { - TestUtil.displayTestTile(this, "test330ModifyJack"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test330ModifyJack"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(MODIFY_JACK_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - IntegrationTestTools.display(result); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals("Modified user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); - assertEquals("Nowhere", searchObjectByName(UserType.class, "jack").asObjectable().getLocality().getOrig()); - } - - @Test - public void test340ModifyJackBack() throws Exception { - TestUtil.displayTestTile(this, "test340ModifyJackBack"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test340ModifyJackBack"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(MODIFY_JACK_BACK_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - IntegrationTestTools.display(result); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals("Modified user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); - assertEquals("Caribbean", searchObjectByName(UserType.class, "jack").asObjectable().getLocality().getOrig()); - } - - @Test - public void test350RecomputeJack() throws Exception { - TestUtil.displayTestTile(this, "test350RecomputeJack"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test350RecomputeJack"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(RECOMPUTE_JACK_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - IntegrationTestTools.display(result); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals("Recomputed user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); - } - - @Test - public void test360AssignToJack() throws Exception { - TestUtil.displayTestTile(this, "test360AssignToJack"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test360AssignToJack"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(ASSIGN_TO_JACK_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - assertNoOutputData(output); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - IntegrationTestTools.display(result); - result.computeStatus(); - TestUtil.assertSuccess(result); - //assertEquals("Recomputed user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); - PrismObject jack = getUser(USER_JACK_OID); - IntegrationTestTools.display("jack after assignments creation", jack); - assertAssignedAccount(jack, "10000000-0000-0000-0000-000000000104"); - assertAssignedRole(jack, "12345678-d34d-b33f-f00d-55555555cccc"); - } - - @Test - public void test370AssignToJackInBackground() throws Exception { - TestUtil.displayTestTile(this, "test370AssignToJackInBackground"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test370AssignToJackInBackground"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(ASSIGN_TO_JACK_2_FILE); - - // WHEN - Task task = taskManager.createTaskInstance(); - task.setOwner(getUser(USER_ADMINISTRATOR_OID)); - scriptingExpressionEvaluator.evaluateExpressionInBackground(expression.getAnyValue().toJaxbElement(), task, result); - waitForTaskFinish(task.getOid(), false); - task.refresh(result); - - // THEN - IntegrationTestTools.display(task.getResult()); - TestUtil.assertSuccess(task.getResult()); - PrismObject jack = getUser(USER_JACK_OID); - IntegrationTestTools.display("jack after assignment creation", jack); - assertAssignedRole(jack, "12345678-d34d-b33f-f00d-555555556677"); - } - - @Test - public void test380DisableJackInBackgroundSimple() throws Exception { - TestUtil.displayTestTile(this, "test380DisableJackInBackgroundSimple"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test380DisableJackInBackgroundSimple"); - - // WHEN - Task task = taskManager.createTaskInstance(); - task.setOwner(getUser(USER_ADMINISTRATOR_OID)); - scriptingExpressionEvaluator.evaluateExpressionInBackground(UserType.COMPLEX_TYPE, - ObjectQueryUtil.createOrigNameQuery("jack", prismContext).getFilter(), - "disable", task, result); - - waitForTaskFinish(task.getOid(), false); - task.refresh(result); - - // THEN - IntegrationTestTools.display(task.getResult()); - TestUtil.assertSuccess(task.getResult()); - PrismObject jack = getUser(USER_JACK_OID); - IntegrationTestTools.display("jack after disable script", jack); - assertAdministrativeStatusDisabled(jack); - } - - @Test(enabled = true) - public void test400PurgeSchema() throws Exception { - TestUtil.displayTestTile(this, "test400PurgeSchema"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test400PurgeSchema"); - Task task = taskManager.createTaskInstance(); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(PURGE_DUMMY_BLACK_SCHEMA_FILE); - -// ResourceType dummy = modelService.getObject(ResourceType.class, RESOURCE_DUMMY_BLACK_OID, null, task, result).asObjectable(); -// IntegrationTestTools.display("dummy resource before purge schema", dummy.asPrismObject()); -// IntegrationTestTools.display("elements: " + dummy.getSchema().getDefinition().getAny().get(0).getElementsByTagName("*").getLength()); -// IntegrationTestTools.display("schema as XML: " + DOMUtil.printDom(dummy.getSchema().getDefinition().getAny().get(0))); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - IntegrationTestTools.display("output", output.getFinalOutput()); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - IntegrationTestTools.display(result); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(1, output.getFinalOutput().getData().size()); - -// dummy = repositoryService.getObject(ResourceType.class, RESOURCE_DUMMY_BLACK_OID, null, result).asObjectable(); -// IntegrationTestTools.display("dummy resource from repo", dummy.asPrismObject()); -// IntegrationTestTools.display("elements: " + dummy.getSchema().getDefinition().getAny().get(0).getElementsByTagName("*").getLength()); -// IntegrationTestTools.display("schema as XML: " + DOMUtil.printDom(dummy.getSchema().getDefinition().getAny().get(0))); - - //AssertJUnit.assertNull("Schema is still present", dummy.getSchema()); - // actually, schema gets downloaded just after purging it - assertEquals("Purged schema information from resource:10000000-0000-0000-0000-000000000305(Dummy Resource Black)\n", output.getConsoleOutput()); - } - - - @Test - public void test410TestResource() throws Exception { - TestUtil.displayTestTile(this, "test410TestResource"); - - // GIVEN - OperationResult result = new OperationResult(DOT_CLASS + "test410TestResource"); - PrismProperty expression = (PrismProperty) prismContext.parseAnyData(TEST_DUMMY_RESOURCE_FILE); - - // WHEN - ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); - - // THEN - IntegrationTestTools.display("output", output.getFinalOutput()); - IntegrationTestTools.display("stdout", output.getConsoleOutput()); - ResourceType dummy = modelService.getObject(ResourceType.class, RESOURCE_DUMMY_OID, null, taskManager.createTaskInstance(), result).asObjectable(); - IntegrationTestTools.display("dummy resource after test connection", dummy.asPrismObject()); - IntegrationTestTools.display(result); - result.computeStatus(); - TestUtil.assertSuccess(result); - assertEquals(1, output.getFinalOutput().getData().size()); - assertEquals("Tested resource:10000000-0000-0000-0000-000000000004(Dummy Resource): SUCCESS\n", output.getConsoleOutput()); - } - - private void assertNoOutputData(ExecutionContext output) { - assertTrue("Script returned unexpected data", output.getFinalOutput() == null || output.getFinalOutput().getData().isEmpty()); - } - - // the following tests are a bit crude but for now it should be OK - - private void assertAttributesNotFetched(List data) { - for (Item item : data) { - if (((PrismObject) item).asObjectable().getAttributes().getAny().size() > 2) { - throw new AssertionError("There are some unexpected attributes present in " + item.debugDump()); - } - } - } - - private void assertAttributesFetched(List data) { - for (Item item : data) { - if (((PrismObject) item).asObjectable().getAttributes().getAny().size() <= 2) { - throw new AssertionError("There are no attributes present in " + item.debugDump()); - } - } - } +// public static final File TEST_DIR = new File("src/test/resources/scripting"); +// private static final String DOT_CLASS = TestScriptingBasic.class.getName() + "."; +// private static final File LOG_FILE = new File(TEST_DIR, "log.xml"); +// private static final File SEARCH_FOR_USERS_FILE = new File(TEST_DIR, "search-for-users.xml"); +// private static final File SEARCH_FOR_SHADOWS_FILE = new File(TEST_DIR, "search-for-shadows.xml"); +// private static final File SEARCH_FOR_SHADOWS_NOFETCH_FILE = new File(TEST_DIR, "search-for-shadows-nofetch.xml"); +// private static final File SEARCH_FOR_RESOURCES_FILE = new File(TEST_DIR, "search-for-resources.xml"); +// private static final File SEARCH_FOR_ROLES_FILE = new File(TEST_DIR, "search-for-roles.xml"); +// private static final File SEARCH_FOR_USERS_ACCOUNTS_FILE = new File(TEST_DIR, "search-for-users-accounts.xml"); +// private static final File SEARCH_FOR_USERS_ACCOUNTS_NOFETCH_FILE = new File(TEST_DIR, "search-for-users-accounts-nofetch.xml"); +// private static final File DISABLE_JACK_FILE = new File(TEST_DIR, "disable-jack.xml"); +// private static final File ENABLE_JACK_FILE = new File(TEST_DIR, "enable-jack.xml"); +// private static final File DELETE_AND_ADD_JACK_FILE = new File(TEST_DIR, "delete-and-add-jack.xml"); +// private static final File MODIFY_JACK_FILE = new File(TEST_DIR, "modify-jack.xml"); +// private static final File MODIFY_JACK_BACK_FILE = new File(TEST_DIR, "modify-jack-back.xml"); +// private static final File RECOMPUTE_JACK_FILE = new File(TEST_DIR, "recompute-jack.xml");; +// private static final File ASSIGN_TO_JACK_FILE = new File(TEST_DIR, "assign-to-jack.xml"); +// private static final File ASSIGN_TO_JACK_2_FILE = new File(TEST_DIR, "assign-to-jack-2.xml"); +// private static final File PURGE_DUMMY_BLACK_SCHEMA_FILE = new File(TEST_DIR, "purge-dummy-black-schema.xml"); +// private static final File TEST_DUMMY_RESOURCE_FILE = new File(TEST_DIR, "test-dummy-resource.xml"); +// +// @Autowired +// private ScriptingExpressionEvaluator scriptingExpressionEvaluator; +// +// @Override +// public void initSystem(Task initTask, OperationResult initResult) +// throws Exception { +// super.initSystem(initTask, initResult); +// InternalMonitor.reset(); +//// InternalMonitor.setTraceShadowFetchOperation(true); +//// InternalMonitor.setTraceResourceSchemaOperations(true); +// } +// +// @Test +// public void test100EmptySequence() throws Exception { +// TestUtil.displayTestTile(this, "test100EmptySequence"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test100EmptySequence"); +// ExpressionSequenceType sequence = new ExpressionSequenceType(); +// ObjectFactory of = new ObjectFactory(); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(of.createSequence(sequence), result); +// +// // THEN +// assertNoOutputData(output); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// } +// +// @Test +// public void test110EmptyPipeline() throws Exception { +// TestUtil.displayTestTile(this, "test110EmptyPipeline"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test110EmptyPipeline"); +// ExpressionPipelineType pipeline = new ExpressionPipelineType(); +// ObjectFactory of = new ObjectFactory(); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(of.createPipeline(pipeline), result); +// +// // THEN +// assertNoOutputData(output); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// } +// +// @Test +// public void test120Log() throws Exception { +// TestUtil.displayTestTile(this, "test120Log"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test120Log"); +// PrismProperty logAction = (PrismProperty) prismContext.parseAnyData(LOG_FILE); +// +// LogfileTestTailer tailer = new LogfileTestTailer(); +// tailer.tail(); +// tailer.setExpecteMessage("Custom message:"); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(logAction.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// tailer.tail(); +// tailer.assertExpectedMessage(); +// } +// +// @Test +// public void test200SearchUser() throws Exception { +// TestUtil.displayTestTile(this, "test200SearchUser"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test200SearchUser"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_USERS_FILE); +// +// // WHEN +// Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); +// +// // THEN +// IntegrationTestTools.display("output", output.getData()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(2, output.getData().size()); +// //assertEquals("administrator", ((PrismObject) output.getData().get(0)).asObjectable().getName().getOrig()); +// } +// +// @Test +// public void test205SearchForResources() throws Exception { +// TestUtil.displayTestTile(this, "test205SearchForResources"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test205SearchForResources"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_RESOURCES_FILE); +// +// // WHEN +// Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); +// +// // THEN +// IntegrationTestTools.display("output", output.getData()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(9, output.getData().size()); +// } +// +// @Test +// public void test206SearchForRoles() throws Exception { +// TestUtil.displayTestTile(this, "test206SearchForRoles"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test206SearchForRoles"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_ROLES_FILE); +// +// // WHEN +// Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); +// +// // THEN +// IntegrationTestTools.display("output", output.getData()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// //assertEquals(9, output.getData().size()); +// } +// +// @Test +// public void test210SearchForShadows() throws Exception { +// TestUtil.displayTestTile(this, "test210SearchForShadows"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test210SearchForShadows"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_SHADOWS_FILE); +// +// // WHEN +// Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); +// +// // THEN +// IntegrationTestTools.display("output", output.getData()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(5, output.getData().size()); +// assertAttributesFetched(output.getData()); +// } +// +// @Test +// public void test215SearchForShadowsNoFetch() throws Exception { +// TestUtil.displayTestTile(this, "test215SearchForShadowsNoFetch"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test215SearchForShadowsNoFetch"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_SHADOWS_NOFETCH_FILE); +// +// // WHEN +// Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); +// +// // THEN +// IntegrationTestTools.display("output", output.getData()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(5, output.getData().size()); +// assertAttributesNotFetched(output.getData()); +// } +// +// @Test +// public void test220SearchForUsersAccounts() throws Exception { +// TestUtil.displayTestTile(this, "test220SearchForUsersAccounts"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test220SearchForUsersAccounts"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_USERS_ACCOUNTS_FILE); +// +// // WHEN +// Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); +// +// // THEN +// IntegrationTestTools.display("output", output.getData()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(4, output.getData().size()); +// assertAttributesFetched(output.getData()); +// } +// +// @Test +// public void test225SearchForUsersAccountsNoFetch() throws Exception { +// TestUtil.displayTestTile(this, "test225SearchForUsersAccountsNoFetch"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test225SearchForUsersAccountsNoFetch"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(SEARCH_FOR_USERS_ACCOUNTS_NOFETCH_FILE); +// +// // WHEN +// Data output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result).getFinalOutput(); +// +// // THEN +// IntegrationTestTools.display("output", output.getData()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(4, output.getData().size()); +// assertAttributesNotFetched(output.getData()); +// } +// +// @Test +// public void test300DisableJack() throws Exception { +// TestUtil.displayTestTile(this, "test300DisableJack"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test300DisableJack"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(DISABLE_JACK_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// assertEquals("Disabled user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertAdministrativeStatusDisabled(searchObjectByName(UserType.class, "jack")); +// } +// +// @Test +// public void test310EnableJack() throws Exception { +// TestUtil.displayTestTile(this, "test310EnableJack"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test310EnableJack"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(ENABLE_JACK_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals("Enabled user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); +// assertAdministrativeStatusEnabled(searchObjectByName(UserType.class, "jack")); +// } +// +// @Test +// public void test320DeleteAndAddJack() throws Exception { +// TestUtil.displayTestTile(this, "test320DeleteAndAddJack"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test320DeleteAndAddJack"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(DELETE_AND_ADD_JACK_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals("Deleted user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\nAdded user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); +// assertAdministrativeStatusEnabled(searchObjectByName(UserType.class, "jack")); +// } +// +// @Test +// public void test330ModifyJack() throws Exception { +// TestUtil.displayTestTile(this, "test330ModifyJack"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test330ModifyJack"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(MODIFY_JACK_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// IntegrationTestTools.display(result); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals("Modified user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); +// assertEquals("Nowhere", searchObjectByName(UserType.class, "jack").asObjectable().getLocality().getOrig()); +// } +// +// @Test +// public void test340ModifyJackBack() throws Exception { +// TestUtil.displayTestTile(this, "test340ModifyJackBack"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test340ModifyJackBack"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(MODIFY_JACK_BACK_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// IntegrationTestTools.display(result); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals("Modified user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); +// assertEquals("Caribbean", searchObjectByName(UserType.class, "jack").asObjectable().getLocality().getOrig()); +// } +// +// @Test +// public void test350RecomputeJack() throws Exception { +// TestUtil.displayTestTile(this, "test350RecomputeJack"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test350RecomputeJack"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(RECOMPUTE_JACK_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// IntegrationTestTools.display(result); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals("Recomputed user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); +// } +// +// @Test +// public void test360AssignToJack() throws Exception { +// TestUtil.displayTestTile(this, "test360AssignToJack"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test360AssignToJack"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(ASSIGN_TO_JACK_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// assertNoOutputData(output); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// IntegrationTestTools.display(result); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// //assertEquals("Recomputed user:c0c010c0-d34d-b33f-f00d-111111111111(jack)\n", output.getConsoleOutput()); +// PrismObject jack = getUser(USER_JACK_OID); +// IntegrationTestTools.display("jack after assignments creation", jack); +// assertAssignedAccount(jack, "10000000-0000-0000-0000-000000000104"); +// assertAssignedRole(jack, "12345678-d34d-b33f-f00d-55555555cccc"); +// } +// +// @Test +// public void test370AssignToJackInBackground() throws Exception { +// TestUtil.displayTestTile(this, "test370AssignToJackInBackground"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test370AssignToJackInBackground"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(ASSIGN_TO_JACK_2_FILE); +// +// // WHEN +// Task task = taskManager.createTaskInstance(); +// task.setOwner(getUser(USER_ADMINISTRATOR_OID)); +// scriptingExpressionEvaluator.evaluateExpressionInBackground(expression.getAnyValue().toJaxbElement(), task, result); +// waitForTaskFinish(task.getOid(), false); +// task.refresh(result); +// +// // THEN +// IntegrationTestTools.display(task.getResult()); +// TestUtil.assertSuccess(task.getResult()); +// PrismObject jack = getUser(USER_JACK_OID); +// IntegrationTestTools.display("jack after assignment creation", jack); +// assertAssignedRole(jack, "12345678-d34d-b33f-f00d-555555556677"); +// } +// +// @Test +// public void test380DisableJackInBackgroundSimple() throws Exception { +// TestUtil.displayTestTile(this, "test380DisableJackInBackgroundSimple"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test380DisableJackInBackgroundSimple"); +// +// // WHEN +// Task task = taskManager.createTaskInstance(); +// task.setOwner(getUser(USER_ADMINISTRATOR_OID)); +// scriptingExpressionEvaluator.evaluateExpressionInBackground(UserType.COMPLEX_TYPE, +// ObjectQueryUtil.createOrigNameQuery("jack", prismContext).getFilter(), +// "disable", task, result); +// +// waitForTaskFinish(task.getOid(), false); +// task.refresh(result); +// +// // THEN +// IntegrationTestTools.display(task.getResult()); +// TestUtil.assertSuccess(task.getResult()); +// PrismObject jack = getUser(USER_JACK_OID); +// IntegrationTestTools.display("jack after disable script", jack); +// assertAdministrativeStatusDisabled(jack); +// } +// +// @Test(enabled = true) +// public void test400PurgeSchema() throws Exception { +// TestUtil.displayTestTile(this, "test400PurgeSchema"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test400PurgeSchema"); +// Task task = taskManager.createTaskInstance(); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(PURGE_DUMMY_BLACK_SCHEMA_FILE); +// +//// ResourceType dummy = modelService.getObject(ResourceType.class, RESOURCE_DUMMY_BLACK_OID, null, task, result).asObjectable(); +//// IntegrationTestTools.display("dummy resource before purge schema", dummy.asPrismObject()); +//// IntegrationTestTools.display("elements: " + dummy.getSchema().getDefinition().getAny().get(0).getElementsByTagName("*").getLength()); +//// IntegrationTestTools.display("schema as XML: " + DOMUtil.printDom(dummy.getSchema().getDefinition().getAny().get(0))); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// IntegrationTestTools.display("output", output.getFinalOutput()); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// IntegrationTestTools.display(result); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(1, output.getFinalOutput().getData().size()); +// +//// dummy = repositoryService.getObject(ResourceType.class, RESOURCE_DUMMY_BLACK_OID, null, result).asObjectable(); +//// IntegrationTestTools.display("dummy resource from repo", dummy.asPrismObject()); +//// IntegrationTestTools.display("elements: " + dummy.getSchema().getDefinition().getAny().get(0).getElementsByTagName("*").getLength()); +//// IntegrationTestTools.display("schema as XML: " + DOMUtil.printDom(dummy.getSchema().getDefinition().getAny().get(0))); +// +// //AssertJUnit.assertNull("Schema is still present", dummy.getSchema()); +// // actually, schema gets downloaded just after purging it +// assertEquals("Purged schema information from resource:10000000-0000-0000-0000-000000000305(Dummy Resource Black)\n", output.getConsoleOutput()); +// } +// +// +// @Test +// public void test410TestResource() throws Exception { +// TestUtil.displayTestTile(this, "test410TestResource"); +// +// // GIVEN +// OperationResult result = new OperationResult(DOT_CLASS + "test410TestResource"); +// PrismProperty expression = (PrismProperty) prismContext.parseAnyData(TEST_DUMMY_RESOURCE_FILE); +// +// // WHEN +// ExecutionContext output = scriptingExpressionEvaluator.evaluateExpression(expression.getAnyValue().toJaxbElement(), result); +// +// // THEN +// IntegrationTestTools.display("output", output.getFinalOutput()); +// IntegrationTestTools.display("stdout", output.getConsoleOutput()); +// ResourceType dummy = modelService.getObject(ResourceType.class, RESOURCE_DUMMY_OID, null, taskManager.createTaskInstance(), result).asObjectable(); +// IntegrationTestTools.display("dummy resource after test connection", dummy.asPrismObject()); +// IntegrationTestTools.display(result); +// result.computeStatus(); +// TestUtil.assertSuccess(result); +// assertEquals(1, output.getFinalOutput().getData().size()); +// assertEquals("Tested resource:10000000-0000-0000-0000-000000000004(Dummy Resource): SUCCESS\n", output.getConsoleOutput()); +// } +// +// private void assertNoOutputData(ExecutionContext output) { +// assertTrue("Script returned unexpected data", output.getFinalOutput() == null || output.getFinalOutput().getData().isEmpty()); +// } +// +// // the following tests are a bit crude but for now it should be OK +// +// private void assertAttributesNotFetched(List data) { +// for (Item item : data) { +// if (((PrismObject) item).asObjectable().getAttributes().getAny().size() > 2) { +// throw new AssertionError("There are some unexpected attributes present in " + item.debugDump()); +// } +// } +// } +// +// private void assertAttributesFetched(List data) { +// for (Item item : data) { +// if (((PrismObject) item).asObjectable().getAttributes().getAny().size() <= 2) { +// throw new AssertionError("There are no attributes present in " + item.debugDump()); +// } +// } +// } } diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java index 80ac38dee9d..f1868487b96 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java @@ -159,7 +159,7 @@ public void test100RecomputeAll() throws Exception { PrismPropertyValue newAttrPVal = oldAttrPVal.clone(); JAXBElement cutlassExpressionEvalJaxbElement = newAttrPVal.getValue().getOutbound().getExpression().getExpressionEvaluator().get(0); RawType cutlassValueEvaluator = (RawType) cutlassExpressionEvalJaxbElement.getValue(); - RawType daggerValueEvaluator = new RawType(new PrimitiveXNode("dagger")); + RawType daggerValueEvaluator = new RawType(new PrimitiveXNode("dagger"), prismContext); JAXBElement daggerExpressionEvalJaxbElement = new JAXBElement(SchemaConstants.C_VALUE, Object.class, daggerValueEvaluator); newAttrPVal.getValue().getOutbound().getExpression().getExpressionEvaluator().add(daggerExpressionEvalJaxbElement); newAttrPVal.getValue().getOutbound().setStrength(MappingStrengthType.STRONG); diff --git a/model/model-intest/testng.xml b/model/model-intest/testng.xml index 97ed768d783..e8231e7ddbe 100644 --- a/model/model-intest/testng.xml +++ b/model/model-intest/testng.xml @@ -73,7 +73,7 @@ - + diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/impl/TestCsvFile.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/impl/TestCsvFile.java index cbe308f21cd..eaf3badae0f 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/impl/TestCsvFile.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/impl/TestCsvFile.java @@ -328,7 +328,7 @@ public void test500ExeucuteScript() throws Exception { ProvisioningScriptArgumentType argument = new ProvisioningScriptArgumentType(); argument.setName("NAME"); JAXBElement valueEvaluator = (JAXBElement) new ObjectFactory().createValue(null); - RawType value = new RawType(new PrimitiveXNode("World")); + RawType value = new RawType(new PrimitiveXNode("World"), prismContext); valueEvaluator.setValue(value); argument.getExpressionEvaluator().add(valueEvaluator); script.getArgument().add(argument); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java index 604fa711a6a..76b1291eb47 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java @@ -728,7 +728,7 @@ public void testChangePassword() throws Exception { //set the replace value MapXNode passPsXnode = prismContext.getXnodeProcessor().createSerializer().serializeProtectedDataType(passPs); - RawType value = new RawType(passPsXnode); + RawType value = new RawType(passPsXnode, prismContext); propMod.getValue().add(value); //set the modificaion type diff --git a/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java index d801b65df3b..3877092302b 100644 --- a/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java +++ b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java @@ -26,8 +26,10 @@ import com.evolveum.midpoint.xml.ns._public.common.api_types_3.SelectorQualifiedGetOptionsType; import com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType; import com.evolveum.midpoint.xml.ns._public.common.common_3.ModelExecuteOptionsType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType; import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType; import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType; import com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType; import com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType; import com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType; @@ -49,6 +51,7 @@ import com.evolveum.prism.xml.ns._public.types_3.PolyStringType; import org.apache.commons.io.IOUtils; import org.apache.cxf.frontend.ClientProxy; +import org.apache.cxf.interceptor.LoggingInInterceptor; import org.apache.cxf.interceptor.LoggingOutInterceptor; import org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor; import org.apache.ws.security.WSConstants; @@ -68,6 +71,7 @@ import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; +import java.net.ProxySelector; import java.util.Collection; import java.util.HashMap; import java.util.List; @@ -85,7 +89,7 @@ public class Main { // Configuration public static final String ADM_USERNAME = "administrator"; public static final String ADM_PASSWORD = "5ecr3t"; - private static final String DEFAULT_ENDPOINT_URL = "http://localhost:8080/midpoint/model/model-1"; + private static final String DEFAULT_ENDPOINT_URL = "http://localhost.:8080/midpoint/model/model-3"; // Object OIDs private static final String ROLE_PIRATE_OID = "12345678-d34d-b33f-f00d-987987987988"; @@ -284,7 +288,7 @@ private static String createUserGuybrush(ModelPortType modelPort, RoleType role) } private static String createUserFromSystemResource(ModelPortType modelPort, String resourcePath) throws FileNotFoundException, JAXBException, FaultMessage { - UserType user = unmarshallResouce(resourcePath); + UserType user = unmarshallResource(resourcePath); return createUser(modelPort, user); } @@ -309,7 +313,7 @@ private static T unmarshallFile(File file) throws JAXBException, FileNotFoun return element.getValue(); } - private static T unmarshallResouce(String path) throws JAXBException, FileNotFoundException { + private static T unmarshallResource(String path) throws JAXBException, FileNotFoundException { JAXBContext jc = ModelClientUtil.instantiateJaxbContext(); Unmarshaller unmarshaller = jc.createUnmarshaller(); @@ -332,7 +336,7 @@ private static T unmarshallResouce(String path) throws JAXBException, FileNo return element.getValue(); } - private static String createUser(ModelPortType modelPort, UserType userType) throws FaultMessage { + private static String createUser(ModelPortType modelPort, UserType userType) throws FaultMessage { ObjectDeltaType deltaType = new ObjectDeltaType(); deltaType.setObjectType(ModelClientUtil.getTypeQName(UserType.class)); deltaType.setChangeType(ChangeTypeType.ADD); @@ -407,10 +411,14 @@ private static void modifyRoleAssignment(ModelPortType modelPort, String userOid ObjectDeltaListType deltaListType = new ObjectDeltaListType(); deltaListType.getDelta().add(deltaType); - modelPort.executeChanges(deltaListType, null); + ObjectDeltaOperationListType objectDeltaOperationList = modelPort.executeChanges(deltaListType, null); + for (ObjectDeltaOperationType objectDeltaOperation : objectDeltaOperationList.getDeltaOperation()) { + if (!OperationResultStatusType.SUCCESS.equals(objectDeltaOperation.getExecutionResult().getStatus())) { + System.out.println("*** Operation result = " + objectDeltaOperation.getExecutionResult().getStatus() + ": " + objectDeltaOperation.getExecutionResult().getMessage()); + } + } } - private static AssignmentType createRoleAssignment(String roleOid) { AssignmentType roleAssignment = new AssignmentType(); ObjectReferenceType roleRef = new ObjectReferenceType(); @@ -420,7 +428,7 @@ private static AssignmentType createRoleAssignment(String roleOid) { return roleAssignment; } - private static UserType searchUserByName(ModelPortType modelPort, String username) throws SAXException, IOException, FaultMessage { + private static UserType searchUserByName(ModelPortType modelPort, String username) throws SAXException, IOException, FaultMessage, JAXBException { // WARNING: in a real case make sure that the username is properly escaped before putting it in XML SearchFilterType filter = ModelClientUtil.parseSearchFilterType( "" + @@ -447,7 +455,7 @@ private static UserType searchUserByName(ModelPortType modelPort, String usernam throw new IllegalStateException("Expected to find a single user with username '"+username+"' but found "+objects.size()+" users instead"); } - private static RoleType searchRoleByName(ModelPortType modelPort, String roleName) throws SAXException, IOException, FaultMessage { + private static RoleType searchRoleByName(ModelPortType modelPort, String roleName) throws SAXException, IOException, FaultMessage, JAXBException { // WARNING: in a real case make sure that the role name is properly escaped before putting it in XML SearchFilterType filter = ModelClientUtil.parseSearchFilterType( "" + @@ -474,7 +482,7 @@ private static RoleType searchRoleByName(ModelPortType modelPort, String roleNam throw new IllegalStateException("Expected to find a single role with name '"+roleName+"' but found "+objects.size()+" users instead"); } - private static Collection listRequestableRoles(ModelPortType modelPort) throws SAXException, IOException, FaultMessage { + private static Collection listRequestableRoles(ModelPortType modelPort) throws SAXException, IOException, FaultMessage, JAXBException { SearchFilterType filter = ModelClientUtil.parseSearchFilterType( "" + "c:requestable" + @@ -515,6 +523,9 @@ public static ModelPortType createModelPort(String[] args) { } System.out.println("Endpoint URL: "+endpointUrl); + + // uncomment this if you want to use Fiddler or any other proxy + //ProxySelector.setDefault(new MyProxySelector("127.0.0.1", 8888)); ModelService modelService = new ModelService(); ModelPortType modelPort = modelService.getModelPort(); @@ -534,8 +545,9 @@ public static ModelPortType createModelPort(String[] args) { WSS4JOutInterceptor wssOut = new WSS4JOutInterceptor(outProps); cxfEndpoint.getOutInterceptors().add(wssOut); - // enable the following to get client-side logging of outgoing requests - //cxfEndpoint.getOutInterceptors().add(new LoggingOutInterceptor()); + // enable the following to get client-side logging of outgoing requests and incoming responses + cxfEndpoint.getOutInterceptors().add(new LoggingOutInterceptor()); + cxfEndpoint.getInInterceptors().add(new LoggingInInterceptor()); return modelPort; } diff --git a/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/MyProxySelector.java b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/MyProxySelector.java new file mode 100644 index 00000000000..61dac0d7bc4 --- /dev/null +++ b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/MyProxySelector.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2010-2014 Evolveum + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.evolveum.midpoint.testing.model.client.sample; + +import java.io.IOException; +import java.net.InetSocketAddress; +import java.net.Proxy; +import java.net.ProxySelector; +import java.net.SocketAddress; +import java.net.URI; +import java.util.ArrayList; +import java.util.List; + +/** + * Useful when redirecting HTTP communication via proxy. + * + * @author mederly + */ +class MyProxySelector extends ProxySelector { + + private List proxyList = new ArrayList(); + + MyProxySelector(String proxyHost, int port) { + proxyList.add(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, port))); + } + + @Override + public List select(URI uri) { + return proxyList; + } + + @Override + public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { + // nothing to do here + } +} diff --git a/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/RunScript.java b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/RunScript.java index 31d3bdbac33..f5237e7aa23 100644 --- a/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/RunScript.java +++ b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/RunScript.java @@ -21,8 +21,8 @@ import com.evolveum.midpoint.xml.ns._public.common.api_types_3.SingleScriptOutputType; import com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultStatusType; import com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScripts; -import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsResponse; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsResponseType; +import com.evolveum.midpoint.xml.ns._public.model.model_3.ExecuteScriptsType; import com.evolveum.midpoint.xml.ns._public.model.model_3.ModelPortType; import com.evolveum.midpoint.xml.ns._public.model.model_3.ModelService; import org.apache.commons.cli.CommandLine; @@ -121,7 +121,7 @@ public static void main(String[] args) { System.exit(0); } - ExecuteScripts request = new ExecuteScripts(); + ExecuteScriptsType request = new ExecuteScriptsType(); String script = readXmlFile(cmdline.getOptionValue(OPT_SCRIPT)); script = replaceParameters(script, cmdline.getOptionProperties("D")); request.setMslScripts(script); // todo fix this hack @@ -136,7 +136,7 @@ public static void main(String[] args) { ModelPortType modelPort = createModelPort(cmdline); - ExecuteScriptsResponse response = modelPort.executeScripts(request); + ExecuteScriptsResponseType response = modelPort.executeScripts(request); System.out.println("================================================================="); diff --git a/samples/roles/role-captain.xml b/samples/roles/role-captain.xml index a402fd3d43e..f0ad0b64f8e 100644 --- a/samples/roles/role-captain.xml +++ b/samples/roles/role-captain.xml @@ -40,9 +40,7 @@ ri:carLicense - - C4PT41N - + C4PT41N @@ -50,9 +48,7 @@ ri:businessCategory - - cruise - + cruise diff --git a/samples/roles/role-pirate-lord.xml b/samples/roles/role-pirate-lord.xml index f677aeafb1d..7d6dff6ed1c 100644 --- a/samples/roles/role-pirate-lord.xml +++ b/samples/roles/role-pirate-lord.xml @@ -42,9 +42,7 @@ ri:businessCategory - - politics - + politics diff --git a/samples/roles/role-pirate-opendj.xml b/samples/roles/role-pirate-opendj.xml index a65d8a81946..67f42fb268c 100644 --- a/samples/roles/role-pirate-opendj.xml +++ b/samples/roles/role-pirate-opendj.xml @@ -45,10 +45,8 @@ ri:businessCategory - - loot - murder - + loot + murder diff --git a/samples/roles/role-pirate.xml b/samples/roles/role-pirate.xml index 0efae470814..b1cc3a0a189 100644 --- a/samples/roles/role-pirate.xml +++ b/samples/roles/role-pirate.xml @@ -45,10 +45,8 @@ ri:businessCategory - - loot - murder - + loot + murder diff --git a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java index f8e677cb68d..2f017d6eca2 100644 --- a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java +++ b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java @@ -44,13 +44,13 @@ import java.util.HashSet; import java.util.List; -import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.xml.namespace.QName; import javax.xml.ws.Holder; import com.evolveum.midpoint.prism.PrismContext; +import com.evolveum.midpoint.prism.xnode.PrimitiveXNode; import com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaOperationListType; import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType; import org.apache.commons.lang.StringUtils; @@ -94,7 +94,6 @@ import com.evolveum.midpoint.prism.delta.PropertyDelta; import com.evolveum.midpoint.prism.parser.util.XNodeProcessorUtil; import com.evolveum.midpoint.prism.path.ItemPath; -import com.evolveum.midpoint.prism.query.EqualFilter; import com.evolveum.midpoint.prism.query.ObjectQuery; import com.evolveum.midpoint.prism.query.QueryJaxbConvertor; import com.evolveum.midpoint.prism.schema.SchemaRegistry; @@ -1471,12 +1470,9 @@ public void test023ChangePasswordJAXB() throws Exception { ItemDeltaType passwordDelta = new ItemDeltaType(); passwordDelta.setModificationType(ModificationTypeType.REPLACE); passwordDelta.setPath(ModelClientUtil.createItemPathType("credentials/password/value")); - RawType passwordValue = new RawType(); ProtectedStringType pass = new ProtectedStringType(); pass.setClearValue(NEW_PASSWORD); - passwordValue.getContent().add(ModelClientUtil.toJaxbElement(ItemDeltaType.F_VALUE, pass)); -// passwordValue.getContent().add(ModelClientUtil.toJaxbElement(ModelClientUtil.COMMON_VALUE, -// ModelClientUtil.createProtectedString(NEW_PASSWORD))); + RawType passwordValue = new RawType(prismContext.getBeanConverter().marshall(pass), prismContext); passwordDelta.getValue().add(passwordValue); userDelta.getItemDelta().add(passwordDelta); @@ -1763,11 +1759,9 @@ public void test040UnlinkDerbyAccountFromUser() throws FileNotFoundException, JA objectChange.setOid(USER_JACK_OID); ItemDeltaType modificationDeleteAccountRef = new ItemDeltaType(); modificationDeleteAccountRef.setModificationType(ModificationTypeType.DELETE); - RawType modificationValue = new RawType(); ObjectReferenceType accountRefToDelete = new ObjectReferenceType(); accountRefToDelete.setOid(accountShadowOidDerby); - JAXBElement accountRefToDeleteElement = new JAXBElement(UserType.F_LINK_REF, ObjectReferenceType.class, accountRefToDelete); - modificationValue.getContent().add(accountRefToDeleteElement); + RawType modificationValue = new RawType(prismContext.getBeanConverter().marshall(accountRefToDelete), prismContext); modificationDeleteAccountRef.getValue().add(modificationValue); modificationDeleteAccountRef.setPath(new ItemPathType(new ItemPath(UserType.F_LINK_REF))); objectChange.getItemDelta().add(modificationDeleteAccountRef); @@ -3731,11 +3725,10 @@ public void test501NotifyChangeModifyAccount() throws Exception{ ItemPathType path = new ItemPathType(new ItemPath(ShadowType.F_ATTRIBUTES, new QName(resourceTypeOpenDjrepo.getNamespace(), "givenName"))); mod1.setPath(path); - RawType value = new RawType(); + RawType value = new RawType(new PrimitiveXNode("newAngelika"), prismContext); //TODO: shouldn't it be JaxbElement? // Element el = DOMUtil.createElement(DOMUtil.getDocument(), new QName(resourceTypeOpenDjrepo.getNamespace(), "givenName")); // el.setTextContent("newAngelika"); - value.getContent().add("newAngelika"); mod1.getValue().add(value); delta.getItemDelta().add(mod1); @@ -3796,8 +3789,7 @@ public void test502NotifyChangeModifyAccountPassword() throws Exception{ ItemDeltaType passwordDelta = new ItemDeltaType(); passwordDelta.setModificationType(ModificationTypeType.REPLACE); passwordDelta.setPath(ModelClientUtil.createItemPathType("credentials/password/value")); - RawType passwordValue = new RawType(); - passwordValue.getContent().add(ModelClientUtil.toJaxbElement(ItemDeltaType.F_VALUE, ModelClientUtil.createProtectedString(newPassword))); + RawType passwordValue = new RawType(prismContext.getBeanConverter().marshall(ModelClientUtil.createProtectedString(newPassword)), prismContext); passwordDelta.getValue().add(passwordValue); // ItemDeltaType mod1 = new ItemDeltaType(); From 407544329556fbf02cf89c8fa9ecfdb5d74c933d Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Fri, 23 May 2014 10:35:37 +0200 Subject: [PATCH 04/27] Fixing sanity, moving some @XmlType-related parsing/serialization (PolyStringType, ProtectedDataType, SchemaDefinitionType) to PrismBeanConverter. --- .../prism/parser/PrismBeanConverter.java | 124 +++++++++++++++--- .../midpoint/prism/parser/XNodeProcessor.java | 59 +-------- .../prism/parser/XNodeSerializer.java | 54 +------- .../prism/parser/TestProtectedString.java | 2 +- .../midpoint/testing/sanity/TestSanity.java | 5 +- 5 files changed, 122 insertions(+), 122 deletions(-) diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java index 7e5f5d44998..7ebf1da815c 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java @@ -22,26 +22,32 @@ import com.evolveum.midpoint.prism.Revivable; import com.evolveum.midpoint.prism.parser.util.XNodeProcessorUtil; import com.evolveum.midpoint.prism.path.ItemPath; +import com.evolveum.midpoint.prism.polystring.PolyString; import com.evolveum.midpoint.prism.schema.SchemaRegistry; import com.evolveum.midpoint.prism.xml.XmlTypeConverter; import com.evolveum.midpoint.prism.xml.XsdTypeMapper; import com.evolveum.midpoint.prism.xnode.ListXNode; import com.evolveum.midpoint.prism.xnode.MapXNode; import com.evolveum.midpoint.prism.xnode.PrimitiveXNode; +import com.evolveum.midpoint.prism.xnode.SchemaXNode; import com.evolveum.midpoint.prism.xnode.XNode; import com.evolveum.midpoint.util.DOMUtil; import com.evolveum.midpoint.util.Handler; +import com.evolveum.midpoint.util.QNameUtil; import com.evolveum.midpoint.util.exception.SchemaException; import com.evolveum.midpoint.util.exception.SystemException; import com.evolveum.midpoint.util.exception.TunnelException; import com.evolveum.midpoint.util.logging.Trace; import com.evolveum.midpoint.util.logging.TraceManager; import com.evolveum.prism.xml.ns._public.query_3.SearchFilterType; +import com.evolveum.prism.xml.ns._public.types_3.EncryptedDataType; import com.evolveum.prism.xml.ns._public.types_3.ItemPathType; +import com.evolveum.prism.xml.ns._public.types_3.PolyStringType; import com.evolveum.prism.xml.ns._public.types_3.ProtectedByteArrayType; import com.evolveum.prism.xml.ns._public.types_3.ProtectedDataType; import com.evolveum.prism.xml.ns._public.types_3.ProtectedStringType; import com.evolveum.prism.xml.ns._public.types_3.RawType; +import com.evolveum.prism.xml.ns._public.types_3.SchemaDefinitionType; import com.evolveum.prism.xml.ns._public.types_3.XmlAsStringType; import org.apache.commons.lang.StringUtils; @@ -110,11 +116,24 @@ public T unmarshall(MapXNode xnode, QName typeQName) throws SchemaException } public T unmarshall(MapXNode xnode, Class beanClass) throws SchemaException { - - if (prismContext.getSchemaRegistry().determineDefinitionFromClass(beanClass) != null) { + + if (PolyStringType.class.equals(beanClass)) { + PolyString polyString = unmarshalPolyString(xnode); + return (T) polyString; + } else if (ProtectedStringType.class.equals(beanClass)) { + ProtectedStringType protectedType = new ProtectedStringType(); + XNodeProcessorUtil.parseProtectedType(protectedType, xnode, prismContext); + return (T) protectedType; + } else if (ProtectedByteArrayType.class.equals(beanClass)) { + ProtectedByteArrayType protectedType = new ProtectedByteArrayType(); + XNodeProcessorUtil.parseProtectedType(protectedType, xnode, prismContext); + return (T) protectedType; + } else if (SchemaDefinitionType.class.equals(beanClass)) { + SchemaDefinitionType schemaDefType = unmarshalSchemaDefinitionType(xnode); + return (T) schemaDefType; + } else if (prismContext.getSchemaRegistry().determineDefinitionFromClass(beanClass) != null) { return (T) prismContext.getXnodeProcessor().parseObject(xnode).asObjectable(); - } - if (XmlAsStringType.class.equals(beanClass)) { + } else if (XmlAsStringType.class.equals(beanClass)) { // reading a string represented a XML-style content // used e.g. when reading report templates (embedded XML) // A necessary condition: there may be only one map entry. @@ -598,8 +617,13 @@ public XNode marshall(T bean) throws SchemaException { if (bean == null) { return null; } - if (bean instanceof ItemPathType) { - return marshalItemPath((ItemPathType) bean); + if (bean instanceof SchemaDefinitionType) { + return marshalSchemaDefinition((SchemaDefinitionType) bean); + } else if (bean instanceof ProtectedDataType) { + MapXNode xProtected = marshalProtectedDataType((ProtectedDataType) bean); + return xProtected; + } else if (bean instanceof ItemPathType){ + return marshalItemPathType((ItemPathType) bean); } else if (bean instanceof SearchFilterType) { return marshalSearchFilterType((SearchFilterType) bean); } else if (bean instanceof RawType) { @@ -851,20 +875,88 @@ private PrimitiveXNode createPrimitiveXNode(T value, QName fieldTypeName, return xprim; } - private XNode marshalRawValue(RawType value) throws SchemaException { + private PrimitiveXNode createPrimitiveXNode(T val, QName type) { + return createPrimitiveXNode(val, type, false); + } + + private XNode marshalRawValue(RawType value) throws SchemaException { return value.serializeToXNode(); } - private XNode marshalItemPath(ItemPathType itemPath){ - PrimitiveXNode xprim = new PrimitiveXNode<>(); - ItemPath path = itemPath.getItemPath(); -// XPathHolder holder = new XPathHolder(path); -// xprim.setValue(holder.getXPath()); - xprim.setValue(path); - xprim.setTypeQName(ItemPathType.COMPLEX_TYPE); - return xprim; - } + private XNode marshalItemPathType(ItemPathType itemPath) { + PrimitiveXNode xprim = new PrimitiveXNode(); + if (itemPath != null){ + ItemPath path = itemPath.getItemPath(); + xprim.setValue(path); + xprim.setTypeQName(ItemPathType.COMPLEX_TYPE); + } + return xprim; + } + + private XNode marshalSchemaDefinition(SchemaDefinitionType schemaDefinitionType) { + SchemaXNode xschema = new SchemaXNode(); + xschema.setSchemaElement(schemaDefinitionType.getSchema()); + MapXNode xmap = new MapXNode(); + xmap.put(DOMUtil.XSD_SCHEMA_ELEMENT, xschema); + return xmap; + } + // TODO create more appropriate interface to be able to simply serialize ProtectedStringType instances + public MapXNode marshalProtectedDataType(ProtectedDataType protectedType) throws SchemaException { + MapXNode xmap = new MapXNode(); + if (protectedType.getEncryptedDataType() != null) { + EncryptedDataType encryptedDataType = protectedType.getEncryptedDataType(); + MapXNode xEncryptedDataType = (MapXNode) marshall(encryptedDataType); + xmap.put(ProtectedDataType.F_ENCRYPTED_DATA, xEncryptedDataType); + } else if (protectedType.getClearValue() != null){ + QName type = XsdTypeMapper.toXsdType(protectedType.getClearValue().getClass()); + PrimitiveXNode xClearValue = createPrimitiveXNode(protectedType.getClearValue(), type); + xmap.put(ProtectedDataType.F_CLEAR_VALUE, xClearValue); + } + // TODO: clearValue + return xmap; + } + + private PolyString unmarshalPolyString(MapXNode xmap) throws SchemaException { + String orig = xmap.getParsedPrimitiveValue(QNameUtil.nullNamespace(PolyString.F_ORIG), DOMUtil.XSD_STRING); + if (orig == null) { + throw new SchemaException("Null polystring orig in "+xmap); + } + String norm = xmap.getParsedPrimitiveValue(QNameUtil.nullNamespace(PolyString.F_NORM), DOMUtil.XSD_STRING); + return new PolyString(orig, norm); + } + + private SchemaDefinitionType unmarshalSchemaDefinitionType(MapXNode xmap) throws SchemaException { + Entry subEntry = xmap.getSingleSubEntry("schema element"); + if (subEntry == null) { + return null; + } + XNode xsub = subEntry.getValue(); + if (xsub == null) { + return null; + } + if (!(xsub instanceof SchemaXNode)) { + throw new SchemaException("Cannot parse schema from "+xsub); + } +// Element schemaElement = ((SchemaXNode)xsub).getSchemaElement(); +// if (schemaElement == null) { +// throw new SchemaException("Empty schema in "+xsub); +// } + SchemaDefinitionType schemaDefType = unmarshalSchemaDefinitionType((SchemaXNode) xsub); +// new SchemaDefinitionType(); +// schemaDefType.setSchema(schemaElement); + return schemaDefType; + } + + public SchemaDefinitionType unmarshalSchemaDefinitionType(SchemaXNode xsub) throws SchemaException{ + Element schemaElement = ((SchemaXNode)xsub).getSchemaElement(); + if (schemaElement == null) { + throw new SchemaException("Empty schema in "+xsub); + } + SchemaDefinitionType schemaDefType = new SchemaDefinitionType(); + schemaDefType.setSchema(schemaElement); + return schemaDefType; + } } \ No newline at end of file diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java index 01643fdef9c..f4b500df83d 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java @@ -330,7 +330,7 @@ private PrismProperty parsePrismPropertyFromSchema(SchemaXNode xnode, QNa PrismPropertyDefinition propertyDefinition) throws SchemaException { PrismProperty prop = propertyDefinition.instantiate(); - SchemaDefinitionType schemaDefType = parseSchemaDefinitionType((SchemaXNode) xnode); + SchemaDefinitionType schemaDefType = getPrismContext().getBeanConverter().unmarshalSchemaDefinitionType((SchemaXNode) xnode); PrismPropertyValue val = new PrismPropertyValue<>(schemaDefType); prop.add(val); @@ -464,21 +464,7 @@ private T parsePrismPropertyRealValueFromMap(MapXNode xmap, QName typeName, } typeName = propertyDefinition.getTypeName(); } - if (PolyStringType.COMPLEX_TYPE.equals(typeName)) { - PolyString polyString = parsePolyString(xmap); - return (T) polyString; - } else if (ProtectedStringType.COMPLEX_TYPE.equals(typeName)) { - ProtectedStringType protectedType = new ProtectedStringType(); - XNodeProcessorUtil.parseProtectedType(protectedType, xmap, prismContext); - return (T) protectedType; - } else if (ProtectedByteArrayType.COMPLEX_TYPE.equals(typeName)) { - ProtectedByteArrayType protectedType = new ProtectedByteArrayType(); - XNodeProcessorUtil.parseProtectedType(protectedType, xmap, prismContext); - return (T) protectedType; - } else if (SchemaDefinitionType.COMPLEX_TYPE.equals(typeName)) { - SchemaDefinitionType schemaDefType = parseSchemaDefinitionType(xmap); - return (T) schemaDefType; - } else if (prismContext.getBeanConverter().canProcess(typeName)) { + if (prismContext.getBeanConverter().canProcess(typeName)) { return prismContext.getBeanConverter().unmarshall(xmap, typeName); } else { if (propertyDefinition != null) { @@ -578,47 +564,6 @@ private ItemPathType parseItemPathType(PrimitiveXNode itemPath) throws SchemaExc // // } - private PolyString parsePolyString(MapXNode xmap) throws SchemaException { - String orig = xmap.getParsedPrimitiveValue(QNameUtil.nullNamespace(PolyString.F_ORIG), DOMUtil.XSD_STRING); - if (orig == null) { - throw new SchemaException("Null polystring orig in "+xmap); - } - String norm = xmap.getParsedPrimitiveValue(QNameUtil.nullNamespace(PolyString.F_NORM), DOMUtil.XSD_STRING); - return new PolyString(orig, norm); - } - - private SchemaDefinitionType parseSchemaDefinitionType(MapXNode xmap) throws SchemaException { - Entry subEntry = xmap.getSingleSubEntry("schema element"); - if (subEntry == null) { - return null; - } - XNode xsub = subEntry.getValue(); - if (xsub == null) { - return null; - } - if (!(xsub instanceof SchemaXNode)) { - throw new SchemaException("Cannot parse schema from "+xsub); - } -// Element schemaElement = ((SchemaXNode)xsub).getSchemaElement(); -// if (schemaElement == null) { -// throw new SchemaException("Empty schema in "+xsub); -// } - SchemaDefinitionType schemaDefType = parseSchemaDefinitionType((SchemaXNode) xsub); -// new SchemaDefinitionType(); -// schemaDefType.setSchema(schemaElement); - return schemaDefType; - } - - private SchemaDefinitionType parseSchemaDefinitionType(SchemaXNode xsub) throws SchemaException{ - Element schemaElement = ((SchemaXNode)xsub).getSchemaElement(); - if (schemaElement == null) { - throw new SchemaException("Empty schema in "+xsub); - } - SchemaDefinitionType schemaDefType = new SchemaDefinitionType(); - schemaDefType.setSchema(schemaElement); - return schemaDefType; - } - public static PrismProperty parsePrismPropertyRaw(XNode xnode, QName itemName) throws SchemaException { if (xnode instanceof ListXNode) { diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java index ed942e305f8..2e3348efc84 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeSerializer.java @@ -328,37 +328,21 @@ private QName createReferenceQName(QName qname, String namespace) { private XNode serializePropertyValue(PrismPropertyValue value, PrismPropertyDefinition definition) throws SchemaException { QName typeQName = definition.getTypeName(); T realValue = value.getValue(); - if (realValue instanceof SchemaDefinitionType) { - return serializeSchemaDefinition((SchemaDefinitionType)realValue); - } else if (realValue instanceof ProtectedDataType) { - MapXNode xProtected = serializeProtectedDataType((ProtectedDataType) realValue); - if (definition.isDynamic()){ - xProtected.setExplicitTypeDeclaration(true); - xProtected.setTypeQName(definition.getTypeName()); - } - return xProtected; - } else if (realValue instanceof PolyString) { + if (realValue instanceof PolyString) { return serializePolyString((PolyString) realValue); - } else if (realValue instanceof ItemPathType){ - return serializeItemPathType((ItemPathType) realValue); } else if (beanConverter.canProcess(typeQName)) { - return beanConverter.marshall(realValue); + XNode xnode = beanConverter.marshall(realValue); + if (realValue instanceof ProtectedDataType && definition.isDynamic()) { // why is this? + xnode.setExplicitTypeDeclaration(true); + xnode.setTypeQName(definition.getTypeName()); + } + return xnode; } else { // primitive value return createPrimitiveXNode(realValue, typeQName); } } - private XNode serializeItemPathType(ItemPathType itemPath) { - PrimitiveXNode xprim = new PrimitiveXNode(); - if (itemPath != null){ - ItemPath path = itemPath.getItemPath(); - xprim.setValue(path); - xprim.setTypeQName(ItemPath.XSD_TYPE); - } - return xprim; - } - private XNode serializePolyString(PolyString realValue) { PrimitiveXNode xprim = new PrimitiveXNode<>(); xprim.setValue(realValue); @@ -366,30 +350,6 @@ private XNode serializePolyString(PolyString realValue) { return xprim; } - // TODO create more appropriate interface to be able to simply serialize ProtectedStringType instances - public MapXNode serializeProtectedDataType(ProtectedDataType protectedType) throws SchemaException { - MapXNode xmap = new MapXNode(); - if (protectedType.getEncryptedDataType() != null) { - EncryptedDataType encryptedDataType = protectedType.getEncryptedDataType(); - MapXNode xEncryptedDataType = (MapXNode) beanConverter.marshall(encryptedDataType); - xmap.put(ProtectedDataType.F_ENCRYPTED_DATA, xEncryptedDataType); - } else if (protectedType.getClearValue() != null){ - QName type = XsdTypeMapper.toXsdType(protectedType.getClearValue().getClass()); - PrimitiveXNode xClearValue = createPrimitiveXNode(protectedType.getClearValue(), type); - xmap.put(ProtectedDataType.F_CLEAR_VALUE, xClearValue); - } - // TODO: clearValue - return xmap; - } - - private XNode serializeSchemaDefinition(SchemaDefinitionType schemaDefinitionType) { - SchemaXNode xschema = new SchemaXNode(); - xschema.setSchemaElement(schemaDefinitionType.getSchema()); - MapXNode xmap = new MapXNode(); - xmap.put(DOMUtil.XSD_SCHEMA_ELEMENT,xschema); - return xmap; - } - private XNode serializePropertyRawValue(PrismPropertyValue value) throws SchemaException { Object rawElement = value.getRawElement(); if (rawElement instanceof XNode) { diff --git a/infra/prism/src/test/java/com/evolveum/midpoint/prism/parser/TestProtectedString.java b/infra/prism/src/test/java/com/evolveum/midpoint/prism/parser/TestProtectedString.java index d91b431a806..2257973b8f6 100644 --- a/infra/prism/src/test/java/com/evolveum/midpoint/prism/parser/TestProtectedString.java +++ b/infra/prism/src/test/java/com/evolveum/midpoint/prism/parser/TestProtectedString.java @@ -62,7 +62,7 @@ public void testParseProtectedString() throws Exception { // WHEN - MapXNode protectedStringTypeXNode = prismContext.getXnodeProcessor().createSerializer().serializeProtectedDataType(protectedStringType); + MapXNode protectedStringTypeXNode = prismContext.getBeanConverter().marshalProtectedDataType(protectedStringType); System.out.println("Protected string type XNode: " + protectedStringTypeXNode.debugDump()); // THEN diff --git a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java index 2f017d6eca2..969d7fb5a59 100644 --- a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java +++ b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java @@ -51,6 +51,7 @@ import com.evolveum.midpoint.prism.PrismContext; import com.evolveum.midpoint.prism.xnode.PrimitiveXNode; +import com.evolveum.midpoint.prism.xnode.XNode; import com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaOperationListType; import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType; import org.apache.commons.lang.StringUtils; @@ -1472,7 +1473,9 @@ public void test023ChangePasswordJAXB() throws Exception { passwordDelta.setPath(ModelClientUtil.createItemPathType("credentials/password/value")); ProtectedStringType pass = new ProtectedStringType(); pass.setClearValue(NEW_PASSWORD); - RawType passwordValue = new RawType(prismContext.getBeanConverter().marshall(pass), prismContext); + XNode passValue = prismContext.getBeanConverter().marshall(pass); + System.out.println("PASSWORD VALUE: " + passValue.debugDump()); + RawType passwordValue = new RawType(passValue, prismContext); passwordDelta.getValue().add(passwordValue); userDelta.getItemDelta().add(passwordDelta); From df9e4bf05a0fcaaafd154593a8ae58c5a02991b9 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Fri, 23 May 2014 11:58:34 +0200 Subject: [PATCH 05/27] Fixed scripting XSD (w.r.t. .Net problems). --- .../ns/public/model/scripting/scripting-3.xsd | 285 ++++++++++-------- model/model-intest/testng.xml | 2 +- 2 files changed, 152 insertions(+), 135 deletions(-) diff --git a/infra/schema/src/main/resources/xml/ns/public/model/scripting/scripting-3.xsd b/infra/schema/src/main/resources/xml/ns/public/model/scripting/scripting-3.xsd index e9b2eb05723..7f448b90362 100644 --- a/infra/schema/src/main/resources/xml/ns/public/model/scripting/scripting-3.xsd +++ b/infra/schema/src/main/resources/xml/ns/public/model/scripting/scripting-3.xsd @@ -37,16 +37,6 @@ - - - - Importing the schema of XSD schema definition explicitly. This causes that we can use "strict" matching - for the xsd:schema elements used in runtime. - - - - @@ -83,22 +73,30 @@ + + + + + + + + + + + - + - + - General wrapping element (TEMPORARY). + Root of the expression type inheritance hierarchy. - - - @@ -108,9 +106,13 @@ the whole sequence. - - - + + + + + + + @@ -124,9 +126,13 @@ pipeline. - - - + + + + + + + @@ -136,43 +142,48 @@ Queries the model for objects of a given type, optionally fulfilling given condition. - - - - - Type whose instances are searched for. - - - - - - - Variable to hold found instances. - - - - - - - Filter to apply when searching for instances. - - - - - - - Action parameters. - - - - - - - Expression to evaluate for each object found. - - - - + + + + + + + Type whose instances are searched for. + + + + + + + Variable to hold found instances. + + + + + + + Filter to apply when searching for instances. + + + + + + + Action parameters. + + + + + + + Expression to evaluate for each object found. + + + + + + @@ -182,15 +193,19 @@ Filters input on a given condition. - - - - - Filter to apply to the input stream. - - - - + + + + + + + Filter to apply to the input stream. + + + + + + @@ -200,15 +215,19 @@ Select given item. - - - - - Path to the data item that has to be selected. - - - - + + + + + + + Path to the data item that has to be selected. + + + + + + @@ -218,16 +237,20 @@ Executes a given command individually for each item arriving at the input. - - - - - Variable to hold emitted instances. - - - - - + + + + + + + Variable to hold emitted instances. + + + + + + + @@ -237,22 +260,27 @@ Executes a given action (add, modify, delete, enable, disable, assign, ...) - - - - - Action to execute. - - - - - - - Action parameters. - - - - + + + + + + + Action to execute. + + + + + + + Action parameters. + + + + + + @@ -262,39 +290,28 @@ Value of a parameter for an action. - - - - - Parameter name. - - - - - - - Parameter (argument) value. - - - - + + + + + + + Parameter name. + + + + + + + Parameter (argument) value. + + + + + + - - - - - - - - - - - - - - - diff --git a/model/model-intest/testng.xml b/model/model-intest/testng.xml index e8231e7ddbe..97ed768d783 100644 --- a/model/model-intest/testng.xml +++ b/model/model-intest/testng.xml @@ -73,7 +73,7 @@ - + From 7a58e423427dc6a1af57a283e3c16257cd217467 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Fri, 23 May 2014 14:07:24 +0200 Subject: [PATCH 06/27] Fixing model-client-sample-dotnet. --- .../ModelClientSample.v11.suo | Bin 83456 -> 83968 bytes .../ModelClientSample/App.config | 24 +- .../ModelClientSample.csproj | 38 +- .../ModelClientSample/Program.cs | 632 +- ...midpointModelService.ObjectType.datasource | 10 - ...midpointModelService.ShadowType.datasource | 10 - .../ModelWebServiceService.wsdl | 133 - .../midpointModelService/Reference.cs | 22247 +++++++++++----- .../midpointModelService/Reference.svcmap | 21 +- .../configuration.svcinfo | 4 +- .../configuration91.svcinfo | 14 +- .../midpointModelService/modelPortType.wsdl | 3469 --- 12 files changed, 15518 insertions(+), 11084 deletions(-) delete mode 100644 samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ObjectType.datasource delete mode 100644 samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ShadowType.datasource delete mode 100644 samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelWebServiceService.wsdl delete mode 100644 samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/modelPortType.wsdl diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo index 6122feec4dd4f57b7e3e3072ad3be310031fe943..faf81553412479e610732775421dcd5fbb232b98 100644 GIT binary patch delta 4204 zcmdUx4^Y$R8OPrz5DXAPB1r&=5)cJZAP5D72mvCZRWbg-Xla$I{WC$M2JP8DNvm^L zL4~}luYXz{v^~4cThZJ~$J~nA-Oj1Uyv^Rc-u2(CWw&$3IkD4@vhN#0M9=MNd$-%( z+~=OW&-=Xpp7(j)_vdXIO6 zTu@Gc)PQ6#Ca9CPH608FC;Bl}T ztO0Am6W~e4_#s20VLkqD04}f*Yyvo`LZ3R#BtN};50q$SRvT+cb*_O=81#frkt?e6fK6^ZJkp%;V{3rh(0#6cS&p}!hjQtS* z;}B2RQGW>Oa{;mdF?b2G47r$(_MfU4`wQylkYcjWOvLb6#yqSL$#_n7L=ayNW2_uW zxd(C(33?0qsR-g;$Q)b-e}J5Upijhr+i?LnAY)CqBQV*rRGc6BZJdm8V7EOTI0iV7AgSryNav{5|j2(mgNhxC| zAv=yQ-O52N0V9FaT!1@c5dzZZGpgnkC{qYrf_^23Vy)#Z%+ z%76(!L}KXRzOs78{(<@nYkWq#THa&uStuYzo$X?kycq99O1w9H^kFk*#x$3aN;*hs zCd+!}W@~wJLJGGi!nrLg-|sHiLDa}^#n0uHRk>8fn-Xf&@P6PLm0e^U(kwnu;h{3# zRN2hE8WT6!()k%hE_d4&sxx7nHF_yGY&9_?yJn2my31QSCMbN<-L#80O&+4TyeZui zJqIQ->QT7v#i{u%&>+(f15zXO?y{f>yvbUlj=V?BZ&&}=~_6@GBX@0b#<2TZTpB!&LQC&?c zg!HK6pVQ*A+8=z)%D|dOA3x6d&T01s?pOKB$a_|L#0Zd#Oa>oc)uIm=$S^g76o3q5 z6G0l_t@^qpvZn-@6Bxw?Sq>^dB|ruR^wMTF{v(q@_4~az-$y&Q8G725X#Lv!e)3g4 zqi_6+yUmdoDPIRnhv=Rem6Vl)+J0~_ zsFhcn9O5-_7#smV0_`CExZ_zmG0#D!M_&KAt@Gx@i`Boqm5+wIiobFGn-tOiv!`Bb z+~QBD=~HO?D`ns?_SF@kyqWRWc5$tcEZV9KvyYA6RMH;O))$gfxJ$_@T8hbp`#^?L zA&nQErIf73bs6}y3aF`s5=Bog8Di>PuI$wtf-~?_*Jn@0ji}zo4h@H0Vc0UjMQ~OpT=KqX$$(F;4{Jf*><_e@$BSX1wR?1F;gQj~T8n z75(9~$?v+lhqN;Kx5Iwqvy*GbnRN0iN@jy>lwVN?+8pVVI)VzRyl+aN-E`csmAGwl zCb#@@TvvsHGKr_Ud=I)#Wni7c8%@hZy^8eW=_ra9-egqER5Yc_tEMfAs4Uza7JPpf zuzj)grTCkct_icAzU=x?M|~s)4OFe$ibV|guRSx8Odd=BMD$`#5ta-FagQoR@~r~Tq+9xWFwd6Xmub1ACJ8$(;@ zoA^$X9NK?)&vb<-G0^G%AIE(Q*NE;?iW9T*$ReJeMHyXiR~9K{_5|EHarhc8pGn1v za+f%s_YIAs%3UKDwir`EMXHfEK(tP$JZ0e4#y6NztS+Et@p3WQ0=GP!;FRLoXQ%i1 zj;U)BMqh5Rn~(K$eth`vu?G)#i%*LXAo65G%hxD(A35TY9|@woh%!X`bV`*w5~9C^ zOkJh|8cXzwxM-tYs>Tg#);472<%;YAdPrm!(s@x=i6}W&M0q4`7gC$}%t{5~Y%#q{ vhXQ@NE?Maa33DZ0Cm1vjzf&6v$RxLU=V7uGQU2Xem8*yhvR|_5+dJf6h8xF! delta 4183 zcmd^?e^k^}7Qnyv3&Sr57!Y9?2Kk{OBB17gBMveQBsM65xoGMs323DyAejk+YDP3` zl{MhHz5G#u+u8MWTot}0t!oFqxO|xZ&za&XAab;|5j4}xbZAZ~%fDnw6V}ja7rwy0Y^uu)| zx29vgTn}&Kh}^HG{$o6lb8N|&9oSA4Z-P?*f_Ie5k4m!$4WTC@h_9(T_Y5O+#B_qE z;Pr#39O+;9dNJ z*h@T2@QP>+(8mg@JWA{*4iE>4L&RgmZwcHMV0LluV^ld#oFF=gPC_A`CY~Wq5?#cz z#P5hx#P5mI#B;U2b%B-WwBF z4clIyxo5M~QZyY;FU>tXQ*JfC9dcjGGwwT5KDw*d{*Tio`#zn^&B|A1Z@|KzCn-ts z7vL(jjjGzT1gGWIc}JtSE^WU&Bs8BV{;eH#v1PCqov~w3fX+CVhV2-pd^yKg#!Ew$ zN@cnmru(lM`0A3E{8apbq2ZVIe8B;TZ}dHYrv^gBBN>p2of{HEB1|#)z6W=gSDtMP z&}1ykQ@5>4TYy%*38K)M=9eK%%gU-#yWhOsj(~&>tpTMtGBeqIp6`-(tkC{ z*;Q5J>2fc^;bgfpc^JS8M^apnpg6DZ2kl(yz?+*~b~ZXqtF>B>XhMv`CN~&ZLm$?# zSi;dob}jFX--3x=5U&pAIa$Psl~o7pd9a2xEXFUR?17MUbuWjpP@70Xj;(Ko8dr}8 zXLM7mA?JIX+6C;#F81N<{{PW9UA|4$0YY95E|7gOH}5p+@=R3LQQ6XISpj~0Sd)4? zGMjW%J@84pU1FaxcrC#Eg4m@xy!c zxcR|dSkPd?r|ZM8s;LbR)Ekt>hAW`7xf21ObbSRw_<^Gb?{_80C&#BdP#+HSu%o^U z?`<^TZ998C3ncodN~KaQ?c1Q-x)VTIvx97Q%dU6%QjmW-`j@$(AM8)~I;-aLyAh`* zFNI)-R4r|lCWe}oRSzu!G}R4Y>_ZE1-$%W)rEq1#?$2dq?Mp@=C(Rz5r4;U^>!h(E zjP`$mqC8B)S9mgRzweb+W6lqFC&%gJDGh()o%)Gensa_eIQO9(^|oZ=)o%wkPP`qs z*%lUd^<%*u@F82-N()VqN${~}5!}GoJY{}3ZXl*U920%=Nxst4Po2=5^Rnt{-wH8u zHO#eVgrun-$m{z9XoMuuONJe#QFy!EfZg_mIA0EK%`d_??DNr`@5bl)teq=E!FPMm zs&$!f_9>C;9yX%;?s0c=`H!Eua=)ul*ZFdz7p~b+fc1NKW71BOQvBLcJ<6+ZQx3iI zFY&7tz~c#AAI&==}6p_+F=C zzhDIAws(>MhVicc^JsY|5p9F#(EL_Bn*MBpb6E6V2YF(=hHu`F*)NsCcXw&<Hno|1R^d~Nb&+?Hf0jw*QYE=|IeF^cQU$qrxwJ`KnFj0VSr8io zVUBQXp;%lZ*E<;qcgq14Wi{0mRgO)yCBhvH|ArCK9tNjGOek1Hoen+# zR)qWUiK!{In?s*JQ*x&cI35m3;)yUgEpE`k^@6J5k?P|xK1!NRIsbLwdtVl}L_jNLV01&Ll-FR5!R8nQvS4ba_XmEmRx?7qf|8aC*sszK+}k;&L-rIM2j zS0Op1d!#K?FHsG;mD<#>R}C4miNrPZV^OtKCEd;@owToNRsY4(BKj?smJ3%fd@;qS z5fLTnrHf6b5_8Iea#Kl)>Gsm}6tg+KL{#YD@_%9M@1LkW9L(Q7goIFj@KmF-CDkOl zb0N}?ZNTY~P>A6(i&T%ma~ymKHV`&FESoq4@mT~c5mp0u^VuB1L^*8y1hK6zneDy3 z3uZzV{5lGt%Nhe(5KS>)^5=En;Xj{_blw1~zyaG-BqCbnh7XxJe9Rxb6rnBz}*rs@*Y#b;Tt z*Uz)$_?qf!)3%jYm8R5Anf_;@V;Pi)Ph;Ux*r#qll;l#}&<+E{EHiz{xMSS(S=al+ SpLIn=b488`5{2CY)&Bw3@;{9L diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config index 571f4c06f97..019522e7856 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config @@ -8,15 +8,27 @@ - - + - - + + + + + + + + + + + diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj index 33efa644127..e532c5ae131 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj @@ -45,6 +45,11 @@ + + True + True + Reference.svcmap + @@ -53,28 +58,37 @@ True Settings.settings - - True - True - Reference.svcmap - - + + Designer + SettingsSingleFileGenerator Settings.Designer.cs + + + + + + + + + + + Reference.svcmap + Reference.svcmap - + Reference.svcmap Reference.svcmap - + Reference.svcmap @@ -83,8 +97,12 @@ Reference.svcmap - - + + + + + + diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs index 96d20e0d250..62bd4bf0b34 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs @@ -1,12 +1,15 @@ using ModelClientSample.midpointModelService; using System; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Net; using System.ServiceModel; using System.ServiceModel.Channels; using System.Text; using System.Threading.Tasks; +using System.Xml; +using System.Xml.Serialization; namespace ModelClientSample { @@ -15,72 +18,629 @@ class Program private const string LOGIN_USERNAME = "administrator"; private const string LOGIN_PASSWORD = "5ecr3t"; + private const string USER_LECHUCK_FILE = "..\\..\\user-lechuck.xml"; + private const string NS_C = "http://midpoint.evolveum.com/xml/ns/public/common/common-3"; - private const string NS_Q = "http://prism.evolveum.com/xml/ns/public/query-2"; + private const string NS_Q = "http://prism.evolveum.com/xml/ns/public/query-3"; + + private static XmlQualifiedName USER_TYPE = new XmlQualifiedName("UserType", NS_C); + private static XmlQualifiedName ROLE_TYPE = new XmlQualifiedName("RoleType", NS_C); + private static XmlQualifiedName TASK_TYPE = new XmlQualifiedName("TaskType", NS_C); + private static XmlQualifiedName RESOURCE_TYPE = new XmlQualifiedName("ResourceType", NS_C); + private static XmlQualifiedName SYSTEM_CONFIGURATION_TYPE = new XmlQualifiedName("SystemConfigurationType", NS_C); - private const string WS_URL = "http://localhost.:8080/midpoint/model/model-1?wsdl"; // when using fiddler, change "localhost" to "localhost." + private const string WS_URL = "http://localhost.:8080/midpoint/model/model-3?wsdl"; // when using fiddler, change "localhost" to "localhost." + private const string SYSTEM_CONFIGURATION_OID = "00000000-0000-0000-0000-000000000001"; private const string ADMINISTRATOR_OID = "00000000-0000-0000-0000-000000000002"; + private const string ROLE_PIRATE_OID = "12345678-d34d-b33f-f00d-987987987988"; + private const string ROLE_CAPTAIN_OID = "12345678-d34d-b33f-f00d-987987cccccc"; + static void Main(string[] args) + { + try + { + Main1(args); + } + catch (Exception e) + { + Console.WriteLine(e.ToString()); + } + Console.Write("Press any key..."); + Console.ReadKey(); + } + + static void Main1(string[] args) { modelPortType modelPort = openConnection(); - OperationResultType result; - //modelPort.getObject + Console.WriteLine("Getting system configuration..."); + SystemConfigurationType configurationType = getConfiguration(modelPort); + Console.WriteLine(dumpSystemConfiguration(configurationType)); + + Console.WriteLine("========================================================="); + Console.WriteLine("Getting administrator user..."); + UserType userAdministrator = searchUserByName(modelPort, "administrator"); + Console.WriteLine(dumpUser(userAdministrator)); - getObject getObject = new getObject(); - getObject.objectType = NS_C + "#UserType"; - getObject.options = new ObjectOperationOptionsType[0]; - getObject.oid = ADMINISTRATOR_OID; - UserType obj = (UserType)modelPort.getObject(getObject).@object; + Console.WriteLine("========================================================="); + Console.WriteLine("Getting Sailor role..."); + RoleType sailorRole = searchRoleByName(modelPort, "Sailor"); + if (sailorRole != null) + { + Console.WriteLine(dumpRole(sailorRole)); + } + else + { + Console.WriteLine("No Sailor role in the system."); + } - //ObjectType o = modelPort.getObject(NS_C + "#UserType", ADMINISTRATOR_OID, new ObjectOperationOptionsType[0], out result); - Console.WriteLine("returned object = " + obj); - Console.ReadKey(); + Console.WriteLine("========================================================="); + Console.WriteLine("Getting resources..."); + // please note: ObjectType is ObjectType in prism module, ObjectType1 is ObjectType in schema module (i.e. the "real" c:ObjectType) + ObjectType1[] resources = listObjects(modelPort, RESOURCE_TYPE); + Console.WriteLine(dump(resources)); + + Console.WriteLine("========================================================="); + Console.WriteLine("Getting users..."); + ObjectType1[] users = listObjects(modelPort, USER_TYPE); + Console.WriteLine(dump(users)); + + Console.WriteLine("========================================================="); + Console.WriteLine("Getting users (first three, sorted by name)..."); + ObjectType1[] users2 = listObjectsRestrictedAndSorted(modelPort, USER_TYPE); + Console.WriteLine(dump(users2)); + + Console.WriteLine("========================================================="); + Console.WriteLine("Getting tasks..."); + TaskType[] tasks = listTasks(modelPort); + Console.WriteLine(dump(tasks)); + Console.WriteLine("Next scheduled times: "); + foreach (TaskType taskType in tasks) { + Console.WriteLine(" - " + getOrig(taskType.name) + ": " + taskType.nextRunStartTimestamp); + } + + Console.WriteLine("========================================================="); + Console.WriteLine("Creating user guybrush..."); + String userGuybrushoid = createUserGuybrush(modelPort, sailorRole); + Console.WriteLine("Created with OID: " + userGuybrushoid); + + Console.WriteLine("========================================================="); + Console.WriteLine("Creating user lechuck..."); + //String userLeChuckOid = createUserFromFile(modelPort, USER_LECHUCK_FILE); deserializing from file doesn't work for unknown reason + String userLeChuckOid = createUserLechuck(modelPort); + Console.WriteLine("Created with OID: " + userLeChuckOid); + + Console.WriteLine("========================================================="); + Console.WriteLine("Changing password for guybrush..."); + changeUserPassword(modelPort, userGuybrushoid, "MIGHTYpirate"); + Console.WriteLine("Done."); + + Console.WriteLine("========================================================="); + Console.WriteLine("Changing given name for lechuck..."); + changeUserGivenName(modelPort, userLeChuckOid, "CHUCK"); + Console.WriteLine("Done."); + + Console.WriteLine("========================================================="); + Console.WriteLine("Assigning roles to guybrush..."); + assignRoles(modelPort, userGuybrushoid, new string[] { ROLE_PIRATE_OID, ROLE_CAPTAIN_OID }); + Console.WriteLine("Done."); + + Console.WriteLine("========================================================="); + Console.WriteLine("Unassigning a role from guybrush..."); + unAssignRoles(modelPort, userGuybrushoid, new string[] { ROLE_CAPTAIN_OID }); + Console.WriteLine("Done."); + + Console.WriteLine("========================================================="); + Console.WriteLine("Getting requestable roles..."); + ObjectType1[] roles = listRequestableRoles(modelPort); + Console.WriteLine(dump(roles)); + + // Comment-out the following lines if you want to see what midPoint really did + // ... because deleting the user will delete also all the traces (except logs and audit of course). + Console.WriteLine("========================================================="); + Console.WriteLine("Deleting users guybrush and lechuck..."); + //deleteUser(modelPort, userGuybrushoid); + //deleteUser(modelPort, userLeChuckOid); + Console.WriteLine("Done."); } - private static modelPortType openConnection() + private static string getOrig(PolyStringType polystring) { - WebRequest.DefaultWebProxy = new WebProxy("127.0.0.1", 8888); // uncomment this line if you want to use fiddler + if (polystring == null) + { + return null; + } + else if (polystring.orig != null) + { + return polystring.orig; + } + else if (polystring.Any != null) + { + StringBuilder sb = new StringBuilder(); + foreach (XmlNode any in polystring.Any) + { + if (any.InnerText != null) + { + sb.Append(any.InnerText.Trim()); + } + } + return sb.ToString(); + } + else + { + return null; + } + } - modelPortTypeClient service = new modelPortTypeClient(); + private static string dump(ObjectType1[] objects) + { + if (objects == null) + { + return "No objects."; + } + StringBuilder sb = new StringBuilder(); + sb.Append("Objects returned: ").Append(objects.Length).Append("\n"); + foreach (ObjectType1 obj in objects) + { + sb.Append(" - ").Append(getOrig(obj.name)).Append("\n"); + } + return sb.ToString(); + } + private static string dumpUser(UserType user) + { + if (user == null) + { + return "NO SUCH USER"; + } + StringBuilder sb = new StringBuilder(); + sb.Append("User object: ").Append(getOrig(user.name)).Append(" (").Append(getOrig(user.fullName)).Append("); oid = ").Append(user.oid); + return sb.ToString(); + } - //var binding = new BasicHttpBinding(BasicHttpSecurityMode.TransportWithMessageCredential); - //binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None; - //binding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.UserName; + private static string dumpRole(RoleType role) + { + if (role == null) + { + return "NO SUCH ROLE"; + } + StringBuilder sb = new StringBuilder(); + sb.Append("Role object: ").Append(getOrig(role.name)); + if (role.requestable) + { + sb.Append(" (REQUESTABLE)"); + } + else + { + sb.Append(" (NON-REQUESTABLE)"); + } + sb.Append("; oid = ").Append(role.oid); + return sb.ToString(); + } - //var securityElement = SecurityBindingElement.CreateUserNameOverTransportBindingElement(); - //securityElement.AllowInsecureTransport = true; - //securityElement.ProtectTokens = true; - //securityElement.EnableUnsecuredResponse = true; - - //var encodingElement = new TextMessageEncodingBindingElement(MessageVersion.Soap11, Encoding.UTF8); - //var transportElement = new HttpTransportBindingElement(); + private static string dumpSystemConfiguration(SystemConfigurationType configurationType) + { + StringBuilder sb = new StringBuilder(); + sb.Append("System configuration object:"); + sb.Append("\n- name = ").Append(configurationType.name); + sb.Append("\n- oid = ").Append(configurationType.oid); + return sb.ToString(); + } - //var binding = new CustomBinding(securityElement, encodingElement, transportElement); - //service.Endpoint.Binding = binding; + private static SystemConfigurationType getConfiguration(modelPortType modelPort) + { + getObject request = new getObject(SYSTEM_CONFIGURATION_TYPE, SYSTEM_CONFIGURATION_OID, null); + getObjectResponse response = modelPort.getObject(request); + return (SystemConfigurationType)response.@object; + } - service.ClientCredentials.UserName.UserName = LOGIN_USERNAME; - service.ClientCredentials.UserName.Password = LOGIN_PASSWORD; - - service.Endpoint.Behaviors.Add(new InspectorBehavior(new ClientInspector(new SecurityHeader(LOGIN_USERNAME, LOGIN_PASSWORD)))); - return service.ChannelFactory.CreateChannel(new EndpointAddress(WS_URL)); + private static ObjectType1[] listObjects(modelPortType modelPort, XmlQualifiedName type) + { + searchObjects request = new searchObjects(type, null, null); + searchObjectsResponse response = modelPort.searchObjects(request); + + ObjectListType objectList = response.objectList; + ObjectType1[] objects = objectList.@object; + return objects; + } + + private static ObjectType1[] listObjectsRestrictedAndSorted(modelPortType modelPort, XmlQualifiedName type) + { + // let's say we want to get first 3 users, sorted alphabetically by user name + + QueryType queryType = new QueryType(); // holds search query + paging options + PagingType pagingType = new PagingType(); + pagingType.maxSize = 3; + ItemPathType orderBy = createItemPathType("name"); + pagingType.orderBy = orderBy; + pagingType.orderDirection = OrderDirectionType.ascending; + + queryType.paging = pagingType; + + searchObjects request = new searchObjects(type, queryType, null); + searchObjectsResponse response = modelPort.searchObjects(request); + + ObjectListType objectList = response.objectList; + ObjectType1[] objects = objectList.@object; + return objects; } - private static ObjectType[] getAllUsers(modelPortType modelPort, string username) + private static ItemPathType createItemPathType(string path) { - searchObjects request = new searchObjects(NS_C + "#UserType", new QueryType(), new ObjectOperationOptionsType[0]); + ItemPathType rv = new ItemPathType(); + rv.Value = "declare default namespace '" + NS_C + "'; " + path; + return rv; + } + + private static TaskType[] listTasks(modelPortType modelPort) + { + // Let's say we want to retrieve tasks' next scheduled time (because this may be a costly operation if + // JDBC based quartz scheduler is used, the fetching of this attribute has to be explicitly requested) + SelectorQualifiedGetOptionType getNextScheduledTimeOption = new SelectorQualifiedGetOptionType(); + + // prepare a selector (described by path) + options (saying to retrieve that attribute) + ObjectSelectorType selector = new ObjectSelectorType(); + selector.path = createItemPathType("nextRunStartTimestamp"); + getNextScheduledTimeOption.selector = selector; + + GetOperationOptionsType selectorOptions = new GetOperationOptionsType(); + selectorOptions.retrieve = RetrieveOptionType.include; + selectorOptions.retrieveSpecified = true; + getNextScheduledTimeOption.options = selectorOptions; + + SelectorQualifiedGetOptionType[] operationOptions = new SelectorQualifiedGetOptionType[] { getNextScheduledTimeOption }; + + searchObjects request = new searchObjects(TASK_TYPE, null, operationOptions); searchObjectsResponse response = modelPort.searchObjects(request); ObjectListType objectList = response.objectList; - ObjectType[] objects = objectList.@object; + List tasks = new List(); + foreach (ObjectType1 object1 in response.objectList.@object) + { + tasks.Add((TaskType)object1); + } + return tasks.ToArray(); + } + + private static XmlElement parseXml(string xml) + { + XmlDocument doc = new XmlDocument(); + doc.LoadXml(xml); + return doc.DocumentElement; + } + + private static SearchFilterType createNameFilter(String name) + { + PropertyComplexValueFilterClauseType clause = new PropertyComplexValueFilterClauseType(); + clause.path = createItemPathType("name"); + clause.Item = name; + + SearchFilterType filter = new SearchFilterType(); + filter.Item = clause; + filter.ItemElementName = ItemChoiceType1.equal; + return filter; + } + + private static ObjectType getOneObject(searchObjectsResponse response, String name) + { + ObjectType[] objects = response.objectList.@object; + if (objects == null || objects.Length == 0) + { + return null; + } + else if (objects.Length == 1) + { + return (ObjectType)objects[0]; + } + else + { + throw new InvalidOperationException("Expected to find a object with name '" + name + "' but found " + objects.Length + " ones instead"); + } + } + + private static UserType searchUserByName(modelPortType modelPort, String username) + { + QueryType query = new QueryType(); + query.filter = createNameFilter(username); + + searchObjects request = new searchObjects(USER_TYPE, query, null); + searchObjectsResponse response = modelPort.searchObjects(request); + return (UserType) getOneObject(response, username); + } + + private static RoleType searchRoleByName(modelPortType modelPort, String roleName) + { + QueryType query = new QueryType(); + query.filter = createNameFilter(roleName); + + searchObjects request = new searchObjects(ROLE_TYPE, query, null); + searchObjectsResponse response = modelPort.searchObjects(request); + return (RoleType) getOneObject(response, roleName); + } + + private static String createUserGuybrush(modelPortType modelPort, RoleType role) + { + UserType user = new UserType(); + user.name = createPolyStringType("guybrush"); + user.fullName = createPolyStringType("Guybrush Threepwood"); + user.givenName = createPolyStringType("Guybrush"); + user.familyName = createPolyStringType("Threepwood"); + user.emailAddress = "guybrush@meleeisland.net"; + user.organization = new PolyStringType[] { createPolyStringType("Pirate Brethren International") }; + user.organizationalUnit = new PolyStringType[] { createPolyStringType("Pirate Wannabes") }; + user.credentials = createPasswordCredentials("IwannaBEaPIRATE"); + + if (role != null) + { + // create user with a role assignment + AssignmentType roleAssignment = createRoleAssignment(role.oid); + user.assignment = new AssignmentType[] { roleAssignment }; + } + + return createUser(modelPort, user); + } + + private static String createUserLechuck(modelPortType modelPort) + { + UserType user = new UserType(); + user.name = createPolyStringType("lechuck"); + user.fullName = createPolyStringType("Ghost Pirate LeChuck"); + user.givenName = createPolyStringType("Chuck"); + user.familyName = createPolyStringType("LeChuck"); + user.honorificPrefix = createPolyStringType("Ghost Pirate"); + user.emailAddress = "lechuck@monkeyisland.com"; + user.telephoneNumber = "555-1234"; + user.employeeNumber = "emp1234"; + user.employeeType = new string[] { "UNDEAD" }; + user.locality = createPolyStringType("Monkey Island"); + user.credentials = createPasswordCredentials("4rrrrghhhghghgh!123"); + ActivationType activationType = new ActivationType(); + activationType.administrativeStatus = ActivationStatusType.enabled; + user.activation = activationType; + + return createUser(modelPort, user); + } + + private static CredentialsType createPasswordCredentials(string clearValue) + { + PasswordType passwordType = new PasswordType(); + passwordType.value = createProtectedStringType(clearValue); + + CredentialsType retval = new CredentialsType(); + retval.password = passwordType; + return retval; + } + + private static ProtectedStringType createProtectedStringType(string clearValue) + { + ProtectedStringType rv = new ProtectedStringType(); + rv.clearValue = clearValue; + return rv; + } + + + private static PolyStringType createPolyStringType(string orig) + { + PolyStringType retval = new PolyStringType(); + retval.orig = orig; + return retval; + } + + private static String createUserFromFile(modelPortType modelPort, String fileName) + { + StreamReader reader = new StreamReader(fileName); + XmlSerializer xmlSerializer = new XmlSerializer(typeof(UserType)); + UserType user = (UserType) xmlSerializer.Deserialize(reader); + + return createUser(modelPort, user); + } + + private static String createUser(modelPortType modelPort, UserType userType) + { + ObjectDeltaType deltaType = new ObjectDeltaType(); + deltaType.objectType = USER_TYPE; + deltaType.changeType = ChangeTypeType.add; + deltaType.objectToAdd = userType; + + executeChanges request = new executeChanges(new ObjectDeltaType[] { deltaType }, null); + executeChangesResponse response = modelPort.executeChanges(request); + + return getOidFromDeltaOperationList(response.deltaOperationList, deltaType); + } + + /** + * Retrieves OID created by model Web Service from the returned list of ObjectDeltaOperations. + * + * @param operationListType result of the model web service executeChanges call + * @param originalDelta original request used to find corresponding ObjectDeltaOperationType instance. Must be of ADD type. + * @return OID if found + * + * PRELIMINARY IMPLEMENTATION. Currently the first returned ADD delta with the same object type as original delta is returned. + */ + public static string getOidFromDeltaOperationList(ObjectDeltaOperationType[] operations, ObjectDeltaType originalDelta) { + + if (originalDelta.changeType != ChangeTypeType.add) + { + throw new ArgumentException("Original delta is not of ADD type"); + } + if (originalDelta.objectToAdd == null) + { + throw new ArgumentException("Original delta contains no object-to-be-added"); + } + foreach (ObjectDeltaOperationType operationType in operations) + { + ObjectDeltaType objectDeltaType = operationType.objectDelta; + if (objectDeltaType.changeType == ChangeTypeType.add && + objectDeltaType.objectToAdd != null) + { + ObjectType1 objectAdded = (ObjectType1) objectDeltaType.objectToAdd; + if (objectAdded.GetType().Equals(originalDelta.objectToAdd.GetType())) + { + return objectAdded.oid; + } + } + } + return null; + } + + private static void changeUserPassword(modelPortType modelPort, String oid, String newPassword) + { + ItemDeltaType passwordDelta = new ItemDeltaType(); + passwordDelta.modificationType = ModificationTypeType.replace; + passwordDelta.path = createItemPathType("credentials/password/value"); + passwordDelta.value = new object[] { createProtectedStringType(newPassword) }; + + ObjectDeltaType deltaType = new ObjectDeltaType(); + deltaType.objectType = USER_TYPE; + deltaType.changeType = ChangeTypeType.modify; + deltaType.oid = oid; + deltaType.itemDelta = new ItemDeltaType[] { passwordDelta }; + + executeChanges request = new executeChanges(new ObjectDeltaType[] { deltaType }, null); + executeChangesResponse response = modelPort.executeChanges(request); + check(response); + } + + private static void check(executeChangesResponse response) + { + foreach (ObjectDeltaOperationType objectDeltaOperation in response.deltaOperationList) + { + if (!OperationResultStatusType.success.Equals(objectDeltaOperation.executionResult.status)) + { + Console.WriteLine("*** Operation result = " + objectDeltaOperation.executionResult.status + ": " + + objectDeltaOperation.executionResult.message); + } + } + } + + private static void changeUserGivenName(modelPortType modelPort, String oid, String newValue) + { + ItemDeltaType itemDelta = new ItemDeltaType(); + itemDelta.modificationType = ModificationTypeType.replace; + itemDelta.path = createItemPathType("givenName"); + itemDelta.value = new object[] { createPolyStringType(newValue) }; + + ObjectDeltaType objectDelta = new ObjectDeltaType(); + objectDelta.objectType = USER_TYPE; + objectDelta.changeType = ChangeTypeType.modify; + objectDelta.oid = oid; + objectDelta.itemDelta = new ItemDeltaType[] { itemDelta }; + + executeChanges request = new executeChanges(new ObjectDeltaType[] { objectDelta }, null); + executeChangesResponse response = modelPort.executeChanges(request); + check(response); + } + + private static void assignRoles(modelPortType modelPort, String userOid, String[] roleOids) + { + modifyRoleAssignment(modelPort, userOid, true, roleOids); + } + + private static void unAssignRoles(modelPortType modelPort, String userOid, String[] roleOids) + { + modifyRoleAssignment(modelPort, userOid, false, roleOids); + } + + private static void modifyRoleAssignment(modelPortType modelPort, String userOid, bool isAdd, String[] roleOids) + { + ItemDeltaType assignmentDelta = new ItemDeltaType(); + if (isAdd) + { + assignmentDelta.modificationType = ModificationTypeType.add; + } + else + { + assignmentDelta.modificationType = ModificationTypeType.delete; + } + assignmentDelta.path = createItemPathType("assignment"); + List assignments = new List(); + foreach (String roleOid in roleOids) + { + assignments.Add(createRoleAssignment(roleOid)); + } + assignmentDelta.value = assignments.ToArray(); + + ObjectDeltaType objectDelta = new ObjectDeltaType(); + objectDelta.objectType = USER_TYPE; + objectDelta.changeType = ChangeTypeType.modify; + objectDelta.oid = userOid; + objectDelta.itemDelta = new ItemDeltaType[] { assignmentDelta }; - Console.WriteLine("Response: " + response.ToString()); + executeChanges request = new executeChanges(new ObjectDeltaType[] { objectDelta }, null); + executeChangesResponse response = modelPort.executeChanges(request); + check(response); + } + + private static AssignmentType createRoleAssignment(String roleOid) + { + AssignmentType roleAssignment = new AssignmentType(); + ObjectReferenceType roleRef = new ObjectReferenceType(); + roleRef.oid = roleOid; + roleRef.type = ROLE_TYPE; + roleAssignment.Item = roleRef; + return roleAssignment; + } + + private static ObjectType1[] listRequestableRoles(modelPortType modelPort) + { + SearchFilterType filter = createRequestableFilter(); + QueryType query = new QueryType(); + query.filter = filter; + + searchObjects request = new searchObjects(ROLE_TYPE, query, null); + searchObjectsResponse response = modelPort.searchObjects(request); + + ObjectListType objectList = response.objectList; + ObjectType1[] objects = objectList.@object; return objects; } + private static SearchFilterType createRequestableFilter() + { + PropertyComplexValueFilterClauseType clause = new PropertyComplexValueFilterClauseType(); + clause.path = createItemPathType("requestable"); + clause.Item = true; + + SearchFilterType filter = new SearchFilterType(); + filter.Item = clause; + filter.ItemElementName = ItemChoiceType1.equal; + return filter; + } + + private static void deleteUser(modelPortType modelPort, String oid) + { + ObjectDeltaType objectDelta = new ObjectDeltaType(); + objectDelta.objectType = USER_TYPE; + objectDelta.changeType = ChangeTypeType.delete; + objectDelta.oid = oid; + + executeChanges request = new executeChanges(new ObjectDeltaType[] { objectDelta }, null); + executeChangesResponse response = modelPort.executeChanges(request); + check(response); + } + + private static modelPortType openConnection() + { + WebRequest.DefaultWebProxy = new WebProxy("127.0.0.1", 8888); // uncomment this line if you want to use fiddler + + modelPortTypeClient service = new modelPortTypeClient(); + + service.ClientCredentials.UserName.UserName = LOGIN_USERNAME; + service.ClientCredentials.UserName.Password = LOGIN_PASSWORD; + + service.Endpoint.Behaviors.Add(new InspectorBehavior(new ClientInspector(new SecurityHeader(LOGIN_USERNAME, LOGIN_PASSWORD)))); + try + { + return service.ChannelFactory.CreateChannel(new EndpointAddress(WS_URL)); + } + catch (Exception e) + { + throw e; + } + } } + } diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ObjectType.datasource b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ObjectType.datasource deleted file mode 100644 index f67ef0a7093..00000000000 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ObjectType.datasource +++ /dev/null @@ -1,10 +0,0 @@ - - - - ModelClientSample.midpointModelService.ObjectType, Service References.midpointModelService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - \ No newline at end of file diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ShadowType.datasource b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ShadowType.datasource deleted file mode 100644 index cf82962f9d1..00000000000 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelClientSample.midpointModelService.ShadowType.datasource +++ /dev/null @@ -1,10 +0,0 @@ - - - - ModelClientSample.midpointModelService.ShadowType, Service References.midpointModelService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - \ No newline at end of file diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelWebServiceService.wsdl b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelWebServiceService.wsdl deleted file mode 100644 index ac1bcf85844..00000000000 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/ModelWebServiceService.wsdl +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs index 879644178cb..4e21fe9d198 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18052 +// Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -12,21 +12,21 @@ namespace ModelClientSample.midpointModelService { /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnsupportedOperationFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(IllegalArgumentFaultType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectAccessFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnsupportedObjectTypeFaultType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReferentialIntegrityFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(InapplicableOperationFaultType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(SchemaViolationFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InapplicableOperationFaultType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectAlreadyExistsFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnsupportedObjectTypeFaultType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectNotFoundFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(IllegalArgumentFaultType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(SystemFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnsupportedOperationFaultType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] public abstract partial class FaultType : object, System.ComponentModel.INotifyPropertyChanged { private string messageField; @@ -68,7 +68,7 @@ public abstract partial class FaultType : object, System.ComponentModel.INotifyP } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] @@ -81,6 +81,10 @@ public partial class OperationResultType : object, System.ComponentModel.INotify private EntryType[] paramsField; + private EntryType[] contextField; + + private EntryType[] returnsField; + private long tokenField; private bool tokenFieldSpecified; @@ -121,7 +125,7 @@ public partial class OperationResultType : object, System.ComponentModel.INotify /// [System.Xml.Serialization.XmlArrayAttribute(Order=2)] - [System.Xml.Serialization.XmlArrayItemAttribute("entry")] + [System.Xml.Serialization.XmlArrayItemAttribute("entry", IsNullable=false)] public EntryType[] @params { get { return this.paramsField; @@ -133,7 +137,33 @@ public partial class OperationResultType : object, System.ComponentModel.INotify } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.Xml.Serialization.XmlArrayAttribute(Order=3)] + [System.Xml.Serialization.XmlArrayItemAttribute("entry", IsNullable=false)] + public EntryType[] context { + get { + return this.contextField; + } + set { + this.contextField = value; + this.RaisePropertyChanged("context"); + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=4)] + [System.Xml.Serialization.XmlArrayItemAttribute("entry", IsNullable=false)] + public EntryType[] returns { + get { + return this.returnsField; + } + set { + this.returnsField = value; + this.RaisePropertyChanged("returns"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] public long token { get { return this.tokenField; @@ -157,7 +187,7 @@ public partial class OperationResultType : object, System.ComponentModel.INotify } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.Xml.Serialization.XmlElementAttribute(Order=6)] public string messageCode { get { return this.messageCodeField; @@ -169,7 +199,7 @@ public partial class OperationResultType : object, System.ComponentModel.INotify } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] + [System.Xml.Serialization.XmlElementAttribute(Order=7)] public string message { get { return this.messageField; @@ -181,7 +211,7 @@ public partial class OperationResultType : object, System.ComponentModel.INotify } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] + [System.Xml.Serialization.XmlElementAttribute(Order=8)] public LocalizedMessageType localizedMessage { get { return this.localizedMessageField; @@ -193,7 +223,7 @@ public partial class OperationResultType : object, System.ComponentModel.INotify } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] + [System.Xml.Serialization.XmlElementAttribute(Order=9)] public string details { get { return this.detailsField; @@ -205,7 +235,7 @@ public partial class OperationResultType : object, System.ComponentModel.INotify } /// - [System.Xml.Serialization.XmlElementAttribute("partialResults", IsNullable=true, Order=8)] + [System.Xml.Serialization.XmlElementAttribute("partialResults", Order=10)] public OperationResultType[] partialResults { get { return this.partialResultsField; @@ -227,7 +257,7 @@ public partial class OperationResultType : object, System.ComponentModel.INotify } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] public enum OperationResultStatusType { @@ -258,26 +288,27 @@ public enum OperationResultStatusType { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] public partial class EntryType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement anyField; + private object itemField; private string keyField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute("paramValue", typeof(object), IsNullable=true, Order=0)] + [System.Xml.Serialization.XmlElementAttribute("unknownJavaObject", typeof(UnknownJavaObjectType), Order=0)] + public object Item { get { - return this.anyField; + return this.itemField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } @@ -304,699 +335,465 @@ public partial class EntryType : object, System.ComponentModel.INotifyPropertyCh } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class LocalizedMessageType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class DecisionType : object, System.ComponentModel.INotifyPropertyChanged { - private string keyField; + private UserType approverField; - private string[] argumentField; + private ObjectReferenceType approverRefField; + + private string approverNameField; + + private bool approvedField; + + private bool approvedFieldSpecified; + + private string resultAsStringField; + + private string commentField; + + private System.DateTime dateTimeField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string key { + public UserType approver { get { - return this.keyField; + return this.approverField; } set { - this.keyField = value; - this.RaisePropertyChanged("key"); + this.approverField = value; + this.RaisePropertyChanged("approver"); } } /// - [System.Xml.Serialization.XmlElementAttribute("argument", IsNullable=true, Order=1)] - public string[] argument { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ObjectReferenceType approverRef { get { - return this.argumentField; + return this.approverRefField; } set { - this.argumentField = value; - this.RaisePropertyChanged("argument"); + this.approverRefField = value; + this.RaisePropertyChanged("approverRef"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string approverName { + get { + return this.approverNameField; + } + set { + this.approverNameField = value; + this.RaisePropertyChanged("approverName"); + } + } - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool approved { + get { + return this.approvedField; + } + set { + this.approvedField = value; + this.RaisePropertyChanged("approved"); } } - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReferentialIntegrityFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(InapplicableOperationFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SchemaViolationFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectAlreadyExistsFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnsupportedObjectTypeFaultType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectNotFoundFaultType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public abstract partial class ObjectAccessFaultType : FaultType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class ReferentialIntegrityFaultType : ObjectAccessFaultType { - private string[] referringObjectOidField; + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool approvedSpecified { + get { + return this.approvedFieldSpecified; + } + set { + this.approvedFieldSpecified = value; + this.RaisePropertyChanged("approvedSpecified"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute("referringObjectOid", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=0)] - public string[] referringObjectOid { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string resultAsString { get { - return this.referringObjectOidField; + return this.resultAsStringField; } set { - this.referringObjectOidField = value; - this.RaisePropertyChanged("referringObjectOid"); + this.resultAsStringField = value; + this.RaisePropertyChanged("resultAsString"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class InapplicableOperationFaultType : ObjectAccessFaultType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class SchemaViolationFaultType : ObjectAccessFaultType { - private System.Xml.XmlQualifiedName[] violatingPropertyNameField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string comment { + get { + return this.commentField; + } + set { + this.commentField = value; + this.RaisePropertyChanged("comment"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute("violatingPropertyName", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=0)] - public System.Xml.XmlQualifiedName[] violatingPropertyName { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime dateTime { get { - return this.violatingPropertyNameField; + return this.dateTimeField; } set { - this.violatingPropertyNameField = value; - this.RaisePropertyChanged("violatingPropertyName"); + this.dateTimeField = value; + this.RaisePropertyChanged("dateTime"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class ObjectAlreadyExistsFaultType : ObjectAccessFaultType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class UnsupportedObjectTypeFaultType : ObjectAccessFaultType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class ObjectNotFoundFaultType : ObjectAccessFaultType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class IllegalArgumentFaultType : FaultType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class SystemFaultType : FaultType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - public partial class UnsupportedOperationFaultType : FaultType { - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", ConfigurationName="midpointModelService.modelPortType")] - public interface modelPortType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class UserType : FocusType { - // CODEGEN: Parameter 'result' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="result")] - ModelClientSample.midpointModelService.deleteObjectResponse deleteObject(ModelClientSample.midpointModelService.deleteObject request); + private PolyStringType fullNameField; - // CODEGEN: Parameter 'objectList' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="objectList")] - ModelClientSample.midpointModelService.listObjectsResponse listObjects(ModelClientSample.midpointModelService.listObjects request); + private PolyStringType givenNameField; - // CODEGEN: Parameter 'oid' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="oid")] - ModelClientSample.midpointModelService.addObjectResponse addObject(ModelClientSample.midpointModelService.addObject request); + private PolyStringType familyNameField; - // CODEGEN: Parameter 'user' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="user")] - ModelClientSample.midpointModelService.listAccountShadowOwnerResponse listAccountShadowOwner(ModelClientSample.midpointModelService.listAccountShadowOwner request); + private PolyStringType additionalNameField; - // CODEGEN: Parameter 'objectList' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="objectList")] - ModelClientSample.midpointModelService.searchObjectsResponse searchObjects(ModelClientSample.midpointModelService.searchObjects request); + private PolyStringType nickNameField; - // CODEGEN: Parameter 'resourceObjectShadowList' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="resourceObjectShadowList")] - ModelClientSample.midpointModelService.listResourceObjectShadowsResponse listResourceObjectShadows(ModelClientSample.midpointModelService.listResourceObjectShadows request); + private PolyStringType honorificPrefixField; - // CODEGEN: Parameter 'task' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="task")] - ModelClientSample.midpointModelService.importFromResourceResponse importFromResource(ModelClientSample.midpointModelService.importFromResource request); + private PolyStringType honorificSuffixField; - // CODEGEN: Parameter 'object' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="object")] - ModelClientSample.midpointModelService.getObjectResponse getObject(ModelClientSample.midpointModelService.getObject request); + private PolyStringType titleField; - // CODEGEN: Parameter 'result' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="result")] - ModelClientSample.midpointModelService.modifyObjectResponse modifyObject(ModelClientSample.midpointModelService.modifyObject request); + private string preferredLanguageField; - // CODEGEN: Parameter 'result' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'. - [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] - [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-1.wsdl")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - [return: System.ServiceModel.MessageParameterAttribute(Name="result")] - ModelClientSample.midpointModelService.testResourceResponse testResource(ModelClientSample.midpointModelService.testResource request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="deleteObject", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class deleteObject { + private string localeField; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="anyURI")] - public string objectType; + private string timezoneField; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string oid; + private string emailAddressField; - public deleteObject() { - } + private string telephoneNumberField; - public deleteObject(string objectType, string oid) { - this.objectType = objectType; - this.oid = oid; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="deleteObjectResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class deleteObjectResponse { + private string employeeNumberField; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.OperationResultType result; + private string[] employeeTypeField; - public deleteObjectResponse() { - } + private string costCenterField; - public deleteObjectResponse(ModelClientSample.midpointModelService.OperationResultType result) { - this.result = result; - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-2")] - public partial class PagingType : object, System.ComponentModel.INotifyPropertyChanged { + private PolyStringType[] organizationField; - private System.Xml.XmlElement anyField; + private PolyStringType[] organizationalUnitField; - private OrderDirectionType orderDirectionField; + private PolyStringType localityField; - private int offsetField; + private byte[] jpegPhotoField; - private int maxSizeField; + private CredentialsType credentialsField; - public PagingType() { - this.orderDirectionField = OrderDirectionType.ascending; - this.offsetField = 0; - this.maxSizeField = 2147483647; - } + private OperationResultType resultField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public PolyStringType fullName { get { - return this.anyField; + return this.fullNameField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.fullNameField = value; + this.RaisePropertyChanged("fullName"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(OrderDirectionType.ascending)] - public OrderDirectionType orderDirection { + public PolyStringType givenName { get { - return this.orderDirectionField; + return this.givenNameField; } set { - this.orderDirectionField = value; - this.RaisePropertyChanged("orderDirection"); + this.givenNameField = value; + this.RaisePropertyChanged("givenName"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int offset { + public PolyStringType familyName { get { - return this.offsetField; + return this.familyNameField; } set { - this.offsetField = value; - this.RaisePropertyChanged("offset"); + this.familyNameField = value; + this.RaisePropertyChanged("familyName"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(2147483647)] - public int maxSize { + public PolyStringType additionalName { get { - return this.maxSizeField; + return this.additionalNameField; } set { - this.maxSizeField = value; - this.RaisePropertyChanged("maxSize"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.additionalNameField = value; + this.RaisePropertyChanged("additionalName"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-2")] - public enum OrderDirectionType { - - /// - ascending, - - /// - descending, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public partial class ObjectOperationOptionsType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.Xml.XmlElement selectorField; - - private System.Nullable[] optionField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.Xml.XmlElement selector { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public PolyStringType nickName { get { - return this.selectorField; + return this.nickNameField; } set { - this.selectorField = value; - this.RaisePropertyChanged("selector"); + this.nickNameField = value; + this.RaisePropertyChanged("nickName"); } } /// - [System.Xml.Serialization.XmlElementAttribute("option", IsNullable=true, Order=1)] - public System.Nullable[] option { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public PolyStringType honorificPrefix { get { - return this.optionField; + return this.honorificPrefixField; } set { - this.optionField = value; - this.RaisePropertyChanged("option"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.honorificPrefixField = value; + this.RaisePropertyChanged("honorificPrefix"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public enum ObjectOperationOptionType { - - /// - resolve, - - /// - [System.Xml.Serialization.XmlEnumAttribute("no-fetch")] - nofetch, - - /// - force, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public partial class ObjectListType : object, System.ComponentModel.INotifyPropertyChanged { - - private ObjectType[] objectField; - - private int countField; - - private bool countFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute("object", IsNullable=true, Order=0)] - public ObjectType[] @object { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public PolyStringType honorificSuffix { get { - return this.objectField; + return this.honorificSuffixField; } set { - this.objectField = value; - this.RaisePropertyChanged("object"); + this.honorificSuffixField = value; + this.RaisePropertyChanged("honorificSuffix"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public int count { + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public PolyStringType title { get { - return this.countField; + return this.titleField; } set { - this.countField = value; - this.RaisePropertyChanged("count"); + this.titleField = value; + this.RaisePropertyChanged("title"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool countSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string preferredLanguage { get { - return this.countFieldSpecified; + return this.preferredLanguageField; } set { - this.countFieldSpecified = value; - this.RaisePropertyChanged("countSpecified"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.preferredLanguageField = value; + this.RaisePropertyChanged("preferredLanguage"); } } - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleApprovalFormType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrackingDataFormType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(TaskType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectTemplateType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SystemConfigurationType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(NodeType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ValuePolicyType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(GenericObjectType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConnectorHostType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConnectorType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResourceType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ShadowType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(AccountShadowType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(FocusType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(AbstractRoleType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrgType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public abstract partial class ObjectType : object, System.ComponentModel.INotifyPropertyChanged { - - private PolyStringType nameField; - - private string descriptionField; - - private OperationResultType fetchResultField; - - private ExtensionType extensionField; - - private OrgType[] parentOrgField; - - private ObjectReferenceType[] parentOrgRefField; - - private TriggerType[] triggerField; - - private MetadataType metadataField; - - private string oidField; - - private string versionField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public PolyStringType name { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public string locale { get { - return this.nameField; + return this.localeField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.localeField = value; + this.RaisePropertyChanged("locale"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string description { + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public string timezone { get { - return this.descriptionField; + return this.timezoneField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.timezoneField = value; + this.RaisePropertyChanged("timezone"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public OperationResultType fetchResult { + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string emailAddress { get { - return this.fetchResultField; + return this.emailAddressField; } set { - this.fetchResultField = value; - this.RaisePropertyChanged("fetchResult"); + this.emailAddressField = value; + this.RaisePropertyChanged("emailAddress"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ExtensionType extension { + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string telephoneNumber { get { - return this.extensionField; + return this.telephoneNumberField; } set { - this.extensionField = value; - this.RaisePropertyChanged("extension"); + this.telephoneNumberField = value; + this.RaisePropertyChanged("telephoneNumber"); } } /// - [System.Xml.Serialization.XmlElementAttribute("parentOrg", Order=4)] - public OrgType[] parentOrg { + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string employeeNumber { get { - return this.parentOrgField; + return this.employeeNumberField; } set { - this.parentOrgField = value; - this.RaisePropertyChanged("parentOrg"); + this.employeeNumberField = value; + this.RaisePropertyChanged("employeeNumber"); } } /// - [System.Xml.Serialization.XmlElementAttribute("parentOrgRef", Order=5)] - public ObjectReferenceType[] parentOrgRef { + [System.Xml.Serialization.XmlElementAttribute("employeeType", Order=14)] + public string[] employeeType { get { - return this.parentOrgRefField; + return this.employeeTypeField; } set { - this.parentOrgRefField = value; - this.RaisePropertyChanged("parentOrgRef"); + this.employeeTypeField = value; + this.RaisePropertyChanged("employeeType"); } } /// - [System.Xml.Serialization.XmlElementAttribute("trigger", Order=6)] - public TriggerType[] trigger { + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string costCenter { get { - return this.triggerField; + return this.costCenterField; } set { - this.triggerField = value; - this.RaisePropertyChanged("trigger"); + this.costCenterField = value; + this.RaisePropertyChanged("costCenter"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public MetadataType metadata { + [System.Xml.Serialization.XmlElementAttribute("organization", Order=16)] + public PolyStringType[] organization { get { - return this.metadataField; + return this.organizationField; } set { - this.metadataField = value; - this.RaisePropertyChanged("metadata"); + this.organizationField = value; + this.RaisePropertyChanged("organization"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string oid { + [System.Xml.Serialization.XmlElementAttribute("organizationalUnit", Order=17)] + public PolyStringType[] organizationalUnit { get { - return this.oidField; + return this.organizationalUnitField; } set { - this.oidField = value; - this.RaisePropertyChanged("oid"); + this.organizationalUnitField = value; + this.RaisePropertyChanged("organizationalUnit"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string version { + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public PolyStringType locality { get { - return this.versionField; + return this.localityField; } set { - this.versionField = value; - this.RaisePropertyChanged("version"); + this.localityField = value; + this.RaisePropertyChanged("locality"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=19)] + public byte[] jpegPhoto { + get { + return this.jpegPhotoField; + } + set { + this.jpegPhotoField = value; + this.RaisePropertyChanged("jpegPhoto"); + } + } - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public CredentialsType credentials { + get { + return this.credentialsField; + } + set { + this.credentialsField = value; + this.RaisePropertyChanged("credentials"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public OperationResultType result { + get { + return this.resultField; + } + set { + this.resultField = value; + this.RaisePropertyChanged("result"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-2")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] public partial class PolyStringType : object, System.ComponentModel.INotifyPropertyChanged { private string origField; private string normField; - private System.Xml.XmlElement[] anyField; + private System.Xml.XmlNode[] anyField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] @@ -1023,8 +820,9 @@ public partial class PolyStringType : object, System.ComponentModel.INotifyPrope } /// + [System.Xml.Serialization.XmlTextAttribute()] [System.Xml.Serialization.XmlAnyElementAttribute(Order=2)] - public System.Xml.XmlElement[] Any { + public System.Xml.XmlNode[] Any { get { return this.anyField; } @@ -1045,28 +843,42 @@ public partial class PolyStringType : object, System.ComponentModel.INotifyPrope } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ExtensionType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class CredentialsType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private PasswordType passwordField; + + private SecurityQuestionsCredentialsType securityQuestionsField; private long idField; private bool idFieldSpecified; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public PasswordType password { get { - return this.anyField; + return this.passwordField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.passwordField = value; + this.RaisePropertyChanged("password"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SecurityQuestionsCredentialsType securityQuestions { + get { + return this.securityQuestionsField; + } + set { + this.securityQuestionsField = value; + this.RaisePropertyChanged("securityQuestions"); } } @@ -1105,249 +917,298 @@ public partial class ExtensionType : object, System.ComponentModel.INotifyProper } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class OrgType : AbstractRoleType { - - private PolyStringType displayNameField; - - private string identifierField; - - private string[] orgTypeField; + public partial class PasswordType : AbstractCredentialType { - private string costCenterField; - - private PolyStringType localityField; + private ProtectedStringType valueField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public PolyStringType displayName { + public ProtectedStringType value { get { - return this.displayNameField; + return this.valueField; } set { - this.displayNameField = value; - this.RaisePropertyChanged("displayName"); + this.valueField = value; + this.RaisePropertyChanged("value"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ProtectedStringType : ProtectedDataType { + + private string clearValueField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string identifier { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string clearValue { get { - return this.identifierField; + return this.clearValueField; } set { - this.identifierField = value; - this.RaisePropertyChanged("identifier"); + this.clearValueField = value; + this.RaisePropertyChanged("clearValue"); } } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProtectedByteArrayType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProtectedStringType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public abstract partial class ProtectedDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private EncryptedDataType encryptedDataField; + + private System.Xml.XmlNode[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute("orgType", Order=2)] - public string[] orgType { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public EncryptedDataType encryptedData { get { - return this.orgTypeField; + return this.encryptedDataField; } set { - this.orgTypeField = value; - this.RaisePropertyChanged("orgType"); + this.encryptedDataField = value; + this.RaisePropertyChanged("encryptedData"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string costCenter { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { get { - return this.costCenterField; + return this.anyField; } set { - this.costCenterField = value; - this.RaisePropertyChanged("costCenter"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public PolyStringType locality { - get { - return this.localityField; - } - set { - this.localityField = value; - this.RaisePropertyChanged("locality"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrgType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public abstract partial class AbstractRoleType : FocusType { - - private AssignmentType[] inducementField; - - private AuthorizationType[] authorizationField; - - private bool requestableField; - - private ExclusionType[] exclusionField; - - private ObjectReferenceType[] approverRefField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class EncryptedDataType : object, System.ComponentModel.INotifyPropertyChanged { - private ExpressionType[] approverExpressionField; - - private ApprovalSchemaType approvalSchemaField; - - private string approvalProcessField; + private EncryptionMethodType encryptionMethodField; - private ExpressionType automaticallyApprovedField; + private KeyInfoType keyInfoField; - public AbstractRoleType() { - this.requestableField = false; - } + private CipherDataType cipherDataField; /// - [System.Xml.Serialization.XmlElementAttribute("inducement", Order=0)] - public AssignmentType[] inducement { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public EncryptionMethodType encryptionMethod { get { - return this.inducementField; + return this.encryptionMethodField; } set { - this.inducementField = value; - this.RaisePropertyChanged("inducement"); + this.encryptionMethodField = value; + this.RaisePropertyChanged("encryptionMethod"); } } /// - [System.Xml.Serialization.XmlElementAttribute("authorization", Order=1)] - public AuthorizationType[] authorization { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public KeyInfoType keyInfo { get { - return this.authorizationField; + return this.keyInfoField; } set { - this.authorizationField = value; - this.RaisePropertyChanged("authorization"); + this.keyInfoField = value; + this.RaisePropertyChanged("keyInfo"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool requestable { + public CipherDataType cipherData { get { - return this.requestableField; + return this.cipherDataField; } set { - this.requestableField = value; - this.RaisePropertyChanged("requestable"); + this.cipherDataField = value; + this.RaisePropertyChanged("cipherData"); } } - /// - [System.Xml.Serialization.XmlElementAttribute("exclusion", Order=3)] - public ExclusionType[] exclusion { - get { - return this.exclusionField; - } - set { - this.exclusionField = value; - this.RaisePropertyChanged("exclusion"); - } - } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - [System.Xml.Serialization.XmlElementAttribute("approverRef", Order=4)] - public ObjectReferenceType[] approverRef { - get { - return this.approverRefField; - } - set { - this.approverRefField = value; - this.RaisePropertyChanged("approverRef"); + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class EncryptionMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute("approverExpression", Order=5)] - public ExpressionType[] approverExpression { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] + public string algorithm { get { - return this.approverExpressionField; + return this.algorithmField; } set { - this.approverExpressionField = value; - this.RaisePropertyChanged("approverExpression"); + this.algorithmField = value; + this.RaisePropertyChanged("algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class KeyInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private string keyNameField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public ApprovalSchemaType approvalSchema { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string keyName { get { - return this.approvalSchemaField; + return this.keyNameField; } set { - this.approvalSchemaField = value; - this.RaisePropertyChanged("approvalSchema"); + this.keyNameField = value; + this.RaisePropertyChanged("keyName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class CipherDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] cipherValueField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public string approvalProcess { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] cipherValue { get { - return this.approvalProcessField; + return this.cipherValueField; } set { - this.approvalProcessField = value; - this.RaisePropertyChanged("approvalProcess"); + this.cipherValueField = value; + this.RaisePropertyChanged("cipherValue"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ProtectedByteArrayType : ProtectedDataType { + + private byte[] clearValueField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public ExpressionType automaticallyApproved { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] clearValue { get { - return this.automaticallyApprovedField; + return this.clearValueField; } set { - this.automaticallyApprovedField = value; - this.RaisePropertyChanged("automaticallyApproved"); + this.clearValueField = value; + this.RaisePropertyChanged("clearValue"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecurityQuestionsCredentialsType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PasswordType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AssignmentType : object, System.ComponentModel.INotifyPropertyChanged { + public abstract partial class AbstractCredentialType : object, System.ComponentModel.INotifyPropertyChanged { - private string descriptionField; - - private ExtensionType extensionField; - - private MetadataType metadataField; - - private ObjectType targetField; + private int failedLoginsField; - private ObjectReferenceType targetRefField; + private bool failedLoginsFieldSpecified; - private ConstructionType accountConstructionField; + private LoginEventType lastSuccessfulLoginField; - private ConstructionType constructionField; + private LoginEventType previousSuccessfulLoginField; - private ActivationType activationField; + private LoginEventType lastFailedLoginField; private long idField; @@ -1355,97 +1216,61 @@ public partial class AssignmentType : object, System.ComponentModel.INotifyPrope /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { - get { - return this.descriptionField; - } - set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ExtensionType extension { - get { - return this.extensionField; - } - set { - this.extensionField = value; - this.RaisePropertyChanged("extension"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public MetadataType metadata { - get { - return this.metadataField; - } - set { - this.metadataField = value; - this.RaisePropertyChanged("metadata"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ObjectType target { + public int failedLogins { get { - return this.targetField; + return this.failedLoginsField; } set { - this.targetField = value; - this.RaisePropertyChanged("target"); + this.failedLoginsField = value; + this.RaisePropertyChanged("failedLogins"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public ObjectReferenceType targetRef { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool failedLoginsSpecified { get { - return this.targetRefField; + return this.failedLoginsFieldSpecified; } set { - this.targetRefField = value; - this.RaisePropertyChanged("targetRef"); + this.failedLoginsFieldSpecified = value; + this.RaisePropertyChanged("failedLoginsSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public ConstructionType accountConstruction { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public LoginEventType lastSuccessfulLogin { get { - return this.accountConstructionField; + return this.lastSuccessfulLoginField; } set { - this.accountConstructionField = value; - this.RaisePropertyChanged("accountConstruction"); + this.lastSuccessfulLoginField = value; + this.RaisePropertyChanged("lastSuccessfulLogin"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public ConstructionType construction { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public LoginEventType previousSuccessfulLogin { get { - return this.constructionField; + return this.previousSuccessfulLoginField; } set { - this.constructionField = value; - this.RaisePropertyChanged("construction"); + this.previousSuccessfulLoginField = value; + this.RaisePropertyChanged("previousSuccessfulLogin"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public ActivationType activation { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public LoginEventType lastFailedLogin { get { - return this.activationField; + return this.lastFailedLoginField; } set { - this.activationField = value; - this.RaisePropertyChanged("activation"); + this.lastFailedLoginField = value; + this.RaisePropertyChanged("lastFailedLogin"); } } @@ -1484,150 +1309,107 @@ public partial class AssignmentType : object, System.ComponentModel.INotifyPrope } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class MetadataType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.DateTime createTimestampField; - - private bool createTimestampFieldSpecified; - - private ObjectReferenceType creatorRefField; - - private ObjectReferenceType[] createApproverRefField; - - private string createChannelField; - - private System.DateTime modifyTimestampField; - - private bool modifyTimestampFieldSpecified; + public partial class LoginEventType : object, System.ComponentModel.INotifyPropertyChanged { - private ObjectReferenceType modifierRefField; + private System.DateTime timestampField; - private ObjectReferenceType[] modifyApproverRefField; + private bool timestampFieldSpecified; - private string modifyChannelField; + private string fromField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.DateTime createTimestamp { + public System.DateTime timestamp { get { - return this.createTimestampField; + return this.timestampField; } set { - this.createTimestampField = value; - this.RaisePropertyChanged("createTimestamp"); + this.timestampField = value; + this.RaisePropertyChanged("timestamp"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool createTimestampSpecified { + public bool timestampSpecified { get { - return this.createTimestampFieldSpecified; + return this.timestampFieldSpecified; } set { - this.createTimestampFieldSpecified = value; - this.RaisePropertyChanged("createTimestampSpecified"); + this.timestampFieldSpecified = value; + this.RaisePropertyChanged("timestampSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ObjectReferenceType creatorRef { + public string from { get { - return this.creatorRefField; + return this.fromField; } set { - this.creatorRefField = value; - this.RaisePropertyChanged("creatorRef"); + this.fromField = value; + this.RaisePropertyChanged("from"); } } - /// - [System.Xml.Serialization.XmlElementAttribute("createApproverRef", Order=2)] - public ObjectReferenceType[] createApproverRef { - get { - return this.createApproverRefField; - } - set { - this.createApproverRefField = value; - this.RaisePropertyChanged("createApproverRef"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=3)] - public string createChannel { - get { - return this.createChannelField; - } - set { - this.createChannelField = value; - this.RaisePropertyChanged("createChannel"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public System.DateTime modifyTimestamp { - get { - return this.modifyTimestampField; - } - set { - this.modifyTimestampField = value; - this.RaisePropertyChanged("modifyTimestamp"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SecurityQuestionsCredentialsType : AbstractCredentialType { - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool modifyTimestampSpecified { - get { - return this.modifyTimestampFieldSpecified; - } - set { - this.modifyTimestampFieldSpecified = value; - this.RaisePropertyChanged("modifyTimestampSpecified"); - } - } + private SecurityQuestionAnswerType[] questionAnswerField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public ObjectReferenceType modifierRef { + [System.Xml.Serialization.XmlElementAttribute("questionAnswer", Order=0)] + public SecurityQuestionAnswerType[] questionAnswer { get { - return this.modifierRefField; + return this.questionAnswerField; } set { - this.modifierRefField = value; - this.RaisePropertyChanged("modifierRef"); + this.questionAnswerField = value; + this.RaisePropertyChanged("questionAnswer"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SecurityQuestionAnswerType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlElementAttribute("modifyApproverRef", Order=6)] - public ObjectReferenceType[] modifyApproverRef { - get { - return this.modifyApproverRefField; - } - set { - this.modifyApproverRefField = value; - this.RaisePropertyChanged("modifyApproverRef"); - } - } + private string questionIdentifierField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=7)] - public string modifyChannel { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] + public string questionIdentifier { get { - return this.modifyChannelField; + return this.questionIdentifierField; } set { - this.modifyChannelField = value; - this.RaisePropertyChanged("modifyChannel"); + this.questionIdentifierField = value; + this.RaisePropertyChanged("questionIdentifier"); } } @@ -1642,915 +1424,861 @@ public partial class MetadataType : object, System.ComponentModel.INotifyPropert } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AbstractRoleType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrgType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ObjectReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + public abstract partial class FocusType : ObjectType1 { - private string descriptionField; + private ShadowType[] linkField; - private System.Xml.XmlElement filterField; + private ObjectReferenceType[] linkRefField; - private string oidField; + private AssignmentType[] assignmentField; - private System.Xml.XmlQualifiedName relationField; + private ActivationType activationField; - private System.Xml.XmlQualifiedName typeField; + private int iterationField; + + private bool iterationFieldSpecified; + + private string iterationTokenField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + [System.Xml.Serialization.XmlElementAttribute("link", Order=0)] + public ShadowType[] link { get { - return this.descriptionField; + return this.linkField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.linkField = value; + this.RaisePropertyChanged("link"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public System.Xml.XmlElement filter { + [System.Xml.Serialization.XmlElementAttribute("linkRef", Order=1)] + public ObjectReferenceType[] linkRef { get { - return this.filterField; + return this.linkRefField; } set { - this.filterField = value; - this.RaisePropertyChanged("filter"); + this.linkRefField = value; + this.RaisePropertyChanged("linkRef"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string oid { + [System.Xml.Serialization.XmlElementAttribute("assignment", Order=2)] + public AssignmentType[] assignment { get { - return this.oidField; + return this.assignmentField; } set { - this.oidField = value; - this.RaisePropertyChanged("oid"); + this.assignmentField = value; + this.RaisePropertyChanged("assignment"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public System.Xml.XmlQualifiedName relation { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ActivationType activation { get { - return this.relationField; + return this.activationField; } set { - this.relationField = value; - this.RaisePropertyChanged("relation"); + this.activationField = value; + this.RaisePropertyChanged("activation"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public System.Xml.XmlQualifiedName type { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int iteration { get { - return this.typeField; + return this.iterationField; } set { - this.typeField = value; - this.RaisePropertyChanged("type"); + this.iterationField = value; + this.RaisePropertyChanged("iteration"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool iterationSpecified { + get { + return this.iterationFieldSpecified; + } + set { + this.iterationFieldSpecified = value; + this.RaisePropertyChanged("iterationSpecified"); + } + } - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string iterationToken { + get { + return this.iterationTokenField; + } + set { + this.iterationTokenField = value; + this.RaisePropertyChanged("iterationToken"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ConstructionType : object, System.ComponentModel.INotifyPropertyChanged { - - private string descriptionField; - - private ExtensionType extensionField; + public partial class ShadowType : ObjectType1 { private ObjectReferenceType resourceRefField; private ResourceType resourceField; + private OperationResultType resultField; + + private ObjectDeltaType objectChangeField; + + private int attemptNumberField; + + private bool attemptNumberFieldSpecified; + + private FailedOperationTypeType failedOperationTypeField; + + private bool failedOperationTypeFieldSpecified; + + private bool deadField; + + private bool deadFieldSpecified; + + private SynchronizationSituationType synchronizationSituationField; + + private bool synchronizationSituationFieldSpecified; + + private System.DateTime synchronizationTimestampField; + + private bool synchronizationTimestampFieldSpecified; + + private System.DateTime fullSynchronizationTimestampField; + + private bool fullSynchronizationTimestampFieldSpecified; + + private SynchronizationSituationDescriptionType[] synchronizationSituationDescriptionField; + + private System.Xml.XmlQualifiedName objectClassField; + private ShadowKindType kindField; + private bool kindFieldSpecified; + private string intentField; - private ExpressionType conditionField; + private bool protectedObjectField; - private ResourceAttributeDefinitionType[] attributeField; + private bool ignoredField; - public ConstructionType() { - this.kindField = ShadowKindType.account; + private bool assignedField; + + private bool existsField; + + private int iterationField; + + private bool iterationFieldSpecified; + + private string iterationTokenField; + + private ShadowAttributesType attributesField; + + private ShadowAssociationType[] associationField; + + private ActivationType activationField; + + private CredentialsType credentialsField; + + public ShadowType() { + this.protectedObjectField = false; + this.ignoredField = false; + this.assignedField = false; + this.existsField = false; } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + public ObjectReferenceType resourceRef { get { - return this.descriptionField; + return this.resourceRefField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.resourceRefField = value; + this.RaisePropertyChanged("resourceRef"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ExtensionType extension { + public ResourceType resource { get { - return this.extensionField; + return this.resourceField; } set { - this.extensionField = value; - this.RaisePropertyChanged("extension"); + this.resourceField = value; + this.RaisePropertyChanged("resource"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ObjectReferenceType resourceRef { + public OperationResultType result { get { - return this.resourceRefField; + return this.resultField; } set { - this.resourceRefField = value; - this.RaisePropertyChanged("resourceRef"); + this.resultField = value; + this.RaisePropertyChanged("result"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ResourceType resource { + public ObjectDeltaType objectChange { get { - return this.resourceField; + return this.objectChangeField; } set { - this.resourceField = value; - this.RaisePropertyChanged("resource"); + this.objectChangeField = value; + this.RaisePropertyChanged("objectChange"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(ShadowKindType.account)] - public ShadowKindType kind { + public int attemptNumber { get { - return this.kindField; + return this.attemptNumberField; } set { - this.kindField = value; - this.RaisePropertyChanged("kind"); + this.attemptNumberField = value; + this.RaisePropertyChanged("attemptNumber"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public string intent { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool attemptNumberSpecified { get { - return this.intentField; + return this.attemptNumberFieldSpecified; } set { - this.intentField = value; - this.RaisePropertyChanged("intent"); + this.attemptNumberFieldSpecified = value; + this.RaisePropertyChanged("attemptNumberSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public ExpressionType condition { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public FailedOperationTypeType failedOperationType { get { - return this.conditionField; + return this.failedOperationTypeField; } set { - this.conditionField = value; - this.RaisePropertyChanged("condition"); + this.failedOperationTypeField = value; + this.RaisePropertyChanged("failedOperationType"); } } /// - [System.Xml.Serialization.XmlElementAttribute("attribute", Order=7)] - public ResourceAttributeDefinitionType[] attribute { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool failedOperationTypeSpecified { get { - return this.attributeField; + return this.failedOperationTypeFieldSpecified; } set { - this.attributeField = value; - this.RaisePropertyChanged("attribute"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.failedOperationTypeFieldSpecified = value; + this.RaisePropertyChanged("failedOperationTypeSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceType : ObjectType { - - private OperationalStateType operationalStateField; - - private ConnectorType connectorField; - - private ObjectReferenceType connectorRefField; - - private ConnectorConfigurationType connectorConfigurationField; - - private string namespaceField; - - private XmlSchemaType schemaField; - - private SchemaHandlingType schemaHandlingField; - - private CapabilitiesType capabilitiesField; - - private OperationProvisioningScriptType[] scriptsField; - - private ProjectionPolicyType projectionField; - - private ResourceConsistencyType consistencyField; - - private ObjectSynchronizationType[] synchronizationField; - - private ResourceBusinessConfigurationType businessField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public OperationalStateType operationalState { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool dead { get { - return this.operationalStateField; + return this.deadField; } set { - this.operationalStateField = value; - this.RaisePropertyChanged("operationalState"); + this.deadField = value; + this.RaisePropertyChanged("dead"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ConnectorType connector { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool deadSpecified { get { - return this.connectorField; + return this.deadFieldSpecified; } set { - this.connectorField = value; - this.RaisePropertyChanged("connector"); + this.deadFieldSpecified = value; + this.RaisePropertyChanged("deadSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ObjectReferenceType connectorRef { + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public SynchronizationSituationType synchronizationSituation { get { - return this.connectorRefField; + return this.synchronizationSituationField; } set { - this.connectorRefField = value; - this.RaisePropertyChanged("connectorRef"); + this.synchronizationSituationField = value; + this.RaisePropertyChanged("synchronizationSituation"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ConnectorConfigurationType connectorConfiguration { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool synchronizationSituationSpecified { get { - return this.connectorConfigurationField; + return this.synchronizationSituationFieldSpecified; } set { - this.connectorConfigurationField = value; - this.RaisePropertyChanged("connectorConfiguration"); + this.synchronizationSituationFieldSpecified = value; + this.RaisePropertyChanged("synchronizationSituationSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=4)] - public string @namespace { + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.DateTime synchronizationTimestamp { get { - return this.namespaceField; + return this.synchronizationTimestampField; } set { - this.namespaceField = value; - this.RaisePropertyChanged("namespace"); + this.synchronizationTimestampField = value; + this.RaisePropertyChanged("synchronizationTimestamp"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public XmlSchemaType schema { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool synchronizationTimestampSpecified { get { - return this.schemaField; + return this.synchronizationTimestampFieldSpecified; } set { - this.schemaField = value; - this.RaisePropertyChanged("schema"); + this.synchronizationTimestampFieldSpecified = value; + this.RaisePropertyChanged("synchronizationTimestampSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public SchemaHandlingType schemaHandling { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.DateTime fullSynchronizationTimestamp { get { - return this.schemaHandlingField; + return this.fullSynchronizationTimestampField; } set { - this.schemaHandlingField = value; - this.RaisePropertyChanged("schemaHandling"); + this.fullSynchronizationTimestampField = value; + this.RaisePropertyChanged("fullSynchronizationTimestamp"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public CapabilitiesType capabilities { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fullSynchronizationTimestampSpecified { get { - return this.capabilitiesField; + return this.fullSynchronizationTimestampFieldSpecified; } set { - this.capabilitiesField = value; - this.RaisePropertyChanged("capabilities"); + this.fullSynchronizationTimestampFieldSpecified = value; + this.RaisePropertyChanged("fullSynchronizationTimestampSpecified"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=8)] - [System.Xml.Serialization.XmlArrayItemAttribute("script")] - public OperationProvisioningScriptType[] scripts { + [System.Xml.Serialization.XmlElementAttribute("synchronizationSituationDescription", Order=10)] + public SynchronizationSituationDescriptionType[] synchronizationSituationDescription { get { - return this.scriptsField; + return this.synchronizationSituationDescriptionField; } set { - this.scriptsField = value; - this.RaisePropertyChanged("scripts"); + this.synchronizationSituationDescriptionField = value; + this.RaisePropertyChanged("synchronizationSituationDescription"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public ProjectionPolicyType projection { + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public System.Xml.XmlQualifiedName objectClass { get { - return this.projectionField; + return this.objectClassField; } set { - this.projectionField = value; - this.RaisePropertyChanged("projection"); + this.objectClassField = value; + this.RaisePropertyChanged("objectClass"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public ResourceConsistencyType consistency { + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public ShadowKindType kind { get { - return this.consistencyField; + return this.kindField; } set { - this.consistencyField = value; - this.RaisePropertyChanged("consistency"); + this.kindField = value; + this.RaisePropertyChanged("kind"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=11)] - [System.Xml.Serialization.XmlArrayItemAttribute("objectSynchronization")] - public ObjectSynchronizationType[] synchronization { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool kindSpecified { get { - return this.synchronizationField; + return this.kindFieldSpecified; } set { - this.synchronizationField = value; - this.RaisePropertyChanged("synchronization"); + this.kindFieldSpecified = value; + this.RaisePropertyChanged("kindSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=12)] - public ResourceBusinessConfigurationType business { + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string intent { get { - return this.businessField; + return this.intentField; } set { - this.businessField = value; - this.RaisePropertyChanged("business"); + this.intentField = value; + this.RaisePropertyChanged("intent"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class OperationalStateType : object, System.ComponentModel.INotifyPropertyChanged { - - private AvailabilityStatusType lastAvailabilityStatusField; - - private bool lastAvailabilityStatusFieldSpecified; - - private long idField; - - private bool idFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public AvailabilityStatusType lastAvailabilityStatus { + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool protectedObject { get { - return this.lastAvailabilityStatusField; + return this.protectedObjectField; } set { - this.lastAvailabilityStatusField = value; - this.RaisePropertyChanged("lastAvailabilityStatus"); + this.protectedObjectField = value; + this.RaisePropertyChanged("protectedObject"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool lastAvailabilityStatusSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool ignored { get { - return this.lastAvailabilityStatusFieldSpecified; + return this.ignoredField; } set { - this.lastAvailabilityStatusFieldSpecified = value; - this.RaisePropertyChanged("lastAvailabilityStatusSpecified"); + this.ignoredField = value; + this.RaisePropertyChanged("ignored"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool assigned { get { - return this.idField; - } - set { - this.idField = value; - this.RaisePropertyChanged("id"); - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { - get { - return this.idFieldSpecified; - } - set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum AvailabilityStatusType { - - /// - down, - - /// - up, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ConnectorType : ObjectType { - - private string frameworkField; - - private string connectorTypeField; - - private string connectorVersionField; - - private string connectorBundleField; - - private string[] targetSystemTypeField; - - private string namespaceField; - - private ConnectorHostType connectorHostField; - - private ObjectReferenceType connectorHostRefField; - - private XmlSchemaType schemaField; - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] - public string framework { - get { - return this.frameworkField; + return this.assignedField; } set { - this.frameworkField = value; - this.RaisePropertyChanged("framework"); + this.assignedField = value; + this.RaisePropertyChanged("assigned"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string connectorType { + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool exists { get { - return this.connectorTypeField; + return this.existsField; } set { - this.connectorTypeField = value; - this.RaisePropertyChanged("connectorType"); + this.existsField = value; + this.RaisePropertyChanged("exists"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string connectorVersion { + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public int iteration { get { - return this.connectorVersionField; + return this.iterationField; } set { - this.connectorVersionField = value; - this.RaisePropertyChanged("connectorVersion"); + this.iterationField = value; + this.RaisePropertyChanged("iteration"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string connectorBundle { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool iterationSpecified { get { - return this.connectorBundleField; + return this.iterationFieldSpecified; } set { - this.connectorBundleField = value; - this.RaisePropertyChanged("connectorBundle"); + this.iterationFieldSpecified = value; + this.RaisePropertyChanged("iterationSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute("targetSystemType", DataType="anyURI", Order=4)] - public string[] targetSystemType { + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string iterationToken { get { - return this.targetSystemTypeField; + return this.iterationTokenField; } set { - this.targetSystemTypeField = value; - this.RaisePropertyChanged("targetSystemType"); + this.iterationTokenField = value; + this.RaisePropertyChanged("iterationToken"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=5)] - public string @namespace { + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public ShadowAttributesType attributes { get { - return this.namespaceField; + return this.attributesField; } set { - this.namespaceField = value; - this.RaisePropertyChanged("namespace"); + this.attributesField = value; + this.RaisePropertyChanged("attributes"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public ConnectorHostType connectorHost { + [System.Xml.Serialization.XmlElementAttribute("association", Order=21)] + public ShadowAssociationType[] association { get { - return this.connectorHostField; + return this.associationField; } set { - this.connectorHostField = value; - this.RaisePropertyChanged("connectorHost"); + this.associationField = value; + this.RaisePropertyChanged("association"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public ObjectReferenceType connectorHostRef { + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public ActivationType activation { get { - return this.connectorHostRefField; + return this.activationField; } set { - this.connectorHostRefField = value; - this.RaisePropertyChanged("connectorHostRef"); + this.activationField = value; + this.RaisePropertyChanged("activation"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public XmlSchemaType schema { + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public CredentialsType credentials { get { - return this.schemaField; + return this.credentialsField; } set { - this.schemaField = value; - this.RaisePropertyChanged("schema"); + this.credentialsField = value; + this.RaisePropertyChanged("credentials"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ConnectorHostType : ObjectType { - - private string hostnameField; - - private string portField; + public partial class ObjectReferenceType : object, System.ComponentModel.INotifyPropertyChanged { - private ProtectedStringType sharedSecretField; + private string descriptionField; - private bool protectConnectionField; + private SearchFilterType filterField; - private int timeoutField; + private string oidField; - private bool timeoutFieldSpecified; + private System.Xml.XmlQualifiedName typeField; - public ConnectorHostType() { - this.protectConnectionField = false; - } + private System.Xml.XmlQualifiedName relationField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string hostname { + public string description { get { - return this.hostnameField; + return this.descriptionField; } set { - this.hostnameField = value; - this.RaisePropertyChanged("hostname"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string port { + public SearchFilterType filter { get { - return this.portField; + return this.filterField; } set { - this.portField = value; - this.RaisePropertyChanged("port"); + this.filterField = value; + this.RaisePropertyChanged("filter"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ProtectedStringType sharedSecret { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string oid { get { - return this.sharedSecretField; + return this.oidField; } set { - this.sharedSecretField = value; - this.RaisePropertyChanged("sharedSecret"); + this.oidField = value; + this.RaisePropertyChanged("oid"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool protectConnection { + [System.Xml.Serialization.XmlAttributeAttribute()] + public System.Xml.XmlQualifiedName type { get { - return this.protectConnectionField; + return this.typeField; } set { - this.protectConnectionField = value; - this.RaisePropertyChanged("protectConnection"); + this.typeField = value; + this.RaisePropertyChanged("type"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public int timeout { + [System.Xml.Serialization.XmlAttributeAttribute()] + public System.Xml.XmlQualifiedName relation { get { - return this.timeoutField; + return this.relationField; } set { - this.timeoutField = value; - this.RaisePropertyChanged("timeout"); + this.relationField = value; + this.RaisePropertyChanged("relation"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool timeoutSpecified { - get { - return this.timeoutFieldSpecified; - } - set { - this.timeoutFieldSpecified = value; - this.RaisePropertyChanged("timeoutSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConditionalSearchFilterType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ProtectedStringType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class SearchFilterType : object, System.ComponentModel.INotifyPropertyChanged { - private EncryptedDataType encryptedDataField; + private string descriptionField; - private string clearValueField; + private FilterClauseType itemField; + + private ItemChoiceType1 itemElementNameField; /// - [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#", Order=0)] - public EncryptedDataType EncryptedData { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string description { get { - return this.encryptedDataField; + return this.descriptionField; } set { - this.encryptedDataField = value; - this.RaisePropertyChanged("EncryptedData"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string clearValue { + [System.Xml.Serialization.XmlElementAttribute("and", typeof(NAryLogicalOperatorFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("equal", typeof(PropertyComplexValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("filterClause", typeof(FilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("greaterOrEqual", typeof(PropertySimpleValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("lessOrEqual", typeof(PropertySimpleValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("maxDepth", typeof(PropertySimpleValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("minDepth", typeof(PropertySimpleValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("not", typeof(UnaryLogicalOperatorFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("or", typeof(NAryLogicalOperatorFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("org", typeof(PropertyComplexValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("orgRef", typeof(PropertySimpleValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("present", typeof(PropertyNoValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("ref", typeof(PropertySimpleValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("substring", typeof(PropertySimpleValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("true", typeof(PropertyNoValueFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("type", typeof(UriFilterClauseType), Order=1)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] + public FilterClauseType Item { get { - return this.clearValueField; + return this.itemField; } set { - this.clearValueField = value; - this.RaisePropertyChanged("clearValue"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemChoiceType1 ItemElementName { + get { + return this.itemElementNameField; + } + set { + this.itemElementNameField = value; + this.RaisePropertyChanged("ItemElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptedDataType : EncryptedType { - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedKeyType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedDataType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public abstract partial class EncryptedType : object, System.ComponentModel.INotifyPropertyChanged { - - private EncryptionMethodType encryptionMethodField; - - private KeyInfoType keyInfoField; - - private CipherDataType cipherDataField; - - private EncryptionPropertiesType encryptionPropertiesField; - - private string idField; - - private string typeField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class NAryLogicalOperatorFilterClauseType : LogicalOperatorFilterClauseType { - private string mimeTypeField; + private FilterClauseType[] itemsField; - private string encodingField; + private ItemsChoiceType[] itemsElementNameField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public EncryptionMethodType EncryptionMethod { + [System.Xml.Serialization.XmlElementAttribute("and", typeof(NAryLogicalOperatorFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("equal", typeof(PropertyComplexValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("filterClause", typeof(FilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("greaterOrEqual", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("lessOrEqual", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("maxDepth", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("minDepth", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("not", typeof(UnaryLogicalOperatorFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("or", typeof(NAryLogicalOperatorFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("org", typeof(PropertyComplexValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("orgRef", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("present", typeof(PropertyNoValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("ref", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("substring", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("true", typeof(PropertyNoValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("type", typeof(UriFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public FilterClauseType[] Items { get { - return this.encryptionMethodField; + return this.itemsField; } set { - this.encryptionMethodField = value; - this.RaisePropertyChanged("EncryptionMethod"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", Order=1)] - public KeyInfoType KeyInfo { + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType[] ItemsElementName { get { - return this.keyInfoField; + return this.itemsElementNameField; } set { - this.keyInfoField = value; - this.RaisePropertyChanged("KeyInfo"); + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class PropertyComplexValueFilterClauseType : FilterClauseType { - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public CipherDataType CipherData { - get { - return this.cipherDataField; - } - set { - this.cipherDataField = value; - this.RaisePropertyChanged("CipherData"); - } - } + private ItemPathType pathField; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public EncryptionPropertiesType EncryptionProperties { - get { - return this.encryptionPropertiesField; - } - set { - this.encryptionPropertiesField = value; - this.RaisePropertyChanged("EncryptionProperties"); - } - } + private object itemField; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ItemPathType path { get { - return this.idField; + return this.pathField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.pathField = value; + this.RaisePropertyChanged("path"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Type { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + [System.Xml.Serialization.XmlElementAttribute("value", typeof(object), Order=1)] + public object Item { get { - return this.typeField; + return this.itemField; } set { - this.typeField = value; - this.RaisePropertyChanged("Type"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ItemPathType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string MimeType { - get { - return this.mimeTypeField; - } - set { - this.mimeTypeField = value; - this.RaisePropertyChanged("MimeType"); - } - } + private string valueField; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Encoding { + [System.Xml.Serialization.XmlTextAttribute()] + public string Value { get { - return this.encodingField; + return this.valueField; } set { - this.encodingField = value; - this.RaisePropertyChanged("Encoding"); + this.valueField = value; + this.RaisePropertyChanged("Value"); } } @@ -2565,54 +2293,31 @@ public abstract partial class EncryptedType : object, System.ComponentModel.INot } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(LogicalOperatorFilterClauseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NAryLogicalOperatorFilterClauseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnaryLogicalOperatorFilterClauseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PropertyNoValueFilterClauseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PropertySimpleValueFilterClauseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PropertyComplexValueFilterClauseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UriFilterClauseType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptionMethodType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private string[] textField; - - private string algorithmField; - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("KeySize", typeof(string), DataType="integer", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("OAEPparams", typeof(byte[]), DataType="base64Binary", Order=0)] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); - } - } + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class FilterClauseType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { - get { - return this.textField; - } - set { - this.textField = value; - this.RaisePropertyChanged("Text"); - } - } + private string matchingField; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string matching { get { - return this.algorithmField; + return this.matchingField; } set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); + this.matchingField = value; + this.RaisePropertyChanged("matching"); } } @@ -2627,239 +2332,470 @@ public partial class EncryptionMethodType : object, System.ComponentModel.INotif } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NAryLogicalOperatorFilterClauseType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnaryLogicalOperatorFilterClauseType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class KeyInfoType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private ItemsChoiceType2[] itemsElementNameField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public abstract partial class LogicalOperatorFilterClauseType : FilterClauseType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class UnaryLogicalOperatorFilterClauseType : LogicalOperatorFilterClauseType { - private string[] textField; + private FilterClauseType itemField; - private string idField; + private ItemChoiceType itemElementNameField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType), Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute("and", typeof(NAryLogicalOperatorFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("equal", typeof(PropertyComplexValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("filterClause", typeof(FilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("greaterOrEqual", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("lessOrEqual", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("maxDepth", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("minDepth", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("not", typeof(UnaryLogicalOperatorFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("or", typeof(NAryLogicalOperatorFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("org", typeof(PropertyComplexValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("orgRef", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("present", typeof(PropertyNoValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("ref", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("substring", typeof(PropertySimpleValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("true", typeof(PropertyNoValueFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("type", typeof(UriFilterClauseType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")] + public FilterClauseType Item { get { - return this.itemsField; + return this.itemField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlElementAttribute(Order=1)] [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType2[] ItemsElementName { + public ItemChoiceType ItemElementName { get { - return this.itemsElementNameField; + return this.itemElementNameField; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.itemElementNameField = value; + this.RaisePropertyChanged("ItemElementName"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class PropertySimpleValueFilterClauseType : FilterClauseType { + + private ItemPathType pathField; + + private object itemField; /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ItemPathType path { get { - return this.textField; + return this.pathField; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.pathField = value; + this.RaisePropertyChanged("path"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + [System.Xml.Serialization.XmlElementAttribute("value", typeof(object), Order=1)] + public object Item { get { - return this.idField; + return this.itemField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class KeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class PropertyNoValueFilterClauseType : FilterClauseType { - private object[] itemsField; - - private string[] textField; + private ItemPathType propertyField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType), Order=0)] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ItemPathType property { get { - return this.itemsField; + return this.propertyField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.propertyField = value; + this.RaisePropertyChanged("property"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class UriFilterClauseType : FilterClauseType { + + private string uriField; /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string uri { get { - return this.textField; + return this.uriField; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.uriField = value; + this.RaisePropertyChanged("uri"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3", IncludeInSchema=false)] + public enum ItemChoiceType { - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + and, - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + equal, + + /// + filterClause, + + /// + greaterOrEqual, + + /// + lessOrEqual, + + /// + maxDepth, + + /// + minDepth, + + /// + not, + + /// + or, + + /// + org, + + /// + orgRef, + + /// + present, + + /// + @ref, + + /// + substring, + + /// + @true, + + /// + type, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3", IncludeInSchema=false)] + public enum ItemsChoiceType { + + /// + and, + + /// + equal, + + /// + filterClause, + + /// + greaterOrEqual, + + /// + lessOrEqual, + + /// + maxDepth, + + /// + minDepth, + + /// + not, + + /// + or, + + /// + org, + + /// + orgRef, + + /// + present, + + /// + @ref, + + /// + substring, + + /// + @true, + + /// + type, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3", IncludeInSchema=false)] + public enum ItemChoiceType1 { + + /// + and, + + /// + equal, + + /// + filterClause, + + /// + greaterOrEqual, + + /// + lessOrEqual, + + /// + maxDepth, + + /// + minDepth, + + /// + not, + + /// + or, + + /// + org, + + /// + orgRef, + + /// + present, + + /// + @ref, + + /// + substring, + + /// + @true, + + /// + type, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ConditionalSearchFilterType : SearchFilterType { + + private ExpressionType conditionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ExpressionType condition { + get { + return this.conditionField; + } + set { + this.conditionField = value; + this.RaisePropertyChanged("condition"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProvisioningScriptArgumentType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class DSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ExpressionType : object, System.ComponentModel.INotifyPropertyChanged { - private byte[] pField; + private string descriptionField; - private byte[] qField; + private ExtensionType extensionField; - private byte[] jField; + private StringFilterType[] stringFilterField; - private byte[] gField; + private ExpressionVariableDefinitionType[] variableField; - private byte[] yField; + private ExpressionReturnMultiplicityType returnMultiplicityField; - private byte[] seedField; + private bool returnMultiplicityFieldSpecified; - private byte[] pgenCounterField; + private object[] itemsField; + + private ItemsChoiceType1[] itemsElementNameField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] - public byte[] P { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string description { get { - return this.pField; + return this.descriptionField; } set { - this.pField = value; - this.RaisePropertyChanged("P"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] - public byte[] Q { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ExtensionType extension { get { - return this.qField; + return this.extensionField; } set { - this.qField = value; - this.RaisePropertyChanged("Q"); + this.extensionField = value; + this.RaisePropertyChanged("extension"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] - public byte[] J { + [System.Xml.Serialization.XmlElementAttribute("stringFilter", Order=2)] + public StringFilterType[] stringFilter { get { - return this.jField; + return this.stringFilterField; } set { - this.jField = value; - this.RaisePropertyChanged("J"); + this.stringFilterField = value; + this.RaisePropertyChanged("stringFilter"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] - public byte[] G { + [System.Xml.Serialization.XmlElementAttribute("variable", Order=3)] + public ExpressionVariableDefinitionType[] variable { get { - return this.gField; + return this.variableField; } set { - this.gField = value; - this.RaisePropertyChanged("G"); + this.variableField = value; + this.RaisePropertyChanged("variable"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] - public byte[] Y { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public ExpressionReturnMultiplicityType returnMultiplicity { get { - return this.yField; + return this.returnMultiplicityField; } set { - this.yField = value; - this.RaisePropertyChanged("Y"); + this.returnMultiplicityField = value; + this.RaisePropertyChanged("returnMultiplicity"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=5)] - public byte[] Seed { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool returnMultiplicitySpecified { get { - return this.seedField; + return this.returnMultiplicityFieldSpecified; } set { - this.seedField = value; - this.RaisePropertyChanged("Seed"); + this.returnMultiplicityFieldSpecified = value; + this.RaisePropertyChanged("returnMultiplicitySpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=6)] - public byte[] PgenCounter { + [System.Xml.Serialization.XmlElementAttribute("asIs", typeof(AsIsExpressionEvaluatorType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("assignmentFromAssociation", typeof(ShadowDiscriminatorExpressionEvaluatorType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("assignmentTargetSearch", typeof(SearchObjectExpressionEvaluatorType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("associationFromLink", typeof(ShadowDiscriminatorExpressionEvaluatorType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("associationTargetSearch", typeof(SearchObjectExpressionEvaluatorType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("generate", typeof(GenerateExpressionEvaluatorType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("path", typeof(ItemPathType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("script", typeof(ScriptExpressionEvaluatorType), Order=5)] + [System.Xml.Serialization.XmlElementAttribute("value", typeof(object), IsNullable=true, Order=5)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { get { - return this.pgenCounterField; + return this.itemsField; } set { - this.pgenCounterField = value; - this.RaisePropertyChanged("PgenCounter"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=6)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType1[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); } } @@ -2874,88 +2810,52 @@ public partial class DSAKeyValueType : object, System.ComponentModel.INotifyProp } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class RSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ExtensionType : object, System.ComponentModel.INotifyPropertyChanged { - private byte[] modulusField; + private System.Xml.XmlElement[] anyField; - private byte[] exponentField; + private long idField; + + private bool idFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] - public byte[] Modulus { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.modulusField; + return this.anyField; } set { - this.modulusField = value; - this.RaisePropertyChanged("Modulus"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] - public byte[] Exponent { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { - return this.exponentField; + return this.idField; } set { - this.exponentField = value; - this.RaisePropertyChanged("Exponent"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class PGPDataType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private ItemsChoiceType1[] itemsElementNameField; - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.idField = value; + this.RaisePropertyChanged("id"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType1[] ItemsElementName { + public bool idSpecified { get { - return this.itemsElementNameField; + return this.idFieldSpecified; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -2970,131 +2870,98 @@ public partial class PGPDataType : object, System.ComponentModel.INotifyProperty } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] - public enum ItemsChoiceType1 { - - /// - [System.Xml.Serialization.XmlEnumAttribute("##any:")] - Item, + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class StringFilterType : object, System.ComponentModel.INotifyPropertyChanged { - /// - PGPKeyID, + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - PGPKeyPacket, + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class RetrievalMethodType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ExpressionVariableDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { - private TransformType[] transformsField; + private System.Xml.XmlQualifiedName nameField; - private string uRIField; + private string descriptionField; - private string typeField; + private ItemPathType pathField; - /// - [System.Xml.Serialization.XmlArrayAttribute(Order=0)] - [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] - public TransformType[] Transforms { - get { - return this.transformsField; - } - set { - this.transformsField = value; - this.RaisePropertyChanged("Transforms"); - } - } + private ObjectReferenceType objectRefField; + + private object valueField; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string URI { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName name { get { - return this.uRIField; + return this.nameField; } set { - this.uRIField = value; - this.RaisePropertyChanged("URI"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Type { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { get { - return this.typeField; + return this.descriptionField; } set { - this.typeField = value; - this.RaisePropertyChanged("Type"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class TransformType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private string[] textField; - - private string algorithmField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string), Order=0)] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ItemPathType path { get { - return this.itemsField; + return this.pathField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.pathField = value; + this.RaisePropertyChanged("path"); } } /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ObjectReferenceType objectRef { get { - return this.textField; + return this.objectRefField; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.objectRefField = value; + this.RaisePropertyChanged("objectRef"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { + [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] + public object value { get { - return this.algorithmField; + return this.valueField; } set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); + this.valueField = value; + this.RaisePropertyChanged("value"); } } @@ -3109,27 +2976,25 @@ public partial class TransformType : object, System.ComponentModel.INotifyProper } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SPKIDataType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ExpressionReturnMultiplicityType { - private object[] itemsField; + /// + single, /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("SPKISexp", typeof(byte[]), DataType="base64Binary", Order=0)] - public object[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); - } - } + multi, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class AsIsExpressionEvaluatorType : object, System.ComponentModel.INotifyPropertyChanged { public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -3142,45 +3007,38 @@ public partial class SPKIDataType : object, System.ComponentModel.INotifyPropert } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class X509DataType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ShadowDiscriminatorExpressionEvaluatorType : object, System.ComponentModel.INotifyPropertyChanged { - private object[] itemsField; + private string descriptionField; - private ItemsChoiceType[] itemsElementNameField; + private ShadowDiscriminatorType projectionDiscriminatorField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string), Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string description { get { - return this.itemsField; + return this.descriptionField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType[] ItemsElementName { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ShadowDiscriminatorType projectionDiscriminator { get { - return this.itemsElementNameField; + return this.projectionDiscriminatorField; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.projectionDiscriminatorField = value; + this.RaisePropertyChanged("projectionDiscriminator"); } } @@ -3195,235 +3053,303 @@ public partial class X509DataType : object, System.ComponentModel.INotifyPropert } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResourceObjectTypeDependencyType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class X509IssuerSerialType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ShadowDiscriminatorType : object, System.ComponentModel.INotifyPropertyChanged { - private string x509IssuerNameField; + private ObjectReferenceType resourceRefField; - private string x509SerialNumberField; + private ShadowKindType kindField; + + private string intentField; + + public ShadowDiscriminatorType() { + this.kindField = ShadowKindType.account; + this.intentField = "default"; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string X509IssuerName { + public ObjectReferenceType resourceRef { get { - return this.x509IssuerNameField; + return this.resourceRefField; } set { - this.x509IssuerNameField = value; - this.RaisePropertyChanged("X509IssuerName"); + this.resourceRefField = value; + this.RaisePropertyChanged("resourceRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=1)] - public string X509SerialNumber { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.ComponentModel.DefaultValueAttribute(ShadowKindType.account)] + public ShadowKindType kind { get { - return this.x509SerialNumberField; + return this.kindField; } set { - this.x509SerialNumberField = value; - this.RaisePropertyChanged("X509SerialNumber"); + this.kindField = value; + this.RaisePropertyChanged("kind"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + [System.ComponentModel.DefaultValueAttribute("default")] + public string intent { + get { + return this.intentField; + } + set { + this.intentField = value; + this.RaisePropertyChanged("intent"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] - public enum ItemsChoiceType { - - /// - [System.Xml.Serialization.XmlEnumAttribute("##any:")] - Item, - - /// - X509CRL, - - /// - X509Certificate, + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ShadowKindType { /// - X509IssuerSerial, + account, /// - X509SKI, + entitlement, /// - X509SubjectName, + generic, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] - public enum ItemsChoiceType2 { + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceObjectTypeDependencyType : ShadowDiscriminatorType { - /// - [System.Xml.Serialization.XmlEnumAttribute("##any:")] - Item, + private ResourceObjectTypeDependencyStrictnessType strictnessField; - /// - KeyName, + private bool strictnessFieldSpecified; + + private int orderField; + + public ResourceObjectTypeDependencyType() { + this.orderField = 0; + } /// - KeyValue, + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ResourceObjectTypeDependencyStrictnessType strictness { + get { + return this.strictnessField; + } + set { + this.strictnessField = value; + this.RaisePropertyChanged("strictness"); + } + } /// - MgmtData, + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool strictnessSpecified { + get { + return this.strictnessFieldSpecified; + } + set { + this.strictnessFieldSpecified = value; + this.RaisePropertyChanged("strictnessSpecified"); + } + } /// - PGPData, + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int order { + get { + return this.orderField; + } + set { + this.orderField = value; + this.RaisePropertyChanged("order"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ResourceObjectTypeDependencyStrictnessType { /// - RetrievalMethod, + strict, /// - SPKIData, + relaxed, /// - X509Data, + lax, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class CipherDataType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SearchObjectExpressionEvaluatorType : TransformExpressionEvaluatorType { - private byte[] cipherValueField; + private System.Xml.XmlQualifiedName targetTypeField; + + private string oidField; + + private SearchFilterType filterField; + + private bool searchOnResourceField; + + private bool createOnDemandField; - private CipherReferenceType cipherReferenceField; + private PopulateItemType[] populateObjectField; + + public SearchObjectExpressionEvaluatorType() { + this.searchOnResourceField = false; + this.createOnDemandField = false; + } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] - public byte[] CipherValue { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName targetType { get { - return this.cipherValueField; + return this.targetTypeField; } set { - this.cipherValueField = value; - this.RaisePropertyChanged("CipherValue"); + this.targetTypeField = value; + this.RaisePropertyChanged("targetType"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public CipherReferenceType CipherReference { + public string oid { get { - return this.cipherReferenceField; + return this.oidField; } set { - this.cipherReferenceField = value; - this.RaisePropertyChanged("CipherReference"); + this.oidField = value; + this.RaisePropertyChanged("oid"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public SearchFilterType filter { + get { + return this.filterField; + } + set { + this.filterField = value; + this.RaisePropertyChanged("filter"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class CipherReferenceType : object, System.ComponentModel.INotifyPropertyChanged { - - private TransformType[] transformsField; - - private string uRIField; /// - [System.Xml.Serialization.XmlArrayAttribute(Order=0)] - [System.Xml.Serialization.XmlArrayItemAttribute("Transform", Namespace="http://www.w3.org/2000/09/xmldsig#", IsNullable=false)] - public TransformType[] Transforms { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool searchOnResource { get { - return this.transformsField; + return this.searchOnResourceField; } set { - this.transformsField = value; - this.RaisePropertyChanged("Transforms"); + this.searchOnResourceField = value; + this.RaisePropertyChanged("searchOnResource"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string URI { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool createOnDemand { get { - return this.uRIField; + return this.createOnDemandField; } set { - this.uRIField = value; - this.RaisePropertyChanged("URI"); + this.createOnDemandField = value; + this.RaisePropertyChanged("createOnDemand"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=5)] + [System.Xml.Serialization.XmlArrayItemAttribute("populateItem", IsNullable=false)] + public PopulateItemType[] populateObject { + get { + return this.populateObjectField; + } + set { + this.populateObjectField = value; + this.RaisePropertyChanged("populateObject"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptionPropertiesType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class PopulateItemType : object, System.ComponentModel.INotifyPropertyChanged { - private EncryptionPropertyType[] encryptionPropertyField; + private object itemField; - private string idField; + private MappingTargetDeclarationType targetField; /// - [System.Xml.Serialization.XmlElementAttribute("EncryptionProperty", Order=0)] - public EncryptionPropertyType[] EncryptionProperty { + [System.Xml.Serialization.XmlElementAttribute("expression", typeof(ExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", IsNullable=true, Order=0)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3", Order=0)] + public object Item { get { - return this.encryptionPropertyField; + return this.itemField; } set { - this.encryptionPropertyField = value; - this.RaisePropertyChanged("EncryptionProperty"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public MappingTargetDeclarationType target { get { - return this.idField; + return this.targetField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.targetField = value; + this.RaisePropertyChanged("target"); } } @@ -3438,169 +3364,124 @@ public partial class EncryptionPropertiesType : object, System.ComponentModel.IN } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptionPropertyType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.Xml.XmlNode[] anyField; - - private string targetField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ActionExpressionType : ExpressionType1 { - private string idField; + private string typeField; - private System.Xml.XmlAttribute[] anyAttrField; + private ActionParameterValueType[] parameterField; /// - [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlNode[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string type { get { - return this.anyField; + return this.typeField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.typeField = value; + this.RaisePropertyChanged("type"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Target { + [System.Xml.Serialization.XmlElementAttribute("parameter", Order=1)] + public ActionParameterValueType[] parameter { get { - return this.targetField; + return this.parameterField; } set { - this.targetField = value; - this.RaisePropertyChanged("Target"); + this.parameterField = value; + this.RaisePropertyChanged("parameter"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ActionParameterValueType : ExpressionType1 { + + private string nameField; + + private object itemField; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { get { - return this.idField; + return this.nameField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr { + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=1)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=1)] + public object Item { get { - return this.anyAttrField; + return this.itemField; } set { - this.anyAttrField = value; - this.RaisePropertyChanged("AnyAttr"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptedKeyType : EncryptedType { - - private ReferenceList referenceListField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class FilterExpressionType : ExpressionType1 { - private string carriedKeyNameField; - - private string recipientField; + private SearchFilterType filterField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ReferenceList ReferenceList { - get { - return this.referenceListField; - } - set { - this.referenceListField = value; - this.RaisePropertyChanged("ReferenceList"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string CarriedKeyName { - get { - return this.carriedKeyNameField; - } - set { - this.carriedKeyNameField = value; - this.RaisePropertyChanged("CarriedKeyName"); - } - } - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string Recipient { + public SearchFilterType filter { get { - return this.recipientField; + return this.filterField; } set { - this.recipientField = value; - this.RaisePropertyChanged("Recipient"); + this.filterField = value; + this.RaisePropertyChanged("filter"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActionExpressionType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ForeachExpressionType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SelectExpressionType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FilterExpressionType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActionParameterValueType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SearchExpressionType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExpressionPipelineType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExpressionSequenceType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class ReferenceList : object, System.ComponentModel.INotifyPropertyChanged { - - private ReferenceType[] itemsField; - - private ItemsChoiceType3[] itemsElementNameField; - - /// - [System.Xml.Serialization.XmlElementAttribute("DataReference", typeof(ReferenceType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("KeyReference", typeof(ReferenceType), Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public ReferenceType[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType3[] ItemsElementName { - get { - return this.itemsElementNameField; - } - set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); - } - } + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ExpressionType", Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ExpressionType1 : object, System.ComponentModel.INotifyPropertyChanged { public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -3613,282 +3494,251 @@ public partial class ReferenceList : object, System.ComponentModel.INotifyProper } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class ReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ForeachExpressionType : ExpressionType1 { - private System.Xml.XmlElement[] anyField; + private System.Xml.XmlQualifiedName variableField; - private string uRIField; + private object[] itemsField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName variable { get { - return this.anyField; + return this.variableField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.variableField = value; + this.RaisePropertyChanged("variable"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string URI { + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=1)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=1)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=1)] + public object[] Items { get { - return this.uRIField; + return this.itemsField; } set { - this.uRIField = value; - this.RaisePropertyChanged("URI"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#", IncludeInSchema=false)] - public enum ItemsChoiceType3 { + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ExpressionPipelineType : ExpressionType1 { - /// - DataReference, + private object[] itemsField; /// - KeyReference, + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=0)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class XmlSchemaType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class SearchExpressionType : ExpressionType1 { - private CachingMetadataType cachingMetadataField; + private System.Xml.XmlQualifiedName typeField; - private System.Xml.XmlQualifiedName[] generationConstraintsField; + private string variableField; - private XmlSchemaTypeDefinition definitionField; + private SearchFilterType searchFilterField; + + private ActionParameterValueType[] parameterField; + + private object itemField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public CachingMetadataType cachingMetadata { + public System.Xml.XmlQualifiedName type { get { - return this.cachingMetadataField; + return this.typeField; } set { - this.cachingMetadataField = value; - this.RaisePropertyChanged("cachingMetadata"); + this.typeField = value; + this.RaisePropertyChanged("type"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=1)] - [System.Xml.Serialization.XmlArrayItemAttribute("generateObjectClass")] - public System.Xml.XmlQualifiedName[] generationConstraints { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string variable { get { - return this.generationConstraintsField; + return this.variableField; } set { - this.generationConstraintsField = value; - this.RaisePropertyChanged("generationConstraints"); + this.variableField = value; + this.RaisePropertyChanged("variable"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public XmlSchemaTypeDefinition definition { - get { - return this.definitionField; - } - set { - this.definitionField = value; - this.RaisePropertyChanged("definition"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class CachingMetadataType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.DateTime retrievalTimestampField; - - private bool retrievalTimestampFieldSpecified; - - private string serialNumberField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.DateTime retrievalTimestamp { + public SearchFilterType searchFilter { get { - return this.retrievalTimestampField; + return this.searchFilterField; } set { - this.retrievalTimestampField = value; - this.RaisePropertyChanged("retrievalTimestamp"); + this.searchFilterField = value; + this.RaisePropertyChanged("searchFilter"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool retrievalTimestampSpecified { + [System.Xml.Serialization.XmlElementAttribute("parameter", Order=3)] + public ActionParameterValueType[] parameter { get { - return this.retrievalTimestampFieldSpecified; + return this.parameterField; } set { - this.retrievalTimestampFieldSpecified = value; - this.RaisePropertyChanged("retrievalTimestampSpecified"); + this.parameterField = value; + this.RaisePropertyChanged("parameter"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string serialNumber { + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=4)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=4)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=4)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=4)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=4)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=4)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=4)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=4)] + public object Item { get { - return this.serialNumberField; + return this.itemField; } set { - this.serialNumberField = value; - this.RaisePropertyChanged("serialNumber"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class XmlSchemaTypeDefinition : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class SelectExpressionType : ExpressionType1 { - private System.Xml.XmlElement[] anyField; + private ItemPathType pathField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ItemPathType path { get { - return this.anyField; + return this.pathField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.pathField = value; + this.RaisePropertyChanged("path"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ConnectorConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ExpressionSequenceType : ExpressionType1 { - private System.Xml.XmlElement[] anyField; + private object[] itemsField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=0)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=0)] + public object[] Items { get { - return this.anyField; + return this.itemsField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SchemaHandlingType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class MappingTargetDeclarationType : object, System.ComponentModel.INotifyPropertyChanged { - private ResourceObjectTypeDefinitionType[] objectTypeField; + private string descriptionField; - private ResourceObjectTypeDefinitionType[] accountTypeField; + private ItemPathType pathField; /// - [System.Xml.Serialization.XmlElementAttribute("objectType", IsNullable=true, Order=0)] - public ResourceObjectTypeDefinitionType[] objectType { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string description { get { - return this.objectTypeField; + return this.descriptionField; } set { - this.objectTypeField = value; - this.RaisePropertyChanged("objectType"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlElementAttribute("accountType", IsNullable=true, Order=1)] - public ResourceObjectTypeDefinitionType[] accountType { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ItemPathType path { get { - return this.accountTypeField; + return this.pathField; } set { - this.accountTypeField = value; - this.RaisePropertyChanged("accountType"); + this.pathField = value; + this.RaisePropertyChanged("path"); } } @@ -3903,253 +3753,217 @@ public partial class SchemaHandlingType : object, System.ComponentModel.INotifyP } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SearchObjectExpressionEvaluatorType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ScriptExpressionEvaluatorType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceObjectTypeDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + public abstract partial class TransformExpressionEvaluatorType : object, System.ComponentModel.INotifyPropertyChanged { - private ShadowKindType kindField; + private string descriptionField; - private bool kindFieldSpecified; + private TransformExpressionRelativityModeType relativityModeField; - private string intentField; + private bool relativityModeFieldSpecified; - private string nameField; + private bool includeNullInputsField; - private string displayNameField; + private bool allowEmptyValuesField; - private string descriptionField; - - private bool defaultField; - - private System.Xml.XmlQualifiedName objectClassField; - - private ResourceAttributeDefinitionType[] attributeField; - - private ResourceObjectTypeDependencyType[] dependencyField; - - private ResourceObjectAssociationType[] associationField; - - private AssignmentPolicyEnforcementType assignmentPolicyEnforcementField; - - private bool assignmentPolicyEnforcementFieldSpecified; - - private IterationSpecificationType iterationField; - - private ResourceObjectPatternType[] protectedField; - - private ResourceActivationDefinitionType activationField; - - private ResourceCredentialsDefinitionType credentialsField; - - public ResourceObjectTypeDefinitionType() { - this.defaultField = false; + public TransformExpressionEvaluatorType() { + this.includeNullInputsField = true; + this.allowEmptyValuesField = false; } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ShadowKindType kind { + public string description { get { - return this.kindField; + return this.descriptionField; } set { - this.kindField = value; - this.RaisePropertyChanged("kind"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool kindSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public TransformExpressionRelativityModeType relativityMode { get { - return this.kindFieldSpecified; + return this.relativityModeField; } set { - this.kindFieldSpecified = value; - this.RaisePropertyChanged("kindSpecified"); + this.relativityModeField = value; + this.RaisePropertyChanged("relativityMode"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string intent { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool relativityModeSpecified { get { - return this.intentField; + return this.relativityModeFieldSpecified; } set { - this.intentField = value; - this.RaisePropertyChanged("intent"); + this.relativityModeFieldSpecified = value; + this.RaisePropertyChanged("relativityModeSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string name { + [System.ComponentModel.DefaultValueAttribute(true)] + public bool includeNullInputs { get { - return this.nameField; + return this.includeNullInputsField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.includeNullInputsField = value; + this.RaisePropertyChanged("includeNullInputs"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string displayName { + [System.ComponentModel.DefaultValueAttribute(false)] + public bool allowEmptyValues { get { - return this.displayNameField; + return this.allowEmptyValuesField; } set { - this.displayNameField = value; - this.RaisePropertyChanged("displayName"); + this.allowEmptyValuesField = value; + this.RaisePropertyChanged("allowEmptyValues"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string description { - get { - return this.descriptionField; - } - set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); - } - } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool @default { - get { - return this.defaultField; - } - set { - this.defaultField = value; - this.RaisePropertyChanged("default"); + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum TransformExpressionRelativityModeType { /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public System.Xml.XmlQualifiedName objectClass { - get { - return this.objectClassField; - } - set { - this.objectClassField = value; - this.RaisePropertyChanged("objectClass"); - } - } + relative, /// - [System.Xml.Serialization.XmlElementAttribute("attribute", IsNullable=true, Order=7)] - public ResourceAttributeDefinitionType[] attribute { - get { - return this.attributeField; - } - set { - this.attributeField = value; - this.RaisePropertyChanged("attribute"); - } - } + absolute, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ScriptExpressionEvaluatorType : TransformExpressionEvaluatorType { - /// - [System.Xml.Serialization.XmlElementAttribute("dependency", IsNullable=true, Order=8)] - public ResourceObjectTypeDependencyType[] dependency { - get { - return this.dependencyField; - } - set { - this.dependencyField = value; - this.RaisePropertyChanged("dependency"); - } + private string languageField; + + private ScriptExpressionReturnTypeType returnTypeField; + + private bool returnTypeFieldSpecified; + + private string codeField; + + public ScriptExpressionEvaluatorType() { + this.languageField = "http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy"; } /// - [System.Xml.Serialization.XmlElementAttribute("association", IsNullable=true, Order=9)] - public ResourceObjectAssociationType[] association { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] + [System.ComponentModel.DefaultValueAttribute("http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy")] + public string language { get { - return this.associationField; + return this.languageField; } set { - this.associationField = value; - this.RaisePropertyChanged("association"); + this.languageField = value; + this.RaisePropertyChanged("language"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public AssignmentPolicyEnforcementType assignmentPolicyEnforcement { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ScriptExpressionReturnTypeType returnType { get { - return this.assignmentPolicyEnforcementField; + return this.returnTypeField; } set { - this.assignmentPolicyEnforcementField = value; - this.RaisePropertyChanged("assignmentPolicyEnforcement"); + this.returnTypeField = value; + this.RaisePropertyChanged("returnType"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool assignmentPolicyEnforcementSpecified { + public bool returnTypeSpecified { get { - return this.assignmentPolicyEnforcementFieldSpecified; + return this.returnTypeFieldSpecified; } set { - this.assignmentPolicyEnforcementFieldSpecified = value; - this.RaisePropertyChanged("assignmentPolicyEnforcementSpecified"); + this.returnTypeFieldSpecified = value; + this.RaisePropertyChanged("returnTypeSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - public IterationSpecificationType iteration { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string code { get { - return this.iterationField; + return this.codeField; } set { - this.iterationField = value; - this.RaisePropertyChanged("iteration"); + this.codeField = value; + this.RaisePropertyChanged("code"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ScriptExpressionReturnTypeType { /// - [System.Xml.Serialization.XmlElementAttribute("protected", Order=12)] - public ResourceObjectPatternType[] @protected { - get { - return this.protectedField; - } - set { - this.protectedField = value; - this.RaisePropertyChanged("protected"); - } - } + scalar, /// - [System.Xml.Serialization.XmlElementAttribute(Order=13)] - public ResourceActivationDefinitionType activation { - get { - return this.activationField; - } - set { - this.activationField = value; - this.RaisePropertyChanged("activation"); - } - } + list, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class GenerateExpressionEvaluatorType : object, System.ComponentModel.INotifyPropertyChanged { + + private ObjectReferenceType valuePolicyRefField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=14)] - public ResourceCredentialsDefinitionType credentials { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ObjectReferenceType valuePolicyRef { get { - return this.credentialsField; + return this.valuePolicyRefField; } set { - this.credentialsField = value; - this.RaisePropertyChanged("credentials"); + this.valuePolicyRefField = value; + this.RaisePropertyChanged("valuePolicyRef"); } } @@ -4164,257 +3978,317 @@ public partial class ResourceObjectTypeDefinitionType : object, System.Component } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ShadowKindType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3", IncludeInSchema=false)] + public enum ItemsChoiceType1 { /// - account, + asIs, /// - entitlement, + assignmentFromAssociation, /// - generic, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceAttributeDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + assignmentTargetSearch, - private System.Xml.XmlQualifiedName refField; + /// + associationFromLink, - private string displayNameField; + /// + associationTargetSearch, - private string descriptionField; + /// + generate, - private PropertyLimitationsType[] limitationsField; + /// + path, - private bool ignoreField; + /// + script, - private string minOccursField; + /// + value, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ProvisioningScriptArgumentType : ExpressionType { - private string maxOccursField; + private string nameField; - private bool tolerantField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceType : ObjectType1 { - private string[] tolerantValuePatternField; + private OperationalStateType operationalStateField; - private string[] intolerantValuePatternField; + private ConnectorType connectorField; - private System.Nullable[] accessField; + private ObjectReferenceType connectorRefField; - private AttributeFetchStrategyType fetchStrategyField; + private ConnectorConfigurationType connectorConfigurationField; - private bool fetchStrategyFieldSpecified; + private string namespaceField; - private System.Xml.XmlQualifiedName matchingRuleField; + private XmlSchemaType schemaField; - private MappingType outboundField; + private ResourceObjectTypeDefinitionType[] schemaHandlingField; - private MappingType[] inboundField; + private CapabilitiesType capabilitiesField; - public ResourceAttributeDefinitionType() { - this.ignoreField = true; - this.tolerantField = true; - } + private OperationProvisioningScriptType[] scriptsField; + + private ProjectionPolicyType projectionField; + + private ResourceConsistencyType consistencyField; + + private ObjectSynchronizationType[] synchronizationField; + + private ResourceBusinessConfigurationType businessField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.Xml.XmlQualifiedName @ref { + public OperationalStateType operationalState { get { - return this.refField; + return this.operationalStateField; } set { - this.refField = value; - this.RaisePropertyChanged("ref"); + this.operationalStateField = value; + this.RaisePropertyChanged("operationalState"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string displayName { + public ConnectorType connector { get { - return this.displayNameField; + return this.connectorField; } set { - this.displayNameField = value; - this.RaisePropertyChanged("displayName"); + this.connectorField = value; + this.RaisePropertyChanged("connector"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string description { + public ObjectReferenceType connectorRef { get { - return this.descriptionField; + return this.connectorRefField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.connectorRefField = value; + this.RaisePropertyChanged("connectorRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute("limitations", IsNullable=true, Order=3)] - public PropertyLimitationsType[] limitations { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ConnectorConfigurationType connectorConfiguration { get { - return this.limitationsField; + return this.connectorConfigurationField; } set { - this.limitationsField = value; - this.RaisePropertyChanged("limitations"); + this.connectorConfigurationField = value; + this.RaisePropertyChanged("connectorConfiguration"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ignore { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=4)] + public string @namespace { get { - return this.ignoreField; + return this.namespaceField; } set { - this.ignoreField = value; - this.RaisePropertyChanged("ignore"); + this.namespaceField = value; + this.RaisePropertyChanged("namespace"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public string minOccurs { + public XmlSchemaType schema { get { - return this.minOccursField; + return this.schemaField; } set { - this.minOccursField = value; - this.RaisePropertyChanged("minOccurs"); + this.schemaField = value; + this.RaisePropertyChanged("schema"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public string maxOccurs { + [System.Xml.Serialization.XmlArrayAttribute(Order=6)] + [System.Xml.Serialization.XmlArrayItemAttribute("objectType", IsNullable=false)] + public ResourceObjectTypeDefinitionType[] schemaHandling { get { - return this.maxOccursField; + return this.schemaHandlingField; } set { - this.maxOccursField = value; - this.RaisePropertyChanged("maxOccurs"); + this.schemaHandlingField = value; + this.RaisePropertyChanged("schemaHandling"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=7)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool tolerant { + public CapabilitiesType capabilities { get { - return this.tolerantField; + return this.capabilitiesField; } set { - this.tolerantField = value; - this.RaisePropertyChanged("tolerant"); + this.capabilitiesField = value; + this.RaisePropertyChanged("capabilities"); } } /// - [System.Xml.Serialization.XmlElementAttribute("tolerantValuePattern", IsNullable=true, Order=8)] - public string[] tolerantValuePattern { + [System.Xml.Serialization.XmlArrayAttribute(Order=8)] + [System.Xml.Serialization.XmlArrayItemAttribute("script", IsNullable=false)] + public OperationProvisioningScriptType[] scripts { get { - return this.tolerantValuePatternField; + return this.scriptsField; } set { - this.tolerantValuePatternField = value; - this.RaisePropertyChanged("tolerantValuePattern"); + this.scriptsField = value; + this.RaisePropertyChanged("scripts"); } } /// - [System.Xml.Serialization.XmlElementAttribute("intolerantValuePattern", IsNullable=true, Order=9)] - public string[] intolerantValuePattern { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public ProjectionPolicyType projection { get { - return this.intolerantValuePatternField; + return this.projectionField; } set { - this.intolerantValuePatternField = value; - this.RaisePropertyChanged("intolerantValuePattern"); + this.projectionField = value; + this.RaisePropertyChanged("projection"); } } /// - [System.Xml.Serialization.XmlElementAttribute("access", IsNullable=true, Order=10)] - public System.Nullable[] access { + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public ResourceConsistencyType consistency { get { - return this.accessField; + return this.consistencyField; } set { - this.accessField = value; - this.RaisePropertyChanged("access"); + this.consistencyField = value; + this.RaisePropertyChanged("consistency"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - public AttributeFetchStrategyType fetchStrategy { + [System.Xml.Serialization.XmlArrayAttribute(Order=11)] + [System.Xml.Serialization.XmlArrayItemAttribute("objectSynchronization", IsNullable=false)] + public ObjectSynchronizationType[] synchronization { get { - return this.fetchStrategyField; + return this.synchronizationField; } set { - this.fetchStrategyField = value; - this.RaisePropertyChanged("fetchStrategy"); + this.synchronizationField = value; + this.RaisePropertyChanged("synchronization"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool fetchStrategySpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public ResourceBusinessConfigurationType business { get { - return this.fetchStrategyFieldSpecified; + return this.businessField; } set { - this.fetchStrategyFieldSpecified = value; - this.RaisePropertyChanged("fetchStrategySpecified"); + this.businessField = value; + this.RaisePropertyChanged("business"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class OperationalStateType : object, System.ComponentModel.INotifyPropertyChanged { + + private AvailabilityStatusType lastAvailabilityStatusField; + + private bool lastAvailabilityStatusFieldSpecified; + + private long idField; + + private bool idFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AvailabilityStatusType lastAvailabilityStatus { + get { + return this.lastAvailabilityStatusField; + } + set { + this.lastAvailabilityStatusField = value; + this.RaisePropertyChanged("lastAvailabilityStatus"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=12)] - public System.Xml.XmlQualifiedName matchingRule { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastAvailabilityStatusSpecified { get { - return this.matchingRuleField; + return this.lastAvailabilityStatusFieldSpecified; } set { - this.matchingRuleField = value; - this.RaisePropertyChanged("matchingRule"); + this.lastAvailabilityStatusFieldSpecified = value; + this.RaisePropertyChanged("lastAvailabilityStatusSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=13)] - public MappingType outbound { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { - return this.outboundField; + return this.idField; } set { - this.outboundField = value; - this.RaisePropertyChanged("outbound"); + this.idField = value; + this.RaisePropertyChanged("id"); } } /// - [System.Xml.Serialization.XmlElementAttribute("inbound", IsNullable=true, Order=14)] - public MappingType[] inbound { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { get { - return this.inboundField; + return this.idFieldSpecified; } set { - this.inboundField = value; - this.RaisePropertyChanged("inbound"); + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -4429,292 +4303,305 @@ public partial class ResourceAttributeDefinitionType : object, System.ComponentM } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum AvailabilityStatusType { + + /// + down, + + /// + up, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class PropertyLimitationsType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ConnectorType : ObjectType1 { - private System.Nullable[] layerField; + private string frameworkField; - private string minOccursField; + private string connectorTypeField; - private string maxOccursField; + private string connectorVersionField; - private bool ignoreField; + private string connectorBundleField; - private PropertyAccessType accessField; + private string[] targetSystemTypeField; - public PropertyLimitationsType() { - this.ignoreField = true; - } + private string namespaceField; + + private ConnectorHostType connectorHostField; + + private ObjectReferenceType connectorHostRefField; + + private XmlSchemaType schemaField; /// - [System.Xml.Serialization.XmlElementAttribute("layer", IsNullable=true, Order=0)] - public System.Nullable[] layer { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] + public string framework { get { - return this.layerField; + return this.frameworkField; } set { - this.layerField = value; - this.RaisePropertyChanged("layer"); + this.frameworkField = value; + this.RaisePropertyChanged("framework"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string minOccurs { + public string connectorType { get { - return this.minOccursField; + return this.connectorTypeField; } set { - this.minOccursField = value; - this.RaisePropertyChanged("minOccurs"); + this.connectorTypeField = value; + this.RaisePropertyChanged("connectorType"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string maxOccurs { + public string connectorVersion { get { - return this.maxOccursField; + return this.connectorVersionField; } set { - this.maxOccursField = value; - this.RaisePropertyChanged("maxOccurs"); + this.connectorVersionField = value; + this.RaisePropertyChanged("connectorVersion"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ignore { + public string connectorBundle { get { - return this.ignoreField; + return this.connectorBundleField; } set { - this.ignoreField = value; - this.RaisePropertyChanged("ignore"); + this.connectorBundleField = value; + this.RaisePropertyChanged("connectorBundle"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public PropertyAccessType access { + [System.Xml.Serialization.XmlElementAttribute("targetSystemType", DataType="anyURI", Order=4)] + public string[] targetSystemType { get { - return this.accessField; + return this.targetSystemTypeField; } set { - this.accessField = value; - this.RaisePropertyChanged("access"); + this.targetSystemTypeField = value; + this.RaisePropertyChanged("targetSystemType"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=5)] + public string @namespace { + get { + return this.namespaceField; + } + set { + this.namespaceField = value; + this.RaisePropertyChanged("namespace"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum LayerType { /// - schema, + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ConnectorHostType connectorHost { + get { + return this.connectorHostField; + } + set { + this.connectorHostField = value; + this.RaisePropertyChanged("connectorHost"); + } + } /// - model, + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public ObjectReferenceType connectorHostRef { + get { + return this.connectorHostRefField; + } + set { + this.connectorHostRefField = value; + this.RaisePropertyChanged("connectorHostRef"); + } + } /// - presentation, + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public XmlSchemaType schema { + get { + return this.schemaField; + } + set { + this.schemaField = value; + this.RaisePropertyChanged("schema"); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class PropertyAccessType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ConnectorHostType : ObjectType1 { - private bool createField; + private string hostnameField; - private bool createFieldSpecified; + private string portField; - private bool readField; + private ProtectedStringType sharedSecretField; - private bool readFieldSpecified; + private bool protectConnectionField; + + private int timeoutField; - private bool updateField; + private bool timeoutFieldSpecified; - private bool updateFieldSpecified; + public ConnectorHostType() { + this.protectConnectionField = false; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public bool create { + public string hostname { get { - return this.createField; + return this.hostnameField; } set { - this.createField = value; - this.RaisePropertyChanged("create"); + this.hostnameField = value; + this.RaisePropertyChanged("hostname"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool createSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string port { get { - return this.createFieldSpecified; + return this.portField; } set { - this.createFieldSpecified = value; - this.RaisePropertyChanged("createSpecified"); + this.portField = value; + this.RaisePropertyChanged("port"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public bool read { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ProtectedStringType sharedSecret { get { - return this.readField; + return this.sharedSecretField; } set { - this.readField = value; - this.RaisePropertyChanged("read"); + this.sharedSecretField = value; + this.RaisePropertyChanged("sharedSecret"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool readSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool protectConnection { get { - return this.readFieldSpecified; + return this.protectConnectionField; } set { - this.readFieldSpecified = value; - this.RaisePropertyChanged("readSpecified"); + this.protectConnectionField = value; + this.RaisePropertyChanged("protectConnection"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public bool update { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int timeout { get { - return this.updateField; + return this.timeoutField; } set { - this.updateField = value; - this.RaisePropertyChanged("update"); + this.timeoutField = value; + this.RaisePropertyChanged("timeout"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool updateSpecified { + public bool timeoutSpecified { get { - return this.updateFieldSpecified; + return this.timeoutFieldSpecified; } set { - this.updateFieldSpecified = value; - this.RaisePropertyChanged("updateSpecified"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.timeoutFieldSpecified = value; + this.RaisePropertyChanged("timeoutSpecified"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum DepreactedAccessType { - - /// - read, - - /// - update, - - /// - create, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum AttributeFetchStrategyType { - - /// - @implicit, - - /// - @explicit, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WfProcessInstanceType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrackingDataType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WorkItemType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReportOutputType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReportType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecurityPolicyType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SystemConfigurationType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ValuePolicyType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectTemplateType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NodeType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GenericObjectType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TaskType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConnectorHostType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConnectorType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResourceType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ShadowType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FocusType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AbstractRoleType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrgType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class MappingType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ObjectType", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public abstract partial class ObjectType1 : ObjectType { - private string nameField; + private PolyStringType nameField; private string descriptionField; - private ExtensionType extensionField; - - private bool authoritativeField; - - private bool exclusiveField; - - private MappingStrengthType strengthField; + private OperationResultType fetchResultField; - private string[] channelField; + private ExtensionType extensionField; - private MappingTimeDeclarationType timeFromField; + private OrgType[] parentOrgField; - private MappingTimeDeclarationType timeToField; + private ObjectReferenceType[] parentOrgRefField; - private MappingSourceDeclarationType[] sourceField; + private TriggerType[] triggerField; - private ExpressionType expressionField; + private MetadataType metadataField; - private MappingTargetDeclarationType targetField; + private ObjectReferenceType tenantRefField; - private ExpressionType conditionField; + private string oidField; - private ValueFilterType inputFilterField; - - private ValueFilterType outputFilterField; - - public MappingType() { - this.authoritativeField = true; - this.exclusiveField = false; - this.strengthField = MappingStrengthType.strong; - } + private string versionField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string name { + public PolyStringType name { get { return this.nameField; } @@ -4738,337 +4625,422 @@ public partial class MappingType : object, System.ComponentModel.INotifyProperty /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ExtensionType extension { + public OperationResultType fetchResult { get { - return this.extensionField; + return this.fetchResultField; } set { - this.extensionField = value; - this.RaisePropertyChanged("extension"); + this.fetchResultField = value; + this.RaisePropertyChanged("fetchResult"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool authoritative { + public ExtensionType extension { get { - return this.authoritativeField; + return this.extensionField; } set { - this.authoritativeField = value; - this.RaisePropertyChanged("authoritative"); + this.extensionField = value; + this.RaisePropertyChanged("extension"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool exclusive { + [System.Xml.Serialization.XmlElementAttribute("parentOrg", Order=4)] + public OrgType[] parentOrg { get { - return this.exclusiveField; + return this.parentOrgField; } set { - this.exclusiveField = value; - this.RaisePropertyChanged("exclusive"); + this.parentOrgField = value; + this.RaisePropertyChanged("parentOrg"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - [System.ComponentModel.DefaultValueAttribute(MappingStrengthType.strong)] - public MappingStrengthType strength { + [System.Xml.Serialization.XmlElementAttribute("parentOrgRef", Order=5)] + public ObjectReferenceType[] parentOrgRef { get { - return this.strengthField; + return this.parentOrgRefField; } set { - this.strengthField = value; - this.RaisePropertyChanged("strength"); + this.parentOrgRefField = value; + this.RaisePropertyChanged("parentOrgRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute("channel", DataType="anyURI", IsNullable=true, Order=6)] - public string[] channel { + [System.Xml.Serialization.XmlElementAttribute("trigger", Order=6)] + public TriggerType[] trigger { get { - return this.channelField; + return this.triggerField; } set { - this.channelField = value; - this.RaisePropertyChanged("channel"); + this.triggerField = value; + this.RaisePropertyChanged("trigger"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public MappingTimeDeclarationType timeFrom { + public MetadataType metadata { get { - return this.timeFromField; + return this.metadataField; } set { - this.timeFromField = value; - this.RaisePropertyChanged("timeFrom"); + this.metadataField = value; + this.RaisePropertyChanged("metadata"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public MappingTimeDeclarationType timeTo { + public ObjectReferenceType tenantRef { get { - return this.timeToField; + return this.tenantRefField; } set { - this.timeToField = value; - this.RaisePropertyChanged("timeTo"); + this.tenantRefField = value; + this.RaisePropertyChanged("tenantRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute("source", IsNullable=true, Order=9)] - public MappingSourceDeclarationType[] source { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string oid { get { - return this.sourceField; + return this.oidField; } set { - this.sourceField = value; - this.RaisePropertyChanged("source"); + this.oidField = value; + this.RaisePropertyChanged("oid"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public ExpressionType expression { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string version { get { - return this.expressionField; + return this.versionField; } set { - this.expressionField = value; - this.RaisePropertyChanged("expression"); + this.versionField = value; + this.RaisePropertyChanged("version"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class OrgType : AbstractRoleType { + + private PolyStringType displayNameField; + + private string identifierField; + + private string[] orgTypeField; + + private bool tenantField; + + private string costCenterField; + + private PolyStringType localityField; + + private int displayOrderField; + + private bool displayOrderFieldSpecified; + + private ObjectReferenceType passwordPolicyRefField; + + public OrgType() { + this.tenantField = false; + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - public MappingTargetDeclarationType target { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public PolyStringType displayName { get { - return this.targetField; + return this.displayNameField; } set { - this.targetField = value; - this.RaisePropertyChanged("target"); + this.displayNameField = value; + this.RaisePropertyChanged("displayName"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=12)] - public ExpressionType condition { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string identifier { get { - return this.conditionField; + return this.identifierField; } set { - this.conditionField = value; - this.RaisePropertyChanged("condition"); + this.identifierField = value; + this.RaisePropertyChanged("identifier"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=13)] - public ValueFilterType inputFilter { + [System.Xml.Serialization.XmlElementAttribute("orgType", Order=2)] + public string[] orgType { get { - return this.inputFilterField; + return this.orgTypeField; } set { - this.inputFilterField = value; - this.RaisePropertyChanged("inputFilter"); + this.orgTypeField = value; + this.RaisePropertyChanged("orgType"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=14)] - public ValueFilterType outputFilter { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool tenant { get { - return this.outputFilterField; + return this.tenantField; } set { - this.outputFilterField = value; - this.RaisePropertyChanged("outputFilter"); + this.tenantField = value; + this.RaisePropertyChanged("tenant"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string costCenter { + get { + return this.costCenterField; + } + set { + this.costCenterField = value; + this.RaisePropertyChanged("costCenter"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum MappingStrengthType { - - /// - strong, - - /// - normal, - - /// - weak, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class MappingTimeDeclarationType : object, System.ComponentModel.INotifyPropertyChanged { - - private string descriptionField; - - private MappingSourceDeclarationType referenceTimeField; - - private string offsetField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public PolyStringType locality { get { - return this.descriptionField; + return this.localityField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.localityField = value; + this.RaisePropertyChanged("locality"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public MappingSourceDeclarationType referenceTime { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int displayOrder { get { - return this.referenceTimeField; + return this.displayOrderField; } set { - this.referenceTimeField = value; - this.RaisePropertyChanged("referenceTime"); + this.displayOrderField = value; + this.RaisePropertyChanged("displayOrder"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="duration", Order=2)] - public string offset { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool displayOrderSpecified { get { - return this.offsetField; + return this.displayOrderFieldSpecified; } set { - this.offsetField = value; - this.RaisePropertyChanged("offset"); + this.displayOrderFieldSpecified = value; + this.RaisePropertyChanged("displayOrderSpecified"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public ObjectReferenceType passwordPolicyRef { + get { + return this.passwordPolicyRefField; + } + set { + this.passwordPolicyRefField = value; + this.RaisePropertyChanged("passwordPolicyRef"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrgType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class MappingSourceDeclarationType : object, System.ComponentModel.INotifyPropertyChanged { + public abstract partial class AbstractRoleType : FocusType { - private System.Xml.XmlQualifiedName nameField; + private AssignmentType[] inducementField; - private string descriptionField; + private AuthorizationType[] authorizationField; - private System.Xml.XmlElement anyField; + private bool requestableField; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.Xml.XmlQualifiedName name { - get { - return this.nameField; - } - set { - this.nameField = value; - this.RaisePropertyChanged("name"); - } - } + private ExclusionType[] exclusionField; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string description { - get { - return this.descriptionField; + private ObjectReferenceType[] approverRefField; + + private ExpressionType[] approverExpressionField; + + private ApprovalSchemaType approvalSchemaField; + + private string approvalProcessField; + + private ExpressionType automaticallyApprovedField; + + public AbstractRoleType() { + this.requestableField = false; + } + + /// + [System.Xml.Serialization.XmlElementAttribute("inducement", Order=0)] + public AssignmentType[] inducement { + get { + return this.inducementField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.inducementField = value; + this.RaisePropertyChanged("inducement"); } } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=2)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute("authorization", Order=1)] + public AuthorizationType[] authorization { get { - return this.anyField; + return this.authorizationField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.authorizationField = value; + this.RaisePropertyChanged("authorization"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool requestable { + get { + return this.requestableField; + } + set { + this.requestableField = value; + this.RaisePropertyChanged("requestable"); + } + } - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute("exclusion", Order=3)] + public ExclusionType[] exclusion { + get { + return this.exclusionField; + } + set { + this.exclusionField = value; + this.RaisePropertyChanged("exclusion"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("approverRef", Order=4)] + public ObjectReferenceType[] approverRef { + get { + return this.approverRefField; + } + set { + this.approverRefField = value; + this.RaisePropertyChanged("approverRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("approverExpression", Order=5)] + public ExpressionType[] approverExpression { + get { + return this.approverExpressionField; + } + set { + this.approverExpressionField = value; + this.RaisePropertyChanged("approverExpression"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ApprovalSchemaType approvalSchema { + get { + return this.approvalSchemaField; + } + set { + this.approvalSchemaField = value; + this.RaisePropertyChanged("approvalSchema"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string approvalProcess { + get { + return this.approvalProcessField; + } + set { + this.approvalProcessField = value; + this.RaisePropertyChanged("approvalProcess"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public ExpressionType automaticallyApproved { + get { + return this.automaticallyApprovedField; + } + set { + this.automaticallyApprovedField = value; + this.RaisePropertyChanged("automaticallyApproved"); } } } /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProvisioningScriptArgumentType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ExpressionType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class AssignmentType : object, System.ComponentModel.INotifyPropertyChanged { private string descriptionField; private ExtensionType extensionField; - private System.Xml.XmlQualifiedName refField; + private MetadataType metadataField; - private StringFilterType[] stringFilterField; + private object itemField; - private ExpressionVariableDefinitionType[] variableField; + private ActivationType activationField; - private ExpressionReturnMultiplicityType returnMultiplicityField; + private int orderField; - private bool returnMultiplicityFieldSpecified; + private bool orderFieldSpecified; - private object[] itemsField; + private ObjectReferenceType tenantRefField; - private ItemsChoiceType5[] itemsElementNameField; + private long idField; - private ExpressionTypeSequence sequenceField; + private bool idFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] @@ -5096,104 +5068,100 @@ public partial class ExpressionType : object, System.ComponentModel.INotifyPrope /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public System.Xml.XmlQualifiedName @ref { + public MetadataType metadata { get { - return this.refField; + return this.metadataField; } set { - this.refField = value; - this.RaisePropertyChanged("ref"); + this.metadataField = value; + this.RaisePropertyChanged("metadata"); } } /// - [System.Xml.Serialization.XmlElementAttribute("stringFilter", IsNullable=true, Order=3)] - public StringFilterType[] stringFilter { + [System.Xml.Serialization.XmlElementAttribute("construction", typeof(ConstructionType), Order=3)] + [System.Xml.Serialization.XmlElementAttribute("focusMappings", typeof(MappingsType), Order=3)] + [System.Xml.Serialization.XmlElementAttribute("target", typeof(ObjectType1), Order=3)] + [System.Xml.Serialization.XmlElementAttribute("targetRef", typeof(ObjectReferenceType), Order=3)] + public object Item { get { - return this.stringFilterField; + return this.itemField; } set { - this.stringFilterField = value; - this.RaisePropertyChanged("stringFilter"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlElementAttribute("variable", IsNullable=true, Order=4)] - public ExpressionVariableDefinitionType[] variable { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public ActivationType activation { get { - return this.variableField; + return this.activationField; } set { - this.variableField = value; - this.RaisePropertyChanged("variable"); + this.activationField = value; + this.RaisePropertyChanged("activation"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public ExpressionReturnMultiplicityType returnMultiplicity { + public int order { get { - return this.returnMultiplicityField; + return this.orderField; } set { - this.returnMultiplicityField = value; - this.RaisePropertyChanged("returnMultiplicity"); + this.orderField = value; + this.RaisePropertyChanged("order"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool returnMultiplicitySpecified { + public bool orderSpecified { get { - return this.returnMultiplicityFieldSpecified; + return this.orderFieldSpecified; } set { - this.returnMultiplicityFieldSpecified = value; - this.RaisePropertyChanged("returnMultiplicitySpecified"); + this.orderFieldSpecified = value; + this.RaisePropertyChanged("orderSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute("asIs", typeof(AsIsExpressionEvaluatorType), Order=6)] - [System.Xml.Serialization.XmlElementAttribute("expressionEvaluator", typeof(object), Order=6)] - [System.Xml.Serialization.XmlElementAttribute("generate", typeof(GenerateExpressionEvaluatorType), Order=6)] - [System.Xml.Serialization.XmlElementAttribute("path", typeof(object), Order=6)] - [System.Xml.Serialization.XmlElementAttribute("script", typeof(ScriptExpressionEvaluatorType), Order=6)] - [System.Xml.Serialization.XmlElementAttribute("value", typeof(object), Order=6)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ObjectReferenceType tenantRef { get { - return this.itemsField; + return this.tenantRefField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.tenantRefField = value; + this.RaisePropertyChanged("tenantRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=7)] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType5[] ItemsElementName { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { - return this.itemsElementNameField; + return this.idField; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.idField = value; + this.RaisePropertyChanged("id"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public ExpressionTypeSequence sequence { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { get { - return this.sequenceField; + return this.idFieldSpecified; } set { - this.sequenceField = value; - this.RaisePropertyChanged("sequence"); + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -5208,161 +5176,150 @@ public partial class ExpressionType : object, System.ComponentModel.INotifyPrope } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class StringFilterType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class MetadataType : object, System.ComponentModel.INotifyPropertyChanged { - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + private System.DateTime createTimestampField; - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ExpressionVariableDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + private bool createTimestampFieldSpecified; - private System.Xml.XmlQualifiedName nameField; + private ObjectReferenceType creatorRefField; - private string descriptionField; + private ObjectReferenceType[] createApproverRefField; - private System.Xml.XmlElement anyField; + private string createChannelField; - private ObjectReferenceType objectRefField; + private System.DateTime modifyTimestampField; - private object valueField; + private bool modifyTimestampFieldSpecified; + + private ObjectReferenceType modifierRefField; + + private ObjectReferenceType[] modifyApproverRefField; + + private string modifyChannelField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.Xml.XmlQualifiedName name { + public System.DateTime createTimestamp { get { - return this.nameField; + return this.createTimestampField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.createTimestampField = value; + this.RaisePropertyChanged("createTimestamp"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string description { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool createTimestampSpecified { get { - return this.descriptionField; + return this.createTimestampFieldSpecified; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.createTimestampFieldSpecified = value; + this.RaisePropertyChanged("createTimestampSpecified"); } } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=2)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ObjectReferenceType creatorRef { get { - return this.anyField; + return this.creatorRefField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.creatorRefField = value; + this.RaisePropertyChanged("creatorRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ObjectReferenceType objectRef { + [System.Xml.Serialization.XmlElementAttribute("createApproverRef", Order=2)] + public ObjectReferenceType[] createApproverRef { get { - return this.objectRefField; + return this.createApproverRefField; } set { - this.objectRefField = value; - this.RaisePropertyChanged("objectRef"); + this.createApproverRefField = value; + this.RaisePropertyChanged("createApproverRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)] - public object value { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=3)] + public string createChannel { get { - return this.valueField; + return this.createChannelField; } set { - this.valueField = value; - this.RaisePropertyChanged("value"); + this.createChannelField = value; + this.RaisePropertyChanged("createChannel"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.DateTime modifyTimestamp { + get { + return this.modifyTimestampField; + } + set { + this.modifyTimestampField = value; + this.RaisePropertyChanged("modifyTimestamp"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ExpressionReturnMultiplicityType { /// - single, + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool modifyTimestampSpecified { + get { + return this.modifyTimestampFieldSpecified; + } + set { + this.modifyTimestampFieldSpecified = value; + this.RaisePropertyChanged("modifyTimestampSpecified"); + } + } /// - multi, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AsIsExpressionEvaluatorType : object, System.ComponentModel.INotifyPropertyChanged { - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public ObjectReferenceType modifierRef { + get { + return this.modifierRefField; + } + set { + this.modifierRefField = value; + this.RaisePropertyChanged("modifierRef"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class GenerateExpressionEvaluatorType : object, System.ComponentModel.INotifyPropertyChanged { - private ObjectReferenceType valuePolicyRefField; + /// + [System.Xml.Serialization.XmlElementAttribute("modifyApproverRef", Order=6)] + public ObjectReferenceType[] modifyApproverRef { + get { + return this.modifyApproverRefField; + } + set { + this.modifyApproverRefField = value; + this.RaisePropertyChanged("modifyApproverRef"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ObjectReferenceType valuePolicyRef { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=7)] + public string modifyChannel { get { - return this.valuePolicyRefField; + return this.modifyChannelField; } set { - this.valuePolicyRefField = value; - this.RaisePropertyChanged("valuePolicyRef"); + this.modifyChannelField = value; + this.RaisePropertyChanged("modifyChannel"); } } @@ -5377,35 +5334,31 @@ public partial class GenerateExpressionEvaluatorType : object, System.ComponentM } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ScriptExpressionEvaluatorType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ConstructionType : object, System.ComponentModel.INotifyPropertyChanged { private string descriptionField; - private string languageField; - - private ScriptExpressionReturnTypeType returnTypeField; + private ExtensionType extensionField; - private bool returnTypeFieldSpecified; + private object itemField; - private ScriptExpressionRelativityModeType relativityModeField; + private ShadowKindType item1Field; - private bool relativityModeFieldSpecified; + private string item2Field; - private bool includeNullInputsField; + private ExpressionType conditionField; - private bool allowEmptyValuesField; + private ResourceAttributeDefinitionType[] attributeField; - private System.Xml.XmlElement anyField; + private ResourceObjectAssociationType[] associationField; - public ScriptExpressionEvaluatorType() { - this.languageField = "http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy"; - this.includeNullInputsField = true; - this.allowEmptyValuesField = false; + public ConstructionType() { + this.item1Field = ShadowKindType.account; } /// @@ -5421,101 +5374,88 @@ public partial class ScriptExpressionEvaluatorType : object, System.ComponentMod } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=1)] - [System.ComponentModel.DefaultValueAttribute("http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy")] - public string language { - get { - return this.languageField; - } - set { - this.languageField = value; - this.RaisePropertyChanged("language"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ScriptExpressionReturnTypeType returnType { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ExtensionType extension { get { - return this.returnTypeField; + return this.extensionField; } set { - this.returnTypeField = value; - this.RaisePropertyChanged("returnType"); + this.extensionField = value; + this.RaisePropertyChanged("extension"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool returnTypeSpecified { + [System.Xml.Serialization.XmlElementAttribute("resource", typeof(ResourceType), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("resourceRef", typeof(ObjectReferenceType), Order=2)] + public object Item { get { - return this.returnTypeFieldSpecified; + return this.itemField; } set { - this.returnTypeFieldSpecified = value; - this.RaisePropertyChanged("returnTypeSpecified"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ScriptExpressionRelativityModeType relativityMode { + [System.Xml.Serialization.XmlElementAttribute("kind", Order=3)] + [System.ComponentModel.DefaultValueAttribute(ShadowKindType.account)] + public ShadowKindType Item1 { get { - return this.relativityModeField; + return this.item1Field; } set { - this.relativityModeField = value; - this.RaisePropertyChanged("relativityMode"); + this.item1Field = value; + this.RaisePropertyChanged("Item1"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool relativityModeSpecified { + [System.Xml.Serialization.XmlElementAttribute("intent", Order=4)] + public string Item2 { get { - return this.relativityModeFieldSpecified; + return this.item2Field; } set { - this.relativityModeFieldSpecified = value; - this.RaisePropertyChanged("relativityModeSpecified"); + this.item2Field = value; + this.RaisePropertyChanged("Item2"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool includeNullInputs { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public ExpressionType condition { get { - return this.includeNullInputsField; + return this.conditionField; } set { - this.includeNullInputsField = value; - this.RaisePropertyChanged("includeNullInputs"); + this.conditionField = value; + this.RaisePropertyChanged("condition"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool allowEmptyValues { + [System.Xml.Serialization.XmlElementAttribute("attribute", Order=6)] + public ResourceAttributeDefinitionType[] attribute { get { - return this.allowEmptyValuesField; + return this.attributeField; } set { - this.allowEmptyValuesField = value; - this.RaisePropertyChanged("allowEmptyValues"); + this.attributeField = value; + this.RaisePropertyChanged("attribute"); } } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=6)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute("association", Order=7)] + public ResourceObjectAssociationType[] association { get { - return this.anyField; + return this.associationField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.associationField = value; + this.RaisePropertyChanged("association"); } } @@ -5530,190 +5470,210 @@ public partial class ScriptExpressionEvaluatorType : object, System.ComponentMod } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ScriptExpressionReturnTypeType { - - /// - scalar, - - /// - list, + public partial class ResourceAttributeDefinitionType : ResourceItemDefinitionType { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResourceObjectAssociationType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResourceAttributeDefinitionType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ScriptExpressionRelativityModeType { + public partial class ResourceItemDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { - /// - relative, + private System.Xml.XmlQualifiedName refField; - /// - absolute, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3", IncludeInSchema=false)] - public enum ItemsChoiceType5 { + private string displayNameField; - /// - asIs, + private string descriptionField; - /// - expressionEvaluator, + private PropertyLimitationsType[] limitationsField; - /// - generate, + private bool exclusiveStrongField; - /// - path, + private bool tolerantField; - /// - script, + private string[] tolerantValuePatternField; - /// - value, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ExpressionTypeSequence : object, System.ComponentModel.INotifyPropertyChanged { + private string[] intolerantValuePatternField; - private object[] itemsField; + private AttributeFetchStrategyType fetchStrategyField; + + private bool fetchStrategyFieldSpecified; + + private System.Xml.XmlQualifiedName matchingRuleField; + + private MappingType outboundField; + + private MappingType[] inboundField; - private ItemsChoiceType6[] itemsElementNameField; + public ResourceItemDefinitionType() { + this.exclusiveStrongField = false; + this.tolerantField = true; + } /// - [System.Xml.Serialization.XmlElementAttribute("asIs", typeof(AsIsExpressionEvaluatorType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("expressionEvaluator", typeof(object), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("generate", typeof(GenerateExpressionEvaluatorType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("path", typeof(object), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("script", typeof(ScriptExpressionEvaluatorType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("value", typeof(object), Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName @ref { get { - return this.itemsField; + return this.refField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.refField = value; + this.RaisePropertyChanged("ref"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] - [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType6[] ItemsElementName { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string displayName { get { - return this.itemsElementNameField; + return this.displayNameField; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.displayNameField = value; + this.RaisePropertyChanged("displayName"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3", IncludeInSchema=false)] - public enum ItemsChoiceType6 { /// - asIs, + [System.Xml.Serialization.XmlElementAttribute("limitations", Order=3)] + public PropertyLimitationsType[] limitations { + get { + return this.limitationsField; + } + set { + this.limitationsField = value; + this.RaisePropertyChanged("limitations"); + } + } /// - expressionEvaluator, + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool exclusiveStrong { + get { + return this.exclusiveStrongField; + } + set { + this.exclusiveStrongField = value; + this.RaisePropertyChanged("exclusiveStrong"); + } + } /// - generate, + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool tolerant { + get { + return this.tolerantField; + } + set { + this.tolerantField = value; + this.RaisePropertyChanged("tolerant"); + } + } /// - path, + [System.Xml.Serialization.XmlElementAttribute("tolerantValuePattern", Order=6)] + public string[] tolerantValuePattern { + get { + return this.tolerantValuePatternField; + } + set { + this.tolerantValuePatternField = value; + this.RaisePropertyChanged("tolerantValuePattern"); + } + } /// - script, + [System.Xml.Serialization.XmlElementAttribute("intolerantValuePattern", Order=7)] + public string[] intolerantValuePattern { + get { + return this.intolerantValuePatternField; + } + set { + this.intolerantValuePatternField = value; + this.RaisePropertyChanged("intolerantValuePattern"); + } + } /// - value, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ProvisioningScriptArgumentType : ExpressionType { - - private string nameField; + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public AttributeFetchStrategyType fetchStrategy { + get { + return this.fetchStrategyField; + } + set { + this.fetchStrategyField = value; + this.RaisePropertyChanged("fetchStrategy"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string name { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fetchStrategySpecified { get { - return this.nameField; + return this.fetchStrategyFieldSpecified; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.fetchStrategyFieldSpecified = value; + this.RaisePropertyChanged("fetchStrategySpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class MappingTargetDeclarationType : object, System.ComponentModel.INotifyPropertyChanged { - - private string descriptionField; - private System.Xml.XmlElement anyField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.Xml.XmlQualifiedName matchingRule { + get { + return this.matchingRuleField; + } + set { + this.matchingRuleField = value; + this.RaisePropertyChanged("matchingRule"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public MappingType outbound { get { - return this.descriptionField; + return this.outboundField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.outboundField = value; + this.RaisePropertyChanged("outbound"); } } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute("inbound", Order=11)] + public MappingType[] inbound { get { - return this.anyField; + return this.inboundField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.inboundField = value; + this.RaisePropertyChanged("inbound"); } } @@ -5728,178 +5688,216 @@ public partial class MappingTargetDeclarationType : object, System.ComponentMode } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ValueFilterType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class PropertyLimitationsType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private LayerType[] layerField; - private string typeField; + private string minOccursField; + + private string maxOccursField; + + private bool ignoreField; + + private bool ignoreFieldSpecified; + + private PropertyAccessType accessField; + + public PropertyLimitationsType() { + this.ignoreField = true; + } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute("layer", Order=0)] + public LayerType[] layer { get { - return this.anyField; + return this.layerField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.layerField = value; + this.RaisePropertyChanged("layer"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string type { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string minOccurs { get { - return this.typeField; + return this.minOccursField; } set { - this.typeField = value; - this.RaisePropertyChanged("type"); + this.minOccursField = value; + this.RaisePropertyChanged("minOccurs"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string maxOccurs { + get { + return this.maxOccursField; + } + set { + this.maxOccursField = value; + this.RaisePropertyChanged("maxOccurs"); } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceObjectTypeDependencyType : ShadowDiscriminatorType { - - private ResourceObjectTypeDependencyStrictnessType strictnessField; - - private bool strictnessFieldSpecified; - - private int orderField; - - public ResourceObjectTypeDependencyType() { - this.orderField = 0; } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ResourceObjectTypeDependencyStrictnessType strictness { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool ignore { get { - return this.strictnessField; + return this.ignoreField; } set { - this.strictnessField = value; - this.RaisePropertyChanged("strictness"); + this.ignoreField = value; + this.RaisePropertyChanged("ignore"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool strictnessSpecified { + public bool ignoreSpecified { get { - return this.strictnessFieldSpecified; + return this.ignoreFieldSpecified; } set { - this.strictnessFieldSpecified = value; - this.RaisePropertyChanged("strictnessSpecified"); + this.ignoreFieldSpecified = value; + this.RaisePropertyChanged("ignoreSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int order { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public PropertyAccessType access { get { - return this.orderField; + return this.accessField; } set { - this.orderField = value; - this.RaisePropertyChanged("order"); + this.accessField = value; + this.RaisePropertyChanged("access"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ResourceObjectTypeDependencyStrictnessType { + public enum LayerType { /// - strict, + schema, /// - relaxed, + model, /// - lax, + presentation, } /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResourceObjectTypeDependencyType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ShadowDiscriminatorType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class PropertyAccessType : object, System.ComponentModel.INotifyPropertyChanged { - private ObjectReferenceType resourceRefField; + private bool readField; - private ShadowKindType kindField; + private bool readFieldSpecified; - private string intentField; + private bool addField; - public ShadowDiscriminatorType() { - this.kindField = ShadowKindType.account; - this.intentField = "default"; - } + private bool addFieldSpecified; + + private bool modifyField; + + private bool modifyFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ObjectReferenceType resourceRef { + public bool read { get { - return this.resourceRefField; + return this.readField; } set { - this.resourceRefField = value; - this.RaisePropertyChanged("resourceRef"); + this.readField = value; + this.RaisePropertyChanged("read"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool readSpecified { + get { + return this.readFieldSpecified; + } + set { + this.readFieldSpecified = value; + this.RaisePropertyChanged("readSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(ShadowKindType.account)] - public ShadowKindType kind { + public bool add { get { - return this.kindField; + return this.addField; } set { - this.kindField = value; - this.RaisePropertyChanged("kind"); + this.addField = value; + this.RaisePropertyChanged("add"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool addSpecified { + get { + return this.addFieldSpecified; + } + set { + this.addFieldSpecified = value; + this.RaisePropertyChanged("addSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - [System.ComponentModel.DefaultValueAttribute("default")] - public string intent { + public bool modify { get { - return this.intentField; + return this.modifyField; } set { - this.intentField = value; - this.RaisePropertyChanged("intent"); + this.modifyField = value; + this.RaisePropertyChanged("modify"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool modifySpecified { + get { + return this.modifyFieldSpecified; + } + set { + this.modifyFieldSpecified = value; + this.RaisePropertyChanged("modifySpecified"); } } @@ -5914,34 +5912,68 @@ public partial class ShadowDiscriminatorType : object, System.ComponentModel.INo } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum AttributeFetchStrategyType { + + /// + @implicit, + + /// + @explicit, + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectTemplateMappingType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceObjectAssociationType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class MappingType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlQualifiedName nameField; + private string nameField; - private string displayNameField; + private string descriptionField; - private ShadowKindType kindField; + private ExtensionType extensionField; - private string intentField; + private bool authoritativeField; - private ResourceObjectAssociationDirectionType directionField; + private bool exclusiveField; - private System.Xml.XmlQualifiedName associationAttributeField; + private MappingStrengthType strengthField; - private System.Xml.XmlQualifiedName valueAttributeField; + private string[] channelField; - private AttributeFetchStrategyType fetchStrategyField; + private string[] exceptChannelField; - private bool fetchStrategyFieldSpecified; + private MappingTimeDeclarationType timeFromField; + + private MappingTimeDeclarationType timeToField; + + private MappingSourceDeclarationType[] sourceField; + + private ExpressionType expressionField; + + private MappingTargetDeclarationType targetField; + + private ExpressionType conditionField; + + private ValueFilterType inputFilterField; + + private ValueFilterType outputFilterField; + + public MappingType() { + this.authoritativeField = true; + this.exclusiveField = false; + this.strengthField = MappingStrengthType.strong; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.Xml.XmlQualifiedName name { + public string name { get { return this.nameField; } @@ -5953,235 +5985,184 @@ public partial class ResourceObjectAssociationType : object, System.ComponentMod /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string displayName { + public string description { get { - return this.displayNameField; + return this.descriptionField; } set { - this.displayNameField = value; - this.RaisePropertyChanged("displayName"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ShadowKindType kind { + public ExtensionType extension { get { - return this.kindField; + return this.extensionField; } set { - this.kindField = value; - this.RaisePropertyChanged("kind"); + this.extensionField = value; + this.RaisePropertyChanged("extension"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string intent { + [System.ComponentModel.DefaultValueAttribute(true)] + public bool authoritative { get { - return this.intentField; + return this.authoritativeField; } set { - this.intentField = value; - this.RaisePropertyChanged("intent"); + this.authoritativeField = value; + this.RaisePropertyChanged("authoritative"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public ResourceObjectAssociationDirectionType direction { + [System.ComponentModel.DefaultValueAttribute(false)] + public bool exclusive { get { - return this.directionField; + return this.exclusiveField; } set { - this.directionField = value; - this.RaisePropertyChanged("direction"); + this.exclusiveField = value; + this.RaisePropertyChanged("exclusive"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public System.Xml.XmlQualifiedName associationAttribute { + [System.ComponentModel.DefaultValueAttribute(MappingStrengthType.strong)] + public MappingStrengthType strength { get { - return this.associationAttributeField; + return this.strengthField; } set { - this.associationAttributeField = value; - this.RaisePropertyChanged("associationAttribute"); + this.strengthField = value; + this.RaisePropertyChanged("strength"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public System.Xml.XmlQualifiedName valueAttribute { + [System.Xml.Serialization.XmlElementAttribute("channel", DataType="anyURI", Order=6)] + public string[] channel { get { - return this.valueAttributeField; + return this.channelField; } set { - this.valueAttributeField = value; - this.RaisePropertyChanged("valueAttribute"); + this.channelField = value; + this.RaisePropertyChanged("channel"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public AttributeFetchStrategyType fetchStrategy { + [System.Xml.Serialization.XmlElementAttribute("exceptChannel", DataType="anyURI", Order=7)] + public string[] exceptChannel { get { - return this.fetchStrategyField; + return this.exceptChannelField; } set { - this.fetchStrategyField = value; - this.RaisePropertyChanged("fetchStrategy"); + this.exceptChannelField = value; + this.RaisePropertyChanged("exceptChannel"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool fetchStrategySpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public MappingTimeDeclarationType timeFrom { get { - return this.fetchStrategyFieldSpecified; + return this.timeFromField; } set { - this.fetchStrategyFieldSpecified = value; - this.RaisePropertyChanged("fetchStrategySpecified"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.timeFromField = value; + this.RaisePropertyChanged("timeFrom"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ResourceObjectAssociationDirectionType { - - /// - objectToSubject, - - /// - subjectToObject, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum AssignmentPolicyEnforcementType { - - /// - none, - - /// - positive, - - /// - full, - - /// - relative, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class IterationSpecificationType : object, System.ComponentModel.INotifyPropertyChanged { - - private int maxIterationsField; - - private ExpressionType tokenExpressionField; - - private ExpressionType preIterationConditionField; - - private ExpressionType postIterationConditionField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public int maxIterations { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public MappingTimeDeclarationType timeTo { get { - return this.maxIterationsField; + return this.timeToField; } set { - this.maxIterationsField = value; - this.RaisePropertyChanged("maxIterations"); + this.timeToField = value; + this.RaisePropertyChanged("timeTo"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ExpressionType tokenExpression { + [System.Xml.Serialization.XmlElementAttribute("source", Order=10)] + public MappingSourceDeclarationType[] source { get { - return this.tokenExpressionField; + return this.sourceField; } set { - this.tokenExpressionField = value; - this.RaisePropertyChanged("tokenExpression"); + this.sourceField = value; + this.RaisePropertyChanged("source"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ExpressionType preIterationCondition { + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public ExpressionType expression { get { - return this.preIterationConditionField; + return this.expressionField; } set { - this.preIterationConditionField = value; - this.RaisePropertyChanged("preIterationCondition"); + this.expressionField = value; + this.RaisePropertyChanged("expression"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ExpressionType postIterationCondition { + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public MappingTargetDeclarationType target { get { - return this.postIterationConditionField; + return this.targetField; } set { - this.postIterationConditionField = value; - this.RaisePropertyChanged("postIterationCondition"); + this.targetField = value; + this.RaisePropertyChanged("target"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public ExpressionType condition { + get { + return this.conditionField; + } + set { + this.conditionField = value; + this.RaisePropertyChanged("condition"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceObjectPatternType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public ValueFilterType inputFilter { + get { + return this.inputFilterField; + } + set { + this.inputFilterField = value; + this.RaisePropertyChanged("inputFilter"); + } + } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public ValueFilterType outputFilter { get { - return this.anyField; + return this.outputFilterField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.outputFilterField = value; + this.RaisePropertyChanged("outputFilter"); } } @@ -6196,80 +6177,68 @@ public partial class ResourceObjectPatternType : object, System.ComponentModel.I } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceActivationDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + public enum MappingStrengthType { - private ResourceBidirectionalMappingType existenceField; + /// + strong, - private ResourceBidirectionalMappingType administrativeStatusField; + /// + normal, - private ResourceBidirectionalMappingType validFromField; + /// + weak, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class MappingTimeDeclarationType : object, System.ComponentModel.INotifyPropertyChanged { - private ResourceBidirectionalMappingType validToField; + private string descriptionField; + + private MappingSourceDeclarationType referenceTimeField; - private ResourceBidirectionalMappingType enabledField; + private string offsetField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ResourceBidirectionalMappingType existence { + public string description { get { - return this.existenceField; + return this.descriptionField; } set { - this.existenceField = value; - this.RaisePropertyChanged("existence"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ResourceBidirectionalMappingType administrativeStatus { - get { - return this.administrativeStatusField; - } - set { - this.administrativeStatusField = value; - this.RaisePropertyChanged("administrativeStatus"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ResourceBidirectionalMappingType validFrom { - get { - return this.validFromField; - } - set { - this.validFromField = value; - this.RaisePropertyChanged("validFrom"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ResourceBidirectionalMappingType validTo { + public MappingSourceDeclarationType referenceTime { get { - return this.validToField; + return this.referenceTimeField; } set { - this.validToField = value; - this.RaisePropertyChanged("validTo"); + this.referenceTimeField = value; + this.RaisePropertyChanged("referenceTime"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public ResourceBidirectionalMappingType enabled { + [System.Xml.Serialization.XmlElementAttribute(DataType="duration", Order=2)] + public string offset { get { - return this.enabledField; + return this.offsetField; } set { - this.enabledField = value; - this.RaisePropertyChanged("enabled"); + this.offsetField = value; + this.RaisePropertyChanged("offset"); } } @@ -6284,66 +6253,98 @@ public partial class ResourceActivationDefinitionType : object, System.Component } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceBidirectionalMappingType : object, System.ComponentModel.INotifyPropertyChanged { - - private AttributeFetchStrategyType fetchStrategyField; + public partial class MappingSourceDeclarationType : object, System.ComponentModel.INotifyPropertyChanged { - private bool fetchStrategyFieldSpecified; + private System.Xml.XmlQualifiedName nameField; - private MappingType[] outboundField; + private string descriptionField; - private MappingType[] inboundField; + private ItemPathType pathField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public AttributeFetchStrategyType fetchStrategy { + public System.Xml.XmlQualifiedName name { get { - return this.fetchStrategyField; + return this.nameField; } set { - this.fetchStrategyField = value; - this.RaisePropertyChanged("fetchStrategy"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool fetchStrategySpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { get { - return this.fetchStrategyFieldSpecified; + return this.descriptionField; } set { - this.fetchStrategyFieldSpecified = value; - this.RaisePropertyChanged("fetchStrategySpecified"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlElementAttribute("outbound", IsNullable=true, Order=1)] - public MappingType[] outbound { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ItemPathType path { get { - return this.outboundField; + return this.pathField; } set { - this.outboundField = value; - this.RaisePropertyChanged("outbound"); + this.pathField = value; + this.RaisePropertyChanged("path"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ValueFilterType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + private string typeField; /// - [System.Xml.Serialization.XmlElementAttribute("inbound", IsNullable=true, Order=2)] - public MappingType[] inbound { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.inboundField; + return this.anyField; } set { - this.inboundField = value; - this.RaisePropertyChanged("inbound"); + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("type"); } } @@ -6358,204 +6359,218 @@ public partial class ResourceBidirectionalMappingType : object, System.Component } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceCredentialsDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ObjectTemplateMappingType : MappingType { - private ResourcePasswordDefinitionType passwordField; + private ObjectTemplateMappingEvaluationPhaseType evaluationPhaseField; + + public ObjectTemplateMappingType() { + this.evaluationPhaseField = ObjectTemplateMappingEvaluationPhaseType.beforeAssignments; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ResourcePasswordDefinitionType password { + [System.ComponentModel.DefaultValueAttribute(ObjectTemplateMappingEvaluationPhaseType.beforeAssignments)] + public ObjectTemplateMappingEvaluationPhaseType evaluationPhase { get { - return this.passwordField; + return this.evaluationPhaseField; } set { - this.passwordField = value; - this.RaisePropertyChanged("password"); + this.evaluationPhaseField = value; + this.RaisePropertyChanged("evaluationPhase"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ObjectTemplateMappingEvaluationPhaseType { - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + beforeAssignments, - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } + /// + afterAssignments, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourcePasswordDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ResourceObjectAssociationType : ResourceItemDefinitionType { - private AttributeFetchStrategyType fetchStrategyField; + private ShadowKindType kindField; - private bool fetchStrategyFieldSpecified; + private bool kindFieldSpecified; - private MappingType outboundField; + private string intentField; + + private ResourceObjectAssociationDirectionType directionField; - private MappingType inboundField; + private bool directionFieldSpecified; - private ObjectReferenceType passwordPolicyRefField; + private System.Xml.XmlQualifiedName associationAttributeField; + + private System.Xml.XmlQualifiedName valueAttributeField; + + private bool explicitReferentialIntegrityField; + + public ResourceObjectAssociationType() { + this.explicitReferentialIntegrityField = true; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public AttributeFetchStrategyType fetchStrategy { + public ShadowKindType kind { get { - return this.fetchStrategyField; + return this.kindField; } set { - this.fetchStrategyField = value; - this.RaisePropertyChanged("fetchStrategy"); + this.kindField = value; + this.RaisePropertyChanged("kind"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool fetchStrategySpecified { + public bool kindSpecified { get { - return this.fetchStrategyFieldSpecified; + return this.kindFieldSpecified; } set { - this.fetchStrategyFieldSpecified = value; - this.RaisePropertyChanged("fetchStrategySpecified"); + this.kindFieldSpecified = value; + this.RaisePropertyChanged("kindSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public MappingType outbound { + public string intent { get { - return this.outboundField; + return this.intentField; } set { - this.outboundField = value; - this.RaisePropertyChanged("outbound"); + this.intentField = value; + this.RaisePropertyChanged("intent"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public MappingType inbound { + public ResourceObjectAssociationDirectionType direction { get { - return this.inboundField; + return this.directionField; } set { - this.inboundField = value; - this.RaisePropertyChanged("inbound"); + this.directionField = value; + this.RaisePropertyChanged("direction"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ObjectReferenceType passwordPolicyRef { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool directionSpecified { get { - return this.passwordPolicyRefField; + return this.directionFieldSpecified; } set { - this.passwordPolicyRefField = value; - this.RaisePropertyChanged("passwordPolicyRef"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.directionFieldSpecified = value; + this.RaisePropertyChanged("directionSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class CapabilitiesType : object, System.ComponentModel.INotifyPropertyChanged { - - private CachingMetadataType cachingMetadataField; - - private CapabilityCollectionType nativeField; - - private CapabilityCollectionType configuredField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public CachingMetadataType cachingMetadata { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.Xml.XmlQualifiedName associationAttribute { get { - return this.cachingMetadataField; + return this.associationAttributeField; } set { - this.cachingMetadataField = value; - this.RaisePropertyChanged("cachingMetadata"); + this.associationAttributeField = value; + this.RaisePropertyChanged("associationAttribute"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public CapabilityCollectionType native { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public System.Xml.XmlQualifiedName valueAttribute { get { - return this.nativeField; + return this.valueAttributeField; } set { - this.nativeField = value; - this.RaisePropertyChanged("native"); + this.valueAttributeField = value; + this.RaisePropertyChanged("valueAttribute"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public CapabilityCollectionType configured { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool explicitReferentialIntegrity { get { - return this.configuredField; + return this.explicitReferentialIntegrityField; } set { - this.configuredField = value; - this.RaisePropertyChanged("configured"); + this.explicitReferentialIntegrityField = value; + this.RaisePropertyChanged("explicitReferentialIntegrity"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ResourceObjectAssociationDirectionType { - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + objectToSubject, - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } + /// + subjectToObject, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class CapabilityCollectionType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class MappingsType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private string descriptionField; + + private MappingType[] mappingField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string description { get { - return this.anyField; + return this.descriptionField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("mapping", Order=1)] + public MappingType[] mapping { + get { + return this.mappingField; + } + set { + this.mappingField = value; + this.RaisePropertyChanged("mapping"); } } @@ -6570,323 +6585,280 @@ public partial class CapabilityCollectionType : object, System.ComponentModel.IN } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class OperationProvisioningScriptType : ProvisioningScriptType { + public partial class ActivationType : object, System.ComponentModel.INotifyPropertyChanged { + + private ActivationStatusType administrativeStatusField; - private System.Nullable[] operationField; + private bool administrativeStatusFieldSpecified; - private System.Nullable[] kindField; + private ActivationStatusType effectiveStatusField; - private string[] intentField; + private bool effectiveStatusFieldSpecified; - private ProvisioningScriptOrderType orderField; + private System.DateTime validFromField; - /// - [System.Xml.Serialization.XmlElementAttribute("operation", IsNullable=true, Order=0)] - public System.Nullable[] operation { - get { - return this.operationField; - } - set { - this.operationField = value; - this.RaisePropertyChanged("operation"); - } - } + private bool validFromFieldSpecified; - /// - [System.Xml.Serialization.XmlElementAttribute("kind", IsNullable=true, Order=1)] - public System.Nullable[] kind { - get { - return this.kindField; - } - set { - this.kindField = value; - this.RaisePropertyChanged("kind"); - } - } + private System.DateTime validToField; - /// - [System.Xml.Serialization.XmlElementAttribute("intent", IsNullable=true, Order=2)] - public string[] intent { - get { - return this.intentField; - } - set { - this.intentField = value; - this.RaisePropertyChanged("intent"); - } - } + private bool validToFieldSpecified; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ProvisioningScriptOrderType order { - get { - return this.orderField; - } - set { - this.orderField = value; - this.RaisePropertyChanged("order"); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ProvisioningOperationTypeType { + private TimeIntervalStatusType validityStatusField; - /// - get, + private bool validityStatusFieldSpecified; - /// - add, + private string disableReasonField; - /// - modify, + private System.DateTime disableTimestampField; - /// - delete, + private bool disableTimestampFieldSpecified; - /// - reconcile, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ProvisioningScriptOrderType { + private System.DateTime enableTimestampField; - /// - before, + private bool enableTimestampFieldSpecified; - /// - after, - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(OperationProvisioningScriptType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ProvisioningScriptType : object, System.ComponentModel.INotifyPropertyChanged { + private System.DateTime archiveTimestampField; - private ProvisioningScriptHostType hostField; + private bool archiveTimestampFieldSpecified; - private string languageField; + private System.DateTime validityChangeTimestampField; - private ProvisioningScriptArgumentType[] argumentField; + private bool validityChangeTimestampFieldSpecified; - private string codeField; + private long idField; - public ProvisioningScriptType() { - this.hostField = ProvisioningScriptHostType.resource; - } + private bool idFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - [System.ComponentModel.DefaultValueAttribute(ProvisioningScriptHostType.resource)] - public ProvisioningScriptHostType host { + public ActivationStatusType administrativeStatus { get { - return this.hostField; + return this.administrativeStatusField; } set { - this.hostField = value; - this.RaisePropertyChanged("host"); + this.administrativeStatusField = value; + this.RaisePropertyChanged("administrativeStatus"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=1)] - public string language { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool administrativeStatusSpecified { get { - return this.languageField; + return this.administrativeStatusFieldSpecified; } set { - this.languageField = value; - this.RaisePropertyChanged("language"); + this.administrativeStatusFieldSpecified = value; + this.RaisePropertyChanged("administrativeStatusSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute("argument", IsNullable=true, Order=2)] - public ProvisioningScriptArgumentType[] argument { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ActivationStatusType effectiveStatus { get { - return this.argumentField; + return this.effectiveStatusField; } set { - this.argumentField = value; - this.RaisePropertyChanged("argument"); + this.effectiveStatusField = value; + this.RaisePropertyChanged("effectiveStatus"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string code { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool effectiveStatusSpecified { get { - return this.codeField; + return this.effectiveStatusFieldSpecified; } set { - this.codeField = value; - this.RaisePropertyChanged("code"); + this.effectiveStatusFieldSpecified = value; + this.RaisePropertyChanged("effectiveStatusSpecified"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime validFrom { + get { + return this.validFromField; + } + set { + this.validFromField = value; + this.RaisePropertyChanged("validFrom"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ProvisioningScriptHostType { /// - connector, + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool validFromSpecified { + get { + return this.validFromFieldSpecified; + } + set { + this.validFromFieldSpecified = value; + this.RaisePropertyChanged("validFromSpecified"); + } + } /// - resource, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ProjectionPolicyType : object, System.ComponentModel.INotifyPropertyChanged { - - private AssignmentPolicyEnforcementType assignmentPolicyEnforcementField; - - private bool assignmentPolicyEnforcementFieldSpecified; - - private bool legalizeField; + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime validTo { + get { + return this.validToField; + } + set { + this.validToField = value; + this.RaisePropertyChanged("validTo"); + } + } - public ProjectionPolicyType() { - this.legalizeField = false; + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool validToSpecified { + get { + return this.validToFieldSpecified; + } + set { + this.validToFieldSpecified = value; + this.RaisePropertyChanged("validToSpecified"); + } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public AssignmentPolicyEnforcementType assignmentPolicyEnforcement { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public TimeIntervalStatusType validityStatus { get { - return this.assignmentPolicyEnforcementField; + return this.validityStatusField; } set { - this.assignmentPolicyEnforcementField = value; - this.RaisePropertyChanged("assignmentPolicyEnforcement"); + this.validityStatusField = value; + this.RaisePropertyChanged("validityStatus"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool assignmentPolicyEnforcementSpecified { + public bool validityStatusSpecified { get { - return this.assignmentPolicyEnforcementFieldSpecified; + return this.validityStatusFieldSpecified; } set { - this.assignmentPolicyEnforcementFieldSpecified = value; - this.RaisePropertyChanged("assignmentPolicyEnforcementSpecified"); + this.validityStatusFieldSpecified = value; + this.RaisePropertyChanged("validityStatusSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool legalize { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=5)] + public string disableReason { get { - return this.legalizeField; + return this.disableReasonField; } set { - this.legalizeField = value; - this.RaisePropertyChanged("legalize"); + this.disableReasonField = value; + this.RaisePropertyChanged("disableReason"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public System.DateTime disableTimestamp { + get { + return this.disableTimestampField; + } + set { + this.disableTimestampField = value; + this.RaisePropertyChanged("disableTimestamp"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceConsistencyType : object, System.ComponentModel.INotifyPropertyChanged { - - private bool avoidDuplicateValuesField; - - private bool postponeField; - private bool discoveryField; + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool disableTimestampSpecified { + get { + return this.disableTimestampFieldSpecified; + } + set { + this.disableTimestampFieldSpecified = value; + this.RaisePropertyChanged("disableTimestampSpecified"); + } + } - private long idField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public System.DateTime enableTimestamp { + get { + return this.enableTimestampField; + } + set { + this.enableTimestampField = value; + this.RaisePropertyChanged("enableTimestamp"); + } + } - private bool idFieldSpecified; + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool enableTimestampSpecified { + get { + return this.enableTimestampFieldSpecified; + } + set { + this.enableTimestampFieldSpecified = value; + this.RaisePropertyChanged("enableTimestampSpecified"); + } + } - public ResourceConsistencyType() { - this.avoidDuplicateValuesField = false; - this.postponeField = true; - this.discoveryField = true; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public System.DateTime archiveTimestamp { + get { + return this.archiveTimestampField; + } + set { + this.archiveTimestampField = value; + this.RaisePropertyChanged("archiveTimestamp"); + } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool avoidDuplicateValues { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool archiveTimestampSpecified { get { - return this.avoidDuplicateValuesField; + return this.archiveTimestampFieldSpecified; } set { - this.avoidDuplicateValuesField = value; - this.RaisePropertyChanged("avoidDuplicateValues"); + this.archiveTimestampFieldSpecified = value; + this.RaisePropertyChanged("archiveTimestampSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool postpone { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public System.DateTime validityChangeTimestamp { get { - return this.postponeField; + return this.validityChangeTimestampField; } set { - this.postponeField = value; - this.RaisePropertyChanged("postpone"); + this.validityChangeTimestampField = value; + this.RaisePropertyChanged("validityChangeTimestamp"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool discovery { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool validityChangeTimestampSpecified { get { - return this.discoveryField; + return this.validityChangeTimestampFieldSpecified; } set { - this.discoveryField = value; - this.RaisePropertyChanged("discovery"); + this.validityChangeTimestampFieldSpecified = value; + this.RaisePropertyChanged("validityChangeTimestampSpecified"); } } @@ -6925,143 +6897,187 @@ public partial class ResourceConsistencyType : object, System.ComponentModel.INo } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ActivationStatusType { + + /// + enabled, + + /// + disabled, + + /// + archived, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum TimeIntervalStatusType { + + /// + before, + + /// + @in, + + /// + after, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ObjectSynchronizationType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class AuthorizationType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlQualifiedName typeField; + private string descriptionField; - private bool enabledField; + private AuthorizationDecisionType decisionField; - private QueryType[] correlationField; + private string[] actionField; - private ExpressionType confirmationField; + private AuthorizationPhaseType phaseField; - private ObjectReferenceType objectTemplateRefField; + private bool phaseFieldSpecified; - private bool reconcileAttributesField; + private ObjectSpecificationType[] objectField; - private bool reconcileAttributesFieldSpecified; + private ItemPathType[] itemField; - private bool opportunisticField; + private ObjectSpecificationType[] targetField; - private ObjectSynchronizationTypeReaction[] reactionField; + private long idField; - public ObjectSynchronizationType() { - this.enabledField = true; - this.opportunisticField = true; - } + private bool idFieldSpecified; + + public AuthorizationType() { + this.decisionField = AuthorizationDecisionType.allow; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.Xml.XmlQualifiedName type { + public string description { get { - return this.typeField; + return this.descriptionField; } set { - this.typeField = value; - this.RaisePropertyChanged("type"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool enabled { + [System.ComponentModel.DefaultValueAttribute(AuthorizationDecisionType.allow)] + public AuthorizationDecisionType decision { get { - return this.enabledField; + return this.decisionField; } set { - this.enabledField = value; - this.RaisePropertyChanged("enabled"); + this.decisionField = value; + this.RaisePropertyChanged("decision"); } } /// - [System.Xml.Serialization.XmlElementAttribute("correlation", IsNullable=true, Order=2)] - public QueryType[] correlation { + [System.Xml.Serialization.XmlElementAttribute("action", DataType="anyURI", Order=2)] + public string[] action { get { - return this.correlationField; + return this.actionField; } set { - this.correlationField = value; - this.RaisePropertyChanged("correlation"); + this.actionField = value; + this.RaisePropertyChanged("action"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ExpressionType confirmation { + public AuthorizationPhaseType phase { get { - return this.confirmationField; + return this.phaseField; } set { - this.confirmationField = value; - this.RaisePropertyChanged("confirmation"); + this.phaseField = value; + this.RaisePropertyChanged("phase"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public ObjectReferenceType objectTemplateRef { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool phaseSpecified { get { - return this.objectTemplateRefField; + return this.phaseFieldSpecified; } set { - this.objectTemplateRefField = value; - this.RaisePropertyChanged("objectTemplateRef"); + this.phaseFieldSpecified = value; + this.RaisePropertyChanged("phaseSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public bool reconcileAttributes { + [System.Xml.Serialization.XmlElementAttribute("object", Order=4)] + public ObjectSpecificationType[] @object { get { - return this.reconcileAttributesField; + return this.objectField; } set { - this.reconcileAttributesField = value; - this.RaisePropertyChanged("reconcileAttributes"); + this.objectField = value; + this.RaisePropertyChanged("object"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool reconcileAttributesSpecified { + [System.Xml.Serialization.XmlElementAttribute("item", Order=5)] + public ItemPathType[] item { get { - return this.reconcileAttributesFieldSpecified; + return this.itemField; } set { - this.reconcileAttributesFieldSpecified = value; - this.RaisePropertyChanged("reconcileAttributesSpecified"); + this.itemField = value; + this.RaisePropertyChanged("item"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool opportunistic { + [System.Xml.Serialization.XmlElementAttribute("target", Order=6)] + public ObjectSpecificationType[] target { get { - return this.opportunisticField; + return this.targetField; } set { - this.opportunisticField = value; - this.RaisePropertyChanged("opportunistic"); + this.targetField = value; + this.RaisePropertyChanged("target"); } } /// - [System.Xml.Serialization.XmlElementAttribute("reaction", IsNullable=true, Order=7)] - public ObjectSynchronizationTypeReaction[] reaction { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { - return this.reactionField; + return this.idField; } set { - this.reactionField = value; - this.RaisePropertyChanged("reaction"); + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -7076,20 +7092,54 @@ public partial class ObjectSynchronizationType : object, System.ComponentModel.I } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum AuthorizationDecisionType { + + /// + allow, + + /// + deny, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum AuthorizationPhaseType { + + /// + request, + + /// + execution, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-2")] - public partial class QueryType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ObjectSpecificationType : object, System.ComponentModel.INotifyPropertyChanged { private string descriptionField; - private object conditionField; + private System.Xml.XmlQualifiedName typeField; + + private ObjectReferenceType orgRefField; - private System.Xml.XmlElement anyField; + private SearchFilterType filterField; - private PagingType pagingField; + private SpecialObjectSpecificationType[] specialField; + + private ObjectSpecificationType ownerField; + + private long idField; + + private bool idFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] @@ -7105,37 +7155,85 @@ public partial class QueryType : object, System.ComponentModel.INotifyPropertyCh /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public object condition { + public System.Xml.XmlQualifiedName type { get { - return this.conditionField; + return this.typeField; } set { - this.conditionField = value; - this.RaisePropertyChanged("condition"); + this.typeField = value; + this.RaisePropertyChanged("type"); } } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=2)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ObjectReferenceType orgRef { get { - return this.anyField; + return this.orgRefField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.orgRefField = value; + this.RaisePropertyChanged("orgRef"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public PagingType paging { + public SearchFilterType filter { get { - return this.pagingField; + return this.filterField; } set { - this.pagingField = value; - this.RaisePropertyChanged("paging"); + this.filterField = value; + this.RaisePropertyChanged("filter"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("special", Order=4)] + public SpecialObjectSpecificationType[] special { + get { + return this.specialField; + } + set { + this.specialField = value; + this.RaisePropertyChanged("special"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public ObjectSpecificationType owner { + get { + return this.ownerField; + } + set { + this.ownerField = value; + this.RaisePropertyChanged("owner"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -7150,20 +7248,34 @@ public partial class QueryType : object, System.ComponentModel.INotifyPropertyCh } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum SpecialObjectSpecificationType { + + /// + self, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ObjectSynchronizationTypeReaction : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ExclusionType : object, System.ComponentModel.INotifyPropertyChanged { private string descriptionField; - private SynchronizationSituationType situationField; + private ObjectReferenceType targetRefField; - private string[] channelField; + private ExclusionPolicyType policyField; + + private bool policyFieldSpecified; + + private long idField; - private ObjectSynchronizationTypeReactionAction[] actionField; + private bool idFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] @@ -7179,37 +7291,61 @@ public partial class ObjectSynchronizationTypeReaction : object, System.Componen /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public SynchronizationSituationType situation { + public ObjectReferenceType targetRef { get { - return this.situationField; + return this.targetRefField; } set { - this.situationField = value; - this.RaisePropertyChanged("situation"); + this.targetRefField = value; + this.RaisePropertyChanged("targetRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute("channel", DataType="anyURI", IsNullable=true, Order=2)] - public string[] channel { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ExclusionPolicyType policy { get { - return this.channelField; + return this.policyField; } set { - this.channelField = value; - this.RaisePropertyChanged("channel"); + this.policyField = value; + this.RaisePropertyChanged("policy"); } } /// - [System.Xml.Serialization.XmlElementAttribute("action", IsNullable=true, Order=3)] - public ObjectSynchronizationTypeReactionAction[] action { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool policySpecified { get { - return this.actionField; + return this.policyFieldSpecified; } set { - this.actionField = value; - this.RaisePropertyChanged("action"); + this.policyFieldSpecified = value; + this.RaisePropertyChanged("policySpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -7224,60 +7360,68 @@ public partial class ObjectSynchronizationTypeReaction : object, System.Componen } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum SynchronizationSituationType { - - /// - deleted, - - /// - unmatched, + public enum ExclusionPolicyType { /// - disputed, + enforce, /// - linked, + approve, /// - unlinked, + report, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ObjectSynchronizationTypeReactionAction : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ApprovalSchemaType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private string nameField; - private string refField; + private string descriptionField; + + private ApprovalLevelType[] levelField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { get { - return this.anyField; + return this.nameField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string @ref { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { get { - return this.refField; + return this.descriptionField; } set { - this.refField = value; - this.RaisePropertyChanged("ref"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("level", Order=2)] + public ApprovalLevelType[] level { + get { + return this.levelField; + } + set { + this.levelField = value; + this.RaisePropertyChanged("level"); } } @@ -7292,49 +7436,53 @@ public partial class ObjectSynchronizationTypeReactionAction : object, System.Co } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ResourceBusinessConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ApprovalLevelType : object, System.ComponentModel.INotifyPropertyChanged { - private ResourceAdministrativeStateType administrativeStateField; + private string nameField; - private bool administrativeStateFieldSpecified; + private string descriptionField; private ObjectReferenceType[] approverRefField; - private long idField; + private ExpressionType[] approverExpressionField; - private bool idFieldSpecified; + private LevelEvaluationStrategyType evaluationStrategyField; + + private bool evaluationStrategyFieldSpecified; + + private ExpressionType automaticallyApprovedField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ResourceAdministrativeStateType administrativeState { + public string name { get { - return this.administrativeStateField; + return this.nameField; } set { - this.administrativeStateField = value; - this.RaisePropertyChanged("administrativeState"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool administrativeStateSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { get { - return this.administrativeStateFieldSpecified; + return this.descriptionField; } set { - this.administrativeStateFieldSpecified = value; - this.RaisePropertyChanged("administrativeStateSpecified"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlElementAttribute("approverRef", Order=1)] + [System.Xml.Serialization.XmlElementAttribute("approverRef", Order=2)] public ObjectReferenceType[] approverRef { get { return this.approverRefField; @@ -7346,26 +7494,50 @@ public partial class ResourceBusinessConfigurationType : object, System.Componen } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute("approverExpression", Order=3)] + public ExpressionType[] approverExpression { get { - return this.idField; + return this.approverExpressionField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.approverExpressionField = value; + this.RaisePropertyChanged("approverExpression"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public LevelEvaluationStrategyType evaluationStrategy { + get { + return this.evaluationStrategyField; + } + set { + this.evaluationStrategyField = value; + this.RaisePropertyChanged("evaluationStrategy"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + public bool evaluationStrategySpecified { get { - return this.idFieldSpecified; + return this.evaluationStrategyFieldSpecified; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.evaluationStrategyFieldSpecified = value; + this.RaisePropertyChanged("evaluationStrategySpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public ExpressionType automaticallyApproved { + get { + return this.automaticallyApprovedField; + } + set { + this.automaticallyApprovedField = value; + this.RaisePropertyChanged("automaticallyApproved"); } } @@ -7380,1526 +7552,1879 @@ public partial class ResourceBusinessConfigurationType : object, System.Componen } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ResourceAdministrativeStateType { + public enum LevelEvaluationStrategyType { /// - enabled, + allMustApprove, /// - disabled, + firstDecides, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ActivationType : object, System.ComponentModel.INotifyPropertyChanged { - - private bool enabledField; - - private bool enabledFieldSpecified; - - private ActivationStatusType administrativeStatusField; - - private bool administrativeStatusFieldSpecified; - - private ActivationStatusType effectiveStatusField; - - private bool effectiveStatusFieldSpecified; - - private System.DateTime validFromField; - - private bool validFromFieldSpecified; - - private System.DateTime validToField; - - private bool validToFieldSpecified; - - private TimeIntervalStatusType validityStatusField; - - private bool validityStatusFieldSpecified; - - private System.DateTime disableTimestampField; - - private bool disableTimestampFieldSpecified; - - private System.DateTime enableTimestampField; - - private bool enableTimestampFieldSpecified; - - private System.DateTime archiveTimestampField; - - private bool archiveTimestampFieldSpecified; - - private System.DateTime validityChangeTimestampField; - - private bool validityChangeTimestampFieldSpecified; - - private long idField; + public partial class RoleType : AbstractRoleType { - private bool idFieldSpecified; + private string roleTypeField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public bool enabled { + public string roleType { get { - return this.enabledField; + return this.roleTypeField; } set { - this.enabledField = value; - this.RaisePropertyChanged("enabled"); + this.roleTypeField = value; + this.RaisePropertyChanged("roleType"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class TriggerType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool enabledSpecified { - get { - return this.enabledFieldSpecified; - } - set { - this.enabledFieldSpecified = value; - this.RaisePropertyChanged("enabledSpecified"); - } - } + private System.DateTime timestampField; + + private string handlerUriField; + + private long idField; + + private bool idFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ActivationStatusType administrativeStatus { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime timestamp { get { - return this.administrativeStatusField; + return this.timestampField; } set { - this.administrativeStatusField = value; - this.RaisePropertyChanged("administrativeStatus"); + this.timestampField = value; + this.RaisePropertyChanged("timestamp"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool administrativeStatusSpecified { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=1)] + public string handlerUri { get { - return this.administrativeStatusFieldSpecified; + return this.handlerUriField; } set { - this.administrativeStatusFieldSpecified = value; - this.RaisePropertyChanged("administrativeStatusSpecified"); + this.handlerUriField = value; + this.RaisePropertyChanged("handlerUri"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ActivationStatusType effectiveStatus { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { - return this.effectiveStatusField; + return this.idField; } set { - this.effectiveStatusField = value; - this.RaisePropertyChanged("effectiveStatus"); + this.idField = value; + this.RaisePropertyChanged("id"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool effectiveStatusSpecified { + public bool idSpecified { get { - return this.effectiveStatusFieldSpecified; + return this.idFieldSpecified; } set { - this.effectiveStatusFieldSpecified = value; - this.RaisePropertyChanged("effectiveStatusSpecified"); + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public System.DateTime validFrom { - get { - return this.validFromField; - } - set { - this.validFromField = value; - this.RaisePropertyChanged("validFrom"); - } - } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool validFromSpecified { - get { - return this.validFromFieldSpecified; - } - set { - this.validFromFieldSpecified = value; - this.RaisePropertyChanged("validFromSpecified"); + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public System.DateTime validTo { - get { - return this.validToField; - } - set { - this.validToField = value; - this.RaisePropertyChanged("validTo"); + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectType1))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WfProcessInstanceType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrackingDataType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WorkItemType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReportOutputType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReportType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SecurityPolicyType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SystemConfigurationType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ValuePolicyType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectTemplateType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NodeType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GenericObjectType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TaskType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConnectorHostType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConnectorType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ResourceType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ShadowType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FocusType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AbstractRoleType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrgType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ObjectType : object, System.ComponentModel.INotifyPropertyChanged { + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class WfProcessInstanceType : ObjectType1 { + + private string processInstanceIdField; + + private System.DateTime startTimestampField; + + private bool startTimestampFieldSpecified; + + private System.DateTime endTimestampField; + + private bool endTimestampFieldSpecified; + + private bool finishedField; + + private bool finishedFieldSpecified; + + private string answerField; + + private ObjectType1 stateField; + + private ObjectReferenceType stateRefField; + + private WorkItemType[] workItemsField; + + private ObjectReferenceType[] workItemsRefField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool validToSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string processInstanceId { get { - return this.validToFieldSpecified; + return this.processInstanceIdField; } set { - this.validToFieldSpecified = value; - this.RaisePropertyChanged("validToSpecified"); + this.processInstanceIdField = value; + this.RaisePropertyChanged("processInstanceId"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public TimeIntervalStatusType validityStatus { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime startTimestamp { get { - return this.validityStatusField; + return this.startTimestampField; } set { - this.validityStatusField = value; - this.RaisePropertyChanged("validityStatus"); + this.startTimestampField = value; + this.RaisePropertyChanged("startTimestamp"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool validityStatusSpecified { + public bool startTimestampSpecified { get { - return this.validityStatusFieldSpecified; + return this.startTimestampFieldSpecified; } set { - this.validityStatusFieldSpecified = value; - this.RaisePropertyChanged("validityStatusSpecified"); + this.startTimestampFieldSpecified = value; + this.RaisePropertyChanged("startTimestampSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public System.DateTime disableTimestamp { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime endTimestamp { get { - return this.disableTimestampField; + return this.endTimestampField; } set { - this.disableTimestampField = value; - this.RaisePropertyChanged("disableTimestamp"); + this.endTimestampField = value; + this.RaisePropertyChanged("endTimestamp"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool disableTimestampSpecified { + public bool endTimestampSpecified { get { - return this.disableTimestampFieldSpecified; + return this.endTimestampFieldSpecified; } set { - this.disableTimestampFieldSpecified = value; - this.RaisePropertyChanged("disableTimestampSpecified"); + this.endTimestampFieldSpecified = value; + this.RaisePropertyChanged("endTimestampSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public System.DateTime enableTimestamp { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool finished { get { - return this.enableTimestampField; + return this.finishedField; } set { - this.enableTimestampField = value; - this.RaisePropertyChanged("enableTimestamp"); + this.finishedField = value; + this.RaisePropertyChanged("finished"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool enableTimestampSpecified { - get { - return this.enableTimestampFieldSpecified; - } - set { - this.enableTimestampFieldSpecified = value; - this.RaisePropertyChanged("enableTimestampSpecified"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public System.DateTime archiveTimestamp { + public bool finishedSpecified { get { - return this.archiveTimestampField; + return this.finishedFieldSpecified; } set { - this.archiveTimestampField = value; - this.RaisePropertyChanged("archiveTimestamp"); + this.finishedFieldSpecified = value; + this.RaisePropertyChanged("finishedSpecified"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool archiveTimestampSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string answer { get { - return this.archiveTimestampFieldSpecified; + return this.answerField; } set { - this.archiveTimestampFieldSpecified = value; - this.RaisePropertyChanged("archiveTimestampSpecified"); + this.answerField = value; + this.RaisePropertyChanged("answer"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public System.DateTime validityChangeTimestamp { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public ObjectType1 state { get { - return this.validityChangeTimestampField; + return this.stateField; } set { - this.validityChangeTimestampField = value; - this.RaisePropertyChanged("validityChangeTimestamp"); + this.stateField = value; + this.RaisePropertyChanged("state"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool validityChangeTimestampSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ObjectReferenceType stateRef { get { - return this.validityChangeTimestampFieldSpecified; + return this.stateRefField; } set { - this.validityChangeTimestampFieldSpecified = value; - this.RaisePropertyChanged("validityChangeTimestampSpecified"); + this.stateRefField = value; + this.RaisePropertyChanged("stateRef"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute("workItems", Order=7)] + public WorkItemType[] workItems { get { - return this.idField; + return this.workItemsField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.workItemsField = value; + this.RaisePropertyChanged("workItems"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlElementAttribute("workItemsRef", Order=8)] + public ObjectReferenceType[] workItemsRef { get { - return this.idFieldSpecified; + return this.workItemsRefField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.workItemsRefField = value; + this.RaisePropertyChanged("workItemsRef"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ActivationStatusType { + public partial class WorkItemType : ObjectType1 { - /// - enabled, + private string workItemIdField; - /// - disabled, + private string processInstanceIdField; - /// - archived, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum TimeIntervalStatusType { + private string changeProcessorField; - /// - before, + private UserType assigneeField; - /// - @in, + private ObjectReferenceType assigneeRefField; - /// - after, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AuthorizationType : object, System.ComponentModel.INotifyPropertyChanged { + private UserType[] candidateUsersField; - private string descriptionField; + private ObjectReferenceType[] candidateUsersRefField; - private AuthorizationDecisionType decisionField; + private AbstractRoleType[] candidateRolesField; - private string[] actionField; + private ObjectReferenceType[] candidateRolesRefField; - private long idField; + private UserType requesterField; - private bool idFieldSpecified; + private ObjectReferenceType requesterRefField; - public AuthorizationType() { - this.decisionField = AuthorizationDecisionType.allow; - } + private ObjectType1 contentsField; + + private ObjectReferenceType contentsRefField; + + private TrackingDataType trackingDataField; + + private ObjectReferenceType trackingDataRefField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + public string workItemId { get { - return this.descriptionField; + return this.workItemIdField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.workItemIdField = value; + this.RaisePropertyChanged("workItemId"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(AuthorizationDecisionType.allow)] - public AuthorizationDecisionType decision { + public string processInstanceId { get { - return this.decisionField; + return this.processInstanceIdField; } set { - this.decisionField = value; - this.RaisePropertyChanged("decision"); + this.processInstanceIdField = value; + this.RaisePropertyChanged("processInstanceId"); } } /// - [System.Xml.Serialization.XmlElementAttribute("action", DataType="anyURI", Order=2)] - public string[] action { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string changeProcessor { get { - return this.actionField; + return this.changeProcessorField; } set { - this.actionField = value; - this.RaisePropertyChanged("action"); + this.changeProcessorField = value; + this.RaisePropertyChanged("changeProcessor"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public UserType assignee { get { - return this.idField; + return this.assigneeField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.assigneeField = value; + this.RaisePropertyChanged("assignee"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public ObjectReferenceType assigneeRef { get { - return this.idFieldSpecified; + return this.assigneeRefField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.assigneeRefField = value; + this.RaisePropertyChanged("assigneeRef"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute("candidateUsers", Order=5)] + public UserType[] candidateUsers { + get { + return this.candidateUsersField; + } + set { + this.candidateUsersField = value; + this.RaisePropertyChanged("candidateUsers"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum AuthorizationDecisionType { /// - allow, + [System.Xml.Serialization.XmlElementAttribute("candidateUsersRef", Order=6)] + public ObjectReferenceType[] candidateUsersRef { + get { + return this.candidateUsersRefField; + } + set { + this.candidateUsersRefField = value; + this.RaisePropertyChanged("candidateUsersRef"); + } + } /// - deny, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ExclusionType : object, System.ComponentModel.INotifyPropertyChanged { - - private string descriptionField; + [System.Xml.Serialization.XmlElementAttribute("candidateRoles", Order=7)] + public AbstractRoleType[] candidateRoles { + get { + return this.candidateRolesField; + } + set { + this.candidateRolesField = value; + this.RaisePropertyChanged("candidateRoles"); + } + } - private ObjectReferenceType targetRefField; + /// + [System.Xml.Serialization.XmlElementAttribute("candidateRolesRef", Order=8)] + public ObjectReferenceType[] candidateRolesRef { + get { + return this.candidateRolesRefField; + } + set { + this.candidateRolesRefField = value; + this.RaisePropertyChanged("candidateRolesRef"); + } + } - private ExclusionPolicyType policyField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public UserType requester { + get { + return this.requesterField; + } + set { + this.requesterField = value; + this.RaisePropertyChanged("requester"); + } + } - private bool policyFieldSpecified; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public ObjectReferenceType requesterRef { + get { + return this.requesterRefField; + } + set { + this.requesterRefField = value; + this.RaisePropertyChanged("requesterRef"); + } + } - private long idField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public ObjectType1 contents { + get { + return this.contentsField; + } + set { + this.contentsField = value; + this.RaisePropertyChanged("contents"); + } + } - private bool idFieldSpecified; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public ObjectReferenceType contentsRef { + get { + return this.contentsRefField; + } + set { + this.contentsRefField = value; + this.RaisePropertyChanged("contentsRef"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public TrackingDataType trackingData { get { - return this.descriptionField; + return this.trackingDataField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.trackingDataField = value; + this.RaisePropertyChanged("trackingData"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ObjectReferenceType targetRef { + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public ObjectReferenceType trackingDataRef { get { - return this.targetRefField; + return this.trackingDataRefField; } set { - this.targetRefField = value; - this.RaisePropertyChanged("targetRef"); + this.trackingDataRefField = value; + this.RaisePropertyChanged("trackingDataRef"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class TrackingDataType : ObjectType1 { + + private string taskIdField; + + private string processInstanceIdField; + + private string executionIdField; + + private string taskOwnerField; + + private string taskAssigneeField; + + private string taskCandidatesField; + + private string processDefinitionKeyField; + + private string processDefinitionIdField; + + private string shadowTaskOidField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ExclusionPolicyType policy { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string taskId { get { - return this.policyField; + return this.taskIdField; } set { - this.policyField = value; - this.RaisePropertyChanged("policy"); + this.taskIdField = value; + this.RaisePropertyChanged("taskId"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool policySpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string processInstanceId { get { - return this.policyFieldSpecified; + return this.processInstanceIdField; } set { - this.policyFieldSpecified = value; - this.RaisePropertyChanged("policySpecified"); + this.processInstanceIdField = value; + this.RaisePropertyChanged("processInstanceId"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string executionId { get { - return this.idField; + return this.executionIdField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.executionIdField = value; + this.RaisePropertyChanged("executionId"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string taskOwner { get { - return this.idFieldSpecified; + return this.taskOwnerField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.taskOwnerField = value; + this.RaisePropertyChanged("taskOwner"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string taskAssignee { + get { + return this.taskAssigneeField; + } + set { + this.taskAssigneeField = value; + this.RaisePropertyChanged("taskAssignee"); + } + } - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string taskCandidates { + get { + return this.taskCandidatesField; + } + set { + this.taskCandidatesField = value; + this.RaisePropertyChanged("taskCandidates"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ExclusionPolicyType { /// - enforce, + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string processDefinitionKey { + get { + return this.processDefinitionKeyField; + } + set { + this.processDefinitionKeyField = value; + this.RaisePropertyChanged("processDefinitionKey"); + } + } /// - approve, + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string processDefinitionId { + get { + return this.processDefinitionIdField; + } + set { + this.processDefinitionIdField = value; + this.RaisePropertyChanged("processDefinitionId"); + } + } /// - report, + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string shadowTaskOid { + get { + return this.shadowTaskOidField; + } + set { + this.shadowTaskOidField = value; + this.RaisePropertyChanged("shadowTaskOid"); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ApprovalSchemaType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ReportOutputType : ObjectType1 { - private string nameField; + private string filePathField; - private string descriptionField; + private ReportType reportField; - private ApprovalLevelType[] levelField; + private ObjectReferenceType reportRefField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string name { + public string filePath { get { - return this.nameField; + return this.filePathField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.filePathField = value; + this.RaisePropertyChanged("filePath"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string description { + public ReportType report { get { - return this.descriptionField; + return this.reportField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.reportField = value; + this.RaisePropertyChanged("report"); } } /// - [System.Xml.Serialization.XmlElementAttribute("level", Order=2)] - public ApprovalLevelType[] level { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ObjectReferenceType reportRef { get { - return this.levelField; + return this.reportRefField; } set { - this.levelField = value; - this.RaisePropertyChanged("level"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.reportRefField = value; + this.RaisePropertyChanged("reportRef"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ApprovalLevelType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ReportType : ObjectType1 { - private string nameField; + private bool parentField; - private string descriptionField; + private SubreportType[] subreportField; - private ObjectReferenceType[] approverRefField; + private byte[] templateField; - private ExpressionType[] approverExpressionField; + private byte[] templateStyleField; - private LevelEvaluationStrategyType evaluationStrategyField; + private OrientationType orientationField; - private bool evaluationStrategyFieldSpecified; + private bool orientationFieldSpecified; - private ExpressionType automaticallyApprovedField; + private ExportType exportField; + + private bool exportFieldSpecified; + + private bool useHibernateSessionField; + + private DataSourceType dataSourceField; + + private ReportFieldConfigurationType[] fieldField; + + private ReportConfigurationType configurationField; + + private XmlSchemaType configurationSchemaField; + + public ReportType() { + this.parentField = true; + this.useHibernateSessionField = false; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string name { + [System.ComponentModel.DefaultValueAttribute(true)] + public bool parent { get { - return this.nameField; + return this.parentField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.parentField = value; + this.RaisePropertyChanged("parent"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string description { + [System.Xml.Serialization.XmlElementAttribute("subreport", Order=1)] + public SubreportType[] subreport { get { - return this.descriptionField; + return this.subreportField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.subreportField = value; + this.RaisePropertyChanged("subreport"); } } /// - [System.Xml.Serialization.XmlElementAttribute("approverRef", Order=2)] - public ObjectReferenceType[] approverRef { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] template { get { - return this.approverRefField; + return this.templateField; } set { - this.approverRefField = value; - this.RaisePropertyChanged("approverRef"); + this.templateField = value; + this.RaisePropertyChanged("template"); } } /// - [System.Xml.Serialization.XmlElementAttribute("approverExpression", Order=3)] - public ExpressionType[] approverExpression { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] + public byte[] templateStyle { get { - return this.approverExpressionField; + return this.templateStyleField; } set { - this.approverExpressionField = value; - this.RaisePropertyChanged("approverExpression"); + this.templateStyleField = value; + this.RaisePropertyChanged("templateStyle"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public LevelEvaluationStrategyType evaluationStrategy { + public OrientationType orientation { get { - return this.evaluationStrategyField; + return this.orientationField; } set { - this.evaluationStrategyField = value; - this.RaisePropertyChanged("evaluationStrategy"); + this.orientationField = value; + this.RaisePropertyChanged("orientation"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool evaluationStrategySpecified { + public bool orientationSpecified { get { - return this.evaluationStrategyFieldSpecified; + return this.orientationFieldSpecified; } set { - this.evaluationStrategyFieldSpecified = value; - this.RaisePropertyChanged("evaluationStrategySpecified"); + this.orientationFieldSpecified = value; + this.RaisePropertyChanged("orientationSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public ExpressionType automaticallyApproved { + public ExportType export { get { - return this.automaticallyApprovedField; + return this.exportField; } set { - this.automaticallyApprovedField = value; - this.RaisePropertyChanged("automaticallyApproved"); + this.exportField = value; + this.RaisePropertyChanged("export"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool exportSpecified { + get { + return this.exportFieldSpecified; + } + set { + this.exportFieldSpecified = value; + this.RaisePropertyChanged("exportSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum LevelEvaluationStrategyType { /// - allMustApprove, + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool useHibernateSession { + get { + return this.useHibernateSessionField; + } + set { + this.useHibernateSessionField = value; + this.RaisePropertyChanged("useHibernateSession"); + } + } /// - firstDecides, - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(AbstractRoleType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoleType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(OrgType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public abstract partial class FocusType : ObjectType { - - private ShadowType[] linkField; - - private ObjectReferenceType[] linkRefField; - - private AssignmentType[] assignmentField; + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public DataSourceType dataSource { + get { + return this.dataSourceField; + } + set { + this.dataSourceField = value; + this.RaisePropertyChanged("dataSource"); + } + } - private ActivationType activationField; + /// + [System.Xml.Serialization.XmlElementAttribute("field", Order=8)] + public ReportFieldConfigurationType[] field { + get { + return this.fieldField; + } + set { + this.fieldField = value; + this.RaisePropertyChanged("field"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute("link", Order=0)] - public ShadowType[] link { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public ReportConfigurationType configuration { get { - return this.linkField; + return this.configurationField; } set { - this.linkField = value; - this.RaisePropertyChanged("link"); + this.configurationField = value; + this.RaisePropertyChanged("configuration"); } } /// - [System.Xml.Serialization.XmlElementAttribute("linkRef", Order=1)] - public ObjectReferenceType[] linkRef { + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public XmlSchemaType configurationSchema { get { - return this.linkRefField; + return this.configurationSchemaField; } set { - this.linkRefField = value; - this.RaisePropertyChanged("linkRef"); + this.configurationSchemaField = value; + this.RaisePropertyChanged("configurationSchema"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SubreportType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + private ObjectReferenceType reportRefField; /// - [System.Xml.Serialization.XmlElementAttribute("assignment", Order=2)] - public AssignmentType[] assignment { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { get { - return this.assignmentField; + return this.nameField; } set { - this.assignmentField = value; - this.RaisePropertyChanged("assignment"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ActivationType activation { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ObjectReferenceType reportRef { get { - return this.activationField; + return this.reportRefField; } set { - this.activationField = value; - this.RaisePropertyChanged("activation"); + this.reportRefField = value; + this.RaisePropertyChanged("reportRef"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(AccountShadowType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ShadowType : ObjectType { + public enum OrientationType { - private ObjectReferenceType resourceRefField; + /// + landscape, - private ResourceType resourceField; + /// + portrait, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ExportType { - private OperationResultType resultField; + /// + pdf, - private ObjectDeltaType objectChangeField; + /// + csv, - private int attemptNumberField; + /// + xml, - private bool attemptNumberFieldSpecified; + /// + xmlEmbed, - private FailedOperationTypeType failedOperationTypeField; + /// + html, - private bool failedOperationTypeFieldSpecified; + /// + rtf, - private bool deadField; + /// + xls, - private bool deadFieldSpecified; + /// + odt, - private SynchronizationSituationType synchronizationSituationField; + /// + ods, - private bool synchronizationSituationFieldSpecified; + /// + docx, - private System.DateTime synchronizationTimestampField; + /// + xlsx, - private bool synchronizationTimestampFieldSpecified; + /// + pptx, - private System.DateTime fullSynchronizationTimestampField; + /// + xhtml, - private bool fullSynchronizationTimestampFieldSpecified; + /// + jxl, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class DataSourceType : object, System.ComponentModel.INotifyPropertyChanged { - private SynchronizationSituationDescriptionType[] synchronizationSituationDescriptionField; + private string providerClassField; - private System.Xml.XmlQualifiedName objectClassField; + private bool springBeanField; - private ShadowKindType kindField; + public DataSourceType() { + this.springBeanField = false; + } - private bool kindFieldSpecified; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string providerClass { + get { + return this.providerClassField; + } + set { + this.providerClassField = value; + this.RaisePropertyChanged("providerClass"); + } + } - private string intentField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool springBean { + get { + return this.springBeanField; + } + set { + this.springBeanField = value; + this.RaisePropertyChanged("springBean"); + } + } - private bool protectedObjectField; + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - private bool ignoredField; + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ReportFieldConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private bool assignedField; + private string nameReportField; - private bool existsField; + private string nameHeaderField; - private int iterationField; + private ItemPathType itemPathField; - private bool iterationFieldSpecified; + private int sortOrderNumberField; - private string iterationTokenField; + private bool sortOrderNumberFieldSpecified; - private ShadowAttributesType attributesField; + private OrderDirectionType sortOrderField; - private ShadowAssociationType[] associationField; + private bool sortOrderFieldSpecified; - private ActivationType activationField; + private int widthField; - private CredentialsType credentialsField; + private bool widthFieldSpecified; - public ShadowType() { - this.protectedObjectField = false; - this.ignoredField = false; - this.assignedField = false; - this.existsField = false; - } + private System.Xml.XmlQualifiedName classTypeField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ObjectReferenceType resourceRef { + public string nameReport { get { - return this.resourceRefField; + return this.nameReportField; } set { - this.resourceRefField = value; - this.RaisePropertyChanged("resourceRef"); + this.nameReportField = value; + this.RaisePropertyChanged("nameReport"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ResourceType resource { + public string nameHeader { get { - return this.resourceField; + return this.nameHeaderField; } set { - this.resourceField = value; - this.RaisePropertyChanged("resource"); + this.nameHeaderField = value; + this.RaisePropertyChanged("nameHeader"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public OperationResultType result { + public ItemPathType itemPath { get { - return this.resultField; + return this.itemPathField; } set { - this.resultField = value; - this.RaisePropertyChanged("result"); + this.itemPathField = value; + this.RaisePropertyChanged("itemPath"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ObjectDeltaType objectChange { + public int sortOrderNumber { get { - return this.objectChangeField; + return this.sortOrderNumberField; } set { - this.objectChangeField = value; - this.RaisePropertyChanged("objectChange"); + this.sortOrderNumberField = value; + this.RaisePropertyChanged("sortOrderNumber"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool sortOrderNumberSpecified { + get { + return this.sortOrderNumberFieldSpecified; + } + set { + this.sortOrderNumberFieldSpecified = value; + this.RaisePropertyChanged("sortOrderNumberSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public int attemptNumber { + public OrderDirectionType sortOrder { get { - return this.attemptNumberField; + return this.sortOrderField; } set { - this.attemptNumberField = value; - this.RaisePropertyChanged("attemptNumber"); + this.sortOrderField = value; + this.RaisePropertyChanged("sortOrder"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool attemptNumberSpecified { + public bool sortOrderSpecified { get { - return this.attemptNumberFieldSpecified; + return this.sortOrderFieldSpecified; } set { - this.attemptNumberFieldSpecified = value; - this.RaisePropertyChanged("attemptNumberSpecified"); + this.sortOrderFieldSpecified = value; + this.RaisePropertyChanged("sortOrderSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public FailedOperationTypeType failedOperationType { + public int width { get { - return this.failedOperationTypeField; + return this.widthField; } set { - this.failedOperationTypeField = value; - this.RaisePropertyChanged("failedOperationType"); + this.widthField = value; + this.RaisePropertyChanged("width"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool failedOperationTypeSpecified { + public bool widthSpecified { get { - return this.failedOperationTypeFieldSpecified; + return this.widthFieldSpecified; } set { - this.failedOperationTypeFieldSpecified = value; - this.RaisePropertyChanged("failedOperationTypeSpecified"); + this.widthFieldSpecified = value; + this.RaisePropertyChanged("widthSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public bool dead { + public System.Xml.XmlQualifiedName classType { get { - return this.deadField; + return this.classTypeField; } set { - this.deadField = value; - this.RaisePropertyChanged("dead"); + this.classTypeField = value; + this.RaisePropertyChanged("classType"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool deadSpecified { - get { - return this.deadFieldSpecified; - } - set { - this.deadFieldSpecified = value; - this.RaisePropertyChanged("deadSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public enum OrderDirectionType { /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public SynchronizationSituationType synchronizationSituation { + ascending, + + /// + descending, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ReportConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.synchronizationSituationField; + return this.anyField; } set { - this.synchronizationSituationField = value; - this.RaisePropertyChanged("synchronizationSituation"); + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class XmlSchemaType : object, System.ComponentModel.INotifyPropertyChanged { + + private CachingMetadataType cachingMetadataField; + + private System.Xml.XmlQualifiedName[] generationConstraintsField; + + private SchemaDefinitionType definitionField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool synchronizationSituationSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CachingMetadataType cachingMetadata { get { - return this.synchronizationSituationFieldSpecified; + return this.cachingMetadataField; } set { - this.synchronizationSituationFieldSpecified = value; - this.RaisePropertyChanged("synchronizationSituationSpecified"); + this.cachingMetadataField = value; + this.RaisePropertyChanged("cachingMetadata"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public System.DateTime synchronizationTimestamp { + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("generateObjectClass", IsNullable=false)] + public System.Xml.XmlQualifiedName[] generationConstraints { get { - return this.synchronizationTimestampField; + return this.generationConstraintsField; } set { - this.synchronizationTimestampField = value; - this.RaisePropertyChanged("synchronizationTimestamp"); + this.generationConstraintsField = value; + this.RaisePropertyChanged("generationConstraints"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool synchronizationTimestampSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public SchemaDefinitionType definition { get { - return this.synchronizationTimestampFieldSpecified; + return this.definitionField; } set { - this.synchronizationTimestampFieldSpecified = value; - this.RaisePropertyChanged("synchronizationTimestampSpecified"); + this.definitionField = value; + this.RaisePropertyChanged("definition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class CachingMetadataType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime retrievalTimestampField; + + private bool retrievalTimestampFieldSpecified; + + private string serialNumberField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public System.DateTime fullSynchronizationTimestamp { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime retrievalTimestamp { get { - return this.fullSynchronizationTimestampField; + return this.retrievalTimestampField; } set { - this.fullSynchronizationTimestampField = value; - this.RaisePropertyChanged("fullSynchronizationTimestamp"); + this.retrievalTimestampField = value; + this.RaisePropertyChanged("retrievalTimestamp"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool fullSynchronizationTimestampSpecified { + public bool retrievalTimestampSpecified { get { - return this.fullSynchronizationTimestampFieldSpecified; + return this.retrievalTimestampFieldSpecified; } set { - this.fullSynchronizationTimestampFieldSpecified = value; - this.RaisePropertyChanged("fullSynchronizationTimestampSpecified"); + this.retrievalTimestampFieldSpecified = value; + this.RaisePropertyChanged("retrievalTimestampSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute("synchronizationSituationDescription", Order=10)] - public SynchronizationSituationDescriptionType[] synchronizationSituationDescription { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string serialNumber { get { - return this.synchronizationSituationDescriptionField; + return this.serialNumberField; } set { - this.synchronizationSituationDescriptionField = value; - this.RaisePropertyChanged("synchronizationSituationDescription"); + this.serialNumberField = value; + this.RaisePropertyChanged("serialNumber"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - public System.Xml.XmlQualifiedName objectClass { - get { - return this.objectClassField; - } - set { - this.objectClassField = value; - this.RaisePropertyChanged("objectClass"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class SchemaDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=12)] - public ShadowKindType kind { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.kindField; + return this.anyField; } set { - this.kindField = value; - this.RaisePropertyChanged("kind"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool kindSpecified { - get { - return this.kindFieldSpecified; - } - set { - this.kindFieldSpecified = value; - this.RaisePropertyChanged("kindSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SecurityPolicyType : ObjectType1 { + + private AuthenticationPolicyType authenticationField; + + private CredentialsPolicyType credentialsField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=13)] - public string intent { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AuthenticationPolicyType authentication { get { - return this.intentField; + return this.authenticationField; } set { - this.intentField = value; - this.RaisePropertyChanged("intent"); + this.authenticationField = value; + this.RaisePropertyChanged("authentication"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=14)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool protectedObject { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public CredentialsPolicyType credentials { get { - return this.protectedObjectField; + return this.credentialsField; } set { - this.protectedObjectField = value; - this.RaisePropertyChanged("protectedObject"); + this.credentialsField = value; + this.RaisePropertyChanged("credentials"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class AuthenticationPolicyType : object, System.ComponentModel.INotifyPropertyChanged { + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class CredentialsPolicyType : object, System.ComponentModel.INotifyPropertyChanged { + + private PasswordCredentialsPolicyType passwordField; + + private SecurityQuestionDefinitionType[] securityQuestionsField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=15)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ignored { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public PasswordCredentialsPolicyType password { get { - return this.ignoredField; + return this.passwordField; } set { - this.ignoredField = value; - this.RaisePropertyChanged("ignored"); + this.passwordField = value; + this.RaisePropertyChanged("password"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=16)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool assigned { + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("question", IsNullable=false)] + public SecurityQuestionDefinitionType[] securityQuestions { get { - return this.assignedField; + return this.securityQuestionsField; } set { - this.assignedField = value; - this.RaisePropertyChanged("assigned"); + this.securityQuestionsField = value; + this.RaisePropertyChanged("securityQuestions"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=17)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool exists { - get { - return this.existsField; - } - set { - this.existsField = value; - this.RaisePropertyChanged("exists"); - } - } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=18)] - public int iteration { - get { - return this.iterationField; - } - set { - this.iterationField = value; - this.RaisePropertyChanged("iteration"); + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class PasswordCredentialsPolicyType : object, System.ComponentModel.INotifyPropertyChanged { + + private ObjectReferenceType passwordPolicyRefField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool iterationSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ObjectReferenceType passwordPolicyRef { get { - return this.iterationFieldSpecified; + return this.passwordPolicyRefField; } set { - this.iterationFieldSpecified = value; - this.RaisePropertyChanged("iterationSpecified"); + this.passwordPolicyRefField = value; + this.RaisePropertyChanged("passwordPolicyRef"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=19)] - public string iterationToken { - get { - return this.iterationTokenField; - } - set { - this.iterationTokenField = value; - this.RaisePropertyChanged("iterationToken"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SecurityQuestionDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlElementAttribute(Order=20)] - public ShadowAttributesType attributes { - get { - return this.attributesField; - } - set { - this.attributesField = value; - this.RaisePropertyChanged("attributes"); - } + private string identifierField; + + private bool enabledField; + + public SecurityQuestionDefinitionType() { + this.enabledField = true; } /// - [System.Xml.Serialization.XmlElementAttribute("association", Order=21)] - public ShadowAssociationType[] association { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] + public string identifier { get { - return this.associationField; + return this.identifierField; } set { - this.associationField = value; - this.RaisePropertyChanged("association"); + this.identifierField = value; + this.RaisePropertyChanged("identifier"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=22)] - public ActivationType activation { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool enabled { get { - return this.activationField; + return this.enabledField; } set { - this.activationField = value; - this.RaisePropertyChanged("activation"); + this.enabledField = value; + this.RaisePropertyChanged("enabled"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=23)] - public CredentialsType credentials { - get { - return this.credentialsField; - } - set { - this.credentialsField = value; - this.RaisePropertyChanged("credentials"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-2")] - public partial class ObjectDeltaType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SystemConfigurationType : ObjectType1 { - private ChangeTypeType changeTypeField; + private ProjectionPolicyType globalAccountSynchronizationSettingsField; - private System.Xml.XmlQualifiedName objectTypeField; + private ValuePolicyType globalPasswordPolicyField; + + private ObjectReferenceType globalPasswordPolicyRefField; - private System.Xml.XmlElement objectToAddField; + private ObjectReferenceType globalSecurityPolicyRefField; - private string oidField; + private ModelHooksType modelHooksField; + + private LoggingConfigurationType loggingField; + + private ObjectTemplateType defaultUserTemplateField; + + private ObjectReferenceType defaultUserTemplateRefField; + + private ObjectTypeTemplateType[] objectTemplateField; + + private ConnectorFrameworkConfigurationType[] connectorFrameworkField; - private ItemDeltaType[] modificationField; + private NotificationConfigurationType notificationConfigurationField; + + private ProfilingConfigurationType profilingConfigurationField; + + private CleanupPoliciesType cleanupPolicyField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ChangeTypeType changeType { + public ProjectionPolicyType globalAccountSynchronizationSettings { get { - return this.changeTypeField; + return this.globalAccountSynchronizationSettingsField; } set { - this.changeTypeField = value; - this.RaisePropertyChanged("changeType"); + this.globalAccountSynchronizationSettingsField = value; + this.RaisePropertyChanged("globalAccountSynchronizationSettings"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public System.Xml.XmlQualifiedName objectType { + public ValuePolicyType globalPasswordPolicy { get { - return this.objectTypeField; + return this.globalPasswordPolicyField; } set { - this.objectTypeField = value; - this.RaisePropertyChanged("objectType"); + this.globalPasswordPolicyField = value; + this.RaisePropertyChanged("globalPasswordPolicy"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public System.Xml.XmlElement objectToAdd { + public ObjectReferenceType globalPasswordPolicyRef { get { - return this.objectToAddField; + return this.globalPasswordPolicyRefField; } set { - this.objectToAddField = value; - this.RaisePropertyChanged("objectToAdd"); + this.globalPasswordPolicyRefField = value; + this.RaisePropertyChanged("globalPasswordPolicyRef"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string oid { + public ObjectReferenceType globalSecurityPolicyRef { get { - return this.oidField; + return this.globalSecurityPolicyRefField; } set { - this.oidField = value; - this.RaisePropertyChanged("oid"); + this.globalSecurityPolicyRefField = value; + this.RaisePropertyChanged("globalSecurityPolicyRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute("modification", IsNullable=true, Order=4)] - public ItemDeltaType[] modification { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public ModelHooksType modelHooks { get { - return this.modificationField; + return this.modelHooksField; } set { - this.modificationField = value; - this.RaisePropertyChanged("modification"); + this.modelHooksField = value; + this.RaisePropertyChanged("modelHooks"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public LoggingConfigurationType logging { + get { + return this.loggingField; + } + set { + this.loggingField = value; + this.RaisePropertyChanged("logging"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-2")] - public enum ChangeTypeType { - - /// - add, - - /// - modify, - - /// - delete, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-2")] - public partial class ItemDeltaType : object, System.ComponentModel.INotifyPropertyChanged { - - private ModificationTypeType modificationTypeField; - - private System.Xml.XmlElement anyField; - - private ItemDeltaTypeValue valueField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ModificationTypeType modificationType { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ObjectTemplateType defaultUserTemplate { get { - return this.modificationTypeField; + return this.defaultUserTemplateField; } set { - this.modificationTypeField = value; - this.RaisePropertyChanged("modificationType"); + this.defaultUserTemplateField = value; + this.RaisePropertyChanged("defaultUserTemplate"); } } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] - public System.Xml.XmlElement Any { + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public ObjectReferenceType defaultUserTemplateRef { get { - return this.anyField; + return this.defaultUserTemplateRefField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.defaultUserTemplateRefField = value; + this.RaisePropertyChanged("defaultUserTemplateRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ItemDeltaTypeValue value { + [System.Xml.Serialization.XmlElementAttribute("objectTemplate", Order=8)] + public ObjectTypeTemplateType[] objectTemplate { get { - return this.valueField; + return this.objectTemplateField; } set { - this.valueField = value; - this.RaisePropertyChanged("value"); + this.objectTemplateField = value; + this.RaisePropertyChanged("objectTemplate"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=9)] + [System.Xml.Serialization.XmlArrayItemAttribute("configuration", IsNullable=false)] + public ConnectorFrameworkConfigurationType[] connectorFramework { + get { + return this.connectorFrameworkField; + } + set { + this.connectorFrameworkField = value; + this.RaisePropertyChanged("connectorFramework"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-2")] - public enum ModificationTypeType { /// - add, + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public NotificationConfigurationType notificationConfiguration { + get { + return this.notificationConfigurationField; + } + set { + this.notificationConfigurationField = value; + this.RaisePropertyChanged("notificationConfiguration"); + } + } /// - replace, + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public ProfilingConfigurationType profilingConfiguration { + get { + return this.profilingConfigurationField; + } + set { + this.profilingConfigurationField = value; + this.RaisePropertyChanged("profilingConfiguration"); + } + } /// - delete, + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public CleanupPoliciesType cleanupPolicy { + get { + return this.cleanupPolicyField; + } + set { + this.cleanupPolicyField = value; + this.RaisePropertyChanged("cleanupPolicy"); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://prism.evolveum.com/xml/ns/public/types-2")] - public partial class ItemDeltaTypeValue : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ProjectionPolicyType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private AssignmentPolicyEnforcementType assignmentPolicyEnforcementField; + + private bool assignmentPolicyEnforcementFieldSpecified; + + private bool legalizeField; + + public ProjectionPolicyType() { + this.legalizeField = false; + } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AssignmentPolicyEnforcementType assignmentPolicyEnforcement { get { - return this.anyField; + return this.assignmentPolicyEnforcementField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.assignmentPolicyEnforcementField = value; + this.RaisePropertyChanged("assignmentPolicyEnforcement"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool assignmentPolicyEnforcementSpecified { + get { + return this.assignmentPolicyEnforcementFieldSpecified; + } + set { + this.assignmentPolicyEnforcementFieldSpecified = value; + this.RaisePropertyChanged("assignmentPolicyEnforcementSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool legalize { + get { + return this.legalizeField; + } + set { + this.legalizeField = value; + this.RaisePropertyChanged("legalize"); } } @@ -8914,99 +9439,149 @@ public partial class ItemDeltaTypeValue : object, System.ComponentModel.INotifyP } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum FailedOperationTypeType { + public enum AssignmentPolicyEnforcementType { /// - delete, + none, /// - add, + positive, /// - get, + full, /// - modify, + relative, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SynchronizationSituationDescriptionType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ValuePolicyType : ObjectType1 { - private SynchronizationSituationType situationField; + private PasswordLifeTimeType lifetimeField; - private System.DateTime timestampField; + private StringPolicyType stringPolicyField; - private string channelField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public PasswordLifeTimeType lifetime { + get { + return this.lifetimeField; + } + set { + this.lifetimeField = value; + this.RaisePropertyChanged("lifetime"); + } + } - private bool fullField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public StringPolicyType stringPolicy { + get { + return this.stringPolicyField; + } + set { + this.stringPolicyField = value; + this.RaisePropertyChanged("stringPolicy"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class PasswordLifeTimeType : object, System.ComponentModel.INotifyPropertyChanged { - private bool fullFieldSpecified; + private int expirationField; + + private int warnBeforeExpirationField; + + private int lockAfterExpirationField; + + private int minPasswordAgeField; + + private int passwordHistoryLengthField; + + public PasswordLifeTimeType() { + this.expirationField = -1; + this.warnBeforeExpirationField = 0; + this.lockAfterExpirationField = 0; + this.minPasswordAgeField = 0; + this.passwordHistoryLengthField = 0; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public SynchronizationSituationType situation { + [System.ComponentModel.DefaultValueAttribute(-1)] + public int expiration { get { - return this.situationField; + return this.expirationField; } set { - this.situationField = value; - this.RaisePropertyChanged("situation"); + this.expirationField = value; + this.RaisePropertyChanged("expiration"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public System.DateTime timestamp { + [System.ComponentModel.DefaultValueAttribute(0)] + public int warnBeforeExpiration { get { - return this.timestampField; + return this.warnBeforeExpirationField; } set { - this.timestampField = value; - this.RaisePropertyChanged("timestamp"); + this.warnBeforeExpirationField = value; + this.RaisePropertyChanged("warnBeforeExpiration"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=2)] - public string channel { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int lockAfterExpiration { get { - return this.channelField; + return this.lockAfterExpirationField; } set { - this.channelField = value; - this.RaisePropertyChanged("channel"); + this.lockAfterExpirationField = value; + this.RaisePropertyChanged("lockAfterExpiration"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public bool full { + [System.ComponentModel.DefaultValueAttribute(0)] + public int minPasswordAge { get { - return this.fullField; + return this.minPasswordAgeField; } set { - this.fullField = value; - this.RaisePropertyChanged("full"); + this.minPasswordAgeField = value; + this.RaisePropertyChanged("minPasswordAge"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool fullSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int passwordHistoryLength { get { - return this.fullFieldSpecified; + return this.passwordHistoryLengthField; } set { - this.fullFieldSpecified = value; - this.RaisePropertyChanged("fullSpecified"); + this.passwordHistoryLengthField = value; + this.RaisePropertyChanged("passwordHistoryLength"); } } @@ -9021,52 +9596,52 @@ public partial class SynchronizationSituationDescriptionType : object, System.Co } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ShadowAttributesType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class StringPolicyType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private string descriptionField; - private long idField; + private LimitationsType limitationsField; - private bool idFieldSpecified; + private CharacterClassType characterClassField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string description { get { - return this.anyField; + return this.descriptionField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public LimitationsType limitations { get { - return this.idField; + return this.limitationsField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.limitationsField = value; + this.RaisePropertyChanged("limitations"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public CharacterClassType characterClass { get { - return this.idFieldSpecified; + return this.characterClassField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.characterClassField = value; + this.RaisePropertyChanged("characterClass"); } } @@ -9081,80 +9656,105 @@ public partial class ShadowAttributesType : object, System.ComponentModel.INotif } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ShadowAssociationType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class LimitationsType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlQualifiedName nameField; + private int minLengthField; - private ObjectReferenceType shadowRefField; + private int maxLengthField; - private ShadowIdentifiersType identifiersField; + private int minUniqueCharsField; - private long idField; + private bool checkAgainstDictionaryField; - private bool idFieldSpecified; + private string checkPatternField; + + private StringLimitType[] limitField; + + public LimitationsType() { + this.minLengthField = 0; + this.maxLengthField = -1; + this.minUniqueCharsField = 0; + this.checkAgainstDictionaryField = false; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.Xml.XmlQualifiedName name { + [System.ComponentModel.DefaultValueAttribute(0)] + public int minLength { get { - return this.nameField; + return this.minLengthField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.minLengthField = value; + this.RaisePropertyChanged("minLength"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ObjectReferenceType shadowRef { + [System.ComponentModel.DefaultValueAttribute(-1)] + public int maxLength { get { - return this.shadowRefField; + return this.maxLengthField; } set { - this.shadowRefField = value; - this.RaisePropertyChanged("shadowRef"); + this.maxLengthField = value; + this.RaisePropertyChanged("maxLength"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ShadowIdentifiersType identifiers { + [System.ComponentModel.DefaultValueAttribute(0)] + public int minUniqueChars { get { - return this.identifiersField; + return this.minUniqueCharsField; } set { - this.identifiersField = value; - this.RaisePropertyChanged("identifiers"); + this.minUniqueCharsField = value; + this.RaisePropertyChanged("minUniqueChars"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool checkAgainstDictionary { get { - return this.idField; + return this.checkAgainstDictionaryField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.checkAgainstDictionaryField = value; + this.RaisePropertyChanged("checkAgainstDictionary"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string checkPattern { get { - return this.idFieldSpecified; + return this.checkPatternField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.checkPatternField = value; + this.RaisePropertyChanged("checkPattern"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("limit", Order=5)] + public StringLimitType[] limit { + get { + return this.limitField; + } + set { + this.limitField = value; + this.RaisePropertyChanged("limit"); } } @@ -9169,52 +9769,89 @@ public partial class ShadowAssociationType : object, System.ComponentModel.INoti } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ShadowIdentifiersType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class StringLimitType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private string descriptionField; - private long idField; + private int minOccursField; - private bool idFieldSpecified; + private int maxOccursField; + + private bool mustBeFirstField; + + private CharacterClassType characterClassField; + + public StringLimitType() { + this.minOccursField = 0; + this.maxOccursField = -1; + this.mustBeFirstField = false; + } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string description { get { - return this.anyField; + return this.descriptionField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.ComponentModel.DefaultValueAttribute(0)] + public int minOccurs { get { - return this.idField; + return this.minOccursField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.minOccursField = value; + this.RaisePropertyChanged("minOccurs"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + [System.ComponentModel.DefaultValueAttribute(-1)] + public int maxOccurs { get { - return this.idFieldSpecified; + return this.maxOccursField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.maxOccursField = value; + this.RaisePropertyChanged("maxOccurs"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool mustBeFirst { + get { + return this.mustBeFirstField; + } + set { + this.mustBeFirstField = value; + this.RaisePropertyChanged("mustBeFirst"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public CharacterClassType characterClass { + get { + return this.characterClassField; + } + set { + this.characterClassField = value; + this.RaisePropertyChanged("characterClass"); } } @@ -9229,71 +9866,86 @@ public partial class ShadowIdentifiersType : object, System.ComponentModel.INoti } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class CredentialsType : object, System.ComponentModel.INotifyPropertyChanged { - - private PasswordType passwordField; - - private bool allowedIdmAdminGuiAccessField; + public partial class CharacterClassType : object, System.ComponentModel.INotifyPropertyChanged { - private long idField; + private object[] itemsField; - private bool idFieldSpecified; + private System.Xml.XmlQualifiedName refField; - public CredentialsType() { - this.allowedIdmAdminGuiAccessField = false; - } + private System.Xml.XmlQualifiedName nameField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public PasswordType password { + [System.Xml.Serialization.XmlElementAttribute("characterClass", typeof(CharacterClassType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("value", typeof(string), Order=0)] + public object[] Items { get { - return this.passwordField; + return this.itemsField; } set { - this.passwordField = value; - this.RaisePropertyChanged("password"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool allowedIdmAdminGuiAccess { + [System.Xml.Serialization.XmlAttributeAttribute()] + public System.Xml.XmlQualifiedName @ref { get { - return this.allowedIdmAdminGuiAccessField; + return this.refField; } set { - this.allowedIdmAdminGuiAccessField = value; - this.RaisePropertyChanged("allowedIdmAdminGuiAccess"); + this.refField = value; + this.RaisePropertyChanged("ref"); } } /// [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + public System.Xml.XmlQualifiedName name { get { - return this.idField; + return this.nameField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ModelHooksType : object, System.ComponentModel.INotifyPropertyChanged { + + private HookType[] changeField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("hook", IsNullable=false)] + public HookType[] change { get { - return this.idFieldSpecified; + return this.changeField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.changeField = value; + this.RaisePropertyChanged("change"); } } @@ -9308,122 +9960,127 @@ public partial class CredentialsType : object, System.ComponentModel.INotifyProp } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class PasswordType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class HookType : object, System.ComponentModel.INotifyPropertyChanged { - private ProtectedStringType valueField; + private string nameField; - private int failedLoginsField; + private string descriptionField; - private bool failedLoginsFieldSpecified; + private bool enabledField; - private LoginEventType lastSuccessfulLoginField; + private ModelStateType stateField; - private LoginEventType previousSuccessfulLoginField; + private bool stateFieldSpecified; - private LoginEventType lastFailedLoginField; + private System.Xml.XmlQualifiedName focusTypeField; - private long idField; + private string refField; - private bool idFieldSpecified; + private ScriptExpressionEvaluatorType scriptField; + + public HookType() { + this.enabledField = true; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ProtectedStringType value { + public string name { get { - return this.valueField; + return this.nameField; } set { - this.valueField = value; - this.RaisePropertyChanged("value"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public int failedLogins { + public string description { get { - return this.failedLoginsField; + return this.descriptionField; } set { - this.failedLoginsField = value; - this.RaisePropertyChanged("failedLogins"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool failedLoginsSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool enabled { get { - return this.failedLoginsFieldSpecified; + return this.enabledField; } set { - this.failedLoginsFieldSpecified = value; - this.RaisePropertyChanged("failedLoginsSpecified"); + this.enabledField = value; + this.RaisePropertyChanged("enabled"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public LoginEventType lastSuccessfulLogin { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ModelStateType state { get { - return this.lastSuccessfulLoginField; + return this.stateField; } set { - this.lastSuccessfulLoginField = value; - this.RaisePropertyChanged("lastSuccessfulLogin"); + this.stateField = value; + this.RaisePropertyChanged("state"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public LoginEventType previousSuccessfulLogin { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool stateSpecified { get { - return this.previousSuccessfulLoginField; + return this.stateFieldSpecified; } set { - this.previousSuccessfulLoginField = value; - this.RaisePropertyChanged("previousSuccessfulLogin"); + this.stateFieldSpecified = value; + this.RaisePropertyChanged("stateSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public LoginEventType lastFailedLogin { + public System.Xml.XmlQualifiedName focusType { get { - return this.lastFailedLoginField; + return this.focusTypeField; } set { - this.lastFailedLoginField = value; - this.RaisePropertyChanged("lastFailedLogin"); + this.focusTypeField = value; + this.RaisePropertyChanged("focusType"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=5)] + public string @ref { get { - return this.idField; + return this.refField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.refField = value; + this.RaisePropertyChanged("ref"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ScriptExpressionEvaluatorType script { get { - return this.idFieldSpecified; + return this.scriptField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.scriptField = value; + this.RaisePropertyChanged("script"); } } @@ -9438,503 +10095,366 @@ public partial class PasswordType : object, System.ComponentModel.INotifyPropert } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class LoginEventType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.DateTime timestampField; - - private bool timestampFieldSpecified; - - private string fromField; + public enum ModelStateType { /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.DateTime timestamp { - get { - return this.timestampField; - } - set { - this.timestampField = value; - this.RaisePropertyChanged("timestamp"); - } - } + initial, /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool timestampSpecified { - get { - return this.timestampFieldSpecified; - } - set { - this.timestampFieldSpecified = value; - this.RaisePropertyChanged("timestampSpecified"); - } - } + primary, /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string from { - get { - return this.fromField; - } - set { - this.fromField = value; - this.RaisePropertyChanged("from"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + secondary, - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AccountShadowType : ShadowType { + /// + execution, - private string accountTypeField; + /// + postexecution, /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string accountType { - get { - return this.accountTypeField; - } - set { - this.accountTypeField = value; - this.RaisePropertyChanged("accountType"); - } - } + final, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class UserType : FocusType { - - private PolyStringType fullNameField; - - private PolyStringType givenNameField; - - private PolyStringType familyNameField; - - private PolyStringType additionalNameField; - - private PolyStringType nickNameField; - - private PolyStringType honorificPrefixField; - - private PolyStringType honorificSuffixField; - - private PolyStringType titleField; - - private string preferredLanguageField; - - private string localeField; - - private string timezoneField; - - private string emailAddressField; - - private string telephoneNumberField; - - private string employeeNumberField; - - private string[] employeeTypeField; - - private string costCenterField; + public partial class LoggingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private PolyStringType[] organizationField; + private SubSystemLoggerConfigurationType[] subSystemLoggerField; - private PolyStringType[] organizationalUnitField; + private ClassLoggerConfigurationType[] classLoggerField; - private PolyStringType localityField; + private AppenderConfigurationType[] appenderField; - private CredentialsType credentialsField; + private string rootLoggerAppenderField; - private OperationResultType resultField; + private LoggingLevelType rootLoggerLevelField; - private ShadowType[] accountField; + private AuditingConfigurationType auditingField; - private ObjectReferenceType[] accountRefField; + private AdvancedLoggingConfigurationType advancedField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public PolyStringType fullName { + [System.Xml.Serialization.XmlElementAttribute("subSystemLogger", Order=0)] + public SubSystemLoggerConfigurationType[] subSystemLogger { get { - return this.fullNameField; + return this.subSystemLoggerField; } set { - this.fullNameField = value; - this.RaisePropertyChanged("fullName"); + this.subSystemLoggerField = value; + this.RaisePropertyChanged("subSystemLogger"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public PolyStringType givenName { + [System.Xml.Serialization.XmlElementAttribute("classLogger", Order=1)] + public ClassLoggerConfigurationType[] classLogger { get { - return this.givenNameField; + return this.classLoggerField; } set { - this.givenNameField = value; - this.RaisePropertyChanged("givenName"); + this.classLoggerField = value; + this.RaisePropertyChanged("classLogger"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public PolyStringType familyName { + [System.Xml.Serialization.XmlElementAttribute("appender", Order=2)] + public AppenderConfigurationType[] appender { get { - return this.familyNameField; + return this.appenderField; } set { - this.familyNameField = value; - this.RaisePropertyChanged("familyName"); + this.appenderField = value; + this.RaisePropertyChanged("appender"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public PolyStringType additionalName { + public string rootLoggerAppender { get { - return this.additionalNameField; + return this.rootLoggerAppenderField; } set { - this.additionalNameField = value; - this.RaisePropertyChanged("additionalName"); + this.rootLoggerAppenderField = value; + this.RaisePropertyChanged("rootLoggerAppender"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public PolyStringType nickName { + public LoggingLevelType rootLoggerLevel { get { - return this.nickNameField; + return this.rootLoggerLevelField; } set { - this.nickNameField = value; - this.RaisePropertyChanged("nickName"); + this.rootLoggerLevelField = value; + this.RaisePropertyChanged("rootLoggerLevel"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public PolyStringType honorificPrefix { + public AuditingConfigurationType auditing { get { - return this.honorificPrefixField; + return this.auditingField; } set { - this.honorificPrefixField = value; - this.RaisePropertyChanged("honorificPrefix"); + this.auditingField = value; + this.RaisePropertyChanged("auditing"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public PolyStringType honorificSuffix { + public AdvancedLoggingConfigurationType advanced { get { - return this.honorificSuffixField; + return this.advancedField; } set { - this.honorificSuffixField = value; - this.RaisePropertyChanged("honorificSuffix"); + this.advancedField = value; + this.RaisePropertyChanged("advanced"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public PolyStringType title { - get { - return this.titleField; - } - set { - this.titleField = value; - this.RaisePropertyChanged("title"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SubSystemLoggerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private LoggingLevelType levelField; + + private LoggingComponentType componentField; + + private string[] appenderField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public string preferredLanguage { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public LoggingLevelType level { get { - return this.preferredLanguageField; + return this.levelField; } set { - this.preferredLanguageField = value; - this.RaisePropertyChanged("preferredLanguage"); + this.levelField = value; + this.RaisePropertyChanged("level"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public string locale { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public LoggingComponentType component { get { - return this.localeField; + return this.componentField; } set { - this.localeField = value; - this.RaisePropertyChanged("locale"); + this.componentField = value; + this.RaisePropertyChanged("component"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public string timezone { + [System.Xml.Serialization.XmlElementAttribute("appender", Order=2)] + public string[] appender { get { - return this.timezoneField; + return this.appenderField; } set { - this.timezoneField = value; - this.RaisePropertyChanged("timezone"); + this.appenderField = value; + this.RaisePropertyChanged("appender"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - public string emailAddress { - get { - return this.emailAddressField; - } - set { - this.emailAddressField = value; - this.RaisePropertyChanged("emailAddress"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=12)] - public string telephoneNumber { - get { - return this.telephoneNumberField; - } - set { - this.telephoneNumberField = value; - this.RaisePropertyChanged("telephoneNumber"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum LoggingLevelType { /// - [System.Xml.Serialization.XmlElementAttribute(Order=13)] - public string employeeNumber { - get { - return this.employeeNumberField; - } - set { - this.employeeNumberField = value; - this.RaisePropertyChanged("employeeNumber"); - } - } + ALL, /// - [System.Xml.Serialization.XmlElementAttribute("employeeType", Order=14)] - public string[] employeeType { - get { - return this.employeeTypeField; - } - set { - this.employeeTypeField = value; - this.RaisePropertyChanged("employeeType"); - } - } + OFF, /// - [System.Xml.Serialization.XmlElementAttribute(Order=15)] - public string costCenter { - get { - return this.costCenterField; - } - set { - this.costCenterField = value; - this.RaisePropertyChanged("costCenter"); - } - } + ERROR, /// - [System.Xml.Serialization.XmlElementAttribute("organization", Order=16)] - public PolyStringType[] organization { - get { - return this.organizationField; - } - set { - this.organizationField = value; - this.RaisePropertyChanged("organization"); - } - } + WARN, /// - [System.Xml.Serialization.XmlElementAttribute("organizationalUnit", Order=17)] - public PolyStringType[] organizationalUnit { - get { - return this.organizationalUnitField; - } - set { - this.organizationalUnitField = value; - this.RaisePropertyChanged("organizationalUnit"); - } - } + INFO, /// - [System.Xml.Serialization.XmlElementAttribute(Order=18)] - public PolyStringType locality { - get { - return this.localityField; - } - set { - this.localityField = value; - this.RaisePropertyChanged("locality"); - } - } + DEBUG, /// - [System.Xml.Serialization.XmlElementAttribute(Order=19)] - public CredentialsType credentials { - get { - return this.credentialsField; - } - set { - this.credentialsField = value; - this.RaisePropertyChanged("credentials"); - } - } + TRACE, /// - [System.Xml.Serialization.XmlElementAttribute(Order=20)] - public OperationResultType result { - get { - return this.resultField; - } - set { - this.resultField = value; - this.RaisePropertyChanged("result"); - } - } + [System.Xml.Serialization.XmlEnumAttribute("ALL")] + ALL1, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum LoggingComponentType { /// - [System.Xml.Serialization.XmlElementAttribute("account", Order=21)] - public ShadowType[] account { - get { - return this.accountField; - } - set { - this.accountField = value; - this.RaisePropertyChanged("account"); - } - } + ALL, /// - [System.Xml.Serialization.XmlElementAttribute("accountRef", Order=22)] - public ObjectReferenceType[] accountRef { - get { - return this.accountRefField; - } - set { - this.accountRefField = value; - this.RaisePropertyChanged("accountRef"); - } - } + MODEL, + + /// + PROVISIONING, + + /// + REPOSITORY, + + /// + WEB, + + /// + TASKMANAGER, + + /// + RESOURCEOBJECTCHANGELISTENER, + + /// + WORKFLOWS, + + /// + NOTIFICATIONS, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class RoleType : AbstractRoleType { + public partial class ClassLoggerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private string roleTypeField; + private LoggingLevelType levelField; + + private string packageField; + + private string[] appenderField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string roleType { + public LoggingLevelType level { get { - return this.roleTypeField; + return this.levelField; } set { - this.roleTypeField = value; - this.RaisePropertyChanged("roleType"); + this.levelField = value; + this.RaisePropertyChanged("level"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class TriggerType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.DateTime timestampField; - - private string handlerUriField; - - private long idField; - - private bool idFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.DateTime timestamp { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string package { get { - return this.timestampField; + return this.packageField; } set { - this.timestampField = value; - this.RaisePropertyChanged("timestamp"); + this.packageField = value; + this.RaisePropertyChanged("package"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=1)] - public string handlerUri { + [System.Xml.Serialization.XmlElementAttribute("appender", Order=2)] + public string[] appender { get { - return this.handlerUriField; + return this.appenderField; } set { - this.handlerUriField = value; - this.RaisePropertyChanged("handlerUri"); + this.appenderField = value; + this.RaisePropertyChanged("appender"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileAppenderConfigurationType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class AppenderConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private string patternField; + + private string nameField; /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string pattern { get { - return this.idField; + return this.patternField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.patternField = value; + this.RaisePropertyChanged("pattern"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string name { get { - return this.idFieldSpecified; + return this.nameField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.nameField = value; + this.RaisePropertyChanged("name"); } } @@ -9949,871 +10469,7605 @@ public partial class TriggerType : object, System.ComponentModel.INotifyProperty } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2")] - public partial class RoleApprovalFormType : ObjectType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class FileAppenderConfigurationType : AppenderConfigurationType { - private string userField; + private string fileNameField; - private string roleField; + private string filePatternField; - private string timeIntervalField; + private int maxHistoryField; - private string requesterCommentField; + private string maxFileSizeField; - private string commentField; + private bool appendField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string user { + public string fileName { get { - return this.userField; + return this.fileNameField; } set { - this.userField = value; - this.RaisePropertyChanged("user"); + this.fileNameField = value; + this.RaisePropertyChanged("fileName"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string role { + public string filePattern { get { - return this.roleField; + return this.filePatternField; } set { - this.roleField = value; - this.RaisePropertyChanged("role"); + this.filePatternField = value; + this.RaisePropertyChanged("filePattern"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string timeInterval { + public int maxHistory { get { - return this.timeIntervalField; + return this.maxHistoryField; } set { - this.timeIntervalField = value; - this.RaisePropertyChanged("timeInterval"); + this.maxHistoryField = value; + this.RaisePropertyChanged("maxHistory"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string requesterComment { + public string maxFileSize { get { - return this.requesterCommentField; + return this.maxFileSizeField; } set { - this.requesterCommentField = value; - this.RaisePropertyChanged("requesterComment"); + this.maxFileSizeField = value; + this.RaisePropertyChanged("maxFileSize"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string comment { + public bool append { get { - return this.commentField; + return this.appendField; } set { - this.commentField = value; - this.RaisePropertyChanged("comment"); + this.appendField = value; + this.RaisePropertyChanged("append"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/model/workflow/common-forms-2")] - public partial class TrackingDataFormType : ObjectType { - - private string taskIdField; - - private string processInstanceIdField; - - private string executionIdField; - - private string taskOwnerField; - - private string taskAssigneeField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class AuditingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private string taskCandidatesField; + private bool enabledField; - private string processDefinitionKeyField; + private bool detailsField; - private string processDefinitionIdField; + private string[] appenderField; - private string shadowTaskOidField; + public AuditingConfigurationType() { + this.enabledField = true; + this.detailsField = false; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string taskId { + [System.ComponentModel.DefaultValueAttribute(true)] + public bool enabled { get { - return this.taskIdField; + return this.enabledField; } set { - this.taskIdField = value; - this.RaisePropertyChanged("taskId"); + this.enabledField = value; + this.RaisePropertyChanged("enabled"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string processInstanceId { + [System.ComponentModel.DefaultValueAttribute(false)] + public bool details { get { - return this.processInstanceIdField; + return this.detailsField; } set { - this.processInstanceIdField = value; - this.RaisePropertyChanged("processInstanceId"); + this.detailsField = value; + this.RaisePropertyChanged("details"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string executionId { + [System.Xml.Serialization.XmlElementAttribute("appender", Order=2)] + public string[] appender { get { - return this.executionIdField; + return this.appenderField; } set { - this.executionIdField = value; - this.RaisePropertyChanged("executionId"); + this.appenderField = value; + this.RaisePropertyChanged("appender"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string taskOwner { - get { - return this.taskOwnerField; - } - set { - this.taskOwnerField = value; - this.RaisePropertyChanged("taskOwner"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class AdvancedLoggingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string taskAssignee { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { get { - return this.taskAssigneeField; + return this.anyField; } set { - this.taskAssigneeField = value; - this.RaisePropertyChanged("taskAssignee"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public string taskCandidates { - get { - return this.taskCandidatesField; - } - set { - this.taskCandidatesField = value; - this.RaisePropertyChanged("taskCandidates"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ObjectTemplateType : ObjectType1 { + + private ObjectReferenceType[] includeRefField; + + private IterationSpecificationType iterationField; + + private ObjectTemplateMappingType[] mappingField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public string processDefinitionKey { + [System.Xml.Serialization.XmlElementAttribute("includeRef", Order=0)] + public ObjectReferenceType[] includeRef { get { - return this.processDefinitionKeyField; + return this.includeRefField; } set { - this.processDefinitionKeyField = value; - this.RaisePropertyChanged("processDefinitionKey"); + this.includeRefField = value; + this.RaisePropertyChanged("includeRef"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public string processDefinitionId { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public IterationSpecificationType iteration { get { - return this.processDefinitionIdField; + return this.iterationField; } set { - this.processDefinitionIdField = value; - this.RaisePropertyChanged("processDefinitionId"); + this.iterationField = value; + this.RaisePropertyChanged("iteration"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public string shadowTaskOid { + [System.Xml.Serialization.XmlElementAttribute("mapping", Order=2)] + public ObjectTemplateMappingType[] mapping { get { - return this.shadowTaskOidField; + return this.mappingField; } set { - this.shadowTaskOidField = value; - this.RaisePropertyChanged("shadowTaskOid"); + this.mappingField = value; + this.RaisePropertyChanged("mapping"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class TaskType : ObjectType { + public partial class IterationSpecificationType : object, System.ComponentModel.INotifyPropertyChanged { - private string taskIdentifierField; + private int maxIterationsField; - private ObjectReferenceType ownerRefField; + private ExpressionType tokenExpressionField; - private string channelField; + private ExpressionType preIterationConditionField; - private string parentField; + private ExpressionType postIterationConditionField; - private TaskType[] subtaskField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int maxIterations { + get { + return this.maxIterationsField; + } + set { + this.maxIterationsField = value; + this.RaisePropertyChanged("maxIterations"); + } + } - private ObjectReferenceType[] subtaskRefField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ExpressionType tokenExpression { + get { + return this.tokenExpressionField; + } + set { + this.tokenExpressionField = value; + this.RaisePropertyChanged("tokenExpression"); + } + } - private string[] dependentField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ExpressionType preIterationCondition { + get { + return this.preIterationConditionField; + } + set { + this.preIterationConditionField = value; + this.RaisePropertyChanged("preIterationCondition"); + } + } - private TaskType[] dependentTaskField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ExpressionType postIterationCondition { + get { + return this.postIterationConditionField; + } + set { + this.postIterationConditionField = value; + this.RaisePropertyChanged("postIterationCondition"); + } + } - private ObjectReferenceType[] dependentTaskRefField; + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - private TaskExecutionStatusType executionStatusField; + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ObjectTypeTemplateType : object, System.ComponentModel.INotifyPropertyChanged { - private TaskWaitingReasonType waitingReasonField; + private System.Xml.XmlQualifiedName typeField; - private bool waitingReasonFieldSpecified; + private ObjectReferenceType objectTemplateRefField; - private string nodeField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("type"); + } + } - private string nodeAsObservedField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ObjectReferenceType objectTemplateRef { + get { + return this.objectTemplateRefField; + } + set { + this.objectTemplateRefField = value; + this.RaisePropertyChanged("objectTemplateRef"); + } + } - private string categoryField; + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ConnectorFrameworkConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private ExtensionType extensionField; + + private string[] connectorPathField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ExtensionType extension { + get { + return this.extensionField; + } + set { + this.extensionField = value; + this.RaisePropertyChanged("extension"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("connectorPath", Order=1)] + public string[] connectorPath { + get { + return this.connectorPathField; + } + set { + this.connectorPathField = value; + this.RaisePropertyChanged("connectorPath"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class NotificationConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private EventHandlerType[] handlerField; + + private MailConfigurationType mailField; + + private SmsConfigurationType[] smsField; + + /// + [System.Xml.Serialization.XmlElementAttribute("handler", Order=0)] + public EventHandlerType[] handler { + get { + return this.handlerField; + } + set { + this.handlerField = value; + this.RaisePropertyChanged("handler"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public MailConfigurationType mail { + get { + return this.mailField; + } + set { + this.mailField = value; + this.RaisePropertyChanged("mail"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("sms", Order=2)] + public SmsConfigurationType[] sms { + get { + return this.smsField; + } + set { + this.smsField = value; + this.RaisePropertyChanged("sms"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DummyNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AccountPasswordNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserPasswordNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleWorkflowNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleUserNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleResourceObjectNotifierType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class EventHandlerType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + private string descriptionField; + + private EventCategoryType[] categoryField; + + private EventOperationType[] operationField; + + private EventStatusType[] statusField; + + private ShadowKindType[] objectKindField; + + private string[] objectIntentField; + + private System.Xml.XmlQualifiedName[] focusTypeField; + + private ExpressionType[] expressionFilterField; + + private EventHandlerType[] chainedField; + + private EventHandlerType[] forkedField; + + private SimpleUserNotifierType[] simpleUserNotifierField; + + private SimpleResourceObjectNotifierType[] simpleResourceObjectNotifierField; + + private SimpleWorkflowNotifierType[] simpleWorkflowNotifierField; + + private UserPasswordNotifierType[] userPasswordNotifierField; + + private AccountPasswordNotifierType[] accountPasswordNotifierField; + + private GeneralNotifierType[] generalNotifierField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("category", Order=2)] + public EventCategoryType[] category { + get { + return this.categoryField; + } + set { + this.categoryField = value; + this.RaisePropertyChanged("category"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("operation", Order=3)] + public EventOperationType[] operation { + get { + return this.operationField; + } + set { + this.operationField = value; + this.RaisePropertyChanged("operation"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("status", Order=4)] + public EventStatusType[] status { + get { + return this.statusField; + } + set { + this.statusField = value; + this.RaisePropertyChanged("status"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("objectKind", Order=5)] + public ShadowKindType[] objectKind { + get { + return this.objectKindField; + } + set { + this.objectKindField = value; + this.RaisePropertyChanged("objectKind"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("objectIntent", Order=6)] + public string[] objectIntent { + get { + return this.objectIntentField; + } + set { + this.objectIntentField = value; + this.RaisePropertyChanged("objectIntent"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("focusType", Order=7)] + public System.Xml.XmlQualifiedName[] focusType { + get { + return this.focusTypeField; + } + set { + this.focusTypeField = value; + this.RaisePropertyChanged("focusType"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("expressionFilter", Order=8)] + public ExpressionType[] expressionFilter { + get { + return this.expressionFilterField; + } + set { + this.expressionFilterField = value; + this.RaisePropertyChanged("expressionFilter"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("chained", Order=9)] + public EventHandlerType[] chained { + get { + return this.chainedField; + } + set { + this.chainedField = value; + this.RaisePropertyChanged("chained"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("forked", Order=10)] + public EventHandlerType[] forked { + get { + return this.forkedField; + } + set { + this.forkedField = value; + this.RaisePropertyChanged("forked"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("simpleUserNotifier", Order=11)] + public SimpleUserNotifierType[] simpleUserNotifier { + get { + return this.simpleUserNotifierField; + } + set { + this.simpleUserNotifierField = value; + this.RaisePropertyChanged("simpleUserNotifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("simpleResourceObjectNotifier", Order=12)] + public SimpleResourceObjectNotifierType[] simpleResourceObjectNotifier { + get { + return this.simpleResourceObjectNotifierField; + } + set { + this.simpleResourceObjectNotifierField = value; + this.RaisePropertyChanged("simpleResourceObjectNotifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("simpleWorkflowNotifier", Order=13)] + public SimpleWorkflowNotifierType[] simpleWorkflowNotifier { + get { + return this.simpleWorkflowNotifierField; + } + set { + this.simpleWorkflowNotifierField = value; + this.RaisePropertyChanged("simpleWorkflowNotifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("userPasswordNotifier", Order=14)] + public UserPasswordNotifierType[] userPasswordNotifier { + get { + return this.userPasswordNotifierField; + } + set { + this.userPasswordNotifierField = value; + this.RaisePropertyChanged("userPasswordNotifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("accountPasswordNotifier", Order=15)] + public AccountPasswordNotifierType[] accountPasswordNotifier { + get { + return this.accountPasswordNotifierField; + } + set { + this.accountPasswordNotifierField = value; + this.RaisePropertyChanged("accountPasswordNotifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("generalNotifier", Order=16)] + public GeneralNotifierType[] generalNotifier { + get { + return this.generalNotifierField; + } + set { + this.generalNotifierField = value; + this.RaisePropertyChanged("generalNotifier"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum EventCategoryType { + + /// + resourceObjectEvent, + + /// + modelEvent, + + /// + workItemEvent, + + /// + workflowProcessEvent, + + /// + workflowEvent, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum EventOperationType { + + /// + add, + + /// + modify, + + /// + delete, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum EventStatusType { + + /// + success, + + /// + alsoSuccess, + + /// + failure, + + /// + onlyFailure, + + /// + inProgress, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SimpleUserNotifierType : GeneralNotifierType { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DummyNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AccountPasswordNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserPasswordNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleWorkflowNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleUserNotifierType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleResourceObjectNotifierType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class GeneralNotifierType : EventHandlerType { + + private ExpressionType[] recipientExpressionField; + + private ExpressionType subjectExpressionField; + + private string subjectPrefixField; + + private ExpressionType bodyExpressionField; + + private bool watchAuxiliaryAttributesField; + + private bool watchAuxiliaryAttributesFieldSpecified; + + private bool showModifiedValuesField; + + private bool showModifiedValuesFieldSpecified; + + private bool showTechnicalInformationField; + + private bool showTechnicalInformationFieldSpecified; + + private string[] transportField; + + /// + [System.Xml.Serialization.XmlElementAttribute("recipientExpression", Order=0)] + public ExpressionType[] recipientExpression { + get { + return this.recipientExpressionField; + } + set { + this.recipientExpressionField = value; + this.RaisePropertyChanged("recipientExpression"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ExpressionType subjectExpression { + get { + return this.subjectExpressionField; + } + set { + this.subjectExpressionField = value; + this.RaisePropertyChanged("subjectExpression"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string subjectPrefix { + get { + return this.subjectPrefixField; + } + set { + this.subjectPrefixField = value; + this.RaisePropertyChanged("subjectPrefix"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ExpressionType bodyExpression { + get { + return this.bodyExpressionField; + } + set { + this.bodyExpressionField = value; + this.RaisePropertyChanged("bodyExpression"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool watchAuxiliaryAttributes { + get { + return this.watchAuxiliaryAttributesField; + } + set { + this.watchAuxiliaryAttributesField = value; + this.RaisePropertyChanged("watchAuxiliaryAttributes"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool watchAuxiliaryAttributesSpecified { + get { + return this.watchAuxiliaryAttributesFieldSpecified; + } + set { + this.watchAuxiliaryAttributesFieldSpecified = value; + this.RaisePropertyChanged("watchAuxiliaryAttributesSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool showModifiedValues { + get { + return this.showModifiedValuesField; + } + set { + this.showModifiedValuesField = value; + this.RaisePropertyChanged("showModifiedValues"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool showModifiedValuesSpecified { + get { + return this.showModifiedValuesFieldSpecified; + } + set { + this.showModifiedValuesFieldSpecified = value; + this.RaisePropertyChanged("showModifiedValuesSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public bool showTechnicalInformation { + get { + return this.showTechnicalInformationField; + } + set { + this.showTechnicalInformationField = value; + this.RaisePropertyChanged("showTechnicalInformation"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool showTechnicalInformationSpecified { + get { + return this.showTechnicalInformationFieldSpecified; + } + set { + this.showTechnicalInformationFieldSpecified = value; + this.RaisePropertyChanged("showTechnicalInformationSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("transport", Order=7)] + public string[] transport { + get { + return this.transportField; + } + set { + this.transportField = value; + this.RaisePropertyChanged("transport"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class DummyNotifierType : GeneralNotifierType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class AccountPasswordNotifierType : GeneralNotifierType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class UserPasswordNotifierType : GeneralNotifierType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SimpleWorkflowNotifierType : GeneralNotifierType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SimpleResourceObjectNotifierType : GeneralNotifierType { + + private bool watchSynchronizationAttributesField; + + private bool watchSynchronizationAttributesFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool watchSynchronizationAttributes { + get { + return this.watchSynchronizationAttributesField; + } + set { + this.watchSynchronizationAttributesField = value; + this.RaisePropertyChanged("watchSynchronizationAttributes"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool watchSynchronizationAttributesSpecified { + get { + return this.watchSynchronizationAttributesFieldSpecified; + } + set { + this.watchSynchronizationAttributesFieldSpecified = value; + this.RaisePropertyChanged("watchSynchronizationAttributesSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class MailConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private MailServerConfigurationType[] serverField; + + private string defaultFromField; + + private bool debugField; + + private bool debugFieldSpecified; + + private string redirectToFileField; + + /// + [System.Xml.Serialization.XmlElementAttribute("server", Order=0)] + public MailServerConfigurationType[] server { + get { + return this.serverField; + } + set { + this.serverField = value; + this.RaisePropertyChanged("server"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string defaultFrom { + get { + return this.defaultFromField; + } + set { + this.defaultFromField = value; + this.RaisePropertyChanged("defaultFrom"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool debug { + get { + return this.debugField; + } + set { + this.debugField = value; + this.RaisePropertyChanged("debug"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool debugSpecified { + get { + return this.debugFieldSpecified; + } + set { + this.debugFieldSpecified = value; + this.RaisePropertyChanged("debugSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string redirectToFile { + get { + return this.redirectToFileField; + } + set { + this.redirectToFileField = value; + this.RaisePropertyChanged("redirectToFile"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class MailServerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private string hostField; + + private int portField; + + private bool portFieldSpecified; + + private string usernameField; + + private ProtectedStringType passwordField; + + private MailTransportSecurityType transportSecurityField; + + private bool transportSecurityFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string host { + get { + return this.hostField; + } + set { + this.hostField = value; + this.RaisePropertyChanged("host"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int port { + get { + return this.portField; + } + set { + this.portField = value; + this.RaisePropertyChanged("port"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool portSpecified { + get { + return this.portFieldSpecified; + } + set { + this.portFieldSpecified = value; + this.RaisePropertyChanged("portSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string username { + get { + return this.usernameField; + } + set { + this.usernameField = value; + this.RaisePropertyChanged("username"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ProtectedStringType password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + this.RaisePropertyChanged("password"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public MailTransportSecurityType transportSecurity { + get { + return this.transportSecurityField; + } + set { + this.transportSecurityField = value; + this.RaisePropertyChanged("transportSecurity"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool transportSecuritySpecified { + get { + return this.transportSecurityFieldSpecified; + } + set { + this.transportSecurityFieldSpecified = value; + this.RaisePropertyChanged("transportSecuritySpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum MailTransportSecurityType { + + /// + none, + + /// + starttlsEnabled, + + /// + starttlsRequired, + + /// + ssl, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SmsConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private SmsGatewayConfigurationType[] gatewayField; + + private string defaultFromField; + + private string redirectToFileField; + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute("gateway", Order=0)] + public SmsGatewayConfigurationType[] gateway { + get { + return this.gatewayField; + } + set { + this.gatewayField = value; + this.RaisePropertyChanged("gateway"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string defaultFrom { + get { + return this.defaultFromField; + } + set { + this.defaultFromField = value; + this.RaisePropertyChanged("defaultFrom"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string redirectToFile { + get { + return this.redirectToFileField; + } + set { + this.redirectToFileField = value; + this.RaisePropertyChanged("redirectToFile"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SmsGatewayConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private ExpressionType urlField; + + private string usernameField; + + private ProtectedStringType passwordField; + + private string redirectToFileField; + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ExpressionType url { + get { + return this.urlField; + } + set { + this.urlField = value; + this.RaisePropertyChanged("url"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string username { + get { + return this.usernameField; + } + set { + this.usernameField = value; + this.RaisePropertyChanged("username"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ProtectedStringType password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + this.RaisePropertyChanged("password"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string redirectToFile { + get { + return this.redirectToFileField; + } + set { + this.redirectToFileField = value; + this.RaisePropertyChanged("redirectToFile"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ProfilingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private bool enabledField; + + private bool requestFilterField; + + private bool requestFilterFieldSpecified; + + private bool performanceStatisticsField; + + private bool performanceStatisticsFieldSpecified; + + private int dumpIntervalField; + + private bool dumpIntervalFieldSpecified; + + private bool modelField; + + private bool repositoryField; + + private bool provisioningField; + + private bool ucfField; + + private bool resourceObjectChangeListenerField; + + private bool taskManagerField; + + private bool workflowField; + + public ProfilingConfigurationType() { + this.modelField = false; + this.repositoryField = false; + this.provisioningField = false; + this.ucfField = false; + this.resourceObjectChangeListenerField = false; + this.taskManagerField = false; + this.workflowField = false; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool enabled { + get { + return this.enabledField; + } + set { + this.enabledField = value; + this.RaisePropertyChanged("enabled"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool requestFilter { + get { + return this.requestFilterField; + } + set { + this.requestFilterField = value; + this.RaisePropertyChanged("requestFilter"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool requestFilterSpecified { + get { + return this.requestFilterFieldSpecified; + } + set { + this.requestFilterFieldSpecified = value; + this.RaisePropertyChanged("requestFilterSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool performanceStatistics { + get { + return this.performanceStatisticsField; + } + set { + this.performanceStatisticsField = value; + this.RaisePropertyChanged("performanceStatistics"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool performanceStatisticsSpecified { + get { + return this.performanceStatisticsFieldSpecified; + } + set { + this.performanceStatisticsFieldSpecified = value; + this.RaisePropertyChanged("performanceStatisticsSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int dumpInterval { + get { + return this.dumpIntervalField; + } + set { + this.dumpIntervalField = value; + this.RaisePropertyChanged("dumpInterval"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dumpIntervalSpecified { + get { + return this.dumpIntervalFieldSpecified; + } + set { + this.dumpIntervalFieldSpecified = value; + this.RaisePropertyChanged("dumpIntervalSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool model { + get { + return this.modelField; + } + set { + this.modelField = value; + this.RaisePropertyChanged("model"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool repository { + get { + return this.repositoryField; + } + set { + this.repositoryField = value; + this.RaisePropertyChanged("repository"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool provisioning { + get { + return this.provisioningField; + } + set { + this.provisioningField = value; + this.RaisePropertyChanged("provisioning"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool ucf { + get { + return this.ucfField; + } + set { + this.ucfField = value; + this.RaisePropertyChanged("ucf"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool resourceObjectChangeListener { + get { + return this.resourceObjectChangeListenerField; + } + set { + this.resourceObjectChangeListenerField = value; + this.RaisePropertyChanged("resourceObjectChangeListener"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool taskManager { + get { + return this.taskManagerField; + } + set { + this.taskManagerField = value; + this.RaisePropertyChanged("taskManager"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool workflow { + get { + return this.workflowField; + } + set { + this.workflowField = value; + this.RaisePropertyChanged("workflow"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class CleanupPoliciesType : object, System.ComponentModel.INotifyPropertyChanged { + + private CleanupPolicyType auditRecordsField; + + private CleanupPolicyType closedTasksField; + + private CleanupPolicyType outputReportsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CleanupPolicyType auditRecords { + get { + return this.auditRecordsField; + } + set { + this.auditRecordsField = value; + this.RaisePropertyChanged("auditRecords"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public CleanupPolicyType closedTasks { + get { + return this.closedTasksField; + } + set { + this.closedTasksField = value; + this.RaisePropertyChanged("closedTasks"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public CleanupPolicyType outputReports { + get { + return this.outputReportsField; + } + set { + this.outputReportsField = value; + this.RaisePropertyChanged("outputReports"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class CleanupPolicyType : object, System.ComponentModel.INotifyPropertyChanged { + + private string maxAgeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="duration", Order=0)] + public string maxAge { + get { + return this.maxAgeField; + } + set { + this.maxAgeField = value; + this.RaisePropertyChanged("maxAge"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class NodeType : ObjectType1 { + + private string nodeIdentifierField; + + private string hostnameField; + + private int jmxPortField; + + private bool jmxPortFieldSpecified; + + private System.DateTime lastCheckInTimeField; + + private bool lastCheckInTimeFieldSpecified; + + private bool runningField; + + private bool runningFieldSpecified; + + private bool clusteredField; + + private bool clusteredFieldSpecified; + + private string internalNodeIdentifierField; + + private NodeExecutionStatusType executionStatusField; + + private NodeErrorStatusType errorStatusField; + + private OperationResultType connectionResultField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string nodeIdentifier { + get { + return this.nodeIdentifierField; + } + set { + this.nodeIdentifierField = value; + this.RaisePropertyChanged("nodeIdentifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string hostname { + get { + return this.hostnameField; + } + set { + this.hostnameField = value; + this.RaisePropertyChanged("hostname"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int jmxPort { + get { + return this.jmxPortField; + } + set { + this.jmxPortField = value; + this.RaisePropertyChanged("jmxPort"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool jmxPortSpecified { + get { + return this.jmxPortFieldSpecified; + } + set { + this.jmxPortFieldSpecified = value; + this.RaisePropertyChanged("jmxPortSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime lastCheckInTime { + get { + return this.lastCheckInTimeField; + } + set { + this.lastCheckInTimeField = value; + this.RaisePropertyChanged("lastCheckInTime"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastCheckInTimeSpecified { + get { + return this.lastCheckInTimeFieldSpecified; + } + set { + this.lastCheckInTimeFieldSpecified = value; + this.RaisePropertyChanged("lastCheckInTimeSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool running { + get { + return this.runningField; + } + set { + this.runningField = value; + this.RaisePropertyChanged("running"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool runningSpecified { + get { + return this.runningFieldSpecified; + } + set { + this.runningFieldSpecified = value; + this.RaisePropertyChanged("runningSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool clustered { + get { + return this.clusteredField; + } + set { + this.clusteredField = value; + this.RaisePropertyChanged("clustered"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool clusteredSpecified { + get { + return this.clusteredFieldSpecified; + } + set { + this.clusteredFieldSpecified = value; + this.RaisePropertyChanged("clusteredSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string internalNodeIdentifier { + get { + return this.internalNodeIdentifierField; + } + set { + this.internalNodeIdentifierField = value; + this.RaisePropertyChanged("internalNodeIdentifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public NodeExecutionStatusType executionStatus { + get { + return this.executionStatusField; + } + set { + this.executionStatusField = value; + this.RaisePropertyChanged("executionStatus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public NodeErrorStatusType errorStatus { + get { + return this.errorStatusField; + } + set { + this.errorStatusField = value; + this.RaisePropertyChanged("errorStatus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public OperationResultType connectionResult { + get { + return this.connectionResultField; + } + set { + this.connectionResultField = value; + this.RaisePropertyChanged("connectionResult"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum NodeExecutionStatusType { + + /// + running, + + /// + paused, + + /// + down, + + /// + error, + + /// + communicationError, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum NodeErrorStatusType { + + /// + ok, + + /// + duplicateNodeIdOrName, + + /// + nonClusteredNodeWithOthers, + + /// + localConfigurationError, + + /// + localInitializationError, + + /// + nodeRegistrationFailed, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class GenericObjectType : ObjectType1 { + + private string objectTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] + public string objectType { + get { + return this.objectTypeField; + } + set { + this.objectTypeField = value; + this.RaisePropertyChanged("objectType"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class TaskType : ObjectType1 { + + private string taskIdentifierField; + + private ObjectReferenceType ownerRefField; + + private string channelField; + + private string parentField; + + private TaskType[] subtaskField; + + private ObjectReferenceType[] subtaskRefField; + + private string[] dependentField; + + private TaskType[] dependentTaskField; + + private ObjectReferenceType[] dependentTaskRefField; + + private TaskExecutionStatusType executionStatusField; + + private TaskWaitingReasonType waitingReasonField; + + private bool waitingReasonFieldSpecified; + + private string nodeField; + + private string nodeAsObservedField; + + private string categoryField; + + private string handlerUriField; + + private UriStackEntry[] otherHandlersUriStackField; + + private OperationResultType resultField; + + private OperationResultStatusType resultStatusField; + + private bool resultStatusFieldSpecified; + + private ObjectReferenceType objectRefField; + + private System.DateTime lastRunStartTimestampField; + + private bool lastRunStartTimestampFieldSpecified; + + private System.DateTime lastRunFinishTimestampField; + + private bool lastRunFinishTimestampFieldSpecified; + + private System.DateTime completionTimestampField; + + private bool completionTimestampFieldSpecified; + + private System.DateTime nextRunStartTimestampField; + + private bool nextRunStartTimestampFieldSpecified; + + private long progressField; + + private bool progressFieldSpecified; + + private System.DateTime stalledSinceField; + + private bool stalledSinceFieldSpecified; + + private long expectedTotalField; + + private bool expectedTotalFieldSpecified; + + private TaskRecurrenceType recurrenceField; + + private TaskBindingType bindingField; + + private bool bindingFieldSpecified; + + private string canRunOnNodeField; + + private ScheduleType scheduleField; + + private ThreadStopActionType threadStopActionField; + + private bool threadStopActionFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string taskIdentifier { + get { + return this.taskIdentifierField; + } + set { + this.taskIdentifierField = value; + this.RaisePropertyChanged("taskIdentifier"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ObjectReferenceType ownerRef { + get { + return this.ownerRefField; + } + set { + this.ownerRefField = value; + this.RaisePropertyChanged("ownerRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=2)] + public string channel { + get { + return this.channelField; + } + set { + this.channelField = value; + this.RaisePropertyChanged("channel"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string parent { + get { + return this.parentField; + } + set { + this.parentField = value; + this.RaisePropertyChanged("parent"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("subtask", Order=4)] + public TaskType[] subtask { + get { + return this.subtaskField; + } + set { + this.subtaskField = value; + this.RaisePropertyChanged("subtask"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("subtaskRef", Order=5)] + public ObjectReferenceType[] subtaskRef { + get { + return this.subtaskRefField; + } + set { + this.subtaskRefField = value; + this.RaisePropertyChanged("subtaskRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("dependent", Order=6)] + public string[] dependent { + get { + return this.dependentField; + } + set { + this.dependentField = value; + this.RaisePropertyChanged("dependent"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("dependentTask", Order=7)] + public TaskType[] dependentTask { + get { + return this.dependentTaskField; + } + set { + this.dependentTaskField = value; + this.RaisePropertyChanged("dependentTask"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("dependentTaskRef", Order=8)] + public ObjectReferenceType[] dependentTaskRef { + get { + return this.dependentTaskRefField; + } + set { + this.dependentTaskRefField = value; + this.RaisePropertyChanged("dependentTaskRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public TaskExecutionStatusType executionStatus { + get { + return this.executionStatusField; + } + set { + this.executionStatusField = value; + this.RaisePropertyChanged("executionStatus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public TaskWaitingReasonType waitingReason { + get { + return this.waitingReasonField; + } + set { + this.waitingReasonField = value; + this.RaisePropertyChanged("waitingReason"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool waitingReasonSpecified { + get { + return this.waitingReasonFieldSpecified; + } + set { + this.waitingReasonFieldSpecified = value; + this.RaisePropertyChanged("waitingReasonSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string node { + get { + return this.nodeField; + } + set { + this.nodeField = value; + this.RaisePropertyChanged("node"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string nodeAsObserved { + get { + return this.nodeAsObservedField; + } + set { + this.nodeAsObservedField = value; + this.RaisePropertyChanged("nodeAsObserved"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public string category { + get { + return this.categoryField; + } + set { + this.categoryField = value; + this.RaisePropertyChanged("category"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=14)] + public string handlerUri { + get { + return this.handlerUriField; + } + set { + this.handlerUriField = value; + this.RaisePropertyChanged("handlerUri"); + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=15)] + [System.Xml.Serialization.XmlArrayItemAttribute("uriStackEntry", IsNullable=false)] + public UriStackEntry[] otherHandlersUriStack { + get { + return this.otherHandlersUriStackField; + } + set { + this.otherHandlersUriStackField = value; + this.RaisePropertyChanged("otherHandlersUriStack"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public OperationResultType result { + get { + return this.resultField; + } + set { + this.resultField = value; + this.RaisePropertyChanged("result"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public OperationResultStatusType resultStatus { + get { + return this.resultStatusField; + } + set { + this.resultStatusField = value; + this.RaisePropertyChanged("resultStatus"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool resultStatusSpecified { + get { + return this.resultStatusFieldSpecified; + } + set { + this.resultStatusFieldSpecified = value; + this.RaisePropertyChanged("resultStatusSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public ObjectReferenceType objectRef { + get { + return this.objectRefField; + } + set { + this.objectRefField = value; + this.RaisePropertyChanged("objectRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public System.DateTime lastRunStartTimestamp { + get { + return this.lastRunStartTimestampField; + } + set { + this.lastRunStartTimestampField = value; + this.RaisePropertyChanged("lastRunStartTimestamp"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastRunStartTimestampSpecified { + get { + return this.lastRunStartTimestampFieldSpecified; + } + set { + this.lastRunStartTimestampFieldSpecified = value; + this.RaisePropertyChanged("lastRunStartTimestampSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public System.DateTime lastRunFinishTimestamp { + get { + return this.lastRunFinishTimestampField; + } + set { + this.lastRunFinishTimestampField = value; + this.RaisePropertyChanged("lastRunFinishTimestamp"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastRunFinishTimestampSpecified { + get { + return this.lastRunFinishTimestampFieldSpecified; + } + set { + this.lastRunFinishTimestampFieldSpecified = value; + this.RaisePropertyChanged("lastRunFinishTimestampSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=21)] + public System.DateTime completionTimestamp { + get { + return this.completionTimestampField; + } + set { + this.completionTimestampField = value; + this.RaisePropertyChanged("completionTimestamp"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool completionTimestampSpecified { + get { + return this.completionTimestampFieldSpecified; + } + set { + this.completionTimestampFieldSpecified = value; + this.RaisePropertyChanged("completionTimestampSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=22)] + public System.DateTime nextRunStartTimestamp { + get { + return this.nextRunStartTimestampField; + } + set { + this.nextRunStartTimestampField = value; + this.RaisePropertyChanged("nextRunStartTimestamp"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool nextRunStartTimestampSpecified { + get { + return this.nextRunStartTimestampFieldSpecified; + } + set { + this.nextRunStartTimestampFieldSpecified = value; + this.RaisePropertyChanged("nextRunStartTimestampSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=23)] + public long progress { + get { + return this.progressField; + } + set { + this.progressField = value; + this.RaisePropertyChanged("progress"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool progressSpecified { + get { + return this.progressFieldSpecified; + } + set { + this.progressFieldSpecified = value; + this.RaisePropertyChanged("progressSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=24)] + public System.DateTime stalledSince { + get { + return this.stalledSinceField; + } + set { + this.stalledSinceField = value; + this.RaisePropertyChanged("stalledSince"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool stalledSinceSpecified { + get { + return this.stalledSinceFieldSpecified; + } + set { + this.stalledSinceFieldSpecified = value; + this.RaisePropertyChanged("stalledSinceSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=25)] + public long expectedTotal { + get { + return this.expectedTotalField; + } + set { + this.expectedTotalField = value; + this.RaisePropertyChanged("expectedTotal"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool expectedTotalSpecified { + get { + return this.expectedTotalFieldSpecified; + } + set { + this.expectedTotalFieldSpecified = value; + this.RaisePropertyChanged("expectedTotalSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=26)] + public TaskRecurrenceType recurrence { + get { + return this.recurrenceField; + } + set { + this.recurrenceField = value; + this.RaisePropertyChanged("recurrence"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=27)] + public TaskBindingType binding { + get { + return this.bindingField; + } + set { + this.bindingField = value; + this.RaisePropertyChanged("binding"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool bindingSpecified { + get { + return this.bindingFieldSpecified; + } + set { + this.bindingFieldSpecified = value; + this.RaisePropertyChanged("bindingSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=28)] + public string canRunOnNode { + get { + return this.canRunOnNodeField; + } + set { + this.canRunOnNodeField = value; + this.RaisePropertyChanged("canRunOnNode"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=29)] + public ScheduleType schedule { + get { + return this.scheduleField; + } + set { + this.scheduleField = value; + this.RaisePropertyChanged("schedule"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=30)] + public ThreadStopActionType threadStopAction { + get { + return this.threadStopActionField; + } + set { + this.threadStopActionField = value; + this.RaisePropertyChanged("threadStopAction"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool threadStopActionSpecified { + get { + return this.threadStopActionFieldSpecified; + } + set { + this.threadStopActionFieldSpecified = value; + this.RaisePropertyChanged("threadStopActionSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum TaskExecutionStatusType { + + /// + runnable, + + /// + waiting, + + /// + suspended, + + /// + closed, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum TaskWaitingReasonType { + + /// + otherTasks, + + /// + workflow, + + /// + other, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class UriStackEntry : object, System.ComponentModel.INotifyPropertyChanged { + + private string handlerUriField; + + private TaskRecurrenceType recurrenceField; + + private bool recurrenceFieldSpecified; + + private ScheduleType scheduleField; + + private TaskBindingType bindingField; + + private bool bindingFieldSpecified; + + private ItemDeltaType[] extensionDeltaField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] + public string handlerUri { + get { + return this.handlerUriField; + } + set { + this.handlerUriField = value; + this.RaisePropertyChanged("handlerUri"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public TaskRecurrenceType recurrence { + get { + return this.recurrenceField; + } + set { + this.recurrenceField = value; + this.RaisePropertyChanged("recurrence"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool recurrenceSpecified { + get { + return this.recurrenceFieldSpecified; + } + set { + this.recurrenceFieldSpecified = value; + this.RaisePropertyChanged("recurrenceSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ScheduleType schedule { + get { + return this.scheduleField; + } + set { + this.scheduleField = value; + this.RaisePropertyChanged("schedule"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public TaskBindingType binding { + get { + return this.bindingField; + } + set { + this.bindingField = value; + this.RaisePropertyChanged("binding"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool bindingSpecified { + get { + return this.bindingFieldSpecified; + } + set { + this.bindingFieldSpecified = value; + this.RaisePropertyChanged("bindingSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("extensionDelta", Order=4)] + public ItemDeltaType[] extensionDelta { + get { + return this.extensionDeltaField; + } + set { + this.extensionDeltaField = value; + this.RaisePropertyChanged("extensionDelta"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum TaskRecurrenceType { + + /// + single, + + /// + recurring, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ScheduleType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime earliestStartTimeField; + + private bool earliestStartTimeFieldSpecified; + + private System.DateTime latestStartTimeField; + + private bool latestStartTimeFieldSpecified; + + private System.DateTime latestFinishTimeField; + + private bool latestFinishTimeFieldSpecified; + + private int intervalField; + + private bool intervalFieldSpecified; + + private string cronLikePatternField; + + private MisfireActionType misfireActionField; + + private bool misfireActionFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime earliestStartTime { + get { + return this.earliestStartTimeField; + } + set { + this.earliestStartTimeField = value; + this.RaisePropertyChanged("earliestStartTime"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool earliestStartTimeSpecified { + get { + return this.earliestStartTimeFieldSpecified; + } + set { + this.earliestStartTimeFieldSpecified = value; + this.RaisePropertyChanged("earliestStartTimeSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime latestStartTime { + get { + return this.latestStartTimeField; + } + set { + this.latestStartTimeField = value; + this.RaisePropertyChanged("latestStartTime"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool latestStartTimeSpecified { + get { + return this.latestStartTimeFieldSpecified; + } + set { + this.latestStartTimeFieldSpecified = value; + this.RaisePropertyChanged("latestStartTimeSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime latestFinishTime { + get { + return this.latestFinishTimeField; + } + set { + this.latestFinishTimeField = value; + this.RaisePropertyChanged("latestFinishTime"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool latestFinishTimeSpecified { + get { + return this.latestFinishTimeFieldSpecified; + } + set { + this.latestFinishTimeFieldSpecified = value; + this.RaisePropertyChanged("latestFinishTimeSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int interval { + get { + return this.intervalField; + } + set { + this.intervalField = value; + this.RaisePropertyChanged("interval"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool intervalSpecified { + get { + return this.intervalFieldSpecified; + } + set { + this.intervalFieldSpecified = value; + this.RaisePropertyChanged("intervalSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string cronLikePattern { + get { + return this.cronLikePatternField; + } + set { + this.cronLikePatternField = value; + this.RaisePropertyChanged("cronLikePattern"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public MisfireActionType misfireAction { + get { + return this.misfireActionField; + } + set { + this.misfireActionField = value; + this.RaisePropertyChanged("misfireAction"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool misfireActionSpecified { + get { + return this.misfireActionFieldSpecified; + } + set { + this.misfireActionFieldSpecified = value; + this.RaisePropertyChanged("misfireActionSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum MisfireActionType { + + /// + executeImmediately, + + /// + reschedule, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum TaskBindingType { + + /// + loose, + + /// + tight, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ItemDeltaType : object, System.ComponentModel.INotifyPropertyChanged { + + private ModificationTypeType modificationTypeField; + + private ItemPathType pathField; + + private object[] valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ModificationTypeType modificationType { + get { + return this.modificationTypeField; + } + set { + this.modificationTypeField = value; + this.RaisePropertyChanged("modificationType"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ItemPathType path { + get { + return this.pathField; + } + set { + this.pathField = value; + this.RaisePropertyChanged("path"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("value", Order=2)] + public object[] value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public enum ModificationTypeType { + + /// + add, + + /// + replace, + + /// + delete, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ThreadStopActionType { + + /// + restart, + + /// + reschedule, + + /// + suspend, + + /// + close, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ConnectorConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceObjectTypeDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + + private ShadowKindType kindField; + + private bool kindFieldSpecified; + + private string intentField; + + private string displayNameField; + + private string descriptionField; + + private bool defaultField; + + private System.Xml.XmlQualifiedName objectClassField; + + private ResourceAttributeDefinitionType[] attributeField; + + private ResourceObjectTypeDependencyType[] dependencyField; + + private ResourceObjectAssociationType[] associationField; + + private AssignmentPolicyEnforcementType assignmentPolicyEnforcementField; + + private bool assignmentPolicyEnforcementFieldSpecified; + + private IterationSpecificationType iterationField; + + private ResourceObjectPatternType[] protectedField; + + private ResourceActivationDefinitionType activationField; + + private ResourceCredentialsDefinitionType credentialsField; + + public ResourceObjectTypeDefinitionType() { + this.defaultField = false; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ShadowKindType kind { + get { + return this.kindField; + } + set { + this.kindField = value; + this.RaisePropertyChanged("kind"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool kindSpecified { + get { + return this.kindFieldSpecified; + } + set { + this.kindFieldSpecified = value; + this.RaisePropertyChanged("kindSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string intent { + get { + return this.intentField; + } + set { + this.intentField = value; + this.RaisePropertyChanged("intent"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string displayName { + get { + return this.displayNameField; + } + set { + this.displayNameField = value; + this.RaisePropertyChanged("displayName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool @default { + get { + return this.defaultField; + } + set { + this.defaultField = value; + this.RaisePropertyChanged("default"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Xml.XmlQualifiedName objectClass { + get { + return this.objectClassField; + } + set { + this.objectClassField = value; + this.RaisePropertyChanged("objectClass"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("attribute", Order=6)] + public ResourceAttributeDefinitionType[] attribute { + get { + return this.attributeField; + } + set { + this.attributeField = value; + this.RaisePropertyChanged("attribute"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("dependency", Order=7)] + public ResourceObjectTypeDependencyType[] dependency { + get { + return this.dependencyField; + } + set { + this.dependencyField = value; + this.RaisePropertyChanged("dependency"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("association", Order=8)] + public ResourceObjectAssociationType[] association { + get { + return this.associationField; + } + set { + this.associationField = value; + this.RaisePropertyChanged("association"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public AssignmentPolicyEnforcementType assignmentPolicyEnforcement { + get { + return this.assignmentPolicyEnforcementField; + } + set { + this.assignmentPolicyEnforcementField = value; + this.RaisePropertyChanged("assignmentPolicyEnforcement"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool assignmentPolicyEnforcementSpecified { + get { + return this.assignmentPolicyEnforcementFieldSpecified; + } + set { + this.assignmentPolicyEnforcementFieldSpecified = value; + this.RaisePropertyChanged("assignmentPolicyEnforcementSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public IterationSpecificationType iteration { + get { + return this.iterationField; + } + set { + this.iterationField = value; + this.RaisePropertyChanged("iteration"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("protected", Order=11)] + public ResourceObjectPatternType[] @protected { + get { + return this.protectedField; + } + set { + this.protectedField = value; + this.RaisePropertyChanged("protected"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public ResourceActivationDefinitionType activation { + get { + return this.activationField; + } + set { + this.activationField = value; + this.RaisePropertyChanged("activation"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public ResourceCredentialsDefinitionType credentials { + get { + return this.credentialsField; + } + set { + this.credentialsField = value; + this.RaisePropertyChanged("credentials"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceObjectPatternType : object, System.ComponentModel.INotifyPropertyChanged { + + private SearchFilterType filterField; + + private string nameField; + + private string uidField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SearchFilterType filter { + get { + return this.filterField; + } + set { + this.filterField = value; + this.RaisePropertyChanged("filter"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3", Order=1)] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3", Order=2)] + public string uid { + get { + return this.uidField; + } + set { + this.uidField = value; + this.RaisePropertyChanged("uid"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceActivationDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + + private ResourceBidirectionalMappingType existenceField; + + private ResourceBidirectionalMappingType administrativeStatusField; + + private ResourceBidirectionalMappingType validFromField; + + private ResourceBidirectionalMappingType validToField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ResourceBidirectionalMappingType existence { + get { + return this.existenceField; + } + set { + this.existenceField = value; + this.RaisePropertyChanged("existence"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ResourceBidirectionalMappingType administrativeStatus { + get { + return this.administrativeStatusField; + } + set { + this.administrativeStatusField = value; + this.RaisePropertyChanged("administrativeStatus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ResourceBidirectionalMappingType validFrom { + get { + return this.validFromField; + } + set { + this.validFromField = value; + this.RaisePropertyChanged("validFrom"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ResourceBidirectionalMappingType validTo { + get { + return this.validToField; + } + set { + this.validToField = value; + this.RaisePropertyChanged("validTo"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceBidirectionalMappingType : object, System.ComponentModel.INotifyPropertyChanged { + + private AttributeFetchStrategyType fetchStrategyField; + + private bool fetchStrategyFieldSpecified; + + private MappingType[] outboundField; + + private MappingType[] inboundField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AttributeFetchStrategyType fetchStrategy { + get { + return this.fetchStrategyField; + } + set { + this.fetchStrategyField = value; + this.RaisePropertyChanged("fetchStrategy"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fetchStrategySpecified { + get { + return this.fetchStrategyFieldSpecified; + } + set { + this.fetchStrategyFieldSpecified = value; + this.RaisePropertyChanged("fetchStrategySpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("outbound", Order=1)] + public MappingType[] outbound { + get { + return this.outboundField; + } + set { + this.outboundField = value; + this.RaisePropertyChanged("outbound"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("inbound", Order=2)] + public MappingType[] inbound { + get { + return this.inboundField; + } + set { + this.inboundField = value; + this.RaisePropertyChanged("inbound"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceCredentialsDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + + private ResourcePasswordDefinitionType passwordField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ResourcePasswordDefinitionType password { + get { + return this.passwordField; + } + set { + this.passwordField = value; + this.RaisePropertyChanged("password"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourcePasswordDefinitionType : object, System.ComponentModel.INotifyPropertyChanged { + + private AttributeFetchStrategyType fetchStrategyField; + + private bool fetchStrategyFieldSpecified; + + private MappingType outboundField; + + private MappingType[] inboundField; + + private ObjectReferenceType passwordPolicyRefField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AttributeFetchStrategyType fetchStrategy { + get { + return this.fetchStrategyField; + } + set { + this.fetchStrategyField = value; + this.RaisePropertyChanged("fetchStrategy"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fetchStrategySpecified { + get { + return this.fetchStrategyFieldSpecified; + } + set { + this.fetchStrategyFieldSpecified = value; + this.RaisePropertyChanged("fetchStrategySpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public MappingType outbound { + get { + return this.outboundField; + } + set { + this.outboundField = value; + this.RaisePropertyChanged("outbound"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("inbound", Order=2)] + public MappingType[] inbound { + get { + return this.inboundField; + } + set { + this.inboundField = value; + this.RaisePropertyChanged("inbound"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ObjectReferenceType passwordPolicyRef { + get { + return this.passwordPolicyRefField; + } + set { + this.passwordPolicyRefField = value; + this.RaisePropertyChanged("passwordPolicyRef"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class CapabilitiesType : object, System.ComponentModel.INotifyPropertyChanged { + + private CachingMetadataType cachingMetadataField; + + private CapabilityCollectionType nativeField; + + private CapabilityCollectionType configuredField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CachingMetadataType cachingMetadata { + get { + return this.cachingMetadataField; + } + set { + this.cachingMetadataField = value; + this.RaisePropertyChanged("cachingMetadata"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public CapabilityCollectionType native { + get { + return this.nativeField; + } + set { + this.nativeField = value; + this.RaisePropertyChanged("native"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public CapabilityCollectionType configured { + get { + return this.configuredField; + } + set { + this.configuredField = value; + this.RaisePropertyChanged("configured"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class CapabilityCollectionType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class OperationProvisioningScriptType : ProvisioningScriptType { + + private ProvisioningOperationTypeType[] operationField; + + private ShadowKindType[] kindField; + + private string[] intentField; + + private BeforeAfterType orderField; + + /// + [System.Xml.Serialization.XmlElementAttribute("operation", Order=0)] + public ProvisioningOperationTypeType[] operation { + get { + return this.operationField; + } + set { + this.operationField = value; + this.RaisePropertyChanged("operation"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("kind", Order=1)] + public ShadowKindType[] kind { + get { + return this.kindField; + } + set { + this.kindField = value; + this.RaisePropertyChanged("kind"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("intent", Order=2)] + public string[] intent { + get { + return this.intentField; + } + set { + this.intentField = value; + this.RaisePropertyChanged("intent"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public BeforeAfterType order { + get { + return this.orderField; + } + set { + this.orderField = value; + this.RaisePropertyChanged("order"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ProvisioningOperationTypeType { + + /// + get, + + /// + add, + + /// + modify, + + /// + delete, + + /// + reconcile, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum BeforeAfterType { + + /// + before, + + /// + after, + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OperationProvisioningScriptType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ProvisioningScriptType : object, System.ComponentModel.INotifyPropertyChanged { + + private ProvisioningScriptHostType hostField; + + private string languageField; + + private ProvisioningScriptArgumentType[] argumentField; + + private string codeField; + + public ProvisioningScriptType() { + this.hostField = ProvisioningScriptHostType.resource; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(ProvisioningScriptHostType.resource)] + public ProvisioningScriptHostType host { + get { + return this.hostField; + } + set { + this.hostField = value; + this.RaisePropertyChanged("host"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=1)] + public string language { + get { + return this.languageField; + } + set { + this.languageField = value; + this.RaisePropertyChanged("language"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("argument", Order=2)] + public ProvisioningScriptArgumentType[] argument { + get { + return this.argumentField; + } + set { + this.argumentField = value; + this.RaisePropertyChanged("argument"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("code"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ProvisioningScriptHostType { + + /// + connector, + + /// + resource, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceConsistencyType : object, System.ComponentModel.INotifyPropertyChanged { + + private bool avoidDuplicateValuesField; + + private bool postponeField; + + private bool discoveryField; + + private long idField; + + private bool idFieldSpecified; + + public ResourceConsistencyType() { + this.avoidDuplicateValuesField = false; + this.postponeField = true; + this.discoveryField = true; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool avoidDuplicateValues { + get { + return this.avoidDuplicateValuesField; + } + set { + this.avoidDuplicateValuesField = value; + this.RaisePropertyChanged("avoidDuplicateValues"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool postpone { + get { + return this.postponeField; + } + set { + this.postponeField = value; + this.RaisePropertyChanged("postpone"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool discovery { + get { + return this.discoveryField; + } + set { + this.discoveryField = value; + this.RaisePropertyChanged("discovery"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ObjectSynchronizationType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + private string descriptionField; + + private System.Xml.XmlQualifiedName[] objectClassField; + + private ShadowKindType kindField; + + private bool kindFieldSpecified; + + private string intentField; + + private System.Xml.XmlQualifiedName focusTypeField; + + private bool enabledField; + + private ExpressionType conditionField; + + private ConditionalSearchFilterType[] correlationField; + + private ExpressionType confirmationField; + + private ObjectReferenceType objectTemplateRefField; + + private bool reconcileField; + + private bool reconcileFieldSpecified; + + private bool opportunisticField; + + private SynchronizationReactionType[] reactionField; + + public ObjectSynchronizationType() { + this.enabledField = true; + this.opportunisticField = true; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("objectClass", Order=2)] + public System.Xml.XmlQualifiedName[] objectClass { + get { + return this.objectClassField; + } + set { + this.objectClassField = value; + this.RaisePropertyChanged("objectClass"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ShadowKindType kind { + get { + return this.kindField; + } + set { + this.kindField = value; + this.RaisePropertyChanged("kind"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool kindSpecified { + get { + return this.kindFieldSpecified; + } + set { + this.kindFieldSpecified = value; + this.RaisePropertyChanged("kindSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string intent { + get { + return this.intentField; + } + set { + this.intentField = value; + this.RaisePropertyChanged("intent"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public System.Xml.XmlQualifiedName focusType { + get { + return this.focusTypeField; + } + set { + this.focusTypeField = value; + this.RaisePropertyChanged("focusType"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool enabled { + get { + return this.enabledField; + } + set { + this.enabledField = value; + this.RaisePropertyChanged("enabled"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public ExpressionType condition { + get { + return this.conditionField; + } + set { + this.conditionField = value; + this.RaisePropertyChanged("condition"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("correlation", Order=8)] + public ConditionalSearchFilterType[] correlation { + get { + return this.correlationField; + } + set { + this.correlationField = value; + this.RaisePropertyChanged("correlation"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public ExpressionType confirmation { + get { + return this.confirmationField; + } + set { + this.confirmationField = value; + this.RaisePropertyChanged("confirmation"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public ObjectReferenceType objectTemplateRef { + get { + return this.objectTemplateRefField; + } + set { + this.objectTemplateRefField = value; + this.RaisePropertyChanged("objectTemplateRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public bool reconcile { + get { + return this.reconcileField; + } + set { + this.reconcileField = value; + this.RaisePropertyChanged("reconcile"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool reconcileSpecified { + get { + return this.reconcileFieldSpecified; + } + set { + this.reconcileFieldSpecified = value; + this.RaisePropertyChanged("reconcileSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool opportunistic { + get { + return this.opportunisticField; + } + set { + this.opportunisticField = value; + this.RaisePropertyChanged("opportunistic"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("reaction", Order=13)] + public SynchronizationReactionType[] reaction { + get { + return this.reactionField; + } + set { + this.reactionField = value; + this.RaisePropertyChanged("reaction"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SynchronizationReactionType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + private string descriptionField; + + private SynchronizationSituationType situationField; + + private string[] channelField; + + private bool synchronizeField; + + private bool synchronizeFieldSpecified; + + private bool reconcileField; + + private bool reconcileFieldSpecified; + + private ObjectReferenceType objectTemplateRefField; + + private SynchronizationActionType[] actionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public SynchronizationSituationType situation { + get { + return this.situationField; + } + set { + this.situationField = value; + this.RaisePropertyChanged("situation"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("channel", DataType="anyURI", Order=3)] + public string[] channel { + get { + return this.channelField; + } + set { + this.channelField = value; + this.RaisePropertyChanged("channel"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool synchronize { + get { + return this.synchronizeField; + } + set { + this.synchronizeField = value; + this.RaisePropertyChanged("synchronize"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool synchronizeSpecified { + get { + return this.synchronizeFieldSpecified; + } + set { + this.synchronizeFieldSpecified = value; + this.RaisePropertyChanged("synchronizeSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public bool reconcile { + get { + return this.reconcileField; + } + set { + this.reconcileField = value; + this.RaisePropertyChanged("reconcile"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool reconcileSpecified { + get { + return this.reconcileFieldSpecified; + } + set { + this.reconcileFieldSpecified = value; + this.RaisePropertyChanged("reconcileSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ObjectReferenceType objectTemplateRef { + get { + return this.objectTemplateRefField; + } + set { + this.objectTemplateRefField = value; + this.RaisePropertyChanged("objectTemplateRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("action", Order=7)] + public SynchronizationActionType[] action { + get { + return this.actionField; + } + set { + this.actionField = value; + this.RaisePropertyChanged("action"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum SynchronizationSituationType { + + /// + deleted, + + /// + unmatched, + + /// + disputed, + + /// + linked, + + /// + unlinked, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SynchronizationActionType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + private string descriptionField; private string handlerUriField; - private UriStackEntry[] otherHandlersUriStackField; + private BeforeAfterType orderField; + + private SynchronizationActionTypeParameters parametersField; + + private ObjectReferenceType userTemplateRefField; + + private ObjectReferenceType objectTemplateRefField; + + private string refField; + + public SynchronizationActionType() { + this.orderField = BeforeAfterType.before; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=2)] + public string handlerUri { + get { + return this.handlerUriField; + } + set { + this.handlerUriField = value; + this.RaisePropertyChanged("handlerUri"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(BeforeAfterType.before)] + public BeforeAfterType order { + get { + return this.orderField; + } + set { + this.orderField = value; + this.RaisePropertyChanged("order"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public SynchronizationActionTypeParameters parameters { + get { + return this.parametersField; + } + set { + this.parametersField = value; + this.RaisePropertyChanged("parameters"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public ObjectReferenceType userTemplateRef { + get { + return this.userTemplateRefField; + } + set { + this.userTemplateRefField = value; + this.RaisePropertyChanged("userTemplateRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public ObjectReferenceType objectTemplateRef { + get { + return this.objectTemplateRefField; + } + set { + this.objectTemplateRefField = value; + this.RaisePropertyChanged("objectTemplateRef"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string @ref { + get { + return this.refField; + } + set { + this.refField = value; + this.RaisePropertyChanged("ref"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SynchronizationActionTypeParameters : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ResourceBusinessConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + + private ResourceAdministrativeStateType administrativeStateField; + + private bool administrativeStateFieldSpecified; + + private ObjectReferenceType[] approverRefField; + + private long idField; + + private bool idFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ResourceAdministrativeStateType administrativeState { + get { + return this.administrativeStateField; + } + set { + this.administrativeStateField = value; + this.RaisePropertyChanged("administrativeState"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool administrativeStateSpecified { + get { + return this.administrativeStateFieldSpecified; + } + set { + this.administrativeStateFieldSpecified = value; + this.RaisePropertyChanged("administrativeStateSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("approverRef", Order=1)] + public ObjectReferenceType[] approverRef { + get { + return this.approverRefField; + } + set { + this.approverRefField = value; + this.RaisePropertyChanged("approverRef"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum ResourceAdministrativeStateType { + + /// + enabled, + + /// + disabled, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ObjectDeltaType : object, System.ComponentModel.INotifyPropertyChanged { + + private ChangeTypeType changeTypeField; + + private System.Xml.XmlQualifiedName objectTypeField; + + private ObjectType objectToAddField; + + private string oidField; + + private ItemDeltaType[] itemDeltaField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ChangeTypeType changeType { + get { + return this.changeTypeField; + } + set { + this.changeTypeField = value; + this.RaisePropertyChanged("changeType"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Xml.XmlQualifiedName objectType { + get { + return this.objectTypeField; + } + set { + this.objectTypeField = value; + this.RaisePropertyChanged("objectType"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ObjectType objectToAdd { + get { + return this.objectToAddField; + } + set { + this.objectToAddField = value; + this.RaisePropertyChanged("objectToAdd"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string oid { + get { + return this.oidField; + } + set { + this.oidField = value; + this.RaisePropertyChanged("oid"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("itemDelta", Order=4)] + public ItemDeltaType[] itemDelta { + get { + return this.itemDeltaField; + } + set { + this.itemDeltaField = value; + this.RaisePropertyChanged("itemDelta"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public enum ChangeTypeType { + + /// + add, + + /// + modify, + + /// + delete, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public enum FailedOperationTypeType { + + /// + delete, + + /// + add, + + /// + get, + + /// + modify, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class SynchronizationSituationDescriptionType : object, System.ComponentModel.INotifyPropertyChanged { + + private SynchronizationSituationType situationField; + + private System.DateTime timestampField; + + private string channelField; + + private bool fullField; + + private bool fullFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SynchronizationSituationType situation { + get { + return this.situationField; + } + set { + this.situationField = value; + this.RaisePropertyChanged("situation"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime timestamp { + get { + return this.timestampField; + } + set { + this.timestampField = value; + this.RaisePropertyChanged("timestamp"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=2)] + public string channel { + get { + return this.channelField; + } + set { + this.channelField = value; + this.RaisePropertyChanged("channel"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool full { + get { + return this.fullField; + } + set { + this.fullField = value; + this.RaisePropertyChanged("full"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fullSpecified { + get { + return this.fullFieldSpecified; + } + set { + this.fullFieldSpecified = value; + this.RaisePropertyChanged("fullSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ShadowAttributesType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + private long idField; + + private bool idFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ShadowAssociationType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlQualifiedName nameField; + + private ObjectReferenceType shadowRefField; + + private ShadowIdentifiersType identifiersField; + + private long idField; + + private bool idFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ObjectReferenceType shadowRef { + get { + return this.shadowRefField; + } + set { + this.shadowRefField = value; + this.RaisePropertyChanged("shadowRef"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ShadowIdentifiersType identifiers { + get { + return this.identifiersField; + } + set { + this.identifiersField = value; + this.RaisePropertyChanged("identifiers"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class ShadowIdentifiersType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + private long idField; + + private bool idFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class GeneralChangeProcessorScenarioType : object, System.ComponentModel.INotifyPropertyChanged { + + private bool enabledField; + + private string nameField; + + private ExpressionType activationConditionField; + + private string processNameField; + + private string beanNameField; + + public GeneralChangeProcessorScenarioType() { + this.enabledField = true; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool enabled { + get { + return this.enabledField; + } + set { + this.enabledField = value; + this.RaisePropertyChanged("enabled"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ExpressionType activationCondition { + get { + return this.activationConditionField; + } + set { + this.activationConditionField = value; + this.RaisePropertyChanged("activationCondition"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string processName { + get { + return this.processNameField; + } + set { + this.processNameField = value; + this.RaisePropertyChanged("processName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string beanName { + get { + return this.beanNameField; + } + set { + this.beanNameField = value; + this.RaisePropertyChanged("beanName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class UnknownJavaObjectType : object, System.ComponentModel.INotifyPropertyChanged { + + private string classField; + + private string toStringField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string @class { + get { + return this.classField; + } + set { + this.classField = value; + this.RaisePropertyChanged("class"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string toString { + get { + return this.toStringField; + } + set { + this.toStringField = value; + this.RaisePropertyChanged("toString"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class LocalizedMessageType : object, System.ComponentModel.INotifyPropertyChanged { + + private string keyField; + + private string[] argumentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string key { + get { + return this.keyField; + } + set { + this.keyField = value; + this.RaisePropertyChanged("key"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("argument", Order=1)] + public string[] argument { + get { + return this.argumentField; + } + set { + this.argumentField = value; + this.RaisePropertyChanged("argument"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] + public partial class EmptyType : object, System.ComponentModel.INotifyPropertyChanged { + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignaturePropertyType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] itemsField; + + private string[] textField; + + private string targetField; + + private string idField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Target { + get { + return this.targetField; + } + set { + this.targetField = value; + this.RaisePropertyChanged("Target"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignaturePropertiesType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignaturePropertyType[] signaturePropertyField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute("SignatureProperty", Order=0)] + public SignaturePropertyType[] SignatureProperty { + get { + return this.signaturePropertyField; + } + set { + this.signaturePropertyField = value; + this.RaisePropertyChanged("SignatureProperty"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ManifestType : object, System.ComponentModel.INotifyPropertyChanged { + + private ReferenceType1[] referenceField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Reference", Order=0)] + public ReferenceType1[] Reference { + get { + return this.referenceField; + } + set { + this.referenceField = value; + this.RaisePropertyChanged("Reference"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ReferenceType", Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ReferenceType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformsField; + + private DigestMethodType digestMethodField; + + private byte[] digestValueField; + + private string idField; + + private string uRIField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public DigestMethodType DigestMethod { + get { + return this.digestMethodField; + } + set { + this.digestMethodField = value; + this.RaisePropertyChanged("DigestMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] DigestValue { + get { + return this.digestValueField; + } + set { + this.digestValueField = value; + this.RaisePropertyChanged("DigestValue"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class TransformType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private string[] textField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string), Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DigestMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ObjectType", Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ObjectType2 : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string idField; + + private string mimeTypeField; + + private string encodingField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string MimeType { + get { + return this.mimeTypeField; + } + set { + this.mimeTypeField = value; + this.RaisePropertyChanged("MimeType"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Encoding { + get { + return this.encodingField; + } + set { + this.encodingField = value; + this.RaisePropertyChanged("Encoding"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private byte[] valueField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute(DataType="base64Binary")] + public byte[] Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private string hMACOutputLengthField; + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string HMACOutputLength { + get { + return this.hMACOutputLengthField; + } + set { + this.hMACOutputLengthField = value; + this.RaisePropertyChanged("HMACOutputLength"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class CanonicalizationMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignedInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private CanonicalizationMethodType canonicalizationMethodField; + + private SignatureMethodType signatureMethodField; + + private ReferenceType1[] referenceField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CanonicalizationMethodType CanonicalizationMethod { + get { + return this.canonicalizationMethodField; + } + set { + this.canonicalizationMethodField = value; + this.RaisePropertyChanged("CanonicalizationMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureMethodType SignatureMethod { + get { + return this.signatureMethodField; + } + set { + this.signatureMethodField = value; + this.RaisePropertyChanged("SignatureMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Reference", Order=2)] + public ReferenceType1[] Reference { + get { + return this.referenceField; + } + set { + this.referenceField = value; + this.RaisePropertyChanged("Reference"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignedInfoType signedInfoField; + + private SignatureValueType signatureValueField; + + private KeyInfoType1 keyInfoField; + + private ObjectType2[] objectField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SignedInfoType SignedInfo { + get { + return this.signedInfoField; + } + set { + this.signedInfoField = value; + this.RaisePropertyChanged("SignedInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureValueType SignatureValue { + get { + return this.signatureValueField; + } + set { + this.signatureValueField = value; + this.RaisePropertyChanged("SignatureValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public KeyInfoType1 KeyInfo { + get { + return this.keyInfoField; + } + set { + this.keyInfoField = value; + this.RaisePropertyChanged("KeyInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Object", Order=3)] + public ObjectType2[] Object { + get { + return this.objectField; + } + set { + this.objectField = value; + this.RaisePropertyChanged("Object"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="KeyInfoType", Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyInfoType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType4[] itemsElementNameField; + + private string[] textField; + + private string idField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType4[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private object itemField; + + private string[] textField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] pField; + + private byte[] qField; + + private byte[] jField; + + private byte[] gField; + + private byte[] yField; + + private byte[] seedField; + + private byte[] pgenCounterField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] P { + get { + return this.pField; + } + set { + this.pField = value; + this.RaisePropertyChanged("P"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Q { + get { + return this.qField; + } + set { + this.qField = value; + this.RaisePropertyChanged("Q"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] J { + get { + return this.jField; + } + set { + this.jField = value; + this.RaisePropertyChanged("J"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] + public byte[] G { + get { + return this.gField; + } + set { + this.gField = value; + this.RaisePropertyChanged("G"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] + public byte[] Y { + get { + return this.yField; + } + set { + this.yField = value; + this.RaisePropertyChanged("Y"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=5)] + public byte[] Seed { + get { + return this.seedField; + } + set { + this.seedField = value; + this.RaisePropertyChanged("Seed"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=6)] + public byte[] PgenCounter { + get { + return this.pgenCounterField; + } + set { + this.pgenCounterField = value; + this.RaisePropertyChanged("PgenCounter"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] modulusField; + + private byte[] exponentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] Modulus { + get { + return this.modulusField; + } + set { + this.modulusField = value; + this.RaisePropertyChanged("Modulus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Exponent { + get { + return this.exponentField; + } + set { + this.exponentField = value; + this.RaisePropertyChanged("Exponent"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class PGPDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType3[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType3[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType3 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + PGPKeyID, + + /// + PGPKeyPacket, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RetrievalMethodType : object, System.ComponentModel.INotifyPropertyChanged { - private OperationResultType resultField; + private TransformType[] transformsField; - private OperationResultStatusType resultStatusField; + private string uRIField; - private bool resultStatusFieldSpecified; + private string typeField; - private ObjectReferenceType objectRefField; + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } - private System.DateTime lastRunStartTimestampField; + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } - private bool lastRunStartTimestampFieldSpecified; + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } - private System.DateTime lastRunFinishTimestampField; + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - private bool lastRunFinishTimestampFieldSpecified; + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SPKIDataType : object, System.ComponentModel.INotifyPropertyChanged { - private System.DateTime completionTimestampField; + private object[] itemsField; - private bool completionTimestampFieldSpecified; + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKISexp", typeof(byte[]), DataType="base64Binary", Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } - private System.DateTime nextRunStartTimestampField; + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - private bool nextRunStartTimestampFieldSpecified; + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509DataType : object, System.ComponentModel.INotifyPropertyChanged { - private long progressField; + private object[] itemsField; - private bool progressFieldSpecified; + private ItemsChoiceType2[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType2[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509IssuerSerialType : object, System.ComponentModel.INotifyPropertyChanged { + + private string x509IssuerNameField; + + private string x509SerialNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string X509IssuerName { + get { + return this.x509IssuerNameField; + } + set { + this.x509IssuerNameField = value; + this.RaisePropertyChanged("X509IssuerName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=1)] + public string X509SerialNumber { + get { + return this.x509SerialNumberField; + } + set { + this.x509SerialNumberField = value; + this.RaisePropertyChanged("X509SerialNumber"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType2 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + X509CRL, + + /// + X509Certificate, + + /// + X509IssuerSerial, + + /// + X509SKI, + + /// + X509SubjectName, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType4 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + KeyName, + + /// + KeyValue, + + /// + MgmtData, + + /// + PGPData, + + /// + RetrievalMethod, + + /// + SPKIData, + + /// + X509Data, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class XmlAsStringType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; - private TaskRecurrenceType recurrenceField; + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } - private TaskBindingType bindingField; + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - private bool bindingFieldSpecified; + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ObjectReferenceType", Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ObjectReferenceType1 : object, System.ComponentModel.INotifyPropertyChanged { - private string canRunOnNodeField; + private string descriptionField; - private ScheduleType scheduleField; + private ObjectReferenceTypeFilter filterField; - private ThreadStopActionType threadStopActionField; + private string oidField; - private bool threadStopActionFieldSpecified; + private System.Xml.XmlQualifiedName typeField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string taskIdentifier { + public string description { get { - return this.taskIdentifierField; + return this.descriptionField; } set { - this.taskIdentifierField = value; - this.RaisePropertyChanged("taskIdentifier"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ObjectReferenceType ownerRef { + public ObjectReferenceTypeFilter filter { get { - return this.ownerRefField; + return this.filterField; } set { - this.ownerRefField = value; - this.RaisePropertyChanged("ownerRef"); + this.filterField = value; + this.RaisePropertyChanged("filter"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=2)] - public string channel { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string oid { get { - return this.channelField; + return this.oidField; } set { - this.channelField = value; - this.RaisePropertyChanged("channel"); + this.oidField = value; + this.RaisePropertyChanged("oid"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string parent { + [System.Xml.Serialization.XmlAttributeAttribute()] + public System.Xml.XmlQualifiedName type { get { - return this.parentField; + return this.typeField; } set { - this.parentField = value; - this.RaisePropertyChanged("parent"); + this.typeField = value; + this.RaisePropertyChanged("type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class ObjectReferenceTypeFilter : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute("subtask", Order=4)] - public TaskType[] subtask { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.subtaskField; + return this.anyField; } set { - this.subtaskField = value; - this.RaisePropertyChanged("subtask"); + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/types-3")] + public partial class extension : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute("subtaskRef", Order=5)] - public ObjectReferenceType[] subtaskRef { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.subtaskRefField; + return this.anyField; } set { - this.subtaskRefField = value; - this.RaisePropertyChanged("subtaskRef"); + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class AgreementMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] kANonceField; + + private System.Xml.XmlNode[] anyField; + + private KeyInfoType1 originatorKeyInfoField; + + private KeyInfoType1 recipientKeyInfoField; + + private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute("dependent", Order=6)] - public string[] dependent { + [System.Xml.Serialization.XmlElementAttribute("KA-Nonce", DataType="base64Binary", Order=0)] + public byte[] KANonce { get { - return this.dependentField; + return this.kANonceField; } set { - this.dependentField = value; - this.RaisePropertyChanged("dependent"); + this.kANonceField = value; + this.RaisePropertyChanged("KANonce"); } } /// - [System.Xml.Serialization.XmlElementAttribute("dependentTask", Order=7)] - public TaskType[] dependentTask { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { get { - return this.dependentTaskField; + return this.anyField; } set { - this.dependentTaskField = value; - this.RaisePropertyChanged("dependentTask"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute("dependentTaskRef", Order=8)] - public ObjectReferenceType[] dependentTaskRef { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public KeyInfoType1 OriginatorKeyInfo { get { - return this.dependentTaskRefField; + return this.originatorKeyInfoField; } set { - this.dependentTaskRefField = value; - this.RaisePropertyChanged("dependentTaskRef"); + this.originatorKeyInfoField = value; + this.RaisePropertyChanged("OriginatorKeyInfo"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public TaskExecutionStatusType executionStatus { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public KeyInfoType1 RecipientKeyInfo { get { - return this.executionStatusField; + return this.recipientKeyInfoField; } set { - this.executionStatusField = value; - this.RaisePropertyChanged("executionStatus"); + this.recipientKeyInfoField = value; + this.RaisePropertyChanged("RecipientKeyInfo"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public TaskWaitingReasonType waitingReason { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.waitingReasonField; + return this.algorithmField; } set { - this.waitingReasonField = value; - this.RaisePropertyChanged("waitingReason"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class ReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + private string uRIField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool waitingReasonSpecified { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.waitingReasonFieldSpecified; + return this.anyField; } set { - this.waitingReasonFieldSpecified = value; - this.RaisePropertyChanged("waitingReasonSpecified"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - public string node { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { get { - return this.nodeField; + return this.uRIField; } set { - this.nodeField = value; - this.RaisePropertyChanged("node"); + this.uRIField = value; + this.RaisePropertyChanged("URI"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=12)] - public string nodeAsObserved { + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptionPropertyType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] itemsField; + + private string[] textField; + + private string targetField; + + private string idField; + + private System.Xml.XmlAttribute[] anyAttrField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Items { get { - return this.nodeAsObservedField; + return this.itemsField; } set { - this.nodeAsObservedField = value; - this.RaisePropertyChanged("nodeAsObserved"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=13)] - public string category { + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { get { - return this.categoryField; + return this.textField; } set { - this.categoryField = value; - this.RaisePropertyChanged("category"); + this.textField = value; + this.RaisePropertyChanged("Text"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=14)] - public string handlerUri { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Target { get { - return this.handlerUriField; + return this.targetField; } set { - this.handlerUriField = value; - this.RaisePropertyChanged("handlerUri"); + this.targetField = value; + this.RaisePropertyChanged("Target"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=15)] - [System.Xml.Serialization.XmlArrayItemAttribute("uriStackEntry")] - public UriStackEntry[] otherHandlersUriStack { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.otherHandlersUriStackField; + return this.idField; } set { - this.otherHandlersUriStackField = value; - this.RaisePropertyChanged("otherHandlersUriStack"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=16)] - public OperationResultType result { + [System.Xml.Serialization.XmlAnyAttributeAttribute()] + public System.Xml.XmlAttribute[] AnyAttr { get { - return this.resultField; + return this.anyAttrField; } set { - this.resultField = value; - this.RaisePropertyChanged("result"); + this.anyAttrField = value; + this.RaisePropertyChanged("AnyAttr"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=17)] - public OperationResultStatusType resultStatus { - get { - return this.resultStatusField; - } - set { - this.resultStatusField = value; - this.RaisePropertyChanged("resultStatus"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptionPropertiesType : object, System.ComponentModel.INotifyPropertyChanged { + + private EncryptionPropertyType[] encryptionPropertyField; + + private string idField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool resultStatusSpecified { + [System.Xml.Serialization.XmlElementAttribute("EncryptionProperty", Order=0)] + public EncryptionPropertyType[] EncryptionProperty { get { - return this.resultStatusFieldSpecified; + return this.encryptionPropertyField; } set { - this.resultStatusFieldSpecified = value; - this.RaisePropertyChanged("resultStatusSpecified"); + this.encryptionPropertyField = value; + this.RaisePropertyChanged("EncryptionProperty"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=18)] - public ObjectReferenceType objectRef { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.objectRefField; + return this.idField; } set { - this.objectRefField = value; - this.RaisePropertyChanged("objectRef"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=19)] - public System.DateTime lastRunStartTimestamp { - get { - return this.lastRunStartTimestampField; - } - set { - this.lastRunStartTimestampField = value; - this.RaisePropertyChanged("lastRunStartTimestamp"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="TransformsType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class TransformsType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool lastRunStartTimestampSpecified { + [System.Xml.Serialization.XmlElementAttribute("Transform", Namespace="http://www.w3.org/2000/09/xmldsig#", Order=0)] + public TransformType[] Transform { get { - return this.lastRunStartTimestampFieldSpecified; + return this.transformField; } set { - this.lastRunStartTimestampFieldSpecified = value; - this.RaisePropertyChanged("lastRunStartTimestampSpecified"); + this.transformField = value; + this.RaisePropertyChanged("Transform"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class CipherReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformsType1 itemField; + + private string uRIField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=20)] - public System.DateTime lastRunFinishTimestamp { + [System.Xml.Serialization.XmlElementAttribute("Transforms", Order=0)] + public TransformsType1 Item { get { - return this.lastRunFinishTimestampField; + return this.itemField; } set { - this.lastRunFinishTimestampField = value; - this.RaisePropertyChanged("lastRunFinishTimestamp"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool lastRunFinishTimestampSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { get { - return this.lastRunFinishTimestampFieldSpecified; + return this.uRIField; } set { - this.lastRunFinishTimestampFieldSpecified = value; - this.RaisePropertyChanged("lastRunFinishTimestampSpecified"); + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="CipherDataType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class CipherDataType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private object itemField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=21)] - public System.DateTime completionTimestamp { + [System.Xml.Serialization.XmlElementAttribute("CipherReference", typeof(CipherReferenceType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("CipherValue", typeof(byte[]), DataType="base64Binary", Order=0)] + public object Item { get { - return this.completionTimestampField; + return this.itemField; } set { - this.completionTimestampField = value; - this.RaisePropertyChanged("completionTimestamp"); + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="EncryptionMethodType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptionMethodType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private string keySizeField; + + private byte[] oAEPparamsField; + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool completionTimestampSpecified { + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string KeySize { get { - return this.completionTimestampFieldSpecified; + return this.keySizeField; } set { - this.completionTimestampFieldSpecified = value; - this.RaisePropertyChanged("completionTimestampSpecified"); + this.keySizeField = value; + this.RaisePropertyChanged("KeySize"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=22)] - public System.DateTime nextRunStartTimestamp { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] OAEPparams { get { - return this.nextRunStartTimestampField; + return this.oAEPparamsField; } set { - this.nextRunStartTimestampField = value; - this.RaisePropertyChanged("nextRunStartTimestamp"); + this.oAEPparamsField = value; + this.RaisePropertyChanged("OAEPparams"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool nextRunStartTimestampSpecified { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=2)] + public System.Xml.XmlNode[] Any { get { - return this.nextRunStartTimestampFieldSpecified; + return this.anyField; } set { - this.nextRunStartTimestampFieldSpecified = value; - this.RaisePropertyChanged("nextRunStartTimestampSpecified"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=23)] - public long progress { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.progressField; + return this.algorithmField; } set { - this.progressField = value; - this.RaisePropertyChanged("progress"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedKeyType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedDataType1))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public abstract partial class EncryptedType : object, System.ComponentModel.INotifyPropertyChanged { + + private EncryptionMethodType1 encryptionMethodField; + + private KeyInfoType1 keyInfoField; + + private CipherDataType1 cipherDataField; + + private EncryptionPropertiesType encryptionPropertiesField; + + private string idField; + + private string typeField; + + private string mimeTypeField; + + private string encodingField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool progressSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public EncryptionMethodType1 EncryptionMethod { get { - return this.progressFieldSpecified; + return this.encryptionMethodField; } set { - this.progressFieldSpecified = value; - this.RaisePropertyChanged("progressSpecified"); + this.encryptionMethodField = value; + this.RaisePropertyChanged("EncryptionMethod"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=24)] - public TaskRecurrenceType recurrence { + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", Order=1)] + public KeyInfoType1 KeyInfo { get { - return this.recurrenceField; + return this.keyInfoField; } set { - this.recurrenceField = value; - this.RaisePropertyChanged("recurrence"); + this.keyInfoField = value; + this.RaisePropertyChanged("KeyInfo"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=25)] - public TaskBindingType binding { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public CipherDataType1 CipherData { get { - return this.bindingField; + return this.cipherDataField; } set { - this.bindingField = value; - this.RaisePropertyChanged("binding"); + this.cipherDataField = value; + this.RaisePropertyChanged("CipherData"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool bindingSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public EncryptionPropertiesType EncryptionProperties { get { - return this.bindingFieldSpecified; + return this.encryptionPropertiesField; } set { - this.bindingFieldSpecified = value; - this.RaisePropertyChanged("bindingSpecified"); + this.encryptionPropertiesField = value; + this.RaisePropertyChanged("EncryptionProperties"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=26)] - public string canRunOnNode { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.canRunOnNodeField; + return this.idField; } set { - this.canRunOnNodeField = value; - this.RaisePropertyChanged("canRunOnNode"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=27)] - public ScheduleType schedule { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { get { - return this.scheduleField; + return this.typeField; } set { - this.scheduleField = value; - this.RaisePropertyChanged("schedule"); + this.typeField = value; + this.RaisePropertyChanged("Type"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=28)] - public ThreadStopActionType threadStopAction { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string MimeType { get { - return this.threadStopActionField; + return this.mimeTypeField; } set { - this.threadStopActionField = value; - this.RaisePropertyChanged("threadStopAction"); + this.mimeTypeField = value; + this.RaisePropertyChanged("MimeType"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool threadStopActionSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Encoding { get { - return this.threadStopActionFieldSpecified; + return this.encodingField; } set { - this.threadStopActionFieldSpecified = value; - this.RaisePropertyChanged("threadStopActionSpecified"); + this.encodingField = value; + this.RaisePropertyChanged("Encoding"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum TaskExecutionStatusType { - - /// - runnable, - - /// - waiting, - - /// - suspended, - - /// - closed, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum TaskWaitingReasonType { - - /// - otherTasks, - /// - workflow, + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - other, + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class UriStackEntry : object, System.ComponentModel.INotifyPropertyChanged { - - private string handlerUriField; - - private ScheduleType scheduleField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptedKeyType : EncryptedType { - private TaskBindingType bindingField; + private ReferenceList referenceListField; - private bool bindingFieldSpecified; + private string carriedKeyNameField; - private ItemDeltaType[] extensionDeltaField; + private string recipientField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] - public string handlerUri { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ReferenceList ReferenceList { get { - return this.handlerUriField; + return this.referenceListField; } set { - this.handlerUriField = value; - this.RaisePropertyChanged("handlerUri"); + this.referenceListField = value; + this.RaisePropertyChanged("ReferenceList"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ScheduleType schedule { + public string CarriedKeyName { get { - return this.scheduleField; + return this.carriedKeyNameField; } set { - this.scheduleField = value; - this.RaisePropertyChanged("schedule"); + this.carriedKeyNameField = value; + this.RaisePropertyChanged("CarriedKeyName"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public TaskBindingType binding { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Recipient { get { - return this.bindingField; + return this.recipientField; } set { - this.bindingField = value; - this.RaisePropertyChanged("binding"); + this.recipientField = value; + this.RaisePropertyChanged("Recipient"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class ReferenceList : object, System.ComponentModel.INotifyPropertyChanged { + + private ReferenceType[] itemsField; + + private ItemsChoiceType5[] itemsElementNameField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool bindingSpecified { + [System.Xml.Serialization.XmlElementAttribute("DataReference", typeof(ReferenceType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyReference", typeof(ReferenceType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public ReferenceType[] Items { get { - return this.bindingFieldSpecified; + return this.itemsField; } set { - this.bindingFieldSpecified = value; - this.RaisePropertyChanged("bindingSpecified"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// - [System.Xml.Serialization.XmlElementAttribute("extensionDelta", IsNullable=true, Order=3)] - public ItemDeltaType[] extensionDelta { + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType5[] ItemsElementName { get { - return this.extensionDeltaField; + return this.itemsElementNameField; } set { - this.extensionDeltaField = value; - this.RaisePropertyChanged("extensionDelta"); + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); } } @@ -10828,164 +18082,144 @@ public partial class UriStackEntry : object, System.ComponentModel.INotifyProper } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ScheduleType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.DateTime earliestStartTimeField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#", IncludeInSchema=false)] + public enum ItemsChoiceType5 { - private bool earliestStartTimeFieldSpecified; + /// + DataReference, - private System.DateTime latestStartTimeField; + /// + KeyReference, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="EncryptedDataType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptedDataType1 : EncryptedType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class ResultsHandlerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private bool latestStartTimeFieldSpecified; + private bool enableNormalizingResultsHandlerField; - private System.DateTime latestFinishTimeField; + private bool enableNormalizingResultsHandlerFieldSpecified; - private bool latestFinishTimeFieldSpecified; + private bool enableFilteredResultsHandlerField; - private int intervalField; + private bool enableFilteredResultsHandlerFieldSpecified; - private bool intervalFieldSpecified; + private bool enableCaseInsensitiveFilterField; - private string cronLikePatternField; + private bool enableCaseInsensitiveFilterFieldSpecified; - private MisfireActionType misfireActionField; + private bool enableAttributesToGetSearchResultsHandlerField; - private bool misfireActionFieldSpecified; + private bool enableAttributesToGetSearchResultsHandlerFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public System.DateTime earliestStartTime { - get { - return this.earliestStartTimeField; - } - set { - this.earliestStartTimeField = value; - this.RaisePropertyChanged("earliestStartTime"); - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool earliestStartTimeSpecified { - get { - return this.earliestStartTimeFieldSpecified; - } - set { - this.earliestStartTimeFieldSpecified = value; - this.RaisePropertyChanged("earliestStartTimeSpecified"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public System.DateTime latestStartTime { + public bool enableNormalizingResultsHandler { get { - return this.latestStartTimeField; + return this.enableNormalizingResultsHandlerField; } set { - this.latestStartTimeField = value; - this.RaisePropertyChanged("latestStartTime"); + this.enableNormalizingResultsHandlerField = value; + this.RaisePropertyChanged("enableNormalizingResultsHandler"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool latestStartTimeSpecified { + public bool enableNormalizingResultsHandlerSpecified { get { - return this.latestStartTimeFieldSpecified; + return this.enableNormalizingResultsHandlerFieldSpecified; } set { - this.latestStartTimeFieldSpecified = value; - this.RaisePropertyChanged("latestStartTimeSpecified"); + this.enableNormalizingResultsHandlerFieldSpecified = value; + this.RaisePropertyChanged("enableNormalizingResultsHandlerSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public System.DateTime latestFinishTime { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool enableFilteredResultsHandler { get { - return this.latestFinishTimeField; + return this.enableFilteredResultsHandlerField; } set { - this.latestFinishTimeField = value; - this.RaisePropertyChanged("latestFinishTime"); + this.enableFilteredResultsHandlerField = value; + this.RaisePropertyChanged("enableFilteredResultsHandler"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool latestFinishTimeSpecified { + public bool enableFilteredResultsHandlerSpecified { get { - return this.latestFinishTimeFieldSpecified; + return this.enableFilteredResultsHandlerFieldSpecified; } set { - this.latestFinishTimeFieldSpecified = value; - this.RaisePropertyChanged("latestFinishTimeSpecified"); + this.enableFilteredResultsHandlerFieldSpecified = value; + this.RaisePropertyChanged("enableFilteredResultsHandlerSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public int interval { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool enableCaseInsensitiveFilter { get { - return this.intervalField; + return this.enableCaseInsensitiveFilterField; } set { - this.intervalField = value; - this.RaisePropertyChanged("interval"); + this.enableCaseInsensitiveFilterField = value; + this.RaisePropertyChanged("enableCaseInsensitiveFilter"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool intervalSpecified { - get { - return this.intervalFieldSpecified; - } - set { - this.intervalFieldSpecified = value; - this.RaisePropertyChanged("intervalSpecified"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string cronLikePattern { + public bool enableCaseInsensitiveFilterSpecified { get { - return this.cronLikePatternField; + return this.enableCaseInsensitiveFilterFieldSpecified; } set { - this.cronLikePatternField = value; - this.RaisePropertyChanged("cronLikePattern"); + this.enableCaseInsensitiveFilterFieldSpecified = value; + this.RaisePropertyChanged("enableCaseInsensitiveFilterSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public MisfireActionType misfireAction { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool enableAttributesToGetSearchResultsHandler { get { - return this.misfireActionField; + return this.enableAttributesToGetSearchResultsHandlerField; } set { - this.misfireActionField = value; - this.RaisePropertyChanged("misfireAction"); + this.enableAttributesToGetSearchResultsHandlerField = value; + this.RaisePropertyChanged("enableAttributesToGetSearchResultsHandler"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool misfireActionSpecified { + public bool enableAttributesToGetSearchResultsHandlerSpecified { get { - return this.misfireActionFieldSpecified; + return this.enableAttributesToGetSearchResultsHandlerFieldSpecified; } set { - this.misfireActionFieldSpecified = value; - this.RaisePropertyChanged("misfireActionSpecified"); + this.enableAttributesToGetSearchResultsHandlerFieldSpecified = value; + this.RaisePropertyChanged("enableAttributesToGetSearchResultsHandlerSpecified"); } } @@ -11000,403 +18234,346 @@ public partial class ScheduleType : object, System.ComponentModel.INotifyPropert } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum MisfireActionType { + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class TimeoutsType : object, System.ComponentModel.INotifyPropertyChanged { - /// - executeImmediately, + private int createField; - /// - reschedule, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum TaskBindingType { + private bool createFieldSpecified; - /// - loose, + private int getField; - /// - tight, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum TaskRecurrenceType { + private bool getFieldSpecified; - /// - single, + private int updateField; - /// - recurring, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum ThreadStopActionType { + private bool updateFieldSpecified; - /// - restart, + private int deleteField; - /// - reschedule, + private bool deleteFieldSpecified; - /// - suspend, + private int testField; - /// - close, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ObjectTemplateType : ObjectType { + private bool testFieldSpecified; - private ObjectReferenceType[] includeRefField; + private int scriptOnConnectorField; - private MappingType[] mappingField; + private bool scriptOnConnectorFieldSpecified; + + private int scriptOnResourceField; + + private bool scriptOnResourceFieldSpecified; + + private int authenticationField; + + private bool authenticationFieldSpecified; + + private int searchField; + + private bool searchFieldSpecified; + + private int validateField; + + private bool validateFieldSpecified; + + private int syncField; + + private bool syncFieldSpecified; - private ConstructionType[] accountConstructionField; + private int schemaField; + + private bool schemaFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute("includeRef", Order=0)] - public ObjectReferenceType[] includeRef { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int create { get { - return this.includeRefField; + return this.createField; } set { - this.includeRefField = value; - this.RaisePropertyChanged("includeRef"); + this.createField = value; + this.RaisePropertyChanged("create"); } } /// - [System.Xml.Serialization.XmlElementAttribute("mapping", Order=1)] - public MappingType[] mapping { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool createSpecified { get { - return this.mappingField; + return this.createFieldSpecified; } set { - this.mappingField = value; - this.RaisePropertyChanged("mapping"); + this.createFieldSpecified = value; + this.RaisePropertyChanged("createSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute("accountConstruction", Order=2)] - public ConstructionType[] accountConstruction { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int get { get { - return this.accountConstructionField; + return this.getField; } set { - this.accountConstructionField = value; - this.RaisePropertyChanged("accountConstruction"); + this.getField = value; + this.RaisePropertyChanged("get"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SystemConfigurationType : ObjectType { - - private ProjectionPolicyType globalAccountSynchronizationSettingsField; - - private ValuePolicyType globalPasswordPolicyField; - - private ObjectReferenceType globalPasswordPolicyRefField; - - private ModelHooksType modelHooksField; - - private LoggingConfigurationType loggingField; - - private ObjectTemplateType defaultUserTemplateField; - - private ObjectReferenceType defaultUserTemplateRefField; - - private ConnectorFrameworkConfigurationType[] connectorFrameworkField; - - private NotificationConfigurationType notificationConfigurationField; - - private ProfilingConfigurationType profilingConfigurationField; - - private CleanupPoliciesType cleanupPolicyField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ProjectionPolicyType globalAccountSynchronizationSettings { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool getSpecified { get { - return this.globalAccountSynchronizationSettingsField; + return this.getFieldSpecified; } set { - this.globalAccountSynchronizationSettingsField = value; - this.RaisePropertyChanged("globalAccountSynchronizationSettings"); + this.getFieldSpecified = value; + this.RaisePropertyChanged("getSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ValuePolicyType globalPasswordPolicy { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int update { get { - return this.globalPasswordPolicyField; + return this.updateField; } set { - this.globalPasswordPolicyField = value; - this.RaisePropertyChanged("globalPasswordPolicy"); + this.updateField = value; + this.RaisePropertyChanged("update"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ObjectReferenceType globalPasswordPolicyRef { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool updateSpecified { get { - return this.globalPasswordPolicyRefField; + return this.updateFieldSpecified; } set { - this.globalPasswordPolicyRefField = value; - this.RaisePropertyChanged("globalPasswordPolicyRef"); + this.updateFieldSpecified = value; + this.RaisePropertyChanged("updateSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ModelHooksType modelHooks { + public int delete { get { - return this.modelHooksField; + return this.deleteField; } set { - this.modelHooksField = value; - this.RaisePropertyChanged("modelHooks"); + this.deleteField = value; + this.RaisePropertyChanged("delete"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public LoggingConfigurationType logging { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool deleteSpecified { get { - return this.loggingField; + return this.deleteFieldSpecified; } set { - this.loggingField = value; - this.RaisePropertyChanged("logging"); + this.deleteFieldSpecified = value; + this.RaisePropertyChanged("deleteSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public ObjectTemplateType defaultUserTemplate { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int test { get { - return this.defaultUserTemplateField; + return this.testField; } set { - this.defaultUserTemplateField = value; - this.RaisePropertyChanged("defaultUserTemplate"); + this.testField = value; + this.RaisePropertyChanged("test"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public ObjectReferenceType defaultUserTemplateRef { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool testSpecified { get { - return this.defaultUserTemplateRefField; + return this.testFieldSpecified; } set { - this.defaultUserTemplateRefField = value; - this.RaisePropertyChanged("defaultUserTemplateRef"); + this.testFieldSpecified = value; + this.RaisePropertyChanged("testSpecified"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=7)] - [System.Xml.Serialization.XmlArrayItemAttribute("configuration", IsNullable=false)] - public ConnectorFrameworkConfigurationType[] connectorFramework { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public int scriptOnConnector { get { - return this.connectorFrameworkField; + return this.scriptOnConnectorField; } set { - this.connectorFrameworkField = value; - this.RaisePropertyChanged("connectorFramework"); + this.scriptOnConnectorField = value; + this.RaisePropertyChanged("scriptOnConnector"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public NotificationConfigurationType notificationConfiguration { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool scriptOnConnectorSpecified { get { - return this.notificationConfigurationField; + return this.scriptOnConnectorFieldSpecified; } set { - this.notificationConfigurationField = value; - this.RaisePropertyChanged("notificationConfiguration"); + this.scriptOnConnectorFieldSpecified = value; + this.RaisePropertyChanged("scriptOnConnectorSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public ProfilingConfigurationType profilingConfiguration { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int scriptOnResource { get { - return this.profilingConfigurationField; + return this.scriptOnResourceField; } set { - this.profilingConfigurationField = value; - this.RaisePropertyChanged("profilingConfiguration"); + this.scriptOnResourceField = value; + this.RaisePropertyChanged("scriptOnResource"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public CleanupPoliciesType cleanupPolicy { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool scriptOnResourceSpecified { get { - return this.cleanupPolicyField; + return this.scriptOnResourceFieldSpecified; } set { - this.cleanupPolicyField = value; - this.RaisePropertyChanged("cleanupPolicy"); + this.scriptOnResourceFieldSpecified = value; + this.RaisePropertyChanged("scriptOnResourceSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ValuePolicyType : ObjectType { - private PasswordLifeTimeType lifetimeField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public int authentication { + get { + return this.authenticationField; + } + set { + this.authenticationField = value; + this.RaisePropertyChanged("authentication"); + } + } - private StringPolicyType stringPolicyField; + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool authenticationSpecified { + get { + return this.authenticationFieldSpecified; + } + set { + this.authenticationFieldSpecified = value; + this.RaisePropertyChanged("authenticationSpecified"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public PasswordLifeTimeType lifetime { + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public int search { get { - return this.lifetimeField; + return this.searchField; } set { - this.lifetimeField = value; - this.RaisePropertyChanged("lifetime"); + this.searchField = value; + this.RaisePropertyChanged("search"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public StringPolicyType stringPolicy { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool searchSpecified { get { - return this.stringPolicyField; + return this.searchFieldSpecified; } set { - this.stringPolicyField = value; - this.RaisePropertyChanged("stringPolicy"); + this.searchFieldSpecified = value; + this.RaisePropertyChanged("searchSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class PasswordLifeTimeType : object, System.ComponentModel.INotifyPropertyChanged { - - private int expirationField; - - private int warnBeforeExpirationField; - private int lockAfterExpirationField; - - private int minPasswordAgeField; - - private int passwordHistoryLengthField; - - public PasswordLifeTimeType() { - this.expirationField = -1; - this.warnBeforeExpirationField = 0; - this.lockAfterExpirationField = 0; - this.minPasswordAgeField = 0; - this.passwordHistoryLengthField = 0; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int validate { + get { + return this.validateField; + } + set { + this.validateField = value; + this.RaisePropertyChanged("validate"); + } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - [System.ComponentModel.DefaultValueAttribute(-1)] - public int expiration { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool validateSpecified { get { - return this.expirationField; + return this.validateFieldSpecified; } set { - this.expirationField = value; - this.RaisePropertyChanged("expiration"); + this.validateFieldSpecified = value; + this.RaisePropertyChanged("validateSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int warnBeforeExpiration { + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int sync { get { - return this.warnBeforeExpirationField; + return this.syncField; } set { - this.warnBeforeExpirationField = value; - this.RaisePropertyChanged("warnBeforeExpiration"); + this.syncField = value; + this.RaisePropertyChanged("sync"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int lockAfterExpiration { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool syncSpecified { get { - return this.lockAfterExpirationField; + return this.syncFieldSpecified; } set { - this.lockAfterExpirationField = value; - this.RaisePropertyChanged("lockAfterExpiration"); + this.syncFieldSpecified = value; + this.RaisePropertyChanged("syncSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int minPasswordAge { + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public int schema { get { - return this.minPasswordAgeField; + return this.schemaField; } set { - this.minPasswordAgeField = value; - this.RaisePropertyChanged("minPasswordAge"); + this.schemaField = value; + this.RaisePropertyChanged("schema"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int passwordHistoryLength { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool schemaSpecified { get { - return this.passwordHistoryLengthField; + return this.schemaFieldSpecified; } set { - this.passwordHistoryLengthField = value; - this.RaisePropertyChanged("passwordHistoryLength"); + this.schemaFieldSpecified = value; + this.RaisePropertyChanged("schemaSpecified"); } } @@ -11411,165 +18588,150 @@ public partial class PasswordLifeTimeType : object, System.ComponentModel.INotif } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class StringPolicyType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class ConnectorPoolConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private string descriptionField; + private int minEvictableIdleTimeMillisField; - private LimitationsType limitationsField; + private bool minEvictableIdleTimeMillisFieldSpecified; - private CharacterClassType characterClassField; + private int minIdleField; + + private bool minIdleFieldSpecified; + + private int maxIdleField; + + private bool maxIdleFieldSpecified; + + private int maxObjectsField; + + private bool maxObjectsFieldSpecified; + + private int maxWaitField; + + private bool maxWaitFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + public int minEvictableIdleTimeMillis { get { - return this.descriptionField; + return this.minEvictableIdleTimeMillisField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.minEvictableIdleTimeMillisField = value; + this.RaisePropertyChanged("minEvictableIdleTimeMillis"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public LimitationsType limitations { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool minEvictableIdleTimeMillisSpecified { get { - return this.limitationsField; + return this.minEvictableIdleTimeMillisFieldSpecified; } set { - this.limitationsField = value; - this.RaisePropertyChanged("limitations"); + this.minEvictableIdleTimeMillisFieldSpecified = value; + this.RaisePropertyChanged("minEvictableIdleTimeMillisSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public CharacterClassType characterClass { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int minIdle { get { - return this.characterClassField; + return this.minIdleField; } set { - this.characterClassField = value; - this.RaisePropertyChanged("characterClass"); + this.minIdleField = value; + this.RaisePropertyChanged("minIdle"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool minIdleSpecified { + get { + return this.minIdleFieldSpecified; + } + set { + this.minIdleFieldSpecified = value; + this.RaisePropertyChanged("minIdleSpecified"); } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class LimitationsType : object, System.ComponentModel.INotifyPropertyChanged { - - private int minLengthField; - - private int maxLengthField; - - private int minUniqueCharsField; - - private bool checkAgainstDictionaryField; - - private string checkPatternField; - - private StringLimitType[] limitField; - - public LimitationsType() { - this.minLengthField = 0; - this.maxLengthField = -1; - this.minUniqueCharsField = 0; - this.checkAgainstDictionaryField = false; } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int minLength { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int maxIdle { get { - return this.minLengthField; + return this.maxIdleField; } set { - this.minLengthField = value; - this.RaisePropertyChanged("minLength"); + this.maxIdleField = value; + this.RaisePropertyChanged("maxIdle"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(-1)] - public int maxLength { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maxIdleSpecified { get { - return this.maxLengthField; + return this.maxIdleFieldSpecified; } set { - this.maxLengthField = value; - this.RaisePropertyChanged("maxLength"); + this.maxIdleFieldSpecified = value; + this.RaisePropertyChanged("maxIdleSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int minUniqueChars { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int maxObjects { get { - return this.minUniqueCharsField; + return this.maxObjectsField; } set { - this.minUniqueCharsField = value; - this.RaisePropertyChanged("minUniqueChars"); + this.maxObjectsField = value; + this.RaisePropertyChanged("maxObjects"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool checkAgainstDictionary { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maxObjectsSpecified { get { - return this.checkAgainstDictionaryField; + return this.maxObjectsFieldSpecified; } set { - this.checkAgainstDictionaryField = value; - this.RaisePropertyChanged("checkAgainstDictionary"); + this.maxObjectsFieldSpecified = value; + this.RaisePropertyChanged("maxObjectsSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public string checkPattern { + public int maxWait { get { - return this.checkPatternField; + return this.maxWaitField; } set { - this.checkPatternField = value; - this.RaisePropertyChanged("checkPattern"); + this.maxWaitField = value; + this.RaisePropertyChanged("maxWait"); } } /// - [System.Xml.Serialization.XmlElementAttribute("limit", IsNullable=true, Order=5)] - public StringLimitType[] limit { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maxWaitSpecified { get { - return this.limitField; + return this.maxWaitFieldSpecified; } set { - this.limitField = value; - this.RaisePropertyChanged("limit"); + this.maxWaitFieldSpecified = value; + this.RaisePropertyChanged("maxWaitSpecified"); } } @@ -11584,89 +18746,86 @@ public partial class LimitationsType : object, System.ComponentModel.INotifyProp } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class StringLimitType : object, System.ComponentModel.INotifyPropertyChanged { - - private string descriptionField; - - private int minOccursField; - - private int maxOccursField; - - private bool mustBeFirstField; - - private CharacterClassType characterClassField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class ConfigurationPropertiesType : object, System.ComponentModel.INotifyPropertyChanged { - public StringLimitType() { - this.minOccursField = 0; - this.maxOccursField = -1; - this.mustBeFirstField = false; - } + private System.Xml.XmlElement[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.descriptionField; + return this.anyField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(0)] - public int minOccurs { - get { - return this.minOccursField; - } - set { - this.minOccursField = value; - this.RaisePropertyChanged("minOccurs"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ScriptCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TestConnectionCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReadCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(LiveSyncCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PasswordCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CredentialsCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationValidityCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationStatusCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationCapabilityType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public abstract partial class CapabilityType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - [System.ComponentModel.DefaultValueAttribute(-1)] - public int maxOccurs { - get { - return this.maxOccursField; - } - set { - this.maxOccursField = value; - this.RaisePropertyChanged("maxOccurs"); - } + private bool enabledField; + + private bool enabledFieldSpecified; + + public CapabilityType() { + this.enabledField = true; } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool mustBeFirst { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool enabled { get { - return this.mustBeFirstField; + return this.enabledField; } set { - this.mustBeFirstField = value; - this.RaisePropertyChanged("mustBeFirst"); + this.enabledField = value; + this.RaisePropertyChanged("enabled"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public CharacterClassType characterClass { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool enabledSpecified { get { - return this.characterClassField; + return this.enabledFieldSpecified; } set { - this.characterClassField = value; - this.RaisePropertyChanged("characterClass"); + this.enabledFieldSpecified = value; + this.RaisePropertyChanged("enabledSpecified"); } } @@ -11681,66 +18840,61 @@ public partial class StringLimitType : object, System.ComponentModel.INotifyProp } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class CharacterClassType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ScriptCapabilityType : CapabilityType { - private CharacterClassType[] characterClassField; - - private string valueField; - - private System.Xml.XmlQualifiedName refField; - - private System.Xml.XmlQualifiedName nameField; + private ScriptCapabilityTypeHost[] hostField; /// - [System.Xml.Serialization.XmlElementAttribute("characterClass", IsNullable=true, Order=0)] - public CharacterClassType[] characterClass { + [System.Xml.Serialization.XmlElementAttribute("host", Order=0)] + public ScriptCapabilityTypeHost[] host { get { - return this.characterClassField; + return this.hostField; } set { - this.characterClassField = value; - this.RaisePropertyChanged("characterClass"); + this.hostField = value; + this.RaisePropertyChanged("host"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ScriptCapabilityTypeHost : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string value { - get { - return this.valueField; - } - set { - this.valueField = value; - this.RaisePropertyChanged("value"); - } - } + private ProvisioningScriptHostType typeField; + + private string[] languageField; /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public System.Xml.XmlQualifiedName @ref { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ProvisioningScriptHostType type { get { - return this.refField; + return this.typeField; } set { - this.refField = value; - this.RaisePropertyChanged("ref"); + this.typeField = value; + this.RaisePropertyChanged("type"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public System.Xml.XmlQualifiedName name { + [System.Xml.Serialization.XmlElementAttribute("language", DataType="anyURI", Order=1)] + public string[] language { get { - return this.nameField; + return this.languageField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.languageField = value; + this.RaisePropertyChanged("language"); } } @@ -11755,264 +18909,330 @@ public partial class CharacterClassType : object, System.ComponentModel.INotifyP } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ModelHooksType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class TestConnectionCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class DeleteCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class UpdateCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ReadCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class CreateCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class LiveSyncCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class PasswordCapabilityType : CapabilityType { - private HookListType changeField; + private bool returnedByDefaultField; + + public PasswordCapabilityType() { + this.returnedByDefaultField = true; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public HookListType change { + [System.ComponentModel.DefaultValueAttribute(true)] + public bool returnedByDefault { get { - return this.changeField; + return this.returnedByDefaultField; } set { - this.changeField = value; - this.RaisePropertyChanged("change"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.returnedByDefaultField = value; + this.RaisePropertyChanged("returnedByDefault"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class HookListType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class CredentialsCapabilityType : CapabilityType { - private HookType hookField; + private PasswordCapabilityType passwordField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public HookType hook { + public PasswordCapabilityType password { get { - return this.hookField; + return this.passwordField; } set { - this.hookField = value; - this.RaisePropertyChanged("hook"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.passwordField = value; + this.RaisePropertyChanged("password"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class HookType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ActivationValidityCapabilityType : CapabilityType { - private string refField; + private bool returnedByDefaultField; + + public ActivationValidityCapabilityType() { + this.returnedByDefaultField = true; + } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] - public string @ref { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool returnedByDefault { get { - return this.refField; + return this.returnedByDefaultField; } set { - this.refField = value; - this.RaisePropertyChanged("ref"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.returnedByDefaultField = value; + this.RaisePropertyChanged("returnedByDefault"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class LoggingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private SubSystemLoggerConfigurationType[] subSystemLoggerField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ActivationStatusCapabilityType : CapabilityType { - private ClassLoggerConfigurationType[] classLoggerField; + private bool returnedByDefaultField; - private AppenderConfigurationType[] appenderField; + private System.Xml.XmlQualifiedName attributeField; - private string rootLoggerAppenderField; + private string[] enableValueField; - private LoggingLevelType rootLoggerLevelField; + private string[] disableValueField; - private AuditingConfigurationType auditingField; + private bool ignoreAttributeField; - private AdvancedLoggingConfigurationType advancedField; + public ActivationStatusCapabilityType() { + this.returnedByDefaultField = true; + this.ignoreAttributeField = true; + } /// - [System.Xml.Serialization.XmlElementAttribute("subSystemLogger", IsNullable=true, Order=0)] - public SubSystemLoggerConfigurationType[] subSystemLogger { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool returnedByDefault { get { - return this.subSystemLoggerField; + return this.returnedByDefaultField; } set { - this.subSystemLoggerField = value; - this.RaisePropertyChanged("subSystemLogger"); + this.returnedByDefaultField = value; + this.RaisePropertyChanged("returnedByDefault"); } } /// - [System.Xml.Serialization.XmlElementAttribute("classLogger", IsNullable=true, Order=1)] - public ClassLoggerConfigurationType[] classLogger { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Xml.XmlQualifiedName attribute { get { - return this.classLoggerField; + return this.attributeField; } set { - this.classLoggerField = value; - this.RaisePropertyChanged("classLogger"); + this.attributeField = value; + this.RaisePropertyChanged("attribute"); } } /// - [System.Xml.Serialization.XmlElementAttribute("appender", IsNullable=true, Order=2)] - public AppenderConfigurationType[] appender { + [System.Xml.Serialization.XmlElementAttribute("enableValue", Order=2)] + public string[] enableValue { get { - return this.appenderField; + return this.enableValueField; } set { - this.appenderField = value; - this.RaisePropertyChanged("appender"); + this.enableValueField = value; + this.RaisePropertyChanged("enableValue"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string rootLoggerAppender { + [System.Xml.Serialization.XmlElementAttribute("disableValue", Order=3)] + public string[] disableValue { get { - return this.rootLoggerAppenderField; + return this.disableValueField; } set { - this.rootLoggerAppenderField = value; - this.RaisePropertyChanged("rootLoggerAppender"); + this.disableValueField = value; + this.RaisePropertyChanged("disableValue"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public LoggingLevelType rootLoggerLevel { + [System.ComponentModel.DefaultValueAttribute(true)] + public bool ignoreAttribute { get { - return this.rootLoggerLevelField; + return this.ignoreAttributeField; } set { - this.rootLoggerLevelField = value; - this.RaisePropertyChanged("rootLoggerLevel"); + this.ignoreAttributeField = value; + this.RaisePropertyChanged("ignoreAttribute"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ActivationCapabilityType : CapabilityType { + + private ActivationStatusCapabilityType enableDisableField; + + private ActivationStatusCapabilityType statusField; + + private ActivationValidityCapabilityType validFromField; + + private ActivationValidityCapabilityType validToField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public AuditingConfigurationType auditing { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ActivationStatusCapabilityType enableDisable { get { - return this.auditingField; + return this.enableDisableField; } set { - this.auditingField = value; - this.RaisePropertyChanged("auditing"); + this.enableDisableField = value; + this.RaisePropertyChanged("enableDisable"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public AdvancedLoggingConfigurationType advanced { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ActivationStatusCapabilityType status { get { - return this.advancedField; + return this.statusField; } set { - this.advancedField = value; - this.RaisePropertyChanged("advanced"); + this.statusField = value; + this.RaisePropertyChanged("status"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ActivationValidityCapabilityType validFrom { + get { + return this.validFromField; + } + set { + this.validFromField = value; + this.RaisePropertyChanged("validFrom"); + } + } - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ActivationValidityCapabilityType validTo { + get { + return this.validToField; + } + set { + this.validToField = value; + this.RaisePropertyChanged("validTo"); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SubSystemLoggerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private LoggingLevelType levelField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ExecuteScriptType : object, System.ComponentModel.INotifyPropertyChanged { - private LoggingComponentType componentField; - - private string[] appenderField; + private object itemField; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public LoggingLevelType level { - get { - return this.levelField; - } - set { - this.levelField = value; - this.RaisePropertyChanged("level"); - } - } + private object[] inputField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public LoggingComponentType component { + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=0)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=0)] + public object Item { get { - return this.componentField; + return this.itemField; } set { - this.componentField = value; - this.RaisePropertyChanged("component"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlElementAttribute("appender", IsNullable=true, Order=2)] - public string[] appender { + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("item", IsNullable=false)] + public object[] input { get { - return this.appenderField; + return this.inputField; } set { - this.appenderField = value; - this.RaisePropertyChanged("appender"); + this.inputField = value; + this.RaisePropertyChanged("input"); } } @@ -12027,114 +19247,112 @@ public partial class SubSystemLoggerConfigurationType : object, System.Component } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum LoggingLevelType { - - /// - ALL, - - /// - OFF, - - /// - ERROR, - - /// - WARN, - - /// - INFO, - - /// - DEBUG, - - /// - TRACE, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum LoggingComponentType { - - /// - ALL, + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ResourceObjectIdentificationType : object, System.ComponentModel.INotifyPropertyChanged { - /// - MODEL, + private System.Xml.XmlElement[] anyField; - /// - PROVISIONING, + private long idField; - /// - REPOSITORY, + private bool idFieldSpecified; /// - WEB, + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } /// - TASKMANAGER, + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("id"); + } + } /// - RESOURCEOBJECTCHANGELISTENER, + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); + } + } - /// - WORKFLOWS, + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - NOTIFICATIONS, + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ClassLoggerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ResourceObjectType : object, System.ComponentModel.INotifyPropertyChanged { - private LoggingLevelType levelField; + private System.Xml.XmlElement[] anyField; - private string packageField; + private long idField; - private string[] appenderField; + private bool idFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public LoggingLevelType level { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.levelField; + return this.anyField; } set { - this.levelField = value; - this.RaisePropertyChanged("level"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string package { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { - return this.packageField; + return this.idField; } set { - this.packageField = value; - this.RaisePropertyChanged("package"); + this.idField = value; + this.RaisePropertyChanged("id"); } } /// - [System.Xml.Serialization.XmlElementAttribute("appender", IsNullable=true, Order=2)] - public string[] appender { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { get { - return this.appenderField; + return this.idFieldSpecified; } set { - this.appenderField = value; - this.RaisePropertyChanged("appender"); + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -12149,39 +19367,38 @@ public partial class ClassLoggerConfigurationType : object, System.ComponentMode } /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileAppenderConfigurationType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AppenderConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ObjectModificationType : object, System.ComponentModel.INotifyPropertyChanged { - private string patternField; + private string oidField; - private string nameField; + private ItemDeltaType[] itemDeltaField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string pattern { + public string oid { get { - return this.patternField; + return this.oidField; } set { - this.patternField = value; - this.RaisePropertyChanged("pattern"); + this.oidField = value; + this.RaisePropertyChanged("oid"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string name { + [System.Xml.Serialization.XmlElementAttribute("itemDelta", Order=1)] + public ItemDeltaType[] itemDelta { get { - return this.nameField; + return this.itemDeltaField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.itemDeltaField = value; + this.RaisePropertyChanged("itemDelta"); } } @@ -12196,138 +19413,209 @@ public partial class AppenderConfigurationType : object, System.ComponentModel.I } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class FileAppenderConfigurationType : AppenderConfigurationType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ImportOptionsType : object, System.ComponentModel.INotifyPropertyChanged { - private string fileNameField; + private bool overwriteField; - private string filePatternField; + private bool overwriteFieldSpecified; - private int maxHistoryField; + private bool keepOidField; - private string maxFileSizeField; + private bool keepOidFieldSpecified; - private bool appendField; + private int stopAfterErrorsField; + + private bool stopAfterErrorsFieldSpecified; + + private bool summarizeSuccesesField; + + private bool summarizeErrorsField; + + private bool referentialIntegrityField; + + private bool validateStaticSchemaField; + + private bool validateDynamicSchemaField; + + private bool encryptProtectedValuesField; + + private bool fetchResourceSchemaField; + + public ImportOptionsType() { + this.summarizeSuccesesField = true; + this.summarizeErrorsField = false; + this.referentialIntegrityField = false; + this.validateStaticSchemaField = true; + this.validateDynamicSchemaField = true; + this.encryptProtectedValuesField = true; + this.fetchResourceSchemaField = false; + } /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string fileName { + public bool overwrite { get { - return this.fileNameField; + return this.overwriteField; } set { - this.fileNameField = value; - this.RaisePropertyChanged("fileName"); + this.overwriteField = value; + this.RaisePropertyChanged("overwrite"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool overwriteSpecified { + get { + return this.overwriteFieldSpecified; + } + set { + this.overwriteFieldSpecified = value; + this.RaisePropertyChanged("overwriteSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string filePattern { + public bool keepOid { get { - return this.filePatternField; + return this.keepOidField; } set { - this.filePatternField = value; - this.RaisePropertyChanged("filePattern"); + this.keepOidField = value; + this.RaisePropertyChanged("keepOid"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool keepOidSpecified { + get { + return this.keepOidFieldSpecified; + } + set { + this.keepOidFieldSpecified = value; + this.RaisePropertyChanged("keepOidSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public int maxHistory { + public int stopAfterErrors { get { - return this.maxHistoryField; + return this.stopAfterErrorsField; } set { - this.maxHistoryField = value; - this.RaisePropertyChanged("maxHistory"); + this.stopAfterErrorsField = value; + this.RaisePropertyChanged("stopAfterErrors"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool stopAfterErrorsSpecified { + get { + return this.stopAfterErrorsFieldSpecified; + } + set { + this.stopAfterErrorsFieldSpecified = value; + this.RaisePropertyChanged("stopAfterErrorsSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string maxFileSize { + [System.ComponentModel.DefaultValueAttribute(true)] + public bool summarizeSucceses { get { - return this.maxFileSizeField; + return this.summarizeSuccesesField; } set { - this.maxFileSizeField = value; - this.RaisePropertyChanged("maxFileSize"); + this.summarizeSuccesesField = value; + this.RaisePropertyChanged("summarizeSucceses"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public bool append { + [System.ComponentModel.DefaultValueAttribute(false)] + public bool summarizeErrors { get { - return this.appendField; + return this.summarizeErrorsField; } set { - this.appendField = value; - this.RaisePropertyChanged("append"); + this.summarizeErrorsField = value; + this.RaisePropertyChanged("summarizeErrors"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AuditingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private bool enabledField; - - private bool detailsField; - - private string[] appenderField; - public AuditingConfigurationType() { - this.enabledField = true; - this.detailsField = false; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool referentialIntegrity { + get { + return this.referentialIntegrityField; + } + set { + this.referentialIntegrityField = value; + this.RaisePropertyChanged("referentialIntegrity"); + } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute(Order=6)] [System.ComponentModel.DefaultValueAttribute(true)] - public bool enabled { + public bool validateStaticSchema { get { - return this.enabledField; + return this.validateStaticSchemaField; } set { - this.enabledField = value; - this.RaisePropertyChanged("enabled"); + this.validateStaticSchemaField = value; + this.RaisePropertyChanged("validateStaticSchema"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool details { + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool validateDynamicSchema { + get { + return this.validateDynamicSchemaField; + } + set { + this.validateDynamicSchemaField = value; + this.RaisePropertyChanged("validateDynamicSchema"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool encryptProtectedValues { get { - return this.detailsField; + return this.encryptProtectedValuesField; } set { - this.detailsField = value; - this.RaisePropertyChanged("details"); + this.encryptProtectedValuesField = value; + this.RaisePropertyChanged("encryptProtectedValues"); } } /// - [System.Xml.Serialization.XmlElementAttribute("appender", IsNullable=true, Order=2)] - public string[] appender { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool fetchResourceSchema { get { - return this.appenderField; + return this.fetchResourceSchemaField; } set { - this.appenderField = value; - this.RaisePropertyChanged("appender"); + this.fetchResourceSchemaField = value; + this.RaisePropertyChanged("fetchResourceSchema"); } } @@ -12342,25 +19630,24 @@ public partial class AuditingConfigurationType : object, System.ComponentModel.I } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AdvancedLoggingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ItemListType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlNode[] anyField; + private object[] itemField; /// - [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlNode[] Any { + [System.Xml.Serialization.XmlElementAttribute("item", Order=0)] + public object[] item { get { - return this.anyField; + return this.itemField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.itemField = value; + this.RaisePropertyChanged("item"); } } @@ -12375,38 +19662,39 @@ public partial class AdvancedLoggingConfigurationType : object, System.Component } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ConnectorFrameworkConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class SingleScriptOutputType : object, System.ComponentModel.INotifyPropertyChanged { - private ExtensionType extensionField; + private object itemField; - private string[] connectorPathField; + private string textOutputField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ExtensionType extension { + [System.Xml.Serialization.XmlElementAttribute("mslData", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("xmlData", typeof(ItemListType), Order=0)] + public object Item { get { - return this.extensionField; + return this.itemField; } set { - this.extensionField = value; - this.RaisePropertyChanged("extension"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlElementAttribute("connectorPath", Order=1)] - public string[] connectorPath { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string textOutput { get { - return this.connectorPathField; + return this.textOutputField; } set { - this.connectorPathField = value; - this.RaisePropertyChanged("connectorPath"); + this.textOutputField = value; + this.RaisePropertyChanged("textOutput"); } } @@ -12421,64 +19709,39 @@ public partial class ConnectorFrameworkConfigurationType : object, System.Compon } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class NotificationConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class ExecuteScriptsResponseType : object, System.ComponentModel.INotifyPropertyChanged { - private EventHandlerType[] itemsField; - - private MailConfigurationType mailField; + private SingleScriptOutputType[] outputsField; - private SmsConfigurationType[] smsField; + private OperationResultType resultField; /// - [System.Xml.Serialization.XmlElementAttribute("accountPasswordNotifier", typeof(AccountPasswordNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("categoryFilter", typeof(EventCategoryFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("dummyNotifier", typeof(DummyNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("expressionFilter", typeof(EventExpressionFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("fork", typeof(EventHandlerForkType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handler", typeof(EventHandlerType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handlerChain", typeof(EventHandlerChainType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("operationFilter", typeof(EventOperationFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleAccountNotifier", typeof(SimpleResourceObjectNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleUserNotifier", typeof(SimpleUserNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleWorkflowNotifier", typeof(SimpleWorkflowNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("statusFilter", typeof(EventStatusFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("userPasswordNotifier", typeof(UserPasswordNotifierType), Order=0)] - public EventHandlerType[] Items { + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("output", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public SingleScriptOutputType[] outputs { get { - return this.itemsField; + return this.outputsField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.outputsField = value; + this.RaisePropertyChanged("outputs"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public MailConfigurationType mail { - get { - return this.mailField; - } - set { - this.mailField = value; - this.RaisePropertyChanged("mail"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("sms", IsNullable=true, Order=2)] - public SmsConfigurationType[] sms { + public OperationResultType result { get { - return this.smsField; + return this.resultField; } set { - this.smsField = value; - this.RaisePropertyChanged("sms"); + this.resultField = value; + this.RaisePropertyChanged("result"); } } @@ -12493,300 +19756,158 @@ public partial class NotificationConfigurationType : object, System.ComponentMod } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class AccountPasswordNotifierType : GeneralNotifierType { - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(AccountPasswordNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleUserNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserPasswordNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(DummyNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleWorkflowNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleResourceObjectNotifierType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class GeneralNotifierType : EventHandlerType { - - private EventHandlerType[] itemsField; - - private ExpressionType[] recipientExpressionField; - - private ExpressionType subjectExpressionField; - - private string subjectPrefixField; - - private ExpressionType bodyExpressionField; - - private bool watchAuxiliaryAttributesField; - - private bool watchAuxiliaryAttributesFieldSpecified; - - private bool showModifiedValuesField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ExecuteScriptsOptionsType : object, System.ComponentModel.INotifyPropertyChanged { - private bool showModifiedValuesFieldSpecified; - - private bool showTechnicalInformationField; - - private bool showTechnicalInformationFieldSpecified; - - private string[] transportField; - - /// - [System.Xml.Serialization.XmlElementAttribute("accountPasswordNotifier", typeof(AccountPasswordNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("categoryFilter", typeof(EventCategoryFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("dummyNotifier", typeof(DummyNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("expressionFilter", typeof(EventExpressionFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("fork", typeof(EventHandlerForkType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handler", typeof(EventHandlerType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handlerChain", typeof(EventHandlerChainType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("operationFilter", typeof(EventOperationFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleAccountNotifier", typeof(SimpleResourceObjectNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleUserNotifier", typeof(SimpleUserNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleWorkflowNotifier", typeof(SimpleWorkflowNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("statusFilter", typeof(EventStatusFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("userPasswordNotifier", typeof(UserPasswordNotifierType), Order=0)] - public EventHandlerType[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("recipientExpression", IsNullable=true, Order=1)] - public ExpressionType[] recipientExpression { - get { - return this.recipientExpressionField; - } - set { - this.recipientExpressionField = value; - this.RaisePropertyChanged("recipientExpression"); - } - } + private OutputFormatType outputFormatField; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ExpressionType subjectExpression { - get { - return this.subjectExpressionField; - } - set { - this.subjectExpressionField = value; - this.RaisePropertyChanged("subjectExpression"); - } - } + private bool outputFormatFieldSpecified; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string subjectPrefix { - get { - return this.subjectPrefixField; - } - set { - this.subjectPrefixField = value; - this.RaisePropertyChanged("subjectPrefix"); - } - } + private int objectLimitField; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public ExpressionType bodyExpression { - get { - return this.bodyExpressionField; - } - set { - this.bodyExpressionField = value; - this.RaisePropertyChanged("bodyExpression"); - } - } + private bool objectLimitFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public bool watchAuxiliaryAttributes { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public OutputFormatType outputFormat { get { - return this.watchAuxiliaryAttributesField; + return this.outputFormatField; } set { - this.watchAuxiliaryAttributesField = value; - this.RaisePropertyChanged("watchAuxiliaryAttributes"); + this.outputFormatField = value; + this.RaisePropertyChanged("outputFormat"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool watchAuxiliaryAttributesSpecified { + public bool outputFormatSpecified { get { - return this.watchAuxiliaryAttributesFieldSpecified; + return this.outputFormatFieldSpecified; } set { - this.watchAuxiliaryAttributesFieldSpecified = value; - this.RaisePropertyChanged("watchAuxiliaryAttributesSpecified"); + this.outputFormatFieldSpecified = value; + this.RaisePropertyChanged("outputFormatSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public bool showModifiedValues { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int objectLimit { get { - return this.showModifiedValuesField; + return this.objectLimitField; } set { - this.showModifiedValuesField = value; - this.RaisePropertyChanged("showModifiedValues"); + this.objectLimitField = value; + this.RaisePropertyChanged("objectLimit"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool showModifiedValuesSpecified { + public bool objectLimitSpecified { get { - return this.showModifiedValuesFieldSpecified; + return this.objectLimitFieldSpecified; } set { - this.showModifiedValuesFieldSpecified = value; - this.RaisePropertyChanged("showModifiedValuesSpecified"); + this.objectLimitFieldSpecified = value; + this.RaisePropertyChanged("objectLimitSpecified"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public bool showTechnicalInformation { - get { - return this.showTechnicalInformationField; - } - set { - this.showTechnicalInformationField = value; - this.RaisePropertyChanged("showTechnicalInformation"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public enum OutputFormatType { /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool showTechnicalInformationSpecified { - get { - return this.showTechnicalInformationFieldSpecified; - } - set { - this.showTechnicalInformationFieldSpecified = value; - this.RaisePropertyChanged("showTechnicalInformationSpecified"); - } - } + xml, /// - [System.Xml.Serialization.XmlElementAttribute("transport", IsNullable=true, Order=8)] - public string[] transport { - get { - return this.transportField; - } - set { - this.transportField = value; - this.RaisePropertyChanged("transport"); - } - } + msl, } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class EventCategoryFilterType : EventHandlerType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class XmlScriptsType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Nullable[] categoryField; + private System.Xml.XmlElement[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute("category", IsNullable=true, Order=0)] - public System.Nullable[] category { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.categoryField; + return this.anyField; } set { - this.categoryField = value; - this.RaisePropertyChanged("category"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum EventCategoryType { - - /// - accountEvent, - - /// - userEvent, - - /// - workItemEvent, - /// - workflowProcessEvent, + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - workflowEvent, - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EventHandlerChainType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EventCategoryFilterType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EventExpressionFilterType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EventOperationFilterType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EventStatusFilterType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(AccountPasswordNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleUserNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserPasswordNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(DummyNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleWorkflowNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(SimpleResourceObjectNotifierType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EventHandlerForkType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class EventHandlerType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class ExecuteScriptsType : object, System.ComponentModel.INotifyPropertyChanged { - private string descriptionField; + private object itemField; - private string nameField; + private ExecuteScriptsOptionsType optionsField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string description { + [System.Xml.Serialization.XmlElementAttribute("mslScripts", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("xmlScripts", typeof(XmlScriptsType), Order=0)] + public object Item { get { - return this.descriptionField; + return this.itemField; } set { - this.descriptionField = value; - this.RaisePropertyChanged("description"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string name { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ExecuteScriptsOptionsType options { get { - return this.nameField; + return this.optionsField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.optionsField = value; + this.RaisePropertyChanged("options"); } } @@ -12801,330 +19922,272 @@ public partial class EventHandlerType : object, System.ComponentModel.INotifyPro } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class EventHandlerChainType : EventHandlerType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class NotifyChangeResponseType : object, System.ComponentModel.INotifyPropertyChanged { - private EventHandlerType[] itemsField; + private TaskType taskField; /// - [System.Xml.Serialization.XmlElementAttribute("accountPasswordNotifier", typeof(AccountPasswordNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("categoryFilter", typeof(EventCategoryFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("dummyNotifier", typeof(DummyNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("expressionFilter", typeof(EventExpressionFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("fork", typeof(EventHandlerForkType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handler", typeof(EventHandlerType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handlerChain", typeof(EventHandlerChainType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("operationFilter", typeof(EventOperationFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleAccountNotifier", typeof(SimpleResourceObjectNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleUserNotifier", typeof(SimpleUserNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleWorkflowNotifier", typeof(SimpleWorkflowNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("statusFilter", typeof(EventStatusFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("userPasswordNotifier", typeof(UserPasswordNotifierType), Order=0)] - public EventHandlerType[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public TaskType task { get { - return this.itemsField; + return this.taskField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.taskField = value; + this.RaisePropertyChanged("task"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class DummyNotifierType : GeneralNotifierType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class EventExpressionFilterType : EventHandlerType { + public partial class ResourceObjectShadowChangeDescriptionType : object, System.ComponentModel.INotifyPropertyChanged { - private ExpressionType expressionField; + private string oldShadowOidField; + + private ShadowType currentShadowField; + + private ObjectDeltaType objectDeltaField; + + private string channelField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ExpressionType expression { + public string oldShadowOid { get { - return this.expressionField; + return this.oldShadowOidField; } set { - this.expressionField = value; - this.RaisePropertyChanged("expression"); + this.oldShadowOidField = value; + this.RaisePropertyChanged("oldShadowOid"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class EventHandlerForkType : EventHandlerType { - - private EventHandlerType[] itemsField; /// - [System.Xml.Serialization.XmlElementAttribute("accountPasswordNotifier", typeof(AccountPasswordNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("categoryFilter", typeof(EventCategoryFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("dummyNotifier", typeof(DummyNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("expressionFilter", typeof(EventExpressionFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("fork", typeof(EventHandlerForkType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handler", typeof(EventHandlerType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("handlerChain", typeof(EventHandlerChainType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("operationFilter", typeof(EventOperationFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleAccountNotifier", typeof(SimpleResourceObjectNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleUserNotifier", typeof(SimpleUserNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("simpleWorkflowNotifier", typeof(SimpleWorkflowNotifierType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("statusFilter", typeof(EventStatusFilterType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("userPasswordNotifier", typeof(UserPasswordNotifierType), Order=0)] - public EventHandlerType[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ShadowType currentShadow { get { - return this.itemsField; + return this.currentShadowField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.currentShadowField = value; + this.RaisePropertyChanged("currentShadow"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class EventOperationFilterType : EventHandlerType { - - private System.Nullable[] operationField; /// - [System.Xml.Serialization.XmlElementAttribute("operation", IsNullable=true, Order=0)] - public System.Nullable[] operation { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ObjectDeltaType objectDelta { get { - return this.operationField; + return this.objectDeltaField; } set { - this.operationField = value; - this.RaisePropertyChanged("operation"); + this.objectDeltaField = value; + this.RaisePropertyChanged("objectDelta"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum EventOperationType { /// - add, + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string channel { + get { + return this.channelField; + } + set { + this.channelField = value; + this.RaisePropertyChanged("channel"); + } + } - /// - modify, + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - delete, + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SimpleResourceObjectNotifierType : GeneralNotifierType { - - private bool watchSynchronizationAttributesField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class NotifyChangeType : object, System.ComponentModel.INotifyPropertyChanged { - private bool watchSynchronizationAttributesFieldSpecified; + private ResourceObjectShadowChangeDescriptionType changeDescriptionField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public bool watchSynchronizationAttributes { + public ResourceObjectShadowChangeDescriptionType changeDescription { get { - return this.watchSynchronizationAttributesField; + return this.changeDescriptionField; } set { - this.watchSynchronizationAttributesField = value; - this.RaisePropertyChanged("watchSynchronizationAttributes"); + this.changeDescriptionField = value; + this.RaisePropertyChanged("changeDescription"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool watchSynchronizationAttributesSpecified { - get { - return this.watchSynchronizationAttributesFieldSpecified; - } - set { - this.watchSynchronizationAttributesFieldSpecified = value; - this.RaisePropertyChanged("watchSynchronizationAttributesSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SimpleUserNotifierType : GeneralNotifierType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SimpleWorkflowNotifierType : GeneralNotifierType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class EventStatusFilterType : EventHandlerType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class ImportFromResourceResponseType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Nullable[] statusField; + private TaskType taskField; /// - [System.Xml.Serialization.XmlElementAttribute("status", IsNullable=true, Order=0)] - public System.Nullable[] status { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public TaskType task { get { - return this.statusField; + return this.taskField; } set { - this.statusField = value; - this.RaisePropertyChanged("status"); + this.taskField = value; + this.RaisePropertyChanged("task"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum EventStatusType { - - /// - success, - - /// - alsoSuccess, - - /// - failure, - /// - onlyFailure, + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - inProgress, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class UserPasswordNotifierType : GeneralNotifierType { + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class MailConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private MailServerConfigurationType[] serverField; - - private string defaultFromField; - - private bool debugField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class ImportFromResourceType : object, System.ComponentModel.INotifyPropertyChanged { - private bool debugFieldSpecified; + private string resourceOidField; - private string redirectToFileField; + private System.Xml.XmlQualifiedName objectClassField; /// - [System.Xml.Serialization.XmlElementAttribute("server", IsNullable=true, Order=0)] - public MailServerConfigurationType[] server { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string resourceOid { get { - return this.serverField; + return this.resourceOidField; } set { - this.serverField = value; - this.RaisePropertyChanged("server"); + this.resourceOidField = value; + this.RaisePropertyChanged("resourceOid"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string defaultFrom { + public System.Xml.XmlQualifiedName objectClass { get { - return this.defaultFromField; + return this.objectClassField; } set { - this.defaultFromField = value; - this.RaisePropertyChanged("defaultFrom"); + this.objectClassField = value; + this.RaisePropertyChanged("objectClass"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public bool debug { - get { - return this.debugField; - } - set { - this.debugField = value; - this.RaisePropertyChanged("debug"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class testResourceResponseType : object, System.ComponentModel.INotifyPropertyChanged { + + private OperationResultType resultField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool debugSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public OperationResultType result { get { - return this.debugFieldSpecified; + return this.resultField; } set { - this.debugFieldSpecified = value; - this.RaisePropertyChanged("debugSpecified"); + this.resultField = value; + this.RaisePropertyChanged("result"); } } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class TestResourceType : object, System.ComponentModel.INotifyPropertyChanged { + + private string resourceOidField; + /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string redirectToFile { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string resourceOid { get { - return this.redirectToFileField; + return this.resourceOidField; } set { - this.redirectToFileField = value; - this.RaisePropertyChanged("redirectToFile"); + this.resourceOidField = value; + this.RaisePropertyChanged("resourceOid"); } } @@ -13139,108 +20202,130 @@ public partial class MailConfigurationType : object, System.ComponentModel.INoti } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class MailServerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private string hostField; - - private int portField; - - private bool portFieldSpecified; - - private string usernameField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class FindShadowOwnerResponseType : object, System.ComponentModel.INotifyPropertyChanged { - private string passwordField; + private UserType userField; - private MailTransportSecurityType transportSecurityField; - - private bool transportSecurityFieldSpecified; + private OperationResultType resultField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string host { + public UserType user { get { - return this.hostField; + return this.userField; } set { - this.hostField = value; - this.RaisePropertyChanged("host"); + this.userField = value; + this.RaisePropertyChanged("user"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public int port { + public OperationResultType result { get { - return this.portField; + return this.resultField; } set { - this.portField = value; - this.RaisePropertyChanged("port"); + this.resultField = value; + this.RaisePropertyChanged("result"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool portSpecified { - get { - return this.portFieldSpecified; - } - set { - this.portFieldSpecified = value; - this.RaisePropertyChanged("portSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class FindShadowOwnerType : object, System.ComponentModel.INotifyPropertyChanged { + + private string shadowOidField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string username { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string shadowOid { get { - return this.usernameField; + return this.shadowOidField; } set { - this.usernameField = value; - this.RaisePropertyChanged("username"); + this.shadowOidField = value; + this.RaisePropertyChanged("shadowOid"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ObjectListType : object, System.ComponentModel.INotifyPropertyChanged { + + private ObjectType1[] objectField; + + private int countField; + + private bool countFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string password { + [System.Xml.Serialization.XmlElementAttribute("object", Order=0)] + public ObjectType1[] @object { get { - return this.passwordField; + return this.objectField; } set { - this.passwordField = value; - this.RaisePropertyChanged("password"); + this.objectField = value; + this.RaisePropertyChanged("object"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public MailTransportSecurityType transportSecurity { + [System.Xml.Serialization.XmlAttributeAttribute()] + public int count { get { - return this.transportSecurityField; + return this.countField; } set { - this.transportSecurityField = value; - this.RaisePropertyChanged("transportSecurity"); + this.countField = value; + this.RaisePropertyChanged("count"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool transportSecuritySpecified { + public bool countSpecified { get { - return this.transportSecurityFieldSpecified; + return this.countFieldSpecified; } set { - this.transportSecurityFieldSpecified = value; - this.RaisePropertyChanged("transportSecuritySpecified"); + this.countFieldSpecified = value; + this.RaisePropertyChanged("countSpecified"); } } @@ -13255,85 +20340,121 @@ public partial class MailServerConfigurationType : object, System.ComponentModel } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum MailTransportSecurityType { + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class SearchObjectsResponseType : object, System.ComponentModel.INotifyPropertyChanged { - /// - none, + private ObjectListType objectListField; - /// - starttlsEnabled, + private OperationResultType resultField; /// - starttlsRequired, + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ObjectListType objectList { + get { + return this.objectListField; + } + set { + this.objectListField = value; + this.RaisePropertyChanged("objectList"); + } + } /// - ssl, + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public OperationResultType result { + get { + return this.resultField; + } + set { + this.resultField = value; + this.RaisePropertyChanged("result"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SmsConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class PagingType : object, System.ComponentModel.INotifyPropertyChanged { - private SmsGatewayConfigurationType[] gatewayField; + private ItemPathType orderByField; - private string defaultFromField; + private OrderDirectionType orderDirectionField; - private string redirectToFileField; + private int offsetField; - private string nameField; + private int maxSizeField; + + public PagingType() { + this.orderDirectionField = OrderDirectionType.ascending; + this.offsetField = 0; + this.maxSizeField = 2147483647; + } /// - [System.Xml.Serialization.XmlElementAttribute("gateway", IsNullable=true, Order=0)] - public SmsGatewayConfigurationType[] gateway { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ItemPathType orderBy { get { - return this.gatewayField; + return this.orderByField; } set { - this.gatewayField = value; - this.RaisePropertyChanged("gateway"); + this.orderByField = value; + this.RaisePropertyChanged("orderBy"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string defaultFrom { + [System.ComponentModel.DefaultValueAttribute(OrderDirectionType.ascending)] + public OrderDirectionType orderDirection { get { - return this.defaultFromField; + return this.orderDirectionField; } set { - this.defaultFromField = value; - this.RaisePropertyChanged("defaultFrom"); + this.orderDirectionField = value; + this.RaisePropertyChanged("orderDirection"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string redirectToFile { + [System.ComponentModel.DefaultValueAttribute(0)] + public int offset { get { - return this.redirectToFileField; + return this.offsetField; } set { - this.redirectToFileField = value; - this.RaisePropertyChanged("redirectToFile"); + this.offsetField = value; + this.RaisePropertyChanged("offset"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string name { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(2147483647)] + public int maxSize { get { - return this.nameField; + return this.maxSizeField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.maxSizeField = value; + this.RaisePropertyChanged("maxSize"); } } @@ -13348,80 +20469,113 @@ public partial class SmsConfigurationType : object, System.ComponentModel.INotif } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class SmsGatewayConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private ExpressionType urlField; - - private string usernameField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://prism.evolveum.com/xml/ns/public/query-3")] + public partial class QueryType : object, System.ComponentModel.INotifyPropertyChanged { - private string passwordField; + private string descriptionField; - private string redirectToFileField; + private SearchFilterType filterField; - private string nameField; + private PagingType pagingField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ExpressionType url { + public string description { get { - return this.urlField; + return this.descriptionField; } set { - this.urlField = value; - this.RaisePropertyChanged("url"); + this.descriptionField = value; + this.RaisePropertyChanged("description"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string username { + public SearchFilterType filter { get { - return this.usernameField; + return this.filterField; } set { - this.usernameField = value; - this.RaisePropertyChanged("username"); + this.filterField = value; + this.RaisePropertyChanged("filter"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public string password { + public PagingType paging { get { - return this.passwordField; + return this.pagingField; } set { - this.passwordField = value; - this.RaisePropertyChanged("password"); + this.pagingField = value; + this.RaisePropertyChanged("paging"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class SearchObjectsType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlQualifiedName objectTypeField; + + private QueryType queryField; + + private SelectorQualifiedGetOptionType[] optionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName objectType { + get { + return this.objectTypeField; + } + set { + this.objectTypeField = value; + this.RaisePropertyChanged("objectType"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public string redirectToFile { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public QueryType query { get { - return this.redirectToFileField; + return this.queryField; } set { - this.redirectToFileField = value; - this.RaisePropertyChanged("redirectToFile"); + this.queryField = value; + this.RaisePropertyChanged("query"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string name { + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("option", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public SelectorQualifiedGetOptionType[] options { get { - return this.nameField; + return this.optionsField; } set { - this.nameField = value; - this.RaisePropertyChanged("name"); + this.optionsField = value; + this.RaisePropertyChanged("options"); } } @@ -13436,223 +20590,228 @@ public partial class SmsGatewayConfigurationType : object, System.ComponentModel } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class ProfilingConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private bool enabledField; - - private bool requestFilterField; - - private bool requestFilterFieldSpecified; - - private bool performanceStatisticsField; - - private bool performanceStatisticsFieldSpecified; - - private int dumpIntervalField; - - private bool dumpIntervalFieldSpecified; - - private bool modelField; - - private bool repositoryField; - - private bool provisioningField; - - private bool ucfField; - - private bool resourceObjectChangeListenerField; - - private bool taskManagerField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class SelectorQualifiedGetOptionType : object, System.ComponentModel.INotifyPropertyChanged { - private bool workflowField; + private ObjectSelectorType selectorField; - public ProfilingConfigurationType() { - this.modelField = false; - this.repositoryField = false; - this.provisioningField = false; - this.ucfField = false; - this.resourceObjectChangeListenerField = false; - this.taskManagerField = false; - this.workflowField = false; - } + private GetOperationOptionsType optionsField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public bool enabled { + public ObjectSelectorType selector { get { - return this.enabledField; + return this.selectorField; } set { - this.enabledField = value; - this.RaisePropertyChanged("enabled"); + this.selectorField = value; + this.RaisePropertyChanged("selector"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public bool requestFilter { + public GetOperationOptionsType options { get { - return this.requestFilterField; + return this.optionsField; } set { - this.requestFilterField = value; - this.RaisePropertyChanged("requestFilter"); + this.optionsField = value; + this.RaisePropertyChanged("options"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool requestFilterSpecified { - get { - return this.requestFilterFieldSpecified; - } - set { - this.requestFilterFieldSpecified = value; - this.RaisePropertyChanged("requestFilterSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ObjectSelectorType : object, System.ComponentModel.INotifyPropertyChanged { + + private ItemPathType pathField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public bool performanceStatistics { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ItemPathType path { get { - return this.performanceStatisticsField; + return this.pathField; } set { - this.performanceStatisticsField = value; - this.RaisePropertyChanged("performanceStatistics"); + this.pathField = value; + this.RaisePropertyChanged("path"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class GetOperationOptionsType : object, System.ComponentModel.INotifyPropertyChanged { + + private RetrieveOptionType retrieveField; + + private bool retrieveFieldSpecified; + + private bool resolveField; + + private bool resolveFieldSpecified; + + private bool noFetchField; + + private bool noFetchFieldSpecified; + + private bool rawField; + + private bool rawFieldSpecified; + + private bool noDiscoveryField; + + private bool noDiscoveryFieldSpecified; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool performanceStatisticsSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public RetrieveOptionType retrieve { get { - return this.performanceStatisticsFieldSpecified; + return this.retrieveField; } set { - this.performanceStatisticsFieldSpecified = value; - this.RaisePropertyChanged("performanceStatisticsSpecified"); + this.retrieveField = value; + this.RaisePropertyChanged("retrieve"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public int dumpInterval { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool retrieveSpecified { get { - return this.dumpIntervalField; + return this.retrieveFieldSpecified; } set { - this.dumpIntervalField = value; - this.RaisePropertyChanged("dumpInterval"); + this.retrieveFieldSpecified = value; + this.RaisePropertyChanged("retrieveSpecified"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool dumpIntervalSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool resolve { get { - return this.dumpIntervalFieldSpecified; + return this.resolveField; } set { - this.dumpIntervalFieldSpecified = value; - this.RaisePropertyChanged("dumpIntervalSpecified"); + this.resolveField = value; + this.RaisePropertyChanged("resolve"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool model { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool resolveSpecified { get { - return this.modelField; + return this.resolveFieldSpecified; } set { - this.modelField = value; - this.RaisePropertyChanged("model"); + this.resolveFieldSpecified = value; + this.RaisePropertyChanged("resolveSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool repository { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool noFetch { get { - return this.repositoryField; + return this.noFetchField; } set { - this.repositoryField = value; - this.RaisePropertyChanged("repository"); + this.noFetchField = value; + this.RaisePropertyChanged("noFetch"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool provisioning { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool noFetchSpecified { get { - return this.provisioningField; + return this.noFetchFieldSpecified; } set { - this.provisioningField = value; - this.RaisePropertyChanged("provisioning"); + this.noFetchFieldSpecified = value; + this.RaisePropertyChanged("noFetchSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool ucf { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool raw { get { - return this.ucfField; + return this.rawField; } set { - this.ucfField = value; - this.RaisePropertyChanged("ucf"); + this.rawField = value; + this.RaisePropertyChanged("raw"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool resourceObjectChangeListener { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool rawSpecified { get { - return this.resourceObjectChangeListenerField; + return this.rawFieldSpecified; } set { - this.resourceObjectChangeListenerField = value; - this.RaisePropertyChanged("resourceObjectChangeListener"); + this.rawFieldSpecified = value; + this.RaisePropertyChanged("rawSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool taskManager { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool noDiscovery { get { - return this.taskManagerField; + return this.noDiscoveryField; } set { - this.taskManagerField = value; - this.RaisePropertyChanged("taskManager"); + this.noDiscoveryField = value; + this.RaisePropertyChanged("noDiscovery"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool workflow { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool noDiscoverySpecified { get { - return this.workflowField; + return this.noDiscoveryFieldSpecified; } set { - this.workflowField = value; - this.RaisePropertyChanged("workflow"); + this.noDiscoveryFieldSpecified = value; + this.RaisePropertyChanged("noDiscoverySpecified"); } } @@ -13667,38 +20826,54 @@ public partial class ProfilingConfigurationType : object, System.ComponentModel. } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public enum RetrieveOptionType { + + /// + @default, + + /// + include, + + /// + exclude, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class CleanupPoliciesType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class ObjectDeltaOperationType : object, System.ComponentModel.INotifyPropertyChanged { - private CleanupPolicyType auditRecordsField; + private ObjectDeltaType objectDeltaField; - private CleanupPolicyType closedTasksField; + private OperationResultType executionResultField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public CleanupPolicyType auditRecords { + public ObjectDeltaType objectDelta { get { - return this.auditRecordsField; + return this.objectDeltaField; } set { - this.auditRecordsField = value; - this.RaisePropertyChanged("auditRecords"); + this.objectDeltaField = value; + this.RaisePropertyChanged("objectDelta"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public CleanupPolicyType closedTasks { + public OperationResultType executionResult { get { - return this.closedTasksField; + return this.executionResultField; } set { - this.closedTasksField = value; - this.RaisePropertyChanged("closedTasks"); + this.executionResultField = value; + this.RaisePropertyChanged("executionResult"); } } @@ -13713,24 +20888,25 @@ public partial class CleanupPoliciesType : object, System.ComponentModel.INotify } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class CleanupPolicyType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class ExecuteChangesResponseType : object, System.ComponentModel.INotifyPropertyChanged { - private string maxAgeField; + private ObjectDeltaOperationType[] deltaOperationListField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="duration", Order=0)] - public string maxAge { + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("deltaOperation", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public ObjectDeltaOperationType[] deltaOperationList { get { - return this.maxAgeField; + return this.deltaOperationListField; } set { - this.maxAgeField = value; - this.RaisePropertyChanged("maxAge"); + this.deltaOperationListField = value; + this.RaisePropertyChanged("deltaOperationList"); } } @@ -13745,410 +20921,933 @@ public partial class CleanupPolicyType : object, System.ComponentModel.INotifyPr } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class NodeType : ObjectType { + public partial class ModelExecuteOptionsType : object, System.ComponentModel.INotifyPropertyChanged { - private string nodeIdentifierField; + private bool forceField; - private string hostnameField; + private bool forceFieldSpecified; - private int jmxPortField; + private bool rawField; - private bool jmxPortFieldSpecified; + private bool rawFieldSpecified; - private System.DateTime lastCheckInTimeField; + private bool noCryptField; - private bool lastCheckInTimeFieldSpecified; + private bool noCryptFieldSpecified; - private bool runningField; + private bool reconcileField; - private bool runningFieldSpecified; + private bool reconcileFieldSpecified; - private bool clusteredField; + private bool executeImmediatelyAfterApprovalField; - private bool clusteredFieldSpecified; + private bool executeImmediatelyAfterApprovalFieldSpecified; - private string internalNodeIdentifierField; + private bool overwriteField; - private NodeExecutionStatusType executionStatusField; + private bool overwriteFieldSpecified; - private NodeErrorStatusType errorStatusField; + private bool isImportField; - private OperationResultType connectionResultField; + private bool isImportFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string nodeIdentifier { + public bool force { get { - return this.nodeIdentifierField; + return this.forceField; } set { - this.nodeIdentifierField = value; - this.RaisePropertyChanged("nodeIdentifier"); + this.forceField = value; + this.RaisePropertyChanged("force"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool forceSpecified { + get { + return this.forceFieldSpecified; + } + set { + this.forceFieldSpecified = value; + this.RaisePropertyChanged("forceSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string hostname { + public bool raw { get { - return this.hostnameField; + return this.rawField; } set { - this.hostnameField = value; - this.RaisePropertyChanged("hostname"); + this.rawField = value; + this.RaisePropertyChanged("raw"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool rawSpecified { + get { + return this.rawFieldSpecified; + } + set { + this.rawFieldSpecified = value; + this.RaisePropertyChanged("rawSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public int jmxPort { + public bool noCrypt { get { - return this.jmxPortField; + return this.noCryptField; } set { - this.jmxPortField = value; - this.RaisePropertyChanged("jmxPort"); + this.noCryptField = value; + this.RaisePropertyChanged("noCrypt"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool jmxPortSpecified { + public bool noCryptSpecified { get { - return this.jmxPortFieldSpecified; + return this.noCryptFieldSpecified; } set { - this.jmxPortFieldSpecified = value; - this.RaisePropertyChanged("jmxPortSpecified"); + this.noCryptFieldSpecified = value; + this.RaisePropertyChanged("noCryptSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public System.DateTime lastCheckInTime { + public bool reconcile { get { - return this.lastCheckInTimeField; + return this.reconcileField; } set { - this.lastCheckInTimeField = value; - this.RaisePropertyChanged("lastCheckInTime"); + this.reconcileField = value; + this.RaisePropertyChanged("reconcile"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool lastCheckInTimeSpecified { + public bool reconcileSpecified { get { - return this.lastCheckInTimeFieldSpecified; + return this.reconcileFieldSpecified; } set { - this.lastCheckInTimeFieldSpecified = value; - this.RaisePropertyChanged("lastCheckInTimeSpecified"); + this.reconcileFieldSpecified = value; + this.RaisePropertyChanged("reconcileSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public bool running { + public bool executeImmediatelyAfterApproval { get { - return this.runningField; + return this.executeImmediatelyAfterApprovalField; } set { - this.runningField = value; - this.RaisePropertyChanged("running"); + this.executeImmediatelyAfterApprovalField = value; + this.RaisePropertyChanged("executeImmediatelyAfterApproval"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool runningSpecified { + public bool executeImmediatelyAfterApprovalSpecified { get { - return this.runningFieldSpecified; + return this.executeImmediatelyAfterApprovalFieldSpecified; } set { - this.runningFieldSpecified = value; - this.RaisePropertyChanged("runningSpecified"); + this.executeImmediatelyAfterApprovalFieldSpecified = value; + this.RaisePropertyChanged("executeImmediatelyAfterApprovalSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public bool clustered { + public bool overwrite { get { - return this.clusteredField; + return this.overwriteField; } set { - this.clusteredField = value; - this.RaisePropertyChanged("clustered"); + this.overwriteField = value; + this.RaisePropertyChanged("overwrite"); } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool clusteredSpecified { + public bool overwriteSpecified { get { - return this.clusteredFieldSpecified; + return this.overwriteFieldSpecified; } set { - this.clusteredFieldSpecified = value; - this.RaisePropertyChanged("clusteredSpecified"); + this.overwriteFieldSpecified = value; + this.RaisePropertyChanged("overwriteSpecified"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public string internalNodeIdentifier { + public bool isImport { get { - return this.internalNodeIdentifierField; + return this.isImportField; } set { - this.internalNodeIdentifierField = value; - this.RaisePropertyChanged("internalNodeIdentifier"); + this.isImportField = value; + this.RaisePropertyChanged("isImport"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public NodeExecutionStatusType executionStatus { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool isImportSpecified { get { - return this.executionStatusField; + return this.isImportFieldSpecified; } set { - this.executionStatusField = value; - this.RaisePropertyChanged("executionStatus"); + this.isImportFieldSpecified = value; + this.RaisePropertyChanged("isImportSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class ExecuteChangesType : object, System.ComponentModel.INotifyPropertyChanged { + + private ObjectDeltaType[] deltaListField; + + private ModelExecuteOptionsType optionsField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public NodeErrorStatusType errorStatus { + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("delta", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public ObjectDeltaType[] deltaList { get { - return this.errorStatusField; + return this.deltaListField; } set { - this.errorStatusField = value; - this.RaisePropertyChanged("errorStatus"); + this.deltaListField = value; + this.RaisePropertyChanged("deltaList"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public OperationResultType connectionResult { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ModelExecuteOptionsType options { get { - return this.connectionResultField; + return this.optionsField; } set { - this.connectionResultField = value; - this.RaisePropertyChanged("connectionResult"); + this.optionsField = value; + this.RaisePropertyChanged("options"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum NodeExecutionStatusType { + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class GetObjectResponseType : object, System.ComponentModel.INotifyPropertyChanged { - /// - running, + private ObjectType1 objectField; - /// - paused, + private OperationResultType resultField; /// - down, + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ObjectType1 @object { + get { + return this.objectField; + } + set { + this.objectField = value; + this.RaisePropertyChanged("object"); + } + } /// - error, + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public OperationResultType result { + get { + return this.resultField; + } + set { + this.resultField = value; + this.RaisePropertyChanged("result"); + } + } - /// - communicationError, + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public enum NodeErrorStatusType { + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3")] + public partial class GetObjectType : object, System.ComponentModel.INotifyPropertyChanged { - /// - ok, + private System.Xml.XmlQualifiedName objectTypeField; + + private string oidField; + + private SelectorQualifiedGetOptionType[] optionsField; /// - duplicateNodeIdOrName, + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.Xml.XmlQualifiedName objectType { + get { + return this.objectTypeField; + } + set { + this.objectTypeField = value; + this.RaisePropertyChanged("objectType"); + } + } /// - nonClusteredNodeWithOthers, + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string oid { + get { + return this.oidField; + } + set { + this.oidField = value; + this.RaisePropertyChanged("oid"); + } + } /// - localConfigurationError, + [System.Xml.Serialization.XmlArrayAttribute(Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("option", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public SelectorQualifiedGetOptionType[] options { + get { + return this.optionsField; + } + set { + this.optionsField = value; + this.RaisePropertyChanged("options"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class UnsupportedOperationFaultType : FaultType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class IllegalArgumentFaultType : FaultType { + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnsupportedObjectTypeFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReferentialIntegrityFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SchemaViolationFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InapplicableOperationFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectAlreadyExistsFaultType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectNotFoundFaultType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public abstract partial class ObjectAccessFaultType : FaultType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class UnsupportedObjectTypeFaultType : ObjectAccessFaultType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class ReferentialIntegrityFaultType : ObjectAccessFaultType { + + private string[] referringObjectOidField; /// - localInitializationError, + [System.Xml.Serialization.XmlElementAttribute("referringObjectOid", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string[] referringObjectOid { + get { + return this.referringObjectOidField; + } + set { + this.referringObjectOidField = value; + this.RaisePropertyChanged("referringObjectOid"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class SchemaViolationFaultType : ObjectAccessFaultType { + + private System.Xml.XmlQualifiedName[] violatingPropertyNameField; /// - nodeRegistrationFailed, + [System.Xml.Serialization.XmlElementAttribute("violatingPropertyName", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public System.Xml.XmlQualifiedName[] violatingPropertyName { + get { + return this.violatingPropertyNameField; + } + set { + this.violatingPropertyNameField = value; + this.RaisePropertyChanged("violatingPropertyName"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class InapplicableOperationFaultType : ObjectAccessFaultType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class ObjectAlreadyExistsFaultType : ObjectAccessFaultType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class ObjectNotFoundFaultType : ObjectAccessFaultType { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3")] - public partial class GenericObjectType : ObjectType { - - private string objectTypeField; - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType="anyURI", Order=0)] - public string objectType { - get { - return this.objectTypeField; - } - set { - this.objectTypeField = value; - this.RaisePropertyChanged("objectType"); - } - } + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + public partial class SystemFaultType : FaultType { } - [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="listObjects", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class listObjects { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="anyURI")] - public string objectType; + [System.ServiceModel.ServiceContractAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", ConfigurationName="midpointModelService.modelPortType")] + public interface modelPortType { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.PagingType paging; + // CODEGEN: Parameter 'options' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="object")] + ModelClientSample.midpointModelService.getObjectResponse getObject(ModelClientSample.midpointModelService.getObject request); - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=2)] - [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - [System.Xml.Serialization.XmlArrayItemAttribute("objectOption", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public ModelClientSample.midpointModelService.ObjectOperationOptionsType[] options; + // CODEGEN: Parameter 'options' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="objectList")] + ModelClientSample.midpointModelService.searchObjectsResponse searchObjects(ModelClientSample.midpointModelService.searchObjects request); - public listObjects() { - } + // CODEGEN: Parameter 'deltaOperationList' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="deltaOperationList")] + ModelClientSample.midpointModelService.executeChangesResponse executeChanges(ModelClientSample.midpointModelService.executeChanges request); - public listObjects(string objectType, ModelClientSample.midpointModelService.PagingType paging, ModelClientSample.midpointModelService.ObjectOperationOptionsType[] options) { - this.objectType = objectType; - this.paging = paging; - this.options = options; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="listObjectsResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class listObjectsResponse { + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="user")] + ModelClientSample.midpointModelService.UserType findShadowOwner(out ModelClientSample.midpointModelService.OperationResultType result, string shadowOid); - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.ObjectListType objectList; + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="result")] + ModelClientSample.midpointModelService.OperationResultType testResource(string resourceOid); - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.OperationResultType result; + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="task")] + ModelClientSample.midpointModelService.TaskType importFromResource(string resourceOid, System.Xml.XmlQualifiedName objectClass); - public listObjectsResponse() { - } + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="task")] + ModelClientSample.midpointModelService.TaskType notifyChange(ModelClientSample.midpointModelService.ResourceObjectShadowChangeDescriptionType changeDescription); - public listObjectsResponse(ModelClientSample.midpointModelService.ObjectListType objectList, ModelClientSample.midpointModelService.OperationResultType result) { - this.objectList = objectList; - this.result = result; - } + // CODEGEN: Parameter 'outputs' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportFromResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(testResourceResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TestResourceType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AbstractCredentialType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProvisioningScriptType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceItemDefinitionType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ProtectedDataType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(FindShadowOwnerType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExpressionType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TransformExpressionEvaluatorType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SearchObjectsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] + [return: System.ServiceModel.MessageParameterAttribute(Name="outputs")] + ModelClientSample.midpointModelService.executeScriptsResponse executeScripts(ModelClientSample.midpointModelService.executeScripts request); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="addObject", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class addObject { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.ObjectType @object; - - public addObject() { - } + [System.ServiceModel.MessageContractAttribute(WrapperName="getObject", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class getObject { - public addObject(ModelClientSample.midpointModelService.ObjectType @object) { - this.@object = @object; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="addObjectResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class addObjectResponse { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + public System.Xml.XmlQualifiedName objectType; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] public string oid; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.OperationResultType result; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("option", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public ModelClientSample.midpointModelService.SelectorQualifiedGetOptionType[] options; - public addObjectResponse() { + public getObject() { } - public addObjectResponse(string oid, ModelClientSample.midpointModelService.OperationResultType result) { + public getObject(System.Xml.XmlQualifiedName objectType, string oid, ModelClientSample.midpointModelService.SelectorQualifiedGetOptionType[] options) { + this.objectType = objectType; this.oid = oid; - this.result = result; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="listAccountShadowOwner", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class listAccountShadowOwner { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string accountOid; - - public listAccountShadowOwner() { - } - - public listAccountShadowOwner(string accountOid) { - this.accountOid = accountOid; + this.options = options; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="listAccountShadowOwnerResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class listAccountShadowOwnerResponse { + [System.ServiceModel.MessageContractAttribute(WrapperName="getObjectResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class getObjectResponse { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.UserType user; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + public ModelClientSample.midpointModelService.ObjectType1 @object; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] public ModelClientSample.midpointModelService.OperationResultType result; - public listAccountShadowOwnerResponse() { + public getObjectResponse() { } - public listAccountShadowOwnerResponse(ModelClientSample.midpointModelService.UserType user, ModelClientSample.midpointModelService.OperationResultType result) { - this.user = user; + public getObjectResponse(ModelClientSample.midpointModelService.ObjectType1 @object, ModelClientSample.midpointModelService.OperationResultType result) { + this.@object = @object; this.result = result; } } @@ -14156,26 +21855,23 @@ public partial class listAccountShadowOwnerResponse { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="searchObjects", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] + [System.ServiceModel.MessageContractAttribute(WrapperName="searchObjects", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class searchObjects { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="anyURI")] - public string objectType; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + public System.Xml.XmlQualifiedName objectType; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] public ModelClientSample.midpointModelService.QueryType query; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=2)] - [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - [System.Xml.Serialization.XmlArrayItemAttribute("objectOption", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public ModelClientSample.midpointModelService.ObjectOperationOptionsType[] options; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=2)] + [System.Xml.Serialization.XmlArrayItemAttribute("option", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public ModelClientSample.midpointModelService.SelectorQualifiedGetOptionType[] options; public searchObjects() { } - public searchObjects(string objectType, ModelClientSample.midpointModelService.QueryType query, ModelClientSample.midpointModelService.ObjectOperationOptionsType[] options) { + public searchObjects(System.Xml.XmlQualifiedName objectType, ModelClientSample.midpointModelService.QueryType query, ModelClientSample.midpointModelService.SelectorQualifiedGetOptionType[] options) { this.objectType = objectType; this.query = query; this.options = options; @@ -14185,15 +21881,13 @@ public partial class searchObjects { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="searchObjectsResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] + [System.ServiceModel.MessageContractAttribute(WrapperName="searchObjectsResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class searchObjectsResponse { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] public ModelClientSample.midpointModelService.ObjectListType objectList; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] public ModelClientSample.midpointModelService.OperationResultType result; public searchObjectsResponse() { @@ -14208,116 +21902,21 @@ public partial class searchObjectsResponse { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="listResourceObjectShadows", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class listResourceObjectShadows { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string resourceOid; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="anyURI")] - public string resourceObjectShadowType; - - public listResourceObjectShadows() { - } - - public listResourceObjectShadows(string resourceOid, string resourceObjectShadowType) { - this.resourceOid = resourceOid; - this.resourceObjectShadowType = resourceObjectShadowType; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="listResourceObjectShadowsResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class listResourceObjectShadowsResponse { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - [System.Xml.Serialization.XmlArrayItemAttribute("object", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public ModelClientSample.midpointModelService.ShadowType[] resourceObjectShadowList; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.OperationResultType result; - - public listResourceObjectShadowsResponse() { - } - - public listResourceObjectShadowsResponse(ModelClientSample.midpointModelService.ShadowType[] resourceObjectShadowList, ModelClientSample.midpointModelService.OperationResultType result) { - this.resourceObjectShadowList = resourceObjectShadowList; - this.result = result; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="importFromResource", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class importFromResource { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string resourceOid; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public System.Xml.XmlQualifiedName objectClass; - - public importFromResource() { - } - - public importFromResource(string resourceOid, System.Xml.XmlQualifiedName objectClass) { - this.resourceOid = resourceOid; - this.objectClass = objectClass; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="importFromResourceResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class importFromResourceResponse { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.TaskType task; - - public importFromResourceResponse() { - } - - public importFromResourceResponse(ModelClientSample.midpointModelService.TaskType task) { - this.task = task; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="getObject", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class getObject { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="anyURI")] - public string objectType; + [System.ServiceModel.MessageContractAttribute(WrapperName="executeChanges", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class executeChanges { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string oid; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("delta", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public ModelClientSample.midpointModelService.ObjectDeltaType[] deltaList; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=2)] - [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - [System.Xml.Serialization.XmlArrayItemAttribute("objectOption", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public ModelClientSample.midpointModelService.ObjectOperationOptionsType[] options; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] + public ModelClientSample.midpointModelService.ModelExecuteOptionsType options; - public getObject() { + public executeChanges() { } - public getObject(string objectType, string oid, ModelClientSample.midpointModelService.ObjectOperationOptionsType[] options) { - this.objectType = objectType; - this.oid = oid; + public executeChanges(ModelClientSample.midpointModelService.ObjectDeltaType[] deltaList, ModelClientSample.midpointModelService.ModelExecuteOptionsType options) { + this.deltaList = deltaList; this.options = options; } } @@ -14325,145 +21924,62 @@ public partial class getObject { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="getObjectResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class getObjectResponse { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.ObjectType @object; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.OperationResultType result; - - public getObjectResponse() { - } - - public getObjectResponse(ModelClientSample.midpointModelService.ObjectType @object, ModelClientSample.midpointModelService.OperationResultType result) { - this.@object = @object; - this.result = result; - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18060")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-2")] - public partial class ObjectModificationType : object, System.ComponentModel.INotifyPropertyChanged { - - private string oidField; + [System.ServiceModel.MessageContractAttribute(WrapperName="executeChangesResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class executeChangesResponse { - private ItemDeltaType[] modificationField; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("deltaOperation", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public ModelClientSample.midpointModelService.ObjectDeltaOperationType[] deltaOperationList; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string oid { - get { - return this.oidField; - } - set { - this.oidField = value; - this.RaisePropertyChanged("oid"); - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("modification", Order=1)] - public ItemDeltaType[] modification { - get { - return this.modificationField; - } - set { - this.modificationField = value; - this.RaisePropertyChanged("modification"); - } + public executeChangesResponse() { } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } + public executeChangesResponse(ModelClientSample.midpointModelService.ObjectDeltaOperationType[] deltaOperationList) { + this.deltaOperationList = deltaOperationList; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="modifyObject", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class modifyObject { + [System.ServiceModel.MessageContractAttribute(WrapperName="executeScripts", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class executeScripts { - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="anyURI")] - public string objectType; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.ObjectModificationType objectChange; - - public modifyObject() { - } - - public modifyObject(string objectType, ModelClientSample.midpointModelService.ObjectModificationType objectChange) { - this.objectType = objectType; - this.objectChange = objectChange; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="modifyObjectResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class modifyObjectResponse { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("mslScripts", typeof(string))] + [System.Xml.Serialization.XmlElementAttribute("xmlScripts", typeof(XmlScriptsType))] + public object Item; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public ModelClientSample.midpointModelService.OperationResultType result; + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] + public ModelClientSample.midpointModelService.ExecuteScriptsOptionsType options; - public modifyObjectResponse() { + public executeScripts() { } - public modifyObjectResponse(ModelClientSample.midpointModelService.OperationResultType result) { - this.result = result; + public executeScripts(object Item, ModelClientSample.midpointModelService.ExecuteScriptsOptionsType options) { + this.Item = Item; + this.options = options; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="testResource", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class testResource { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string resourceOid; - - public testResource() { - } + [System.ServiceModel.MessageContractAttribute(WrapperName="executeScriptsResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class executeScriptsResponse { - public testResource(string resourceOid) { - this.resourceOid = resourceOid; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="testResourceResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", IsWrapped=true)] - public partial class testResourceResponse { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("output", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3", IsNullable=false)] + public ModelClientSample.midpointModelService.SingleScriptOutputType[] outputs; - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-1.wsdl", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] public ModelClientSample.midpointModelService.OperationResultType result; - public testResourceResponse() { + public executeScriptsResponse() { } - public testResourceResponse(ModelClientSample.midpointModelService.OperationResultType result) { + public executeScriptsResponse(ModelClientSample.midpointModelService.SingleScriptOutputType[] outputs, ModelClientSample.midpointModelService.OperationResultType result) { + this.outputs = outputs; this.result = result; } } @@ -14496,57 +22012,18 @@ public partial class modelPortTypeClient : System.ServiceModel.ClientBase - + false true @@ -18,11 +18,24 @@ - + - - + + + + + + + + + + + + + + + diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration.svcinfo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration.svcinfo index c07f28fe400..df472830038 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration.svcinfo +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration.svcinfo @@ -2,9 +2,9 @@ - + - + \ No newline at end of file diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration91.svcinfo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration91.svcinfo index 87f7a3cb587..ec048af52ae 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration91.svcinfo +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/configuration91.svcinfo @@ -1,10 +1,10 @@ - + - + - ModelWebServiceServiceSoapBinding + modelBinding @@ -112,10 +112,10 @@ - + - http://localhost:8080/midpoint/model/model-1 + http://localhost.:8080/midpoint/model/model-3 @@ -124,7 +124,7 @@ basicHttpBinding - ModelWebServiceServiceSoapBinding + modelBinding midpointModelService.modelPortType @@ -187,7 +187,7 @@ False - ModelWebServicePort + modelPort diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/modelPortType.wsdl b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/modelPortType.wsdl deleted file mode 100644 index d21db81c915..00000000000 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/modelPortType.wsdl +++ /dev/null @@ -1,3469 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From a791c668129b2463eb8601058697aab75eab8957 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Fri, 23 May 2014 14:07:50 +0200 Subject: [PATCH 07/27] Fixes related to WS changes. --- .../java/com/evolveum/midpoint/prism/parser/XPathHolder.java | 2 +- .../evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java index fa1ba9e9c2f..d591a0215c1 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java @@ -124,7 +124,6 @@ private void parse(String xpath, Node domNode, Map namespaceMap) // Continue parsing with Xpath without the "preamble" xpath = parser.getPureXPathString(); - // todo: fixme what if there's '/' within ID value we are looking for? String[] segArray = xpath.split("/"); for (int i = 0; i < segArray.length; i++) { if (segArray[i] == null || segArray[i].isEmpty()) { @@ -221,6 +220,7 @@ private String findNamespace(String prefix, Node domNode, Map na if (domNode != null) { if (prefix == null || prefix.isEmpty()) { + // here we should return null ns = domNode.lookupNamespaceURI(null); } else { ns = domNode.lookupNamespaceURI(prefix); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java index 76b1291eb47..a04eff1a9b0 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java @@ -727,7 +727,7 @@ public void testChangePassword() throws Exception { propMod.setPath(path); //set the replace value - MapXNode passPsXnode = prismContext.getXnodeProcessor().createSerializer().serializeProtectedDataType(passPs); + MapXNode passPsXnode = prismContext.getBeanConverter().marshalProtectedDataType(passPs); RawType value = new RawType(passPsXnode, prismContext); propMod.getValue().add(value); From 026bb78e586219ed43ab5ed7e35a3144c1ac624d Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Mon, 26 May 2014 11:41:17 +0200 Subject: [PATCH 08/27] Updated Visual Studio file. --- .../ModelClientSample.v11.suo | Bin 83968 -> 83456 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo index faf81553412479e610732775421dcd5fbb232b98..cf5092f0d4e86f4309e3a67d4a8e7b7423806610 100644 GIT binary patch delta 498 zcmYk2JxD@P6vyAWyq6DsT7H#2HA!>vVV(O&1!GrI8OoO{pzp7X!gC@aR9Ql1U^BuQe(w`ExvBtSxU zg$Pp~eY#?Z-M$L|rwMXoK*drFaUovBOv|CA0456JK?aclB#bzaF7_P4IEr9u)iJt} zsJ*AN8s;?H66b0Ws%%>^cuS_aw=l2$6ZWQ(m|VmW9igFqq#vO^WP~EEuvk~GRnhin z(8w%;*<_RE-o%PVCdO=?S(!<=R&ldTPsdk1Js*psz@fr3j7R0F-gEiB&< H30tur(SV}9 delta 587 zcmYMy&o2W(6bJB~u}iC~swn!ykEW4o1d(27QM3|AM>oXLMYQ#^RO8l-&^d{oR>WEN zz){3aLL?&o00(E`+Vy?3=_a3@+4tVe&dzLBQ?e(@NwhsENfL*$X_{yx2D$4654SGm zFWxihXEtD@c%CtfV6w;2iF6y-03%E>D0e2P(~W=~dZ3|_q`0rr??dZ=A~ZoeIDu-8 z(Uwn_Tdh`f6gU!>{gDJMX&g@xh{6O+!W6_{8fIV?;*fwjmEiv1N(3Qhfv^aiu84Mn=#hwuh_H;q5m08lfJzfXniec{on=_TA>T5mbRlh z#%C;A&Mj=r__5nq!4+5Qk)(Z~0`cMuh@|V)Qr(dMK!+yoA9F^oZC@$G9#l$Jr=$Yo zyH{l*Yxf#n??;^;;9}(|WQ6>0OdsN2znw(8R-`7gjSvg`l= From 2fe11a18ab06bc5f9ee1362b2e7394033494c104 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Mon, 26 May 2014 16:21:58 +0200 Subject: [PATCH 09/27] Simplifying ItemPathType (throwing out JAXB-related stuff). Fixing unqualified path segments. Making RawType revivable. --- .../prism/parser/PrismBeanConverter.java | 4 +- .../midpoint/prism/parser/XNodeProcessor.java | 3 +- .../midpoint/prism/parser/XPathHolder.java | 19 +- .../xml/ns/_public/types_3/ItemPathType.java | 268 ++---------------- .../prism/xml/ns/_public/types_3/RawType.java | 14 +- .../xml/ns/public/common/api-types-3.xsd | 1 + .../expression/script/ScriptExpression.java | 3 +- .../provisioning/test/ucf/TestUcfOpenDj.java | 3 +- .../testing/sanity/ModelClientUtil.java | 3 +- 9 files changed, 49 insertions(+), 269 deletions(-) diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java index 7ebf1da815c..d6f8e8f6aa9 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanConverter.java @@ -783,7 +783,9 @@ public void visit(Object bean, Handler handler) { //nothing more to do return; } - + + // TODO: implement special handling for RawType, if necessary (it has no XmlType annotation any more) + XmlType xmlType = beanClass.getAnnotation(XmlType.class); if (xmlType == null) { // no @XmlType annotation, we are not interested to go any deeper diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java index f4b500df83d..8006f87ec81 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java @@ -507,8 +507,7 @@ public PrismPropertyValue parsePrismPropertyFromGlobalXNodeValue(Entry namespaceMap) } qname = new QName(namespace, qnameArray[1], qnameArray[0]); } - if (StringUtils.isEmpty(qname.getNamespaceURI())) { - LOGGER.debug("WARNING: Namespace was not defined for {} in xpath\n{}", new Object[] { - segmentStr, xpath }); - } + // currently it's OK to have no namespace in a path +// if (StringUtils.isEmpty(qname.getNamespaceURI())) { +// LOGGER.debug("WARNING: Namespace was not defined for {} in xpath\n{}", new Object[] { +// segmentStr, xpath }); +// } segments.add(new XPathSegment(qname, variable)); if (idValueFilterSegment != null) { @@ -219,11 +220,11 @@ private String findNamespace(String prefix, Node domNode, Map na } if (domNode != null) { - if (prefix == null || prefix.isEmpty()) { - // here we should return null - ns = domNode.lookupNamespaceURI(null); - } else { - ns = domNode.lookupNamespaceURI(prefix); + if (prefix != null && prefix.isEmpty()) { + ns = domNode.lookupNamespaceURI(prefix); + } else { + // we don't want the default namespace declaration (xmlns="...") to propagate into path expressions + // so here we do not try to obtain the namespace from the document } if (ns != null) { return ns; diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemPathType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemPathType.java index aa5afd8a787..1c1da3863b4 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemPathType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemPathType.java @@ -52,9 +52,9 @@ * * *

Java class for ItemPathType complex type. - * + * *

The following schema fragment specifies the expected content contained within this class. - * + * *

  * <complexType name="ItemPathType">
  *   <complexContent>
@@ -66,45 +66,38 @@
  *   </complexContent>
  * </complexType>
  * 
- * - * + * + * */ + +// TODO it is questionable whether to treat ItemPathType as XmlType any more (similar to RawType) +// however, unlike RawType, ItemPathType is still present in externally-visible schemas (XSD, WSDL) @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ItemPathType", propOrder = { - "content" -}) +@XmlType(name = "ItemPathType") public class ItemPathType implements Serializable, Equals, Cloneable { public static final QName COMPLEX_TYPE = new QName("http://prism.evolveum.com/xml/ns/public/types-3", "ItemPathType"); - public static final QName F_PATH = new QName("http://prism.evolveum.com/xml/ns/public/types-3", "path"); - @XmlTransient private ItemPath itemPath; - - @XmlElementRef(name = "path", namespace = "http://prism.evolveum.com/xml/ns/public/types-3", type = JAXBElement.class) - @XmlMixed - @XmlAnyElement(lax = false) // to prevent unmarshalling to JAXB (keep things in DOM to be able to resolve namespace prefixes) - // Actually, there are no XML elements allowed, so the only objects passed to this list - // would be strings (very probably). - protected List content; + @Deprecated // use one of the content-filling constructors instead public ItemPathType() { - // Nothing to do - if (content == null){ - content = new ContentList(); - } -// System.out.println("content after: " + content); } public ItemPathType(ItemPath itemPath) { this.itemPath = itemPath; } + public ItemPathType(String itemPath) { + XPathHolder holder = new XPathHolder(itemPath); + this.itemPath = holder.toItemPath(); + } + public ItemPath getItemPath() { - if (itemPath == null){ - getContent(); - } + if (itemPath == null) { + itemPath = ItemPath.EMPTY_PATH; + } return itemPath; } @@ -112,47 +105,10 @@ public void setItemPath(ItemPath itemPath){ this.itemPath = itemPath; } - /** - * - * Defines a type for XPath-like item pointer. It points to a specific part - * of the prism object. - * Gets the value of the content property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the content property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getContent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link String } - * - * - */ - public List getContent() { - if (!(content instanceof ContentList)) { - content = new ContentList(); - } - return this.content; - } - public ItemPathType clone() { ItemPathType clone = new ItemPathType(); if (itemPath != null) { clone.setItemPath(itemPath.clone()); - } else { - for (Object o : getContent()){ - clone.getContent().add(o); - } } return clone; } @@ -175,16 +131,8 @@ public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Obje ItemPath thisPath = getItemPath(); ItemPath otherPath = other.getItemPath(); - - if (thisPath != null){ - return thisPath.equivalent(otherPath); - } - - List thsContent = getContent(); - List othContent = other.getContent(); - - return equalsStrategy.equals(thisLocator, thatLocator, thsContent, othContent); - + + return thisPath.equivalent(otherPath); } @Override @@ -194,176 +142,6 @@ public int hashCode() { result = prime * result + ((itemPath == null) ? 0 : itemPath.hashCode()); return result; } - - class ContentList implements List, Serializable { - - @Override - public int size() { - if (itemPath != null){ - return 1; - } - return 0; - } - - @Override - public boolean isEmpty() { - return itemPath == null; -// throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public boolean contains(Object o) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public Iterator iterator() { - return new Iterator() { - int i = 0; - @Override - public boolean hasNext() { - return i==0; - } - - @Override - public Object next() { - if (i== 0){ - i++; - //TODO it should be itemPathType not string.. - XPathHolder holder = new XPathHolder(itemPath); -// return holder.getXPathWithDeclarations(); - return new JAXBElement(F_PATH, String.class, holder.getXPath()); -// return itemPath; - } - return null; - } - - @Override - public void remove() { - throw new UnsupportedOperationException("nto supported yet"); - } - - }; -// throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public Object[] toArray() { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public T[] toArray(T[] a) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public boolean add(Object e) { -// System.out.println("### ItemPathType.add: " + e.getClass()); - if (e instanceof String){ - XPathHolder holder = new XPathHolder((String) e); - itemPath = holder.toItemPath(); - return true; - } else if (e instanceof QName){ - itemPath = new ItemPath((QName) e); - return true; - } else if (e instanceof Element) { // actually not sure if this could ever happen [pm] - XPathHolder holder = new XPathHolder((Element) e); - itemPath = holder.toItemPath(); - return true; - } else if (e instanceof JAXBElement) { // actually not sure if this could ever happen - now when lax is set to false [pm] - JAXBElement jaxb = (JAXBElement) e; - // TODO: after refactoring next method, change to item path type - String s = (String)((JAXBElement) e).getValue(); - XPathHolder holder = new XPathHolder(s); - itemPath = holder.toItemPath(); - return true; - } - throw new IllegalArgumentException("PATH ADD: "+e+" "+e.getClass()); - } - - @Override - public boolean remove(Object o) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public boolean containsAll(Collection c) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public boolean addAll(Collection c) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public boolean addAll(int index, Collection c) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public boolean removeAll(Collection c) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public boolean retainAll(Collection c) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public void clear() { - itemPath = null; - } - - @Override - public Object get(int index) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public Object set(int index, Object element) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public void add(int index, Object element) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public Object remove(int index) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public int indexOf(Object o) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public int lastIndexOf(Object o) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public ListIterator listIterator() { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public ListIterator listIterator(int index) { - throw new UnsupportedOperationException("nto supported yet"); - } - - @Override - public List subList(int fromIndex, int toIndex) { - throw new UnsupportedOperationException("nto supported yet"); - } - - - } @Override public String toString() { @@ -371,12 +149,4 @@ public String toString() { "itemPath=" + getItemPath() + '}'; } - - // @Override -// public int hashCode(ObjectLocator locator, HashCodeStrategy hashCodeStrategy) { -// final EqualsStrategy strategy = DomAwareEqualsStrategy.INSTANCE; -//// hashCodeStrategy. -// return 0; -// } - } diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java index 39ac4b63625..28749e96aa6 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java @@ -5,6 +5,7 @@ import com.evolveum.midpoint.prism.PrismContext; import com.evolveum.midpoint.prism.PrismProperty; import com.evolveum.midpoint.prism.PrismValue; +import com.evolveum.midpoint.prism.Revivable; import com.evolveum.midpoint.prism.parser.XNodeProcessor; import com.evolveum.midpoint.prism.xnode.XNode; import com.evolveum.midpoint.util.exception.SchemaException; @@ -15,18 +16,19 @@ import org.jvnet.jaxb2_commons.locator.ObjectLocator; import javax.xml.namespace.QName; +import java.beans.Transient; import java.io.Serializable; /** * A class used to hold raw XNodes until the definition for such an object is known. */ -public class RawType implements Serializable, Cloneable, Equals { +public class RawType implements Serializable, Cloneable, Equals, Revivable { private static final long serialVersionUID = 4430291958902286779L; /** * This is obligatory. */ - private PrismContext prismContext; + private transient PrismContext prismContext; /* * At most one of these two values (xnode, parsed) should be set. @@ -57,6 +59,14 @@ public RawType(XNode xnode, PrismContext prismContext) { this.xnode = xnode; } + @Override + public void revive(PrismContext prismContext) throws SchemaException { + this.prismContext = prismContext; + if (parsed != null) { + parsed.revive(prismContext); + } + } + //region General getters/setters public XNode getXnode() { diff --git a/infra/schema/src/main/resources/xml/ns/public/common/api-types-3.xsd b/infra/schema/src/main/resources/xml/ns/public/common/api-types-3.xsd index 314ea2440ec..0b19f6560a1 100644 --- a/infra/schema/src/main/resources/xml/ns/public/common/api-types-3.xsd +++ b/infra/schema/src/main/resources/xml/ns/public/common/api-types-3.xsd @@ -377,6 +377,7 @@ + diff --git a/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpression.java b/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpression.java index b2153614298..6969aab65d2 100644 --- a/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpression.java +++ b/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpression.java @@ -173,8 +173,7 @@ public ItemPath parsePath(String path) { if (path == null) { return null; } - ItemPathType itemPathType = new ItemPathType(); - itemPathType.getContent().add(path); + ItemPathType itemPathType = new ItemPathType(path); return itemPathType.getItemPath(); // TODO what about namespaces? // Element codeElement = scriptType.getCode(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java index a04eff1a9b0..90821a42f08 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/test/ucf/TestUcfOpenDj.java @@ -721,9 +721,8 @@ public void testChangePassword() throws Exception { ItemDeltaType propMod = new ItemDeltaType(); //create modification path Document doc = DOMUtil.getDocument(); - ItemPathType path = new ItemPathType(); + ItemPathType path = new ItemPathType("credentials/password/value"); // PropertyPath propPath = new PropertyPath(new PropertyPath(ResourceObjectShadowType.F_CREDENTIALS), CredentialsType.F_PASSWORD); - path.getContent().add("credentials/password/value"); propMod.setPath(path); //set the replace value diff --git a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/ModelClientUtil.java b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/ModelClientUtil.java index bfb1dfd080c..0d817c90df8 100644 --- a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/ModelClientUtil.java +++ b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/ModelClientUtil.java @@ -84,9 +84,8 @@ public static Element createPathElement(String stringPath, Document doc) { } public static ItemPathType createItemPathType(String stringPath) { - ItemPathType itemPathType = new ItemPathType(); String pathDeclaration = "declare default namespace '" + NS_COMMON + "'; " + stringPath; - itemPathType.getContent().add(pathDeclaration); + ItemPathType itemPathType = new ItemPathType(pathDeclaration); return itemPathType; } From 73d16274220b99825b5fe4d8519ec060bf5c9cf1 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Tue, 27 May 2014 10:36:20 +0200 Subject: [PATCH 10/27] Stopped inheriting default namespace to item paths written in XML documents. Removed (hopefully) last uses of JAXB. --- .../web/component/message/OpResult.java | 8 +- .../evolveum/midpoint/prism/PrismContext.java | 14 + .../midpoint/prism/parser/JaxbDomHack.java | 345 +++++++++--------- .../midpoint/prism/parser/XNodeProcessor.java | 7 + .../midpoint/prism/parser/XPathHolder.java | 12 +- .../midpoint/schema/test/XPathTest.java | 6 +- .../common/expression/ExpressionUtil.java | 35 +- .../model/impl/rest/MidpointXmlProvider.java | 5 +- .../impl/expr/ExpressionHandlerImplTest.java | 12 +- .../model/intest/TestModelCrudService.java | 3 +- .../general/GcpConfigurationHelper.java | 5 +- 11 files changed, 240 insertions(+), 212 deletions(-) diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/message/OpResult.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/message/OpResult.java index 502071fa1c3..cfbff16189f 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/message/OpResult.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/message/OpResult.java @@ -16,8 +16,10 @@ package com.evolveum.midpoint.web.component.message; +import com.evolveum.midpoint.prism.PrismContext; import com.evolveum.midpoint.schema.result.OperationResult; import com.evolveum.midpoint.schema.result.OperationResultStatus; +import com.evolveum.midpoint.util.exception.SchemaException; import com.evolveum.midpoint.web.page.admin.PageAdmin; import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectFactory; import com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType; @@ -101,10 +103,10 @@ public OpResult(OperationResult result) { try { OperationResultType resultType = result.createOperationResultType(); ObjectFactory of = new ObjectFactory(); - xml = getPrismContext().getJaxbDomHack().marshalElementToString(of.createOperationResult(resultType)); - } catch (JAXBException ex) { + xml = getPrismContext().serializeAtomicValue(of.createOperationResult(resultType), PrismContext.LANG_XML); + } catch (SchemaException ex) { error("Can't create xml: " + ex); - } + } } public List getSubresults() { diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java index a580f6a76e0..b7aa84e3bc1 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java @@ -43,6 +43,7 @@ import org.w3c.dom.Element; import org.xml.sax.SAXException; +import javax.xml.bind.JAXBElement; import javax.xml.namespace.QName; import java.io.File; @@ -384,6 +385,12 @@ public T parseAnyValue(Element element) throws SchemaException { XNode xnode = parseToXNode(element); return xnodeProcessor.parseAnyValue(xnode); } + + public T parseAnyValue(InputStream inputStream, String language) throws SchemaException, IOException { + XNode xnode = parseToXNode(inputStream, language); + return xnodeProcessor.parseAnyValue(xnode); + } + //endregion //region Parsing to XNode @@ -518,6 +525,13 @@ public String serializeAtomicValue(Object value, QName elementName, String langu return parser.serializeToString(xnode); } + public String serializeAtomicValue(JAXBElement element, String language) throws SchemaException { + Parser parser = getParserNotNull(language); + RootXNode xnode = xnodeProcessor.serializeAtomicValue(element); + return parser.serializeToString(xnode); + } + + /** * Serializes any data - i.e. either Item or an atomic value. * Does not support PrismValues: TODO: implement that! diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/JaxbDomHack.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/JaxbDomHack.java index 19e7e3c6638..e785c84547c 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/JaxbDomHack.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/JaxbDomHack.java @@ -92,36 +92,36 @@ public class JaxbDomHack { private PrismContext prismContext; private DomParser domParser; - private JAXBContext jaxbContext; +// private JAXBContext jaxbContext; public JaxbDomHack(DomParser domParser, PrismContext prismContext) { super(); this.domParser = domParser; this.prismContext = prismContext; - initializeJaxbContext(); +// initializeJaxbContext(); } - private void initializeJaxbContext() { - StringBuilder sb = new StringBuilder(); - Iterator iterator = prismContext.getSchemaRegistry().getCompileTimePackages().iterator(); - while (iterator.hasNext()) { - Package jaxbPackage = iterator.next(); - sb.append(jaxbPackage.getName()); - if (iterator.hasNext()) { - sb.append(":"); - } - } - String jaxbPaths = sb.toString(); - if (jaxbPaths.isEmpty()) { - LOGGER.debug("No JAXB paths, skipping creation of JAXB context"); - } else { - try { - jaxbContext = JAXBContext.newInstance(jaxbPaths); - } catch (JAXBException ex) { - throw new SystemException("Couldn't create JAXBContext for: " + jaxbPaths, ex); - } - } - } +// private void initializeJaxbContext() { +// StringBuilder sb = new StringBuilder(); +// Iterator iterator = prismContext.getSchemaRegistry().getCompileTimePackages().iterator(); +// while (iterator.hasNext()) { +// Package jaxbPackage = iterator.next(); +// sb.append(jaxbPackage.getName()); +// if (iterator.hasNext()) { +// sb.append(":"); +// } +// } +// String jaxbPaths = sb.toString(); +// if (jaxbPaths.isEmpty()) { +// LOGGER.debug("No JAXB paths, skipping creation of JAXB context"); +// } else { +// try { +// jaxbContext = JAXBContext.newInstance(jaxbPaths); +// } catch (JAXBException ex) { +// throw new SystemException("Couldn't create JAXBContext for: " + jaxbPaths, ex); +// } +// } +// } private ItemDefinition locateItemDefinition( PrismContainerDefinition containerDefinition, QName elementQName, Object valueElements) @@ -220,8 +220,7 @@ public Item parseRawElement(Ob QName elementName = JAXBUtil.getElementQName(element); ItemDefinition itemDefinition = definition.findItemDefinition(elementName); - - if (itemDefinition == null){ + if (itemDefinition == null) { itemDefinition = locateItemDefinition(definition, elementName, element); } @@ -273,24 +272,24 @@ public Item parseRawElement(Ob return subItem; } - public Collection> fromAny(List anyObjects, PrismContainerDefinition definition) throws SchemaException { - Collection> items = new ArrayList<>(); - for (Object anyObject: anyObjects) { - Item newItem = parseRawElement(anyObject, definition); - boolean merged = false; - for (Item existingItem: items) { - if (newItem.getElementName().equals(existingItem.getElementName())) { - existingItem.merge(newItem); - merged = true; - break; - } - } - if (!merged) { - items.add(newItem); - } - } - return items; - } +// public Collection> fromAny(List anyObjects, PrismContainerDefinition definition) throws SchemaException { +// Collection> items = new ArrayList<>(); +// for (Object anyObject: anyObjects) { +// Item newItem = parseRawElement(anyObject, definition); +// boolean merged = false; +// for (Item existingItem: items) { +// if (newItem.getElementName().equals(existingItem.getElementName())) { +// existingItem.merge(newItem); +// merged = true; +// break; +// } +// } +// if (!merged) { +// items.add(newItem); +// } +// } +// return items; +// } /** * Serializes prism value to JAXB "any" format as returned by JAXB getAny() methods. @@ -347,112 +346,110 @@ public Object toAny(PrismValue value) throws SchemaException { return xmlValue; } - public PrismObject parseObjectFromJaxb(Object objectElement) throws SchemaException { - if (objectElement instanceof Element) { - // DOM - XNode objectXNode = domParser.parseElementContent((Element)objectElement); - return prismContext.getXnodeProcessor().parseObject(objectXNode); - } else if (objectElement instanceof JAXBElement) { - O jaxbValue = ((JAXBElement)objectElement).getValue(); - prismContext.adopt(jaxbValue); - return jaxbValue.asPrismObject(); - } else { - throw new IllegalArgumentException("Unknown element type "+objectElement.getClass()); - } - } +// public PrismObject parseObjectFromJaxb(Object objectElement) throws SchemaException { +// if (objectElement instanceof Element) { +// // DOM +// XNode objectXNode = domParser.parseElementContent((Element)objectElement); +// return prismContext.getXnodeProcessor().parseObject(objectXNode); +// } else if (objectElement instanceof JAXBElement) { +// O jaxbValue = ((JAXBElement)objectElement).getValue(); +// prismContext.adopt(jaxbValue); +// return jaxbValue.asPrismObject(); +// } else { +// throw new IllegalArgumentException("Unknown element type "+objectElement.getClass()); +// } +// } - public Element serializeObjectToJaxb(PrismObject object) throws SchemaException { - RootXNode xroot = prismContext.getXnodeProcessor().serializeObject(object); - return domParser.serializeXRootToElement(xroot); - } +// public Element serializeObjectToJaxb(PrismObject object) throws SchemaException { +// RootXNode xroot = prismContext.getXnodeProcessor().serializeObject(object); +// return domParser.serializeXRootToElement(xroot); +// } - public Element marshalJaxbObjectToDom(T jaxbObject, QName elementQName) throws JAXBException { - return marshalJaxbObjectToDom(jaxbObject, elementQName, (Document) null); - } +// public Element marshalJaxbObjectToDom(T jaxbObject, QName elementQName) throws JAXBException { +// return marshalJaxbObjectToDom(jaxbObject, elementQName, (Document) null); +// } - public Element marshalJaxbObjectToDom(T jaxbObject, QName elementQName, Document doc) throws JAXBException { - if (doc == null) { - doc = DOMUtil.getDocument(); - } - - JAXBElement jaxbElement = new JAXBElement(elementQName, (Class) jaxbObject.getClass(), - jaxbObject); - Element element = doc.createElementNS(elementQName.getNamespaceURI(), elementQName.getLocalPart()); - marshalElementToDom(jaxbElement, element); - - return (Element) element.getFirstChild(); - } +// public Element marshalJaxbObjectToDom(T jaxbObject, QName elementQName, Document doc) throws JAXBException { +// if (doc == null) { +// doc = DOMUtil.getDocument(); +// } +// +// JAXBElement jaxbElement = new JAXBElement(elementQName, (Class) jaxbObject.getClass(), +// jaxbObject); +// Element element = doc.createElementNS(elementQName.getNamespaceURI(), elementQName.getLocalPart()); +// marshalElementToDom(jaxbElement, element); +// +// return (Element) element.getFirstChild(); +// } - private void marshalElementToDom(JAXBElement jaxbElement, Node parentNode) throws JAXBException { - createMarshaller(null).marshal(jaxbElement, parentNode); - } +// private void marshalElementToDom(JAXBElement jaxbElement, Node parentNode) throws JAXBException { +// createMarshaller(null).marshal(jaxbElement, parentNode); +// } - private Marshaller createMarshaller(Map jaxbProperties) throws JAXBException { - Marshaller marshaller = jaxbContext.createMarshaller(); - // set default properties - marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8"); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); - DynamicNamespacePrefixMapper namespacePrefixMapper = prismContext.getSchemaRegistry().getNamespacePrefixMapper().clone(); - namespacePrefixMapper.setAlwaysExplicit(true); - marshaller.setProperty("com.sun.xml.bind.namespacePrefixMapper", namespacePrefixMapper); - // set custom properties - if (jaxbProperties != null) { - for (Entry property : jaxbProperties.entrySet()) { - marshaller.setProperty(property.getKey(), property.getValue()); - } - } - - return marshaller; - } - - +// private Marshaller createMarshaller(Map jaxbProperties) throws JAXBException { +// Marshaller marshaller = jaxbContext.createMarshaller(); +// // set default properties +// marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8"); +// marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); +// DynamicNamespacePrefixMapper namespacePrefixMapper = prismContext.getSchemaRegistry().getNamespacePrefixMapper().clone(); +// namespacePrefixMapper.setAlwaysExplicit(true); +// marshaller.setProperty("com.sun.xml.bind.namespacePrefixMapper", namespacePrefixMapper); +// // set custom properties +// if (jaxbProperties != null) { +// for (Entry property : jaxbProperties.entrySet()) { +// marshaller.setProperty(property.getKey(), property.getValue()); +// } +// } +// +// return marshaller; +// } - public T toJavaValue(Element element, Class typeClass) throws JAXBException { - QName type = JAXBUtil.getTypeQName(typeClass); - return (T) toJavaValue(element, type); - } +// public T toJavaValue(Element element, Class typeClass) throws JAXBException { +// QName type = JAXBUtil.getTypeQName(typeClass); +// return (T) toJavaValue(element, type); +// } /** * Used to convert property values from DOM */ - public Object toJavaValue(Element element, QName xsdType) throws JAXBException { - Class declaredType = prismContext.getSchemaRegistry().getCompileTimeClass(xsdType); - if (declaredType == null) { - // This may happen if the schema is runtime and there is no associated compile-time class - throw new SystemException("Cannot determine Java type for "+xsdType); - } - JAXBElement jaxbElement = createUnmarshaller().unmarshal(element, declaredType); - Object object = jaxbElement.getValue(); - return object; - } - - private Unmarshaller createUnmarshaller() throws JAXBException { - return jaxbContext.createUnmarshaller(); - } - - public JAXBElement unmarshalJaxbElement(File input) throws JAXBException, IOException { - return (JAXBElement) createUnmarshaller().unmarshal(input); - } - - public T unmarshalObject(InputStream input) throws JAXBException, SchemaException { - Object object = createUnmarshaller().unmarshal(input); - JAXBElement jaxbElement = (JAXBElement) object; - adopt(jaxbElement); - - if (jaxbElement == null) { - return null; - } else { - return jaxbElement.getValue(); - } - } - - private void adopt(Object object) throws SchemaException { - if (object instanceof JAXBElement) { - adopt(((JAXBElement)object).getValue()); - } else if (object instanceof Objectable) { - prismContext.adopt(((Objectable) (object))); - } - } +// private Object toJavaValue(Element element, QName xsdType) throws JAXBException { +// Class declaredType = prismContext.getSchemaRegistry().getCompileTimeClass(xsdType); +// if (declaredType == null) { +// // This may happen if the schema is runtime and there is no associated compile-time class +// throw new SystemException("Cannot determine Java type for "+xsdType); +// } +// JAXBElement jaxbElement = createUnmarshaller().unmarshal(element, declaredType); +// Object object = jaxbElement.getValue(); +// return object; +// } + +// private Unmarshaller createUnmarshaller() throws JAXBException { +// return jaxbContext.createUnmarshaller(); +// } + +// public JAXBElement unmarshalJaxbElement(File input) throws JAXBException, IOException { +// return (JAXBElement) createUnmarshaller().unmarshal(input); +// } + +// public T unmarshalObject(InputStream input) throws JAXBException, SchemaException { +// Object object = createUnmarshaller().unmarshal(input); +// JAXBElement jaxbElement = (JAXBElement) object; +// adopt(jaxbElement); +// +// if (jaxbElement == null) { +// return null; +// } else { +// return jaxbElement.getValue(); +// } +// } + +// private void adopt(Object object) throws SchemaException { +// if (object instanceof JAXBElement) { +// adopt(((JAXBElement)object).getValue()); +// } else if (object instanceof Objectable) { +// prismContext.adopt(((Objectable) (object))); +// } +// } public String silentMarshalObject(Object object, Trace logger) { String xml = null; @@ -464,7 +461,7 @@ public String silentMarshalObject(Object object, Trace logger) { xml = prismContext.serializeContainerValueToString(((Containerable) object).asPrismContainerValue(), fakeQName, PrismContext.LANG_XML); } else { - xml = marshalElementToString(new JAXBElement(fakeQName, Object.class, object)); + xml = prismContext.serializeAnyData(object, fakeQName, PrismContext.LANG_XML); } } catch (Exception ex) { Trace log = logger != null ? logger : LOGGER; @@ -473,39 +470,39 @@ public String silentMarshalObject(Object object, Trace logger) { return xml; } - public String marshalElementToString(JAXBElement jaxbElement) throws JAXBException { - return marshalElementToString(jaxbElement, new HashMap()); - } - - public String marshalElementToString(JAXBElement jaxbElement, Map properties) throws JAXBException { - StringWriter writer = new StringWriter(); - Marshaller marshaller = createMarshaller(null); - for (Entry entry : properties.entrySet()) { - marshaller.setProperty(entry.getKey(), entry.getValue()); - } - marshaller.marshal(jaxbElement, writer); - return writer.getBuffer().toString(); - } - - public boolean isJaxbClass(Class clazz) { - if (clazz == null) { - throw new IllegalArgumentException("No class, no fun"); - } - if (clazz.getPackage() == null) { - // No package: this is most likely a primitive type and definitely - // not a JAXB class - return false; - } - for (Package jaxbPackage: prismContext.getSchemaRegistry().getCompileTimePackages()) { - if (jaxbPackage.equals(clazz.getPackage())) { - return true; - } - } - return false; - } - - public boolean canConvert(Class clazz) { - return isJaxbClass(clazz); - } +// public String marshalElementToString(JAXBElement jaxbElement) throws JAXBException { +// return marshalElementToString(jaxbElement, new HashMap()); +// } + +// public String marshalElementToString(JAXBElement jaxbElement, Map properties) throws JAXBException { +// StringWriter writer = new StringWriter(); +// Marshaller marshaller = createMarshaller(null); +// for (Entry entry : properties.entrySet()) { +// marshaller.setProperty(entry.getKey(), entry.getValue()); +// } +// marshaller.marshal(jaxbElement, writer); +// return writer.getBuffer().toString(); +// } + +// public boolean isJaxbClass(Class clazz) { +// if (clazz == null) { +// throw new IllegalArgumentException("No class, no fun"); +// } +// if (clazz.getPackage() == null) { +// // No package: this is most likely a primitive type and definitely +// // not a JAXB class +// return false; +// } +// for (Package jaxbPackage: prismContext.getSchemaRegistry().getCompileTimePackages()) { +// if (jaxbPackage.equals(clazz.getPackage())) { +// return true; +// } +// } +// return false; +// } + +// public boolean canConvert(Class clazz) { +// return isJaxbClass(clazz); +// } } diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java index 8006f87ec81..0d68b267e30 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java @@ -18,6 +18,7 @@ import java.util.Collection; import java.util.Map.Entry; +import javax.xml.bind.JAXBElement; import javax.xml.namespace.QName; import com.evolveum.midpoint.prism.PrismConstants; @@ -1103,6 +1104,12 @@ public RootXNode serializeAtomicValue(Object object, QName elementName) throws S return new RootXNode(elementName, valueXNode); } + public RootXNode serializeAtomicValue(JAXBElement element) throws SchemaException { + Validate.notNull(element); + return serializeAtomicValue(element.getValue(), element.getName()); + } + + public boolean canSerialize(Object object) { if (object instanceof Item) { return true; diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java index 3b414628866..d6f162dc478 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XPathHolder.java @@ -220,7 +220,7 @@ private String findNamespace(String prefix, Node domNode, Map na } if (domNode != null) { - if (prefix != null && prefix.isEmpty()) { + if (StringUtils.isNotEmpty(prefix)) { ns = domNode.lookupNamespaceURI(prefix); } else { // we don't want the default namespace declaration (xmlns="...") to propagate into path expressions @@ -375,11 +375,13 @@ public Map getNamespaceMap() { if (qname != null) { if (qname.getPrefix() != null && !qname.getPrefix().isEmpty()) { namespaceMap.put(qname.getPrefix(), qname.getNamespaceURI()); - } else { - // Default namespace - // HACK. See addPureXpath method - namespaceMap.put(DEFAULT_PREFIX, qname.getNamespaceURI()); } + // this code seems to be currently of no use +// else { +// // Default namespace +// // HACK. See addPureXpath method +// namespaceMap.put(DEFAULT_PREFIX, qname.getNamespaceURI()); +// } } } diff --git a/infra/schema/src/test/java/com/evolveum/midpoint/schema/test/XPathTest.java b/infra/schema/src/test/java/com/evolveum/midpoint/schema/test/XPathTest.java index c31438257e1..951f4789b01 100644 --- a/infra/schema/src/test/java/com/evolveum/midpoint/schema/test/XPathTest.java +++ b/infra/schema/src/test/java/com/evolveum/midpoint/schema/test/XPathTest.java @@ -175,13 +175,13 @@ public void xPathFromDomNode1() throws ParserConfigurationException, SAXExceptio Map namespaceMap = xpath.getNamespaceMap(); - AssertJUnit.assertEquals("http://default.com/", namespaceMap.get("c")); + //AssertJUnit.assertEquals("http://default.com/", namespaceMap.get("c")); List segments = xpath.toSegments(); AssertJUnit.assertNotNull(segments); AssertJUnit.assertEquals(3, segments.size()); - AssertJUnit.assertEquals(new QName("http://default.com/", "root"), segments.get(0).getQName()); + AssertJUnit.assertEquals(new QName("", "root"), segments.get(0).getQName()); AssertJUnit.assertFalse(segments.get(0).isVariable()); AssertJUnit.assertFalse(segments.get(0).isIdValueFilter()); AssertJUnit.assertEquals(new QName("http://xx.com/", "el1"), segments.get(1).getQName()); @@ -229,7 +229,7 @@ public void xPathFromDomNode2() throws ParserConfigurationException, SAXExceptio Map namespaceMap = xpath.getNamespaceMap(); - AssertJUnit.assertEquals("http://default.com/", namespaceMap.get(XPathHolder.DEFAULT_PREFIX)); + //AssertJUnit.assertEquals("http://default.com/", namespaceMap.get(XPathHolder.DEFAULT_PREFIX)); } @Test diff --git a/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ExpressionUtil.java b/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ExpressionUtil.java index 3a26155ac60..05ecd72f71d 100644 --- a/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ExpressionUtil.java +++ b/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ExpressionUtil.java @@ -442,24 +442,25 @@ private static void evaluateFilterExpressionsInternal(ObjectFilter filter, Expre } } - - public static ExpressionType createExpression(Element valueExpressionElement, PrismContext prismContext) throws SchemaException { - ExpressionType valueExpression = null; - try { - valueExpression = prismContext.getJaxbDomHack().toJavaValue( - valueExpressionElement, ExpressionType.class); - - if (LOGGER.isTraceEnabled()) { - LOGGER.trace("Filter transformed to expression\n{}", valueExpression); - } - } catch (JAXBException ex) { - LoggingUtils.logException(LOGGER, "Expression element couldn't be transformed.", ex); - throw new SchemaException("Expression element couldn't be transformed: " + ex.getMessage(), ex); - } - - return valueExpression; - } + // seems to be unused [mederly] +// public static ExpressionType createExpression(Element valueExpressionElement, PrismContext prismContext) throws SchemaException { +// ExpressionType valueExpression = null; +// try { +// valueExpression = prismContext.getJaxbDomHack().toJavaValue( +// valueExpressionElement, ExpressionType.class); +// +// if (LOGGER.isTraceEnabled()) { +// LOGGER.trace("Filter transformed to expression\n{}", valueExpression); +// } +// } catch (JAXBException ex) { +// LoggingUtils.logException(LOGGER, "Expression element couldn't be transformed.", ex); +// throw new SchemaException("Expression element couldn't be transformed: " + ex.getMessage(), ex); +// } +// +// return valueExpression; +// +// } private static PrismPropertyValue evaluateExpression(ExpressionVariables variables, PrismContext prismContext, ExpressionType expressionType, ObjectFilter filter, ExpressionFactory expressionFactory, diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/rest/MidpointXmlProvider.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/rest/MidpointXmlProvider.java index ed1821b1989..38f55ef840f 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/rest/MidpointXmlProvider.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/rest/MidpointXmlProvider.java @@ -117,7 +117,8 @@ public T readFrom(Class type, Type genericType, if (type.isAssignableFrom(PrismObject.class)){ object = (T) prismContext.parseObject(entityStream, PrismContext.LANG_XML); } else { - object = (T) prismContext.getJaxbDomHack().unmarshalObject(entityStream); + object = prismContext.parseAnyValue(entityStream, PrismContext.LANG_XML); + //object = (T) prismContext.getJaxbDomHack().unmarshalObject(entityStream); } // if (object instanceof ObjectModificationType){ @@ -133,8 +134,6 @@ public T readFrom(Class type, Type genericType, } catch (IOException ex){ throw new IOException(ex); - } catch (JAXBException ex){ - throw new IOException(ex); } // return object; diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/ExpressionHandlerImplTest.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/ExpressionHandlerImplTest.java index 5ee8eb70f0c..2d43e2c4d84 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/ExpressionHandlerImplTest.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/ExpressionHandlerImplTest.java @@ -21,6 +21,8 @@ import java.io.File; import java.io.IOException; +import com.evolveum.midpoint.prism.xnode.MapXNode; +import com.evolveum.midpoint.prism.xnode.XNode; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; @@ -50,6 +52,8 @@ import com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType; import com.evolveum.midpoint.xml.ns._public.common.common_3.UserType; +import javax.xml.namespace.QName; + /** * * @author lazyman @@ -110,9 +114,11 @@ public void testEvaluateExpression() throws Exception { ObjectSynchronizationType synchronization = resourceType.getSynchronization().getObjectSynchronization().get(0); for (ConditionalSearchFilterType filter : synchronization.getCorrelation()){ - Element valueExpressionElement = findChildElement(filter.getFilterClause(), SchemaConstants.NS_C, "expression"); - ExpressionType expression = PrismTestUtil.getPrismContext().getJaxbDomHack() - .toJavaValue(valueExpressionElement, ExpressionType.class); + MapXNode clauseXNode = filter.getFilterClauseXNode(PrismTestUtil.getPrismContext()); + // key = q:equal, value = map (path + expression) + XNode expressionNode = ((MapXNode) clauseXNode.getSingleSubEntry("filter value").getValue()).get(new QName(SchemaConstants.NS_C, "expression")); + + ExpressionType expression = PrismTestUtil.getPrismContext().getXnodeProcessor().parseAtomicValue(expressionNode, ExpressionType.COMPLEX_TYPE); LOGGER.debug("Expression: {}",SchemaDebugUtil.prettyPrint(expression)); OperationResult result = new OperationResult("testCorrelationRule"); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java index 99d61d5a8d2..064bbb05153 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java @@ -94,8 +94,7 @@ public void test050AddResource() throws Exception { OperationResult result = task.getResult(); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); - // Make sure that plain JAXB parser is used ... this is what a webservice stack would do - ResourceType resourceType = prismContext.getJaxbDomHack().unmarshalObject(new FileInputStream(RESOURCE_MAROON_FILE)); + ResourceType resourceType = (ResourceType) PrismTestUtil.parseObject(RESOURCE_MAROON_FILE).asObjectable(); // WHEN PrismObject object = resourceType.asPrismObject(); diff --git a/model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/general/GcpConfigurationHelper.java b/model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/general/GcpConfigurationHelper.java index 79b1199d1a1..f2b8d64a0ab 100644 --- a/model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/general/GcpConfigurationHelper.java +++ b/model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/general/GcpConfigurationHelper.java @@ -18,6 +18,7 @@ import com.evolveum.midpoint.common.configuration.api.MidpointConfiguration; import com.evolveum.midpoint.prism.PrismContext; +import com.evolveum.midpoint.prism.xnode.XNode; import com.evolveum.midpoint.util.DOMUtil; import com.evolveum.midpoint.util.exception.SchemaException; import com.evolveum.midpoint.util.exception.SystemException; @@ -93,8 +94,8 @@ private GeneralChangeProcessorConfigurationType readConfiguration(GeneralChangeP } catch (SchemaException e) { throw new SystemException("Schema validation failed for " + KEY_GENERAL_CHANGE_PROCESSOR_CONFIGURATION + " element in " + beanName + " configuration: " + e.getMessage(), e); } - return prismContext.getJaxbDomHack().toJavaValue(processorConfig, GeneralChangeProcessorConfigurationType.class); - } catch (XPathExpressionException|JAXBException e) { + return prismContext.parseAnyValue(processorConfig); + } catch (XPathExpressionException|SchemaException e) { throw new SystemException("Couldn't read general workflow processor configuration in " + beanName, e); } } From 90174c8cd441efe76f8b2036596e7c31202f93c1 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Tue, 27 May 2014 13:09:42 +0200 Subject: [PATCH 11/27] Fixing consistency-mechanism tests w.r.t. "no default namespace in paths" rule. --- .../prism/parser/PrismBeanInspector.java | 11 ++++-- .../prism/xml/ns/_public/types_3/RawType.java | 5 ++- .../role-prop-read-all-modify-some.xml | 5 ++- ...le-prop-read-some-modify-some-req-exec.xml | 37 ++++++++++--------- .../role-prop-read-some-modify-some.xml | 15 ++++---- .../test/resources/repo/resource-opendj.xml | 9 +++-- .../src/test/resources/repo/user-template.xml | 6 +-- .../resource-modify-resource-schema.xml | 23 ++++++------ .../resource-modify-synchronization.xml | 3 +- 9 files changed, 62 insertions(+), 52 deletions(-) diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java index c64afd048e2..96c9cd947b5 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/PrismBeanInspector.java @@ -535,10 +535,13 @@ private QName findFieldTypeNameUncached(Field field, Class fieldType, String sch if (propTypeLocalPart != null) { String propTypeNamespace = xmlType.namespace(); if (propTypeNamespace == null || propTypeNamespace.equals(PrismBeanConverter.DEFAULT_PLACEHOLDER)) { - PrismSchema schema = prismContext.getSchemaRegistry().findSchemaByCompileTimeClass(fieldType); - if (schema != null && schema.getNamespace() != null) { - propTypeNamespace = schema.getNamespace(); - } else { + if (prismContext != null) { // hopefully this is always the case! + PrismSchema schema = prismContext.getSchemaRegistry().findSchemaByCompileTimeClass(fieldType); + if (schema != null && schema.getNamespace() != null) { + propTypeNamespace = schema.getNamespace(); + } + } + if (propTypeNamespace == null) { // schemaNamespace is only a poor indicator of required namespace (consider e.g. having c:UserType in apit:ObjectListType) // so we use it only if we couldn't find anything else propTypeNamespace = schemaNamespace; diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java index 28749e96aa6..a2064edd134 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java @@ -7,6 +7,7 @@ import com.evolveum.midpoint.prism.PrismValue; import com.evolveum.midpoint.prism.Revivable; import com.evolveum.midpoint.prism.parser.XNodeProcessor; +import com.evolveum.midpoint.prism.util.PrismUtil; import com.evolveum.midpoint.prism.xnode.XNode; import com.evolveum.midpoint.util.exception.SchemaException; import com.evolveum.midpoint.util.exception.SystemException; @@ -90,7 +91,7 @@ public V getParsedValue(ItemDefinition itemDefinition, QN if (itemName == null) { itemName = itemDefinition.getName(); } - Item subItem = prismContext.getXnodeProcessor().parseItem(xnode, itemName, itemDefinition); + Item subItem = PrismUtil.getXnodeProcessor(prismContext).parseItem(xnode, itemName, itemDefinition); value = subItem.getValue(0); } else { PrismProperty subItem = XNodeProcessor.parsePrismPropertyRaw(xnode, itemName); @@ -124,7 +125,7 @@ public XNode serializeToXNode() throws SchemaException { if (xnode != null) { return xnode; } else if (parsed != null) { - return prismContext.getXnodeProcessor().serializeItemValue(parsed); + return PrismUtil.getXnodeProcessor(prismContext).serializeItemValue(parsed); } else { return null; // or an exception here? } diff --git a/model/model-intest/src/test/resources/security/role-prop-read-all-modify-some.xml b/model/model-intest/src/test/resources/security/role-prop-read-all-modify-some.xml index 823e63e020e..1e6486abf23 100644 --- a/model/model-intest/src/test/resources/security/role-prop-read-all-modify-some.xml +++ b/model/model-intest/src/test/resources/security/role-prop-read-all-modify-some.xml @@ -15,6 +15,7 @@ --> Prop Read All Modify Some @@ -22,7 +23,7 @@ http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#modify - fullName - description + c:fullName + c:description diff --git a/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some-req-exec.xml b/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some-req-exec.xml index 529beb16f69..1c29c25d639 100644 --- a/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some-req-exec.xml +++ b/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some-req-exec.xml @@ -15,40 +15,41 @@ --> Prop Read Some Modify Some Req Exec http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read request - name - fullName - activation/administrativeStatus - assignment - familyName + c:name + c:fullName + c:activation/c:administrativeStatus + c:assignment + c:familyName http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read execution - name - fullName - additionalName - activation/administrativeStatus - assignment + c:name + c:fullName + c:additionalName + c:activation/c:administrativeStatus + c:assignment http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#modify request - fullName - additionalName - description - costCenter + c:fullName + c:additionalName + c:description + c:costCenter http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#modify execution - fullName - additionalName - description - organization + c:fullName + c:additionalName + c:description + c:organization diff --git a/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some.xml b/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some.xml index 68ad5ff5805..a973bb490f8 100644 --- a/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some.xml +++ b/model/model-intest/src/test/resources/security/role-prop-read-some-modify-some.xml @@ -15,19 +15,20 @@ --> Prop Read Some Modify Some http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read - name - fullName - activation/administrativeStatus - assignment + c:name + c:fullName + c:activation/c:administrativeStatus + c:assignment http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#modify - fullName - additionalName - description + c:fullName + c:additionalName + c:description diff --git a/testing/consistency-mechanism/src/test/resources/repo/resource-opendj.xml b/testing/consistency-mechanism/src/test/resources/repo/resource-opendj.xml index 360084c2252..7df55056e3c 100644 --- a/testing/consistency-mechanism/src/test/resources/repo/resource-opendj.xml +++ b/testing/consistency-mechanism/src/test/resources/repo/resource-opendj.xml @@ -192,12 +192,12 @@ This is now the only account type that midPoint can work with. --> - $user/fullName + $c:user/c:fullName - $user/fullName + $c:user/c:fullName @@ -232,6 +232,7 @@ This is now the only account type that midPoint can work with. --> @@ -256,7 +257,7 @@ This is now the only account type that midPoint can work with. --> - $user/name + $c:user/c:name - fullName + c:fullName diff --git a/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml b/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml index 15c30586f9c..0e70a4950d1 100644 --- a/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml +++ b/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml @@ -83,11 +83,11 @@ follows: uid=flastname,ou=people,dc=example,dc=ck tmpGivenName - $user/givenName + $c:user/c:givenName tmpFamilyName - $user/familyName + $c:user/c:familyName @@ -205,11 +205,11 @@ else { weak tmpGivenName - $user/givenName + $c:user/c:givenName tmpFamilyName - $user/familyName + $c:user/c:familyName - c:employeeNumber + declare namespace c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"; + c:employeeNumber declare default namespace "http://midpoint.evolveum.com/xml/ns/public/common/common-3"; From eb86c3d1844a4a0db8058877577cb5d7c827a583 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Tue, 27 May 2014 14:04:46 +0200 Subject: [PATCH 12/27] Correctly checking the presence of PrismContext intance in RawType. --- .../prism/xml/ns/_public/types_3/RawType.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java index a2064edd134..b214eefd016 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java @@ -51,7 +51,7 @@ public class RawType implements Serializable, Cloneable, Equals, Revivable { private PrismValue parsed; public RawType(PrismContext prismContext) { - Validate.notNull(prismContext, "prismContext"); + Validate.notNull(prismContext, "prismContext is not set - perhaps a forgotten call to adopt() somewhere?"); this.prismContext = prismContext; } @@ -62,6 +62,7 @@ public RawType(XNode xnode, PrismContext prismContext) { @Override public void revive(PrismContext prismContext) throws SchemaException { + Validate.notNull(prismContext); this.prismContext = prismContext; if (parsed != null) { parsed.revive(prismContext); @@ -91,6 +92,7 @@ public V getParsedValue(ItemDefinition itemDefinition, QN if (itemName == null) { itemName = itemDefinition.getName(); } + checkPrismContext(); Item subItem = PrismUtil.getXnodeProcessor(prismContext).parseItem(xnode, itemName, itemDefinition); value = subItem.getValue(0); } else { @@ -125,6 +127,7 @@ public XNode serializeToXNode() throws SchemaException { if (xnode != null) { return xnode; } else if (parsed != null) { + checkPrismContext(); return PrismUtil.getXnodeProcessor(prismContext).serializeItemValue(parsed); } else { return null; // or an exception here? @@ -185,4 +188,11 @@ public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Obje return equals(that); } //endregion + + private void checkPrismContext() { + if (prismContext != null) { + throw new IllegalStateException("prismContext is not set - perhaps a forgotten call to adopt() somewhere?"); + } + } + } From 103bca6e60aeec73362454e6dbaf1d846a22880d Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Tue, 27 May 2014 14:05:05 +0200 Subject: [PATCH 13/27] Some unimportant changes in WS client samples. --- .../ModelClientSample.v11.suo | Bin 83456 -> 87552 bytes .../ModelClientSample/App.config | 4 +- .../ModelClientSample.csproj | 15 + .../ModelClientSample/Program.cs | 4 +- .../midpointModelService/Reference.cs | 4051 +++++++++-------- .../midpointModelService/Reference.svcmap | 33 +- .../testing/model/client/sample/Main.java | 4 +- 7 files changed, 2129 insertions(+), 1982 deletions(-) diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo index cf5092f0d4e86f4309e3a67d4a8e7b7423806610..1f26cbb1c4161204e1d8d3168a5097a7b722a535 100644 GIT binary patch delta 3896 zcmd^?dr;KZ7037d*d;71N&pcS2oE1vVl36QA+pLY;3Gy12r*8>SQT*Ul=#41m51(% zmO4VI?6F=oI)lU{X2x3KXIX2SbVUvTwBY@2CkIwli3Z6*o*9#~SwB-3X4 zkDcD}!@2j|*LmD~_ouhnUc6V=^Xs!Z9csM1W)x3kNUJK z^Tt>AofR)KN4*G*A&&(EWS>#HQ_&7?IV3(wUHTGHAN6Sx>f+PrIPpp9;?t;3q|6ha zrh(^y_$2yJNQu=C4TjKRMM`UNjCnjXM({m;d1{VR=H{Sf2XnzZkP95Z3GzTbC;;=p z0`NGH^`&fXEq=-7g2D~9fURH~r~$R04%CC~U6KDoM04+caVtaT} zszT!+I0Ph9&w(T0DEKkpZQ*v$DO64anbiT=33PA<{1kKnKR6412F`(3z|X;};5G0I z5CG>vH@E;Ug4e+t;1akDehGdBdcYO%YdLvWQRxM5f@`1;TnGL9RQROUjTWwtIPw4B zr(PeqjcATOIBtlj1R{cbaW1;a?l=$K;K8_|h~FSAa_~_2e9tbuA$AA(qFppucUzmN zJzn$067Cm{)3MFCk0LY<}4t7oShK?+$f0P(!LvM?HL!_7ij#!ohrTRoBQdD!VvLU7$kd3oVsI9AjCJbC_%hA07kE?c!2$fj_|sf ziDd35t|N&I^87Hnt-TgG0n#sJB#(*Bt))?VRKZ`UT6*@{kAH<5vz0~ff+9m;QS%jT@DM(%c3 zX#)mcRo@m=+jZMkBWV{!cbw?69D_6FM@a>j#&fFc% z+55BcOYR()q!+aqi5u!-Ve5*{HQh1))6VLpmy+o7j-BRn{jrpwKYMvX2rt{Ulxth| zA`CW4V^2>H&6M=|wmW#`Ron9$dx?El2R=)grO(P6-+Yga*FQj9N78t!FO&QF-(aIF ziBDZUfz{)==&eqD@r@+X*WAh^`j9vEUT6EQX`DCE$Jsa2+4egd^>OiA9Y}V%$%GXC zQBtoL{l3w}UAG6g|DCtF`i^WepjZ6ih}NaiA&PvB3Xb%*Q9}{* zl!}U^Smm{lgDQE`mZ$H3Pcv1(LUHC<1{=ORatu!OjYvxCilhK>cSAjwy_+2jMU_R~ zpEQ}|2){sKX3jPExfX z;Q=`nC~9FmJ*FHJsZ^C(=@C^kks{QUiS(h$izLT^@wDYj?Rs1V;zy=U4-5YI8`K^v zHt;6U$q5y+vsTYqZIXTLh3m?zH*DUpmN-p|QTr2Vy7F4d(e)6{oeEefpsvNx@vrQn z{Ldj9e03N7aB&fd%m0<_e%S6Hzaxb#q?*&nW)^qlYv6!-KbQ8JR}?NODgRF8v#Zsy ze44H5a>-5KRUPwawfb`^9pnS^dPEt{ljbF>WE(A2i|tsklXs?j)cYx9RfiL4?U!!w zXxAKxV3val)lECiQh^+DsJjj-`FA_3rUE*u@||)f=Ft`Pr@3^Qo)e>+)P+3CQywRs zRd;jgvNGkMVaEDSd~KOh_fLF^^n&&Lr@28qG$6hLA$YAdo+44q+DI zpQK}=c`kwV57IoFV3}UCOwe~sauqFJC@N$WZS>tLOxIcWneHnO1i zsl{QrIVsTpx%%HYB&2~~OA72gzO#CdD06 z7Ji2v$w%+rO6i!r1)yG;NSU0Pk|CVY2KS>c<1`M-4s0`dbzChDpWR{Y!n|ZIMGZF) z#dB`7Q`v6Z24O=R>_eZy4|{RKFqyz5RZGe@rUW^*qvFd5!JtL2MtxorEJt6SAC}<+ z{Vzw~{h|I`Ih@~?u#2qBD%_g?4OF48z_0l}35@u)qxuof2v>&Zbeg$RTm>_ME5rSm zMc}^Tin3k~%~k^U9#?oC0lSMEz5FA?MFO7PG&?x|*JUKzNi; zLwJmU&Id;ZZF>0@xs{3W4&sc(nAUJYV{B_?1NRk2M80D=Rlb_9lf%|FC_|ss4^EsY z?36FaxOMK1{vtW-@}gIpn998O682A9X5)HS78DHBJ`Z7g8)T!;J_$zjIsD1|zBdqP zVCp-|@QqN$rj%{;=iK<=S6_#YUX^-l)0A%)r~yw_xfOS5RF%l@ z3RhTcbik6t>lI17ktABmAX}VuKqk7)8Lt$>DRF!$XbNykfK2CqdjM}a|bMKd~ zw@$C9}wM7+5*8%ut6MIMo`aob@m-Dbs0&zrGj_aXdAR|Xv+!LA7I@5scyUl?Oj?^vF) zdRsm~iLzm&0EBHZ=v0#A!dHV|!VL_D-oTdNA|>Fr0d{qrmWOy_-YgThzg2?=cb>!* zFOHx)q{lC|YO!dimDV@$iI=X$qB@V>kR1vUY{RJE)r@_Yn^FHli?X`=hKzl~A3!d8 z-kYcN^ii98_Z;i5QDe9=A6JhWu%vH^(mK)u`1JZ!%Bn_h`u{U|#rt~;5M6@`!=t0h z_P6u^#gv-iu-}b`wivPXf(6XD=hXPG!fyjyqJp1C!)YU)=s1B@;~9{Ty_Zd~iU!W9 z@$8v=_yWhTC21OJ&kmyZ{XwPbT?^oei(_=n@Vs{(pSak7 zJr}-3*>;kuwFKS%6mo2Z&v+}vJGMiELmz#F7e4%Cx{#~LH}%rTe^r{s56XDB%7X3} zY~-|1X?fEK{~KJCzRMbU_A_*h@Y%{J#Ou|0$(y8Rspa;1*3`P5`u7%XB-&;Cwdf?P z_^swedfq|UNqC9ya{_-t<2MIB#Mp*!4*Pm*3ljUM1=#E|YYJ##8K~V1Lt5CU`p;o$ zVqsy!)dp<5l5XPg!*Y{UDy@;8lh#X3Qmgb+X}yTv2MstrmWJ~`HAUQdXqUAQ(1+D7 zEteKaB5Hs)M5hUg#V02C5+=mB34RlKG95G!6GvXjfQ68{nKqvq#wasZMLsY=8ff{x zHJ?y9WhltdDgHbMmWbXon4{yEcvN~S9OBv>F!4>`*0^m9m8Ew26M;;q6C0ecVCcJ0 z2e`elQ1z&!7LWzyBAN}y#EL910tinw3v$3MhUS7Z((wS$DYEKn-5n?5h+762vVt2T zfg;d>&=o;R5{H{Wcve_F@RV5RfW2bwGRP5UmO{ODZAIyt`b|IHxM@wqoeJ&nU#78( z92MMqX}r6nz*;e|6fEM91MI^5AlO8&9em=UGWfNIU!Yhf=kX0(5`Xy~l**n~@v;Ld z?nGDXX}zm!PbBa#ecHu<9qMO - + (a - + diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj index e532c5ae131..c558ba296d5 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/ModelClientSample.csproj @@ -76,6 +76,18 @@ + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + Reference.svcmap @@ -88,6 +100,9 @@ Reference.svcmap + + Reference.svcmap + Reference.svcmap diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs index 62bd4bf0b34..01c7c8f97e1 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs @@ -29,7 +29,7 @@ class Program private static XmlQualifiedName RESOURCE_TYPE = new XmlQualifiedName("ResourceType", NS_C); private static XmlQualifiedName SYSTEM_CONFIGURATION_TYPE = new XmlQualifiedName("SystemConfigurationType", NS_C); - private const string WS_URL = "http://localhost.:8080/midpoint/model/model-3?wsdl"; // when using fiddler, change "localhost" to "localhost." + private const string WS_URL = "http://localhost:8080/midpoint/model/model-3?wsdl"; // when using fiddler, change "localhost" to "localhost." private const string SYSTEM_CONFIGURATION_OID = "00000000-0000-0000-0000-000000000001"; private const string ADMINISTRATOR_OID = "00000000-0000-0000-0000-000000000002"; @@ -623,7 +623,7 @@ private static void deleteUser(modelPortType modelPort, String oid) private static modelPortType openConnection() { - WebRequest.DefaultWebProxy = new WebProxy("127.0.0.1", 8888); // uncomment this line if you want to use fiddler + //WebRequest.DefaultWebProxy = new WebProxy("127.0.0.1", 8888); // uncomment this line if you want to use fiddler modelPortTypeClient service = new modelPortTypeClient(); diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs index 4e21fe9d198..80b2a5ea561 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.cs @@ -15849,62 +15849,48 @@ public partial class EmptyType : object, System.ComponentModel.INotifyPropertyCh [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SignaturePropertyType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.Xml.XmlElement[] itemsField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ResourceObjectIdentificationType : object, System.ComponentModel.INotifyPropertyChanged { - private string[] textField; + private System.Xml.XmlElement[] anyField; - private string targetField; + private long idField; - private string idField; + private bool idFieldSpecified; /// [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Items { - get { - return this.itemsField; - } - set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); - } - } - - /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { + public System.Xml.XmlElement[] Any { get { - return this.textField; + return this.anyField; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Target { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { - return this.targetField; + return this.idField; } set { - this.targetField = value; - this.RaisePropertyChanged("Target"); + this.idField = value; + this.RaisePropertyChanged("id"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { get { - return this.idField; + return this.idFieldSpecified; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -15923,34 +15909,48 @@ public partial class SignaturePropertyType : object, System.ComponentModel.INoti [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SignaturePropertiesType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ResourceObjectType : object, System.ComponentModel.INotifyPropertyChanged { - private SignaturePropertyType[] signaturePropertyField; + private System.Xml.XmlElement[] anyField; - private string idField; + private long idField; + + private bool idFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute("SignatureProperty", Order=0)] - public SignaturePropertyType[] SignatureProperty { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.signaturePropertyField; + return this.anyField; } set { - this.signaturePropertyField = value; - this.RaisePropertyChanged("SignatureProperty"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlAttributeAttribute()] + public long id { get { return this.idField; } set { this.idField = value; - this.RaisePropertyChanged("Id"); + this.RaisePropertyChanged("id"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool idSpecified { + get { + return this.idFieldSpecified; + } + set { + this.idFieldSpecified = value; + this.RaisePropertyChanged("idSpecified"); } } @@ -15969,34 +15969,34 @@ public partial class SignaturePropertiesType : object, System.ComponentModel.INo [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class ManifestType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ObjectModificationType : object, System.ComponentModel.INotifyPropertyChanged { - private ReferenceType1[] referenceField; + private string oidField; - private string idField; + private ItemDeltaType[] itemDeltaField; /// - [System.Xml.Serialization.XmlElementAttribute("Reference", Order=0)] - public ReferenceType1[] Reference { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string oid { get { - return this.referenceField; + return this.oidField; } set { - this.referenceField = value; - this.RaisePropertyChanged("Reference"); + this.oidField = value; + this.RaisePropertyChanged("oid"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute("itemDelta", Order=1)] + public ItemDeltaType[] itemDelta { get { - return this.idField; + return this.itemDeltaField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.itemDeltaField = value; + this.RaisePropertyChanged("itemDelta"); } } @@ -16015,199 +16015,205 @@ public partial class ManifestType : object, System.ComponentModel.INotifyPropert [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(TypeName="ReferenceType", Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class ReferenceType1 : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] + public partial class ImportOptionsType : object, System.ComponentModel.INotifyPropertyChanged { - private TransformType[] transformsField; + private bool overwriteField; - private DigestMethodType digestMethodField; + private bool overwriteFieldSpecified; - private byte[] digestValueField; + private bool keepOidField; - private string idField; + private bool keepOidFieldSpecified; - private string uRIField; + private int stopAfterErrorsField; - private string typeField; + private bool stopAfterErrorsFieldSpecified; + + private bool summarizeSuccesesField; + + private bool summarizeErrorsField; + + private bool referentialIntegrityField; + + private bool validateStaticSchemaField; + + private bool validateDynamicSchemaField; + + private bool encryptProtectedValuesField; + + private bool fetchResourceSchemaField; + + public ImportOptionsType() { + this.summarizeSuccesesField = true; + this.summarizeErrorsField = false; + this.referentialIntegrityField = false; + this.validateStaticSchemaField = true; + this.validateDynamicSchemaField = true; + this.encryptProtectedValuesField = true; + this.fetchResourceSchemaField = false; + } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=0)] - [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] - public TransformType[] Transforms { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool overwrite { get { - return this.transformsField; + return this.overwriteField; } set { - this.transformsField = value; - this.RaisePropertyChanged("Transforms"); + this.overwriteField = value; + this.RaisePropertyChanged("overwrite"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public DigestMethodType DigestMethod { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool overwriteSpecified { get { - return this.digestMethodField; + return this.overwriteFieldSpecified; } set { - this.digestMethodField = value; - this.RaisePropertyChanged("DigestMethod"); + this.overwriteFieldSpecified = value; + this.RaisePropertyChanged("overwriteSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] - public byte[] DigestValue { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool keepOid { get { - return this.digestValueField; + return this.keepOidField; } set { - this.digestValueField = value; - this.RaisePropertyChanged("DigestValue"); + this.keepOidField = value; + this.RaisePropertyChanged("keepOid"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool keepOidSpecified { get { - return this.idField; + return this.keepOidFieldSpecified; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.keepOidFieldSpecified = value; + this.RaisePropertyChanged("keepOidSpecified"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string URI { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int stopAfterErrors { get { - return this.uRIField; + return this.stopAfterErrorsField; } set { - this.uRIField = value; - this.RaisePropertyChanged("URI"); + this.stopAfterErrorsField = value; + this.RaisePropertyChanged("stopAfterErrors"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Type { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool stopAfterErrorsSpecified { get { - return this.typeField; + return this.stopAfterErrorsFieldSpecified; } set { - this.typeField = value; - this.RaisePropertyChanged("Type"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.stopAfterErrorsFieldSpecified = value; + this.RaisePropertyChanged("stopAfterErrorsSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class TransformType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private string[] textField; - - private string algorithmField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string), Order=0)] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool summarizeSucceses { get { - return this.itemsField; + return this.summarizeSuccesesField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.summarizeSuccesesField = value; + this.RaisePropertyChanged("summarizeSucceses"); } } /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { - get { - return this.textField; + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool summarizeErrors { + get { + return this.summarizeErrorsField; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.summarizeErrorsField = value; + this.RaisePropertyChanged("summarizeErrors"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool referentialIntegrity { get { - return this.algorithmField; + return this.referentialIntegrityField; } set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); + this.referentialIntegrityField = value; + this.RaisePropertyChanged("referentialIntegrity"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool validateStaticSchema { + get { + return this.validateStaticSchemaField; + } + set { + this.validateStaticSchemaField = value; + this.RaisePropertyChanged("validateStaticSchema"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class DigestMethodType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.Xml.XmlNode[] anyField; - private string algorithmField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool validateDynamicSchema { + get { + return this.validateDynamicSchemaField; + } + set { + this.validateDynamicSchemaField = value; + this.RaisePropertyChanged("validateDynamicSchema"); + } + } /// - [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlNode[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool encryptProtectedValues { get { - return this.anyField; + return this.encryptProtectedValuesField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.encryptProtectedValuesField = value; + this.RaisePropertyChanged("encryptProtectedValues"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + [System.ComponentModel.DefaultValueAttribute(false)] + public bool fetchResourceSchema { get { - return this.algorithmField; + return this.fetchResourceSchemaField; } set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); + this.fetchResourceSchemaField = value; + this.RaisePropertyChanged("fetchResourceSchema"); } } @@ -16226,170 +16232,118 @@ public partial class DigestMethodType : object, System.ComponentModel.INotifyPro [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(TypeName="ObjectType", Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class ObjectType2 : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class ResultsHandlerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlNode[] anyField; + private bool enableNormalizingResultsHandlerField; - private string idField; + private bool enableNormalizingResultsHandlerFieldSpecified; - private string mimeTypeField; + private bool enableFilteredResultsHandlerField; - private string encodingField; + private bool enableFilteredResultsHandlerFieldSpecified; - /// - [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlNode[] Any { - get { - return this.anyField; - } - set { - this.anyField = value; - this.RaisePropertyChanged("Any"); - } - } + private bool enableCaseInsensitiveFilterField; + + private bool enableCaseInsensitiveFilterFieldSpecified; + + private bool enableAttributesToGetSearchResultsHandlerField; + + private bool enableAttributesToGetSearchResultsHandlerFieldSpecified; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool enableNormalizingResultsHandler { get { - return this.idField; + return this.enableNormalizingResultsHandlerField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.enableNormalizingResultsHandlerField = value; + this.RaisePropertyChanged("enableNormalizingResultsHandler"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string MimeType { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool enableNormalizingResultsHandlerSpecified { get { - return this.mimeTypeField; + return this.enableNormalizingResultsHandlerFieldSpecified; } set { - this.mimeTypeField = value; - this.RaisePropertyChanged("MimeType"); + this.enableNormalizingResultsHandlerFieldSpecified = value; + this.RaisePropertyChanged("enableNormalizingResultsHandlerSpecified"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Encoding { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public bool enableFilteredResultsHandler { get { - return this.encodingField; + return this.enableFilteredResultsHandlerField; } set { - this.encodingField = value; - this.RaisePropertyChanged("Encoding"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.enableFilteredResultsHandlerField = value; + this.RaisePropertyChanged("enableFilteredResultsHandler"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SignatureValueType : object, System.ComponentModel.INotifyPropertyChanged { - - private string idField; - - private byte[] valueField; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool enableFilteredResultsHandlerSpecified { get { - return this.idField; + return this.enableFilteredResultsHandlerFieldSpecified; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.enableFilteredResultsHandlerFieldSpecified = value; + this.RaisePropertyChanged("enableFilteredResultsHandlerSpecified"); } } /// - [System.Xml.Serialization.XmlTextAttribute(DataType="base64Binary")] - public byte[] Value { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool enableCaseInsensitiveFilter { get { - return this.valueField; + return this.enableCaseInsensitiveFilterField; } set { - this.valueField = value; - this.RaisePropertyChanged("Value"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.enableCaseInsensitiveFilterField = value; + this.RaisePropertyChanged("enableCaseInsensitiveFilter"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SignatureMethodType : object, System.ComponentModel.INotifyPropertyChanged { - - private string hMACOutputLengthField; - - private System.Xml.XmlNode[] anyField; - - private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] - public string HMACOutputLength { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool enableCaseInsensitiveFilterSpecified { get { - return this.hMACOutputLengthField; + return this.enableCaseInsensitiveFilterFieldSpecified; } set { - this.hMACOutputLengthField = value; - this.RaisePropertyChanged("HMACOutputLength"); + this.enableCaseInsensitiveFilterFieldSpecified = value; + this.RaisePropertyChanged("enableCaseInsensitiveFilterSpecified"); } } /// - [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] - public System.Xml.XmlNode[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public bool enableAttributesToGetSearchResultsHandler { get { - return this.anyField; + return this.enableAttributesToGetSearchResultsHandlerField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.enableAttributesToGetSearchResultsHandlerField = value; + this.RaisePropertyChanged("enableAttributesToGetSearchResultsHandler"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool enableAttributesToGetSearchResultsHandlerSpecified { get { - return this.algorithmField; + return this.enableAttributesToGetSearchResultsHandlerFieldSpecified; } set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); + this.enableAttributesToGetSearchResultsHandlerFieldSpecified = value; + this.RaisePropertyChanged("enableAttributesToGetSearchResultsHandlerSpecified"); } } @@ -16408,444 +16362,342 @@ public partial class SignatureMethodType : object, System.ComponentModel.INotify [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class CanonicalizationMethodType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class TimeoutsType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlNode[] anyField; + private int createField; - private string algorithmField; + private bool createFieldSpecified; - /// - [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlNode[] Any { - get { - return this.anyField; - } - set { - this.anyField = value; - this.RaisePropertyChanged("Any"); - } - } + private int getField; - /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { - get { - return this.algorithmField; - } - set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); - } - } + private bool getFieldSpecified; - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + private int updateField; - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SignedInfoType : object, System.ComponentModel.INotifyPropertyChanged { + private bool updateFieldSpecified; - private CanonicalizationMethodType canonicalizationMethodField; + private int deleteField; - private SignatureMethodType signatureMethodField; + private bool deleteFieldSpecified; - private ReferenceType1[] referenceField; + private int testField; - private string idField; + private bool testFieldSpecified; + + private int scriptOnConnectorField; + + private bool scriptOnConnectorFieldSpecified; + + private int scriptOnResourceField; + + private bool scriptOnResourceFieldSpecified; + + private int authenticationField; + + private bool authenticationFieldSpecified; + + private int searchField; + + private bool searchFieldSpecified; + + private int validateField; + + private bool validateFieldSpecified; + + private int syncField; + + private bool syncFieldSpecified; + + private int schemaField; + + private bool schemaFieldSpecified; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public CanonicalizationMethodType CanonicalizationMethod { + public int create { get { - return this.canonicalizationMethodField; + return this.createField; } set { - this.canonicalizationMethodField = value; - this.RaisePropertyChanged("CanonicalizationMethod"); + this.createField = value; + this.RaisePropertyChanged("create"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public SignatureMethodType SignatureMethod { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool createSpecified { get { - return this.signatureMethodField; + return this.createFieldSpecified; } set { - this.signatureMethodField = value; - this.RaisePropertyChanged("SignatureMethod"); + this.createFieldSpecified = value; + this.RaisePropertyChanged("createSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute("Reference", Order=2)] - public ReferenceType1[] Reference { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int get { get { - return this.referenceField; + return this.getField; } set { - this.referenceField = value; - this.RaisePropertyChanged("Reference"); + this.getField = value; + this.RaisePropertyChanged("get"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool getSpecified { get { - return this.idField; + return this.getFieldSpecified; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.getFieldSpecified = value; + this.RaisePropertyChanged("getSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SignatureType : object, System.ComponentModel.INotifyPropertyChanged { - - private SignedInfoType signedInfoField; - - private SignatureValueType signatureValueField; - - private KeyInfoType1 keyInfoField; - - private ObjectType2[] objectField; - - private string idField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public SignedInfoType SignedInfo { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int update { get { - return this.signedInfoField; + return this.updateField; } set { - this.signedInfoField = value; - this.RaisePropertyChanged("SignedInfo"); + this.updateField = value; + this.RaisePropertyChanged("update"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public SignatureValueType SignatureValue { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool updateSpecified { get { - return this.signatureValueField; + return this.updateFieldSpecified; } set { - this.signatureValueField = value; - this.RaisePropertyChanged("SignatureValue"); + this.updateFieldSpecified = value; + this.RaisePropertyChanged("updateSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public KeyInfoType1 KeyInfo { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int delete { get { - return this.keyInfoField; + return this.deleteField; } set { - this.keyInfoField = value; - this.RaisePropertyChanged("KeyInfo"); + this.deleteField = value; + this.RaisePropertyChanged("delete"); } } /// - [System.Xml.Serialization.XmlElementAttribute("Object", Order=3)] - public ObjectType2[] Object { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool deleteSpecified { get { - return this.objectField; + return this.deleteFieldSpecified; } set { - this.objectField = value; - this.RaisePropertyChanged("Object"); + this.deleteFieldSpecified = value; + this.RaisePropertyChanged("deleteSpecified"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int test { get { - return this.idField; + return this.testField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.testField = value; + this.RaisePropertyChanged("test"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool testSpecified { + get { + return this.testFieldSpecified; + } + set { + this.testFieldSpecified = value; + this.RaisePropertyChanged("testSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(TypeName="KeyInfoType", Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class KeyInfoType1 : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private ItemsChoiceType4[] itemsElementNameField; - - private string[] textField; - - private string idField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType), Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public int scriptOnConnector { get { - return this.itemsField; + return this.scriptOnConnectorField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.scriptOnConnectorField = value; + this.RaisePropertyChanged("scriptOnConnector"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType4[] ItemsElementName { + public bool scriptOnConnectorSpecified { get { - return this.itemsElementNameField; + return this.scriptOnConnectorFieldSpecified; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.scriptOnConnectorFieldSpecified = value; + this.RaisePropertyChanged("scriptOnConnectorSpecified"); } } /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public int scriptOnResource { get { - return this.textField; + return this.scriptOnResourceField; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.scriptOnResourceField = value; + this.RaisePropertyChanged("scriptOnResource"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool scriptOnResourceSpecified { get { - return this.idField; + return this.scriptOnResourceFieldSpecified; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.scriptOnResourceFieldSpecified = value; + this.RaisePropertyChanged("scriptOnResourceSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class KeyValueType : object, System.ComponentModel.INotifyPropertyChanged { - - private object itemField; - - private string[] textField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType), Order=0)] - public object Item { + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public int authentication { get { - return this.itemField; + return this.authenticationField; } set { - this.itemField = value; - this.RaisePropertyChanged("Item"); + this.authenticationField = value; + this.RaisePropertyChanged("authentication"); } } /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool authenticationSpecified { get { - return this.textField; + return this.authenticationFieldSpecified; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.authenticationFieldSpecified = value; + this.RaisePropertyChanged("authenticationSpecified"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public int search { + get { + return this.searchField; + } + set { + this.searchField = value; + this.RaisePropertyChanged("search"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class DSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { - - private byte[] pField; - - private byte[] qField; - - private byte[] jField; - - private byte[] gField; - - private byte[] yField; - - private byte[] seedField; - - private byte[] pgenCounterField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] - public byte[] P { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool searchSpecified { get { - return this.pField; + return this.searchFieldSpecified; } set { - this.pField = value; - this.RaisePropertyChanged("P"); + this.searchFieldSpecified = value; + this.RaisePropertyChanged("searchSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] - public byte[] Q { + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int validate { get { - return this.qField; + return this.validateField; } set { - this.qField = value; - this.RaisePropertyChanged("Q"); + this.validateField = value; + this.RaisePropertyChanged("validate"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] - public byte[] J { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool validateSpecified { get { - return this.jField; + return this.validateFieldSpecified; } set { - this.jField = value; - this.RaisePropertyChanged("J"); + this.validateFieldSpecified = value; + this.RaisePropertyChanged("validateSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] - public byte[] G { + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int sync { get { - return this.gField; + return this.syncField; } set { - this.gField = value; - this.RaisePropertyChanged("G"); + this.syncField = value; + this.RaisePropertyChanged("sync"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] - public byte[] Y { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool syncSpecified { get { - return this.yField; + return this.syncFieldSpecified; } set { - this.yField = value; - this.RaisePropertyChanged("Y"); + this.syncFieldSpecified = value; + this.RaisePropertyChanged("syncSpecified"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=5)] - public byte[] Seed { + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public int schema { get { - return this.seedField; + return this.schemaField; } set { - this.seedField = value; - this.RaisePropertyChanged("Seed"); + this.schemaField = value; + this.RaisePropertyChanged("schema"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=6)] - public byte[] PgenCounter { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool schemaSpecified { get { - return this.pgenCounterField; + return this.schemaFieldSpecified; } set { - this.pgenCounterField = value; - this.RaisePropertyChanged("PgenCounter"); + this.schemaFieldSpecified = value; + this.RaisePropertyChanged("schemaSpecified"); } } @@ -16864,248 +16716,146 @@ public partial class DSAKeyValueType : object, System.ComponentModel.INotifyProp [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class RSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class ConnectorPoolConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - private byte[] modulusField; + private int minEvictableIdleTimeMillisField; - private byte[] exponentField; + private bool minEvictableIdleTimeMillisFieldSpecified; + + private int minIdleField; + + private bool minIdleFieldSpecified; + + private int maxIdleField; + + private bool maxIdleFieldSpecified; + + private int maxObjectsField; + + private bool maxObjectsFieldSpecified; + + private int maxWaitField; + + private bool maxWaitFieldSpecified; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] - public byte[] Modulus { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int minEvictableIdleTimeMillis { get { - return this.modulusField; + return this.minEvictableIdleTimeMillisField; } set { - this.modulusField = value; - this.RaisePropertyChanged("Modulus"); + this.minEvictableIdleTimeMillisField = value; + this.RaisePropertyChanged("minEvictableIdleTimeMillis"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] - public byte[] Exponent { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool minEvictableIdleTimeMillisSpecified { get { - return this.exponentField; + return this.minEvictableIdleTimeMillisFieldSpecified; } set { - this.exponentField = value; - this.RaisePropertyChanged("Exponent"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.minEvictableIdleTimeMillisFieldSpecified = value; + this.RaisePropertyChanged("minEvictableIdleTimeMillisSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class PGPDataType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private ItemsChoiceType3[] itemsElementNameField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int minIdle { get { - return this.itemsField; + return this.minIdleField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.minIdleField = value; + this.RaisePropertyChanged("minIdle"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType3[] ItemsElementName { + public bool minIdleSpecified { get { - return this.itemsElementNameField; + return this.minIdleFieldSpecified; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.minIdleFieldSpecified = value; + this.RaisePropertyChanged("minIdleSpecified"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] - public enum ItemsChoiceType3 { - - /// - [System.Xml.Serialization.XmlEnumAttribute("##any:")] - Item, - - /// - PGPKeyID, - - /// - PGPKeyPacket, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class RetrievalMethodType : object, System.ComponentModel.INotifyPropertyChanged { - - private TransformType[] transformsField; - - private string uRIField; - - private string typeField; - /// - [System.Xml.Serialization.XmlArrayAttribute(Order=0)] - [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] - public TransformType[] Transforms { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int maxIdle { get { - return this.transformsField; + return this.maxIdleField; } set { - this.transformsField = value; - this.RaisePropertyChanged("Transforms"); + this.maxIdleField = value; + this.RaisePropertyChanged("maxIdle"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string URI { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maxIdleSpecified { get { - return this.uRIField; + return this.maxIdleFieldSpecified; } set { - this.uRIField = value; - this.RaisePropertyChanged("URI"); + this.maxIdleFieldSpecified = value; + this.RaisePropertyChanged("maxIdleSpecified"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Type { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public int maxObjects { get { - return this.typeField; + return this.maxObjectsField; } set { - this.typeField = value; - this.RaisePropertyChanged("Type"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.maxObjectsField = value; + this.RaisePropertyChanged("maxObjects"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class SPKIDataType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("SPKISexp", typeof(byte[]), DataType="base64Binary", Order=0)] - public object[] Items { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maxObjectsSpecified { get { - return this.itemsField; + return this.maxObjectsFieldSpecified; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.maxObjectsFieldSpecified = value; + this.RaisePropertyChanged("maxObjectsSpecified"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class X509DataType : object, System.ComponentModel.INotifyPropertyChanged { - - private object[] itemsField; - - private ItemsChoiceType2[] itemsElementNameField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType="base64Binary", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string), Order=0)] - [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public object[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public int maxWait { get { - return this.itemsField; + return this.maxWaitField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.maxWaitField = value; + this.RaisePropertyChanged("maxWait"); } } /// - [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType2[] ItemsElementName { + public bool maxWaitSpecified { get { - return this.itemsElementNameField; + return this.maxWaitFieldSpecified; } set { - this.itemsElementNameField = value; - this.RaisePropertyChanged("ItemsElementName"); + this.maxWaitFieldSpecified = value; + this.RaisePropertyChanged("maxWaitSpecified"); } } @@ -17124,34 +16874,20 @@ public partial class X509DataType : object, System.ComponentModel.INotifyPropert [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] - public partial class X509IssuerSerialType : object, System.ComponentModel.INotifyPropertyChanged { - - private string x509IssuerNameField; - - private string x509SerialNumberField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] + public partial class ConfigurationPropertiesType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string X509IssuerName { - get { - return this.x509IssuerNameField; - } - set { - this.x509IssuerNameField = value; - this.RaisePropertyChanged("X509IssuerName"); - } - } + private System.Xml.XmlElement[] anyField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=1)] - public string X509SerialNumber { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.x509SerialNumberField; + return this.anyField; } set { - this.x509SerialNumberField = value; - this.RaisePropertyChanged("X509SerialNumber"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } @@ -17165,64 +16901,6 @@ public partial class X509IssuerSerialType : object, System.ComponentModel.INotif } } - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] - public enum ItemsChoiceType2 { - - /// - [System.Xml.Serialization.XmlEnumAttribute("##any:")] - Item, - - /// - X509CRL, - - /// - X509Certificate, - - /// - X509IssuerSerial, - - /// - X509SKI, - - /// - X509SubjectName, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] - public enum ItemsChoiceType4 { - - /// - [System.Xml.Serialization.XmlEnumAttribute("##any:")] - Item, - - /// - KeyName, - - /// - KeyValue, - - /// - MgmtData, - - /// - PGPData, - - /// - RetrievalMethod, - - /// - SPKIData, - - /// - X509Data, - } - /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] @@ -17395,81 +17073,123 @@ public partial class extension : object, System.ComponentModel.INotifyPropertyCh } /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ScriptCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TestConnectionCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReadCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(LiveSyncCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PasswordCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CredentialsCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationValidityCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationStatusCapabilityType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationCapabilityType))] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class AgreementMethodType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public abstract partial class CapabilityType : object, System.ComponentModel.INotifyPropertyChanged { - private byte[] kANonceField; + private bool enabledField; - private System.Xml.XmlNode[] anyField; + private bool enabledFieldSpecified; - private KeyInfoType1 originatorKeyInfoField; - - private KeyInfoType1 recipientKeyInfoField; - - private string algorithmField; + public CapabilityType() { + this.enabledField = true; + } /// - [System.Xml.Serialization.XmlElementAttribute("KA-Nonce", DataType="base64Binary", Order=0)] - public byte[] KANonce { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool enabled { get { - return this.kANonceField; + return this.enabledField; } set { - this.kANonceField = value; - this.RaisePropertyChanged("KANonce"); + this.enabledField = value; + this.RaisePropertyChanged("enabled"); } } /// - [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] - public System.Xml.XmlNode[] Any { + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool enabledSpecified { get { - return this.anyField; + return this.enabledFieldSpecified; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.enabledFieldSpecified = value; + this.RaisePropertyChanged("enabledSpecified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ScriptCapabilityType : CapabilityType { + + private ScriptCapabilityTypeHost[] hostField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public KeyInfoType1 OriginatorKeyInfo { + [System.Xml.Serialization.XmlElementAttribute("host", Order=0)] + public ScriptCapabilityTypeHost[] host { get { - return this.originatorKeyInfoField; + return this.hostField; } set { - this.originatorKeyInfoField = value; - this.RaisePropertyChanged("OriginatorKeyInfo"); + this.hostField = value; + this.RaisePropertyChanged("host"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ScriptCapabilityTypeHost : object, System.ComponentModel.INotifyPropertyChanged { + + private ProvisioningScriptHostType typeField; + + private string[] languageField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public KeyInfoType1 RecipientKeyInfo { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ProvisioningScriptHostType type { get { - return this.recipientKeyInfoField; + return this.typeField; } set { - this.recipientKeyInfoField = value; - this.RaisePropertyChanged("RecipientKeyInfo"); + this.typeField = value; + this.RaisePropertyChanged("type"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { + [System.Xml.Serialization.XmlElementAttribute("language", DataType="anyURI", Order=1)] + public string[] language { get { - return this.algorithmField; + return this.languageField; } set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); + this.languageField = value; + this.RaisePropertyChanged("language"); } } @@ -17488,43 +17208,130 @@ public partial class AgreementMethodType : object, System.ComponentModel.INotify [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class ReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class TestConnectionCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class DeleteCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class UpdateCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ReadCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class CreateCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class LiveSyncCapabilityType : CapabilityType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class PasswordCapabilityType : CapabilityType { - private System.Xml.XmlElement[] anyField; + private bool returnedByDefaultField; - private string uRIField; + public PasswordCapabilityType() { + this.returnedByDefaultField = true; + } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool returnedByDefault { get { - return this.anyField; + return this.returnedByDefaultField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.returnedByDefaultField = value; + this.RaisePropertyChanged("returnedByDefault"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class CredentialsCapabilityType : CapabilityType { + + private PasswordCapabilityType passwordField; /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string URI { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public PasswordCapabilityType password { get { - return this.uRIField; + return this.passwordField; } set { - this.uRIField = value; - this.RaisePropertyChanged("URI"); + this.passwordField = value; + this.RaisePropertyChanged("password"); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ActivationValidityCapabilityType : CapabilityType { - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + private bool returnedByDefaultField; - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + public ActivationValidityCapabilityType() { + this.returnedByDefaultField = true; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool returnedByDefault { + get { + return this.returnedByDefaultField; + } + set { + this.returnedByDefaultField = value; + this.RaisePropertyChanged("returnedByDefault"); } } } @@ -17534,85 +17341,83 @@ public partial class ReferenceType : object, System.ComponentModel.INotifyProper [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptionPropertyType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ActivationStatusCapabilityType : CapabilityType { - private System.Xml.XmlElement[] itemsField; + private bool returnedByDefaultField; - private string[] textField; + private System.Xml.XmlQualifiedName attributeField; - private string targetField; + private string[] enableValueField; - private string idField; + private string[] disableValueField; - private System.Xml.XmlAttribute[] anyAttrField; + private bool ignoreAttributeField; + + public ActivationStatusCapabilityType() { + this.returnedByDefaultField = true; + this.ignoreAttributeField = true; + } /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Items { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool returnedByDefault { get { - return this.itemsField; + return this.returnedByDefaultField; } set { - this.itemsField = value; - this.RaisePropertyChanged("Items"); + this.returnedByDefaultField = value; + this.RaisePropertyChanged("returnedByDefault"); } } /// - [System.Xml.Serialization.XmlTextAttribute()] - public string[] Text { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.Xml.XmlQualifiedName attribute { get { - return this.textField; + return this.attributeField; } set { - this.textField = value; - this.RaisePropertyChanged("Text"); + this.attributeField = value; + this.RaisePropertyChanged("attribute"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Target { + [System.Xml.Serialization.XmlElementAttribute("enableValue", Order=2)] + public string[] enableValue { get { - return this.targetField; + return this.enableValueField; } set { - this.targetField = value; - this.RaisePropertyChanged("Target"); + this.enableValueField = value; + this.RaisePropertyChanged("enableValue"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute("disableValue", Order=3)] + public string[] disableValue { get { - return this.idField; + return this.disableValueField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.disableValueField = value; + this.RaisePropertyChanged("disableValue"); } } /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr { + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + [System.ComponentModel.DefaultValueAttribute(true)] + public bool ignoreAttribute { get { - return this.anyAttrField; + return this.ignoreAttributeField; } set { - this.anyAttrField = value; - this.RaisePropertyChanged("AnyAttr"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.ignoreAttributeField = value; + this.RaisePropertyChanged("ignoreAttribute"); } } } @@ -17622,75 +17427,62 @@ public partial class EncryptionPropertyType : object, System.ComponentModel.INot [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptionPropertiesType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] + public partial class ActivationCapabilityType : CapabilityType { - private EncryptionPropertyType[] encryptionPropertyField; + private ActivationStatusCapabilityType enableDisableField; - private string idField; + private ActivationStatusCapabilityType statusField; + + private ActivationValidityCapabilityType validFromField; + + private ActivationValidityCapabilityType validToField; /// - [System.Xml.Serialization.XmlElementAttribute("EncryptionProperty", Order=0)] - public EncryptionPropertyType[] EncryptionProperty { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ActivationStatusCapabilityType enableDisable { get { - return this.encryptionPropertyField; + return this.enableDisableField; } set { - this.encryptionPropertyField = value; - this.RaisePropertyChanged("EncryptionProperty"); + this.enableDisableField = value; + this.RaisePropertyChanged("enableDisable"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ActivationStatusCapabilityType status { get { - return this.idField; + return this.statusField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + this.statusField = value; + this.RaisePropertyChanged("status"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(TypeName="TransformsType", Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class TransformsType1 : object, System.ComponentModel.INotifyPropertyChanged { - - private TransformType[] transformField; /// - [System.Xml.Serialization.XmlElementAttribute("Transform", Namespace="http://www.w3.org/2000/09/xmldsig#", Order=0)] - public TransformType[] Transform { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ActivationValidityCapabilityType validFrom { get { - return this.transformField; + return this.validFromField; } set { - this.transformField = value; - this.RaisePropertyChanged("Transform"); + this.validFromField = value; + this.RaisePropertyChanged("validFrom"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public ActivationValidityCapabilityType validTo { + get { + return this.validToField; + } + set { + this.validToField = value; + this.RaisePropertyChanged("validTo"); } } } @@ -17701,66 +17493,76 @@ public partial class TransformsType1 : object, System.ComponentModel.INotifyProp [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class CipherReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + public partial class AgreementMethodType : object, System.ComponentModel.INotifyPropertyChanged { - private TransformsType1 itemField; + private byte[] kANonceField; - private string uRIField; + private System.Xml.XmlNode[] anyField; + + private KeyInfoType1 originatorKeyInfoField; + + private KeyInfoType1 recipientKeyInfoField; + + private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute("Transforms", Order=0)] - public TransformsType1 Item { + [System.Xml.Serialization.XmlElementAttribute("KA-Nonce", DataType="base64Binary", Order=0)] + public byte[] KANonce { get { - return this.itemField; + return this.kANonceField; } set { - this.itemField = value; - this.RaisePropertyChanged("Item"); + this.kANonceField = value; + this.RaisePropertyChanged("KANonce"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string URI { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { get { - return this.uRIField; + return this.anyField; } set { - this.uRIField = value; - this.RaisePropertyChanged("URI"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public KeyInfoType1 OriginatorKeyInfo { + get { + return this.originatorKeyInfoField; + } + set { + this.originatorKeyInfoField = value; + this.RaisePropertyChanged("OriginatorKeyInfo"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(TypeName="CipherDataType", Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class CipherDataType1 : object, System.ComponentModel.INotifyPropertyChanged { - private object itemField; + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public KeyInfoType1 RecipientKeyInfo { + get { + return this.recipientKeyInfoField; + } + set { + this.recipientKeyInfoField = value; + this.RaisePropertyChanged("RecipientKeyInfo"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute("CipherReference", typeof(CipherReferenceType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("CipherValue", typeof(byte[]), DataType="base64Binary", Order=0)] - public object Item { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.itemField; + return this.algorithmField; } set { - this.itemField = value; - this.RaisePropertyChanged("Item"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); } } @@ -17779,63 +17581,71 @@ public partial class CipherDataType1 : object, System.ComponentModel.INotifyProp [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(TypeName="EncryptionMethodType", Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptionMethodType1 : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(TypeName="KeyInfoType", Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyInfoType1 : object, System.ComponentModel.INotifyPropertyChanged { - private string keySizeField; + private object[] itemsField; - private byte[] oAEPparamsField; + private ItemsChoiceType4[] itemsElementNameField; - private System.Xml.XmlNode[] anyField; + private string[] textField; - private string algorithmField; + private string idField; /// - [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] - public string KeySize { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { get { - return this.keySizeField; + return this.itemsField; } set { - this.keySizeField = value; - this.RaisePropertyChanged("KeySize"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// - [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] - public byte[] OAEPparams { + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType4[] ItemsElementName { get { - return this.oAEPparamsField; + return this.itemsElementNameField; } set { - this.oAEPparamsField = value; - this.RaisePropertyChanged("OAEPparams"); + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); } } /// [System.Xml.Serialization.XmlTextAttribute()] - [System.Xml.Serialization.XmlAnyElementAttribute(Order=2)] - public System.Xml.XmlNode[] Any { + public string[] Text { get { - return this.anyField; + return this.textField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.textField = value; + this.RaisePropertyChanged("Text"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Algorithm { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.algorithmField; + return this.idField; } set { - this.algorithmField = value; - this.RaisePropertyChanged("Algorithm"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } @@ -17850,124 +17660,156 @@ public partial class EncryptionMethodType1 : object, System.ComponentModel.INoti } /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedKeyType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedDataType1))] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public abstract partial class EncryptedType : object, System.ComponentModel.INotifyPropertyChanged { - - private EncryptionMethodType1 encryptionMethodField; - - private KeyInfoType1 keyInfoField; - - private CipherDataType1 cipherDataField; - - private EncryptionPropertiesType encryptionPropertiesField; - - private string idField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyValueType : object, System.ComponentModel.INotifyPropertyChanged { - private string typeField; + private object itemField; - private string mimeTypeField; + private string[] textField; - private string encodingField; + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public EncryptionMethodType1 EncryptionMethod { + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { get { - return this.encryptionMethodField; + return this.textField; } set { - this.encryptionMethodField = value; - this.RaisePropertyChanged("EncryptionMethod"); + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] pField; + + private byte[] qField; + + private byte[] jField; + + private byte[] gField; + + private byte[] yField; + + private byte[] seedField; + + private byte[] pgenCounterField; /// - [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", Order=1)] - public KeyInfoType1 KeyInfo { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] P { get { - return this.keyInfoField; + return this.pField; } set { - this.keyInfoField = value; - this.RaisePropertyChanged("KeyInfo"); + this.pField = value; + this.RaisePropertyChanged("P"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public CipherDataType1 CipherData { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Q { get { - return this.cipherDataField; + return this.qField; } set { - this.cipherDataField = value; - this.RaisePropertyChanged("CipherData"); + this.qField = value; + this.RaisePropertyChanged("Q"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public EncryptionPropertiesType EncryptionProperties { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] J { get { - return this.encryptionPropertiesField; + return this.jField; } set { - this.encryptionPropertiesField = value; - this.RaisePropertyChanged("EncryptionProperties"); + this.jField = value; + this.RaisePropertyChanged("J"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] - public string Id { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] + public byte[] G { get { - return this.idField; + return this.gField; } set { - this.idField = value; - this.RaisePropertyChanged("Id"); + this.gField = value; + this.RaisePropertyChanged("G"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Type { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] + public byte[] Y { get { - return this.typeField; + return this.yField; } set { - this.typeField = value; - this.RaisePropertyChanged("Type"); + this.yField = value; + this.RaisePropertyChanged("Y"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string MimeType { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=5)] + public byte[] Seed { get { - return this.mimeTypeField; + return this.seedField; } set { - this.mimeTypeField = value; - this.RaisePropertyChanged("MimeType"); + this.seedField = value; + this.RaisePropertyChanged("Seed"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] - public string Encoding { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=6)] + public byte[] PgenCounter { get { - return this.encodingField; + return this.pgenCounterField; } set { - this.encodingField = value; - this.RaisePropertyChanged("Encoding"); + this.pgenCounterField = value; + this.RaisePropertyChanged("PgenCounter"); } } @@ -17986,48 +17828,43 @@ public abstract partial class EncryptedType : object, System.ComponentModel.INot [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptedKeyType : EncryptedType { - - private ReferenceList referenceListField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { - private string carriedKeyNameField; + private byte[] modulusField; - private string recipientField; + private byte[] exponentField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ReferenceList ReferenceList { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] Modulus { get { - return this.referenceListField; + return this.modulusField; } set { - this.referenceListField = value; - this.RaisePropertyChanged("ReferenceList"); + this.modulusField = value; + this.RaisePropertyChanged("Modulus"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public string CarriedKeyName { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Exponent { get { - return this.carriedKeyNameField; + return this.exponentField; } set { - this.carriedKeyNameField = value; - this.RaisePropertyChanged("CarriedKeyName"); + this.exponentField = value; + this.RaisePropertyChanged("Exponent"); } } - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string Recipient { - get { - return this.recipientField; - } - set { - this.recipientField = value; - this.RaisePropertyChanged("Recipient"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } @@ -18037,18 +17874,19 @@ public partial class EncryptedKeyType : EncryptedType { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class ReferenceList : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class PGPDataType : object, System.ComponentModel.INotifyPropertyChanged { - private ReferenceType[] itemsField; + private object[] itemsField; - private ItemsChoiceType5[] itemsElementNameField; + private ItemsChoiceType3[] itemsElementNameField; /// - [System.Xml.Serialization.XmlElementAttribute("DataReference", typeof(ReferenceType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("KeyReference", typeof(ReferenceType), Order=0)] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType="base64Binary", Order=0)] [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] - public ReferenceType[] Items { + public object[] Items { get { return this.itemsField; } @@ -18061,7 +17899,7 @@ public partial class ReferenceList : object, System.ComponentModel.INotifyProper /// [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] [System.Xml.Serialization.XmlIgnoreAttribute()] - public ItemsChoiceType5[] ItemsElementName { + public ItemsChoiceType3[] ItemsElementName { get { return this.itemsElementNameField; } @@ -18084,23 +17922,18 @@ public partial class ReferenceList : object, System.ComponentModel.INotifyProper /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#", IncludeInSchema=false)] - public enum ItemsChoiceType5 { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType3 { /// - DataReference, + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, /// - KeyReference, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(TypeName="EncryptedDataType", Namespace="http://www.w3.org/2001/04/xmlenc#")] - public partial class EncryptedDataType1 : EncryptedType { + PGPKeyID, + + /// + PGPKeyPacket, } /// @@ -18108,118 +17941,143 @@ public partial class EncryptedDataType1 : EncryptedType { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] - public partial class ResultsHandlerConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private bool enableNormalizingResultsHandlerField; - - private bool enableNormalizingResultsHandlerFieldSpecified; - - private bool enableFilteredResultsHandlerField; - - private bool enableFilteredResultsHandlerFieldSpecified; - - private bool enableCaseInsensitiveFilterField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RetrievalMethodType : object, System.ComponentModel.INotifyPropertyChanged { - private bool enableCaseInsensitiveFilterFieldSpecified; + private TransformType[] transformsField; - private bool enableAttributesToGetSearchResultsHandlerField; + private string uRIField; - private bool enableAttributesToGetSearchResultsHandlerFieldSpecified; + private string typeField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public bool enableNormalizingResultsHandler { + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { get { - return this.enableNormalizingResultsHandlerField; + return this.transformsField; } set { - this.enableNormalizingResultsHandlerField = value; - this.RaisePropertyChanged("enableNormalizingResultsHandler"); + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool enableNormalizingResultsHandlerSpecified { - get { - return this.enableNormalizingResultsHandlerFieldSpecified; + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; } set { - this.enableNormalizingResultsHandlerFieldSpecified = value; - this.RaisePropertyChanged("enableNormalizingResultsHandlerSpecified"); + this.uRIField = value; + this.RaisePropertyChanged("URI"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public bool enableFilteredResultsHandler { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { get { - return this.enableFilteredResultsHandlerField; + return this.typeField; } set { - this.enableFilteredResultsHandlerField = value; - this.RaisePropertyChanged("enableFilteredResultsHandler"); + this.typeField = value; + this.RaisePropertyChanged("Type"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool enableFilteredResultsHandlerSpecified { - get { - return this.enableFilteredResultsHandlerFieldSpecified; - } - set { - this.enableFilteredResultsHandlerFieldSpecified = value; - this.RaisePropertyChanged("enableFilteredResultsHandlerSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class TransformType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private string[] textField; + + private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public bool enableCaseInsensitiveFilter { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string), Order=0)] + public object[] Items { get { - return this.enableCaseInsensitiveFilterField; + return this.itemsField; } set { - this.enableCaseInsensitiveFilterField = value; - this.RaisePropertyChanged("enableCaseInsensitiveFilter"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool enableCaseInsensitiveFilterSpecified { + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { get { - return this.enableCaseInsensitiveFilterFieldSpecified; + return this.textField; } set { - this.enableCaseInsensitiveFilterFieldSpecified = value; - this.RaisePropertyChanged("enableCaseInsensitiveFilterSpecified"); + this.textField = value; + this.RaisePropertyChanged("Text"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public bool enableAttributesToGetSearchResultsHandler { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.enableAttributesToGetSearchResultsHandlerField; + return this.algorithmField; } set { - this.enableAttributesToGetSearchResultsHandlerField = value; - this.RaisePropertyChanged("enableAttributesToGetSearchResultsHandler"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); } } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SPKIDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool enableAttributesToGetSearchResultsHandlerSpecified { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKISexp", typeof(byte[]), DataType="base64Binary", Order=0)] + public object[] Items { get { - return this.enableAttributesToGetSearchResultsHandlerFieldSpecified; + return this.itemsField; } set { - this.enableAttributesToGetSearchResultsHandlerFieldSpecified = value; - this.RaisePropertyChanged("enableAttributesToGetSearchResultsHandlerSpecified"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } @@ -18238,342 +18096,511 @@ public partial class ResultsHandlerConfigurationType : object, System.ComponentM [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] - public partial class TimeoutsType : object, System.ComponentModel.INotifyPropertyChanged { - - private int createField; - - private bool createFieldSpecified; - - private int getField; - - private bool getFieldSpecified; - - private int updateField; - - private bool updateFieldSpecified; - - private int deleteField; - - private bool deleteFieldSpecified; - - private int testField; - - private bool testFieldSpecified; - - private int scriptOnConnectorField; - - private bool scriptOnConnectorFieldSpecified; - - private int scriptOnResourceField; - - private bool scriptOnResourceFieldSpecified; - - private int authenticationField; - - private bool authenticationFieldSpecified; - - private int searchField; - - private bool searchFieldSpecified; - - private int validateField; - - private bool validateFieldSpecified; - - private int syncField; - - private bool syncFieldSpecified; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509DataType : object, System.ComponentModel.INotifyPropertyChanged { - private int schemaField; + private object[] itemsField; - private bool schemaFieldSpecified; + private ItemsChoiceType2[] itemsElementNameField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public int create { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { get { - return this.createField; + return this.itemsField; } set { - this.createField = value; - this.RaisePropertyChanged("create"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool createSpecified { + public ItemsChoiceType2[] ItemsElementName { get { - return this.createFieldSpecified; + return this.itemsElementNameField; } set { - this.createFieldSpecified = value; - this.RaisePropertyChanged("createSpecified"); + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public int get { - get { - return this.getField; - } - set { - this.getField = value; - this.RaisePropertyChanged("get"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509IssuerSerialType : object, System.ComponentModel.INotifyPropertyChanged { + + private string x509IssuerNameField; + + private string x509SerialNumberField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool getSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string X509IssuerName { get { - return this.getFieldSpecified; + return this.x509IssuerNameField; } set { - this.getFieldSpecified = value; - this.RaisePropertyChanged("getSpecified"); + this.x509IssuerNameField = value; + this.RaisePropertyChanged("X509IssuerName"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public int update { + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=1)] + public string X509SerialNumber { get { - return this.updateField; + return this.x509SerialNumberField; } set { - this.updateField = value; - this.RaisePropertyChanged("update"); + this.x509SerialNumberField = value; + this.RaisePropertyChanged("X509SerialNumber"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool updateSpecified { - get { - return this.updateFieldSpecified; - } - set { - this.updateFieldSpecified = value; - this.RaisePropertyChanged("updateSpecified"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType2 { /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public int delete { + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + X509CRL, + + /// + X509Certificate, + + /// + X509IssuerSerial, + + /// + X509SKI, + + /// + X509SubjectName, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType4 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + KeyName, + + /// + KeyValue, + + /// + MgmtData, + + /// + PGPData, + + /// + RetrievalMethod, + + /// + SPKIData, + + /// + X509Data, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ReferenceType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class ReferenceType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] anyField; + + private string uRIField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Any { get { - return this.deleteField; + return this.anyField; } set { - this.deleteField = value; - this.RaisePropertyChanged("delete"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool deleteSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { get { - return this.deleteFieldSpecified; + return this.uRIField; } set { - this.deleteFieldSpecified = value; - this.RaisePropertyChanged("deleteSpecified"); + this.uRIField = value; + this.RaisePropertyChanged("URI"); } } - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public int test { - get { - return this.testField; - } - set { - this.testField = value; - this.RaisePropertyChanged("test"); + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptionPropertyType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlElement[] itemsField; + + private string[] textField; + + private string targetField; + + private string idField; + + private System.Xml.XmlAttribute[] anyAttrField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool testSpecified { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Items { get { - return this.testFieldSpecified; + return this.itemsField; } set { - this.testFieldSpecified = value; - this.RaisePropertyChanged("testSpecified"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - public int scriptOnConnector { + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { get { - return this.scriptOnConnectorField; + return this.textField; } set { - this.scriptOnConnectorField = value; - this.RaisePropertyChanged("scriptOnConnector"); + this.textField = value; + this.RaisePropertyChanged("Text"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool scriptOnConnectorSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Target { get { - return this.scriptOnConnectorFieldSpecified; + return this.targetField; } set { - this.scriptOnConnectorFieldSpecified = value; - this.RaisePropertyChanged("scriptOnConnectorSpecified"); + this.targetField = value; + this.RaisePropertyChanged("Target"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - public int scriptOnResource { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.scriptOnResourceField; + return this.idField; } set { - this.scriptOnResourceField = value; - this.RaisePropertyChanged("scriptOnResource"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool scriptOnResourceSpecified { + [System.Xml.Serialization.XmlAnyAttributeAttribute()] + public System.Xml.XmlAttribute[] AnyAttr { get { - return this.scriptOnResourceFieldSpecified; + return this.anyAttrField; } set { - this.scriptOnResourceFieldSpecified = value; - this.RaisePropertyChanged("scriptOnResourceSpecified"); + this.anyAttrField = value; + this.RaisePropertyChanged("AnyAttr"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptionPropertiesType : object, System.ComponentModel.INotifyPropertyChanged { + + private EncryptionPropertyType[] encryptionPropertyField; + + private string idField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - public int authentication { + [System.Xml.Serialization.XmlElementAttribute("EncryptionProperty", Order=0)] + public EncryptionPropertyType[] EncryptionProperty { get { - return this.authenticationField; + return this.encryptionPropertyField; } set { - this.authenticationField = value; - this.RaisePropertyChanged("authentication"); + this.encryptionPropertyField = value; + this.RaisePropertyChanged("EncryptionProperty"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool authenticationSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.authenticationFieldSpecified; + return this.idField; } set { - this.authenticationFieldSpecified = value; - this.RaisePropertyChanged("authenticationSpecified"); + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="TransformsType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class TransformsType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - public int search { + [System.Xml.Serialization.XmlElementAttribute("Transform", Namespace="http://www.w3.org/2000/09/xmldsig#", Order=0)] + public TransformType[] Transform { get { - return this.searchField; + return this.transformField; } set { - this.searchField = value; - this.RaisePropertyChanged("search"); + this.transformField = value; + this.RaisePropertyChanged("Transform"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class CipherReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformsType1 itemField; + + private string uRIField; /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool searchSpecified { + [System.Xml.Serialization.XmlElementAttribute("Transforms", Order=0)] + public TransformsType1 Item { get { - return this.searchFieldSpecified; + return this.itemField; } set { - this.searchFieldSpecified = value; - this.RaisePropertyChanged("searchSpecified"); + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - public int validate { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { get { - return this.validateField; + return this.uRIField; } set { - this.validateField = value; - this.RaisePropertyChanged("validate"); + this.uRIField = value; + this.RaisePropertyChanged("URI"); } } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="CipherDataType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class CipherDataType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private object itemField; + /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool validateSpecified { + [System.Xml.Serialization.XmlElementAttribute("CipherReference", typeof(CipherReferenceType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("CipherValue", typeof(byte[]), DataType="base64Binary", Order=0)] + public object Item { get { - return this.validateFieldSpecified; + return this.itemField; } set { - this.validateFieldSpecified = value; - this.RaisePropertyChanged("validateSpecified"); + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="EncryptionMethodType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptionMethodType1 : object, System.ComponentModel.INotifyPropertyChanged { + + private string keySizeField; + + private byte[] oAEPparamsField; + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=10)] - public int sync { + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string KeySize { get { - return this.syncField; + return this.keySizeField; } set { - this.syncField = value; - this.RaisePropertyChanged("sync"); + this.keySizeField = value; + this.RaisePropertyChanged("KeySize"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool syncSpecified { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] OAEPparams { get { - return this.syncFieldSpecified; + return this.oAEPparamsField; } set { - this.syncFieldSpecified = value; - this.RaisePropertyChanged("syncSpecified"); + this.oAEPparamsField = value; + this.RaisePropertyChanged("OAEPparams"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=11)] - public int schema { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=2)] + public System.Xml.XmlNode[] Any { get { - return this.schemaField; + return this.anyField; } set { - this.schemaField = value; - this.RaisePropertyChanged("schema"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool schemaSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.schemaFieldSpecified; + return this.algorithmField; } set { - this.schemaFieldSpecified = value; - this.RaisePropertyChanged("schemaSpecified"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); } } @@ -18588,159 +18615,184 @@ public partial class TimeoutsType : object, System.ComponentModel.INotifyPropert } /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedKeyType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EncryptedDataType1))] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] - public partial class ConnectorPoolConfigurationType : object, System.ComponentModel.INotifyPropertyChanged { - - private int minEvictableIdleTimeMillisField; - - private bool minEvictableIdleTimeMillisFieldSpecified; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public abstract partial class EncryptedType : object, System.ComponentModel.INotifyPropertyChanged { - private int minIdleField; + private EncryptionMethodType1 encryptionMethodField; - private bool minIdleFieldSpecified; + private KeyInfoType1 keyInfoField; - private int maxIdleField; + private CipherDataType1 cipherDataField; - private bool maxIdleFieldSpecified; + private EncryptionPropertiesType encryptionPropertiesField; - private int maxObjectsField; + private string idField; - private bool maxObjectsFieldSpecified; + private string typeField; - private int maxWaitField; + private string mimeTypeField; - private bool maxWaitFieldSpecified; + private string encodingField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public int minEvictableIdleTimeMillis { + public EncryptionMethodType1 EncryptionMethod { get { - return this.minEvictableIdleTimeMillisField; + return this.encryptionMethodField; } set { - this.minEvictableIdleTimeMillisField = value; - this.RaisePropertyChanged("minEvictableIdleTimeMillis"); + this.encryptionMethodField = value; + this.RaisePropertyChanged("EncryptionMethod"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool minEvictableIdleTimeMillisSpecified { + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", Order=1)] + public KeyInfoType1 KeyInfo { get { - return this.minEvictableIdleTimeMillisFieldSpecified; + return this.keyInfoField; } set { - this.minEvictableIdleTimeMillisFieldSpecified = value; - this.RaisePropertyChanged("minEvictableIdleTimeMillisSpecified"); + this.keyInfoField = value; + this.RaisePropertyChanged("KeyInfo"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public int minIdle { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public CipherDataType1 CipherData { get { - return this.minIdleField; + return this.cipherDataField; } set { - this.minIdleField = value; - this.RaisePropertyChanged("minIdle"); + this.cipherDataField = value; + this.RaisePropertyChanged("CipherData"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool minIdleSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public EncryptionPropertiesType EncryptionProperties { get { - return this.minIdleFieldSpecified; + return this.encryptionPropertiesField; } set { - this.minIdleFieldSpecified = value; - this.RaisePropertyChanged("minIdleSpecified"); + this.encryptionPropertiesField = value; + this.RaisePropertyChanged("EncryptionProperties"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public int maxIdle { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.maxIdleField; + return this.idField; } set { - this.maxIdleField = value; - this.RaisePropertyChanged("maxIdle"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool maxIdleSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { get { - return this.maxIdleFieldSpecified; + return this.typeField; } set { - this.maxIdleFieldSpecified = value; - this.RaisePropertyChanged("maxIdleSpecified"); + this.typeField = value; + this.RaisePropertyChanged("Type"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public int maxObjects { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string MimeType { get { - return this.maxObjectsField; + return this.mimeTypeField; } set { - this.maxObjectsField = value; - this.RaisePropertyChanged("maxObjects"); + this.mimeTypeField = value; + this.RaisePropertyChanged("MimeType"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool maxObjectsSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Encoding { get { - return this.maxObjectsFieldSpecified; + return this.encodingField; } set { - this.maxObjectsFieldSpecified = value; - this.RaisePropertyChanged("maxObjectsSpecified"); + this.encodingField = value; + this.RaisePropertyChanged("Encoding"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptedKeyType : EncryptedType { + + private ReferenceList referenceListField; + + private string carriedKeyNameField; + + private string recipientField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - public int maxWait { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public ReferenceList ReferenceList { get { - return this.maxWaitField; + return this.referenceListField; } set { - this.maxWaitField = value; - this.RaisePropertyChanged("maxWait"); + this.referenceListField = value; + this.RaisePropertyChanged("ReferenceList"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool maxWaitSpecified { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string CarriedKeyName { get { - return this.maxWaitFieldSpecified; + return this.carriedKeyNameField; } set { - this.maxWaitFieldSpecified = value; - this.RaisePropertyChanged("maxWaitSpecified"); + this.carriedKeyNameField = value; + this.RaisePropertyChanged("CarriedKeyName"); } } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Recipient { + get { + return this.recipientField; + } + set { + this.recipientField = value; + this.RaisePropertyChanged("Recipient"); } } } @@ -18750,20 +18802,37 @@ public partial class ConnectorPoolConfigurationType : object, System.ComponentMo [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3")] - public partial class ConfigurationPropertiesType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class ReferenceList : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private ReferenceType1[] itemsField; + + private ItemsChoiceType5[] itemsElementNameField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute("DataReference", typeof(ReferenceType1), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyReference", typeof(ReferenceType1), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public ReferenceType1[] Items { get { - return this.anyField; + return this.itemsField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType5[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); } } @@ -18778,54 +18847,68 @@ public partial class ConfigurationPropertiesType : object, System.ComponentModel } /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ScriptCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(TestConnectionCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeleteCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(UpdateCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReadCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(CreateCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(LiveSyncCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(PasswordCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(CredentialsCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationValidityCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationStatusCapabilityType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(ActivationCapabilityType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2001/04/xmlenc#", IncludeInSchema=false)] + public enum ItemsChoiceType5 { + + /// + DataReference, + + /// + KeyReference, + } + + /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public abstract partial class CapabilityType : object, System.ComponentModel.INotifyPropertyChanged { - - private bool enabledField; + [System.Xml.Serialization.XmlTypeAttribute(TypeName="EncryptedDataType", Namespace="http://www.w3.org/2001/04/xmlenc#")] + public partial class EncryptedDataType1 : EncryptedType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] + public partial class ExecuteScriptType : object, System.ComponentModel.INotifyPropertyChanged { - private bool enabledFieldSpecified; + private object itemField; - public CapabilityType() { - this.enabledField = true; - } + private object[] inputField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public bool enabled { + [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=0)] + [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=0)] + public object Item { get { - return this.enabledField; + return this.itemField; } - set { - this.enabledField = value; - this.RaisePropertyChanged("enabled"); + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool enabledSpecified { + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + [System.Xml.Serialization.XmlArrayItemAttribute("item", IsNullable=false)] + public object[] input { get { - return this.enabledFieldSpecified; + return this.inputField; } set { - this.enabledFieldSpecified = value; - this.RaisePropertyChanged("enabledSpecified"); + this.inputField = value; + this.RaisePropertyChanged("input"); } } @@ -18844,57 +18927,62 @@ public abstract partial class CapabilityType : object, System.ComponentModel.INo [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class ScriptCapabilityType : CapabilityType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignaturePropertyType : object, System.ComponentModel.INotifyPropertyChanged { - private ScriptCapabilityTypeHost[] hostField; + private System.Xml.XmlElement[] itemsField; + + private string[] textField; + + private string targetField; + + private string idField; /// - [System.Xml.Serialization.XmlElementAttribute("host", Order=0)] - public ScriptCapabilityTypeHost[] host { + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlElement[] Items { get { - return this.hostField; + return this.itemsField; } set { - this.hostField = value; - this.RaisePropertyChanged("host"); + this.itemsField = value; + this.RaisePropertyChanged("Items"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class ScriptCapabilityTypeHost : object, System.ComponentModel.INotifyPropertyChanged { - - private ProvisioningScriptHostType typeField; - private string[] languageField; + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ProvisioningScriptHostType type { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Target { get { - return this.typeField; + return this.targetField; } set { - this.typeField = value; - this.RaisePropertyChanged("type"); + this.targetField = value; + this.RaisePropertyChanged("Target"); } } /// - [System.Xml.Serialization.XmlElementAttribute("language", DataType="anyURI", Order=1)] - public string[] language { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.languageField; + return this.idField; } set { - this.languageField = value; - this.RaisePropertyChanged("language"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } @@ -18913,102 +19001,43 @@ public partial class ScriptCapabilityTypeHost : object, System.ComponentModel.IN [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class TestConnectionCapabilityType : CapabilityType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class DeleteCapabilityType : CapabilityType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class UpdateCapabilityType : CapabilityType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class ReadCapabilityType : CapabilityType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class CreateCapabilityType : CapabilityType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class LiveSyncCapabilityType : CapabilityType { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class PasswordCapabilityType : CapabilityType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignaturePropertiesType : object, System.ComponentModel.INotifyPropertyChanged { - private bool returnedByDefaultField; + private SignaturePropertyType[] signaturePropertyField; - public PasswordCapabilityType() { - this.returnedByDefaultField = true; - } + private string idField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool returnedByDefault { + [System.Xml.Serialization.XmlElementAttribute("SignatureProperty", Order=0)] + public SignaturePropertyType[] SignatureProperty { get { - return this.returnedByDefaultField; + return this.signaturePropertyField; } set { - this.returnedByDefaultField = value; - this.RaisePropertyChanged("returnedByDefault"); + this.signaturePropertyField = value; + this.RaisePropertyChanged("SignatureProperty"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class CredentialsCapabilityType : CapabilityType { - - private PasswordCapabilityType passwordField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public PasswordCapabilityType password { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.passwordField; + return this.idField; } set { - this.passwordField = value; - this.RaisePropertyChanged("password"); + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } @@ -19018,25 +19047,43 @@ public partial class CredentialsCapabilityType : CapabilityType { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class ActivationValidityCapabilityType : CapabilityType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ManifestType : object, System.ComponentModel.INotifyPropertyChanged { - private bool returnedByDefaultField; + private ReferenceType[] referenceField; - public ActivationValidityCapabilityType() { - this.returnedByDefaultField = true; + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Reference", Order=0)] + public ReferenceType[] Reference { + get { + return this.referenceField; + } + set { + this.referenceField = value; + this.RaisePropertyChanged("Reference"); + } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool returnedByDefault { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.returnedByDefaultField; + return this.idField; } set { - this.returnedByDefaultField = value; - this.RaisePropertyChanged("returnedByDefault"); + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } @@ -19046,83 +19093,100 @@ public partial class ActivationValidityCapabilityType : CapabilityType { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class ActivationStatusCapabilityType : CapabilityType { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ReferenceType : object, System.ComponentModel.INotifyPropertyChanged { - private bool returnedByDefaultField; + private TransformType[] transformsField; - private System.Xml.XmlQualifiedName attributeField; + private DigestMethodType digestMethodField; - private string[] enableValueField; + private byte[] digestValueField; - private string[] disableValueField; + private string idField; - private bool ignoreAttributeField; + private string uRIField; - public ActivationStatusCapabilityType() { - this.returnedByDefaultField = true; - this.ignoreAttributeField = true; + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool returnedByDefault { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public DigestMethodType DigestMethod { get { - return this.returnedByDefaultField; + return this.digestMethodField; } set { - this.returnedByDefaultField = value; - this.RaisePropertyChanged("returnedByDefault"); + this.digestMethodField = value; + this.RaisePropertyChanged("DigestMethod"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public System.Xml.XmlQualifiedName attribute { + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] DigestValue { get { - return this.attributeField; + return this.digestValueField; } set { - this.attributeField = value; - this.RaisePropertyChanged("attribute"); + this.digestValueField = value; + this.RaisePropertyChanged("DigestValue"); } } /// - [System.Xml.Serialization.XmlElementAttribute("enableValue", Order=2)] - public string[] enableValue { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.enableValueField; + return this.idField; } set { - this.enableValueField = value; - this.RaisePropertyChanged("enableValue"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } /// - [System.Xml.Serialization.XmlElementAttribute("disableValue", Order=3)] - public string[] disableValue { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { get { - return this.disableValueField; + return this.uRIField; } set { - this.disableValueField = value; - this.RaisePropertyChanged("disableValue"); + this.uRIField = value; + this.RaisePropertyChanged("URI"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool ignoreAttribute { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { get { - return this.ignoreAttributeField; + return this.typeField; } set { - this.ignoreAttributeField = value; - this.RaisePropertyChanged("ignoreAttribute"); + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } @@ -19132,107 +19196,110 @@ public partial class ActivationStatusCapabilityType : CapabilityType { [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3")] - public partial class ActivationCapabilityType : CapabilityType { - - private ActivationStatusCapabilityType enableDisableField; - - private ActivationStatusCapabilityType statusField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DigestMethodType : object, System.ComponentModel.INotifyPropertyChanged { - private ActivationValidityCapabilityType validFromField; + private System.Xml.XmlNode[] anyField; - private ActivationValidityCapabilityType validToField; + private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public ActivationStatusCapabilityType enableDisable { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { get { - return this.enableDisableField; + return this.anyField; } set { - this.enableDisableField = value; - this.RaisePropertyChanged("enableDisable"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public ActivationStatusCapabilityType status { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.statusField; + return this.algorithmField; } set { - this.statusField = value; - this.RaisePropertyChanged("status"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(TypeName="ObjectType", Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ObjectType2 : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string idField; + + private string mimeTypeField; + + private string encodingField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public ActivationValidityCapabilityType validFrom { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { get { - return this.validFromField; + return this.anyField; } set { - this.validFromField = value; - this.RaisePropertyChanged("validFrom"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - public ActivationValidityCapabilityType validTo { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.validToField; + return this.idField; } set { - this.validToField = value; - this.RaisePropertyChanged("validTo"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3")] - public partial class ExecuteScriptType : object, System.ComponentModel.INotifyPropertyChanged { - - private object itemField; - - private object[] inputField; /// - [System.Xml.Serialization.XmlElementAttribute("action", typeof(ActionExpressionType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("constant", typeof(object), IsNullable=true, Order=0)] - [System.Xml.Serialization.XmlElementAttribute("filter", typeof(FilterExpressionType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("foreach", typeof(ForeachExpressionType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("pipeline", typeof(ExpressionPipelineType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("search", typeof(SearchExpressionType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("select", typeof(SelectExpressionType), Order=0)] - [System.Xml.Serialization.XmlElementAttribute("sequence", typeof(ExpressionSequenceType), Order=0)] - public object Item { + [System.Xml.Serialization.XmlAttributeAttribute()] + public string MimeType { get { - return this.itemField; + return this.mimeTypeField; } set { - this.itemField = value; - this.RaisePropertyChanged("Item"); + this.mimeTypeField = value; + this.RaisePropertyChanged("MimeType"); } } /// - [System.Xml.Serialization.XmlArrayAttribute(Order=1)] - [System.Xml.Serialization.XmlArrayItemAttribute("item", IsNullable=false)] - public object[] input { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Encoding { get { - return this.inputField; + return this.encodingField; } set { - this.inputField = value; - this.RaisePropertyChanged("input"); + this.encodingField = value; + this.RaisePropertyChanged("Encoding"); } } @@ -19251,48 +19318,34 @@ public partial class ExecuteScriptType : object, System.ComponentModel.INotifyPr [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] - public partial class ResourceObjectIdentificationType : object, System.ComponentModel.INotifyPropertyChanged { - - private System.Xml.XmlElement[] anyField; - - private long idField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureValueType : object, System.ComponentModel.INotifyPropertyChanged { - private bool idFieldSpecified; + private string idField; - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { - get { - return this.anyField; - } - set { - this.anyField = value; - this.RaisePropertyChanged("Any"); - } - } + private byte[] valueField; /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { return this.idField; } set { this.idField = value; - this.RaisePropertyChanged("id"); + this.RaisePropertyChanged("Id"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlTextAttribute(DataType="base64Binary")] + public byte[] Value { get { - return this.idFieldSpecified; + return this.valueField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.valueField = value; + this.RaisePropertyChanged("Value"); } } @@ -19311,48 +19364,49 @@ public partial class ResourceObjectIdentificationType : object, System.Component [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] - public partial class ResourceObjectType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureMethodType : object, System.ComponentModel.INotifyPropertyChanged { - private System.Xml.XmlElement[] anyField; + private string hMACOutputLengthField; - private long idField; + private System.Xml.XmlNode[] anyField; - private bool idFieldSpecified; + private string algorithmField; /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] - public System.Xml.XmlElement[] Any { + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string HMACOutputLength { get { - return this.anyField; + return this.hMACOutputLengthField; } set { - this.anyField = value; - this.RaisePropertyChanged("Any"); + this.hMACOutputLengthField = value; + this.RaisePropertyChanged("HMACOutputLength"); } } /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public long id { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { get { - return this.idField; + return this.anyField; } set { - this.idField = value; - this.RaisePropertyChanged("id"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool idSpecified { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.idFieldSpecified; + return this.algorithmField; } set { - this.idFieldSpecified = value; - this.RaisePropertyChanged("idSpecified"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); } } @@ -19371,34 +19425,35 @@ public partial class ResourceObjectType : object, System.ComponentModel.INotifyP [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] - public partial class ObjectModificationType : object, System.ComponentModel.INotifyPropertyChanged { + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class CanonicalizationMethodType : object, System.ComponentModel.INotifyPropertyChanged { - private string oidField; + private System.Xml.XmlNode[] anyField; - private ItemDeltaType[] itemDeltaField; + private string algorithmField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public string oid { + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { get { - return this.oidField; + return this.anyField; } set { - this.oidField = value; - this.RaisePropertyChanged("oid"); + this.anyField = value; + this.RaisePropertyChanged("Any"); } } /// - [System.Xml.Serialization.XmlElementAttribute("itemDelta", Order=1)] - public ItemDeltaType[] itemDelta { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { get { - return this.itemDeltaField; + return this.algorithmField; } set { - this.itemDeltaField = value; - this.RaisePropertyChanged("itemDelta"); + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); } } @@ -19417,205 +19472,150 @@ public partial class ObjectModificationType : object, System.ComponentModel.INot [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3")] - public partial class ImportOptionsType : object, System.ComponentModel.INotifyPropertyChanged { - - private bool overwriteField; - - private bool overwriteFieldSpecified; - - private bool keepOidField; - - private bool keepOidFieldSpecified; - - private int stopAfterErrorsField; - - private bool stopAfterErrorsFieldSpecified; - - private bool summarizeSuccesesField; - - private bool summarizeErrorsField; - - private bool referentialIntegrityField; - - private bool validateStaticSchemaField; + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignedInfoType : object, System.ComponentModel.INotifyPropertyChanged { - private bool validateDynamicSchemaField; + private CanonicalizationMethodType canonicalizationMethodField; - private bool encryptProtectedValuesField; + private SignatureMethodType signatureMethodField; - private bool fetchResourceSchemaField; + private ReferenceType[] referenceField; - public ImportOptionsType() { - this.summarizeSuccesesField = true; - this.summarizeErrorsField = false; - this.referentialIntegrityField = false; - this.validateStaticSchemaField = true; - this.validateDynamicSchemaField = true; - this.encryptProtectedValuesField = true; - this.fetchResourceSchemaField = false; - } + private string idField; /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] - public bool overwrite { - get { - return this.overwriteField; - } - set { - this.overwriteField = value; - this.RaisePropertyChanged("overwrite"); - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool overwriteSpecified { + public CanonicalizationMethodType CanonicalizationMethod { get { - return this.overwriteFieldSpecified; + return this.canonicalizationMethodField; } set { - this.overwriteFieldSpecified = value; - this.RaisePropertyChanged("overwriteSpecified"); + this.canonicalizationMethodField = value; + this.RaisePropertyChanged("CanonicalizationMethod"); } } /// [System.Xml.Serialization.XmlElementAttribute(Order=1)] - public bool keepOid { + public SignatureMethodType SignatureMethod { get { - return this.keepOidField; + return this.signatureMethodField; } set { - this.keepOidField = value; - this.RaisePropertyChanged("keepOid"); + this.signatureMethodField = value; + this.RaisePropertyChanged("SignatureMethod"); } } /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool keepOidSpecified { + [System.Xml.Serialization.XmlElementAttribute("Reference", Order=2)] + public ReferenceType[] Reference { get { - return this.keepOidFieldSpecified; + return this.referenceField; } set { - this.keepOidFieldSpecified = value; - this.RaisePropertyChanged("keepOidSpecified"); + this.referenceField = value; + this.RaisePropertyChanged("Reference"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=2)] - public int stopAfterErrors { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.stopAfterErrorsField; + return this.idField; } set { - this.stopAfterErrorsField = value; - this.RaisePropertyChanged("stopAfterErrors"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool stopAfterErrorsSpecified { - get { - return this.stopAfterErrorsFieldSpecified; - } - set { - this.stopAfterErrorsFieldSpecified = value; - this.RaisePropertyChanged("stopAfterErrorsSpecified"); - } - } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - /// - [System.Xml.Serialization.XmlElementAttribute(Order=3)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool summarizeSucceses { - get { - return this.summarizeSuccesesField; - } - set { - this.summarizeSuccesesField = value; - this.RaisePropertyChanged("summarizeSucceses"); + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureType : object, System.ComponentModel.INotifyPropertyChanged { - /// - [System.Xml.Serialization.XmlElementAttribute(Order=4)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool summarizeErrors { - get { - return this.summarizeErrorsField; - } - set { - this.summarizeErrorsField = value; - this.RaisePropertyChanged("summarizeErrors"); - } - } + private SignedInfoType signedInfoField; + + private SignatureValueType signatureValueField; + + private KeyInfoType1 keyInfoField; + + private ObjectType2[] objectField; + + private string idField; /// - [System.Xml.Serialization.XmlElementAttribute(Order=5)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool referentialIntegrity { + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SignedInfoType SignedInfo { get { - return this.referentialIntegrityField; + return this.signedInfoField; } set { - this.referentialIntegrityField = value; - this.RaisePropertyChanged("referentialIntegrity"); + this.signedInfoField = value; + this.RaisePropertyChanged("SignedInfo"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=6)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool validateStaticSchema { + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureValueType SignatureValue { get { - return this.validateStaticSchemaField; + return this.signatureValueField; } set { - this.validateStaticSchemaField = value; - this.RaisePropertyChanged("validateStaticSchema"); + this.signatureValueField = value; + this.RaisePropertyChanged("SignatureValue"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=7)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool validateDynamicSchema { + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public KeyInfoType1 KeyInfo { get { - return this.validateDynamicSchemaField; + return this.keyInfoField; } set { - this.validateDynamicSchemaField = value; - this.RaisePropertyChanged("validateDynamicSchema"); + this.keyInfoField = value; + this.RaisePropertyChanged("KeyInfo"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=8)] - [System.ComponentModel.DefaultValueAttribute(true)] - public bool encryptProtectedValues { + [System.Xml.Serialization.XmlElementAttribute("Object", Order=3)] + public ObjectType2[] Object { get { - return this.encryptProtectedValuesField; + return this.objectField; } set { - this.encryptProtectedValuesField = value; - this.RaisePropertyChanged("encryptProtectedValues"); + this.objectField = value; + this.RaisePropertyChanged("Object"); } } /// - [System.Xml.Serialization.XmlElementAttribute(Order=9)] - [System.ComponentModel.DefaultValueAttribute(false)] - public bool fetchResourceSchema { + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { get { - return this.fetchResourceSchemaField; + return this.idField; } set { - this.fetchResourceSchemaField = value; - this.RaisePropertyChanged("fetchResourceSchema"); + this.idField = value; + this.RaisePropertyChanged("Id"); } } @@ -19771,6 +19771,10 @@ public partial class ExecuteScriptsOptionsType : object, System.ComponentModel.I private bool objectLimitFieldSpecified; + private bool executeAsynchronouslyField; + + private bool executeAsynchronouslyFieldSpecified; + /// [System.Xml.Serialization.XmlElementAttribute(Order=0)] public OutputFormatType outputFormat { @@ -19819,6 +19823,30 @@ public partial class ExecuteScriptsOptionsType : object, System.ComponentModel.I } } + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public bool executeAsynchronously { + get { + return this.executeAsynchronouslyField; + } + set { + this.executeAsynchronouslyField = value; + this.RaisePropertyChanged("executeAsynchronously"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool executeAsynchronouslySpecified { + get { + return this.executeAsynchronouslyFieldSpecified; + } + set { + this.executeAsynchronouslyFieldSpecified = value; + this.RaisePropertyChanged("executeAsynchronouslySpecified"); + } + } + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { @@ -21416,30 +21444,29 @@ public partial class SystemFaultType : FaultType { [System.ServiceModel.ServiceContractAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", ConfigurationName="midpointModelService.modelPortType")] public interface modelPortType { - // CODEGEN: Parameter 'options' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21462,33 +21489,35 @@ public interface modelPortType { [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] - [return: System.ServiceModel.MessageParameterAttribute(Name="object")] ModelClientSample.midpointModelService.getObjectResponse getObject(ModelClientSample.midpointModelService.getObject request); - // CODEGEN: Parameter 'options' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + System.Threading.Tasks.Task getObjectAsync(ModelClientSample.midpointModelService.getObject request); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21511,33 +21540,36 @@ public interface modelPortType { [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] - [return: System.ServiceModel.MessageParameterAttribute(Name="objectList")] ModelClientSample.midpointModelService.searchObjectsResponse searchObjects(ModelClientSample.midpointModelService.searchObjects request); + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + System.Threading.Tasks.Task searchObjectsAsync(ModelClientSample.midpointModelService.searchObjects request); + // CODEGEN: Parameter 'deltaOperationList' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21563,29 +21595,32 @@ public interface modelPortType { [return: System.ServiceModel.MessageParameterAttribute(Name="deltaOperationList")] ModelClientSample.midpointModelService.executeChangesResponse executeChanges(ModelClientSample.midpointModelService.executeChanges request); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + System.Threading.Tasks.Task executeChangesAsync(ModelClientSample.midpointModelService.executeChanges request); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21608,32 +21643,35 @@ public interface modelPortType { [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] - [return: System.ServiceModel.MessageParameterAttribute(Name="user")] - ModelClientSample.midpointModelService.UserType findShadowOwner(out ModelClientSample.midpointModelService.OperationResultType result, string shadowOid); + ModelClientSample.midpointModelService.findShadowOwnerResponse findShadowOwner(ModelClientSample.midpointModelService.findShadowOwner request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + System.Threading.Tasks.Task findShadowOwnerAsync(ModelClientSample.midpointModelService.findShadowOwner request); [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21659,29 +21697,33 @@ public interface modelPortType { [return: System.ServiceModel.MessageParameterAttribute(Name="result")] ModelClientSample.midpointModelService.OperationResultType testResource(string resourceOid); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [return: System.ServiceModel.MessageParameterAttribute(Name="result")] + System.Threading.Tasks.Task testResourceAsync(string resourceOid); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21707,29 +21749,33 @@ public interface modelPortType { [return: System.ServiceModel.MessageParameterAttribute(Name="task")] ModelClientSample.midpointModelService.TaskType importFromResource(string resourceOid, System.Xml.XmlQualifiedName objectClass); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [return: System.ServiceModel.MessageParameterAttribute(Name="task")] + System.Threading.Tasks.Task importFromResourceAsync(string resourceOid, System.Xml.XmlQualifiedName objectClass); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21755,30 +21801,33 @@ public interface modelPortType { [return: System.ServiceModel.MessageParameterAttribute(Name="task")] ModelClientSample.midpointModelService.TaskType notifyChange(ModelClientSample.midpointModelService.ResourceObjectShadowChangeDescriptionType changeDescription); - // CODEGEN: Parameter 'outputs' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + [return: System.ServiceModel.MessageParameterAttribute(Name="task")] + System.Threading.Tasks.Task notifyChangeAsync(ModelClientSample.midpointModelService.ResourceObjectShadowChangeDescriptionType changeDescription); + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] [System.ServiceModel.FaultContractAttribute(typeof(ModelClientSample.midpointModelService.FaultType), Action="", Name="fault", Namespace="http://midpoint.evolveum.com/xml/ns/public/common/fault-3")] [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DecisionType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EmptyType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResultsHandlerConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(TimeoutsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConnectorPoolConfigurationType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationPropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(XmlAsStringType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectReferenceType1))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(extension))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CapabilityType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(AgreementMethodType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(EncryptedType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectIdentificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ResourceObjectType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ObjectModificationType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ImportOptionsType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignaturePropertiesType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ManifestType))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(SignatureType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteScriptsType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(NotifyChangeResponseType))] @@ -21801,13 +21850,15 @@ public interface modelPortType { [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ExecuteChangesType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectResponseType))] [System.ServiceModel.ServiceKnownTypeAttribute(typeof(GetObjectType))] - [return: System.ServiceModel.MessageParameterAttribute(Name="outputs")] ModelClientSample.midpointModelService.executeScriptsResponse executeScripts(ModelClientSample.midpointModelService.executeScripts request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")] + System.Threading.Tasks.Task executeScriptsAsync(ModelClientSample.midpointModelService.executeScripts request); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="getObject", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class getObject { @@ -21833,7 +21884,6 @@ public partial class getObject { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="getObjectResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class getObjectResponse { @@ -21854,7 +21904,6 @@ public partial class getObjectResponse { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="searchObjects", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class searchObjects { @@ -21880,7 +21929,6 @@ public partial class searchObjects { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="searchObjectsResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class searchObjectsResponse { @@ -21941,7 +21989,42 @@ public partial class executeChangesResponse { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="findShadowOwner", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class findShadowOwner { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + public string shadowOid; + + public findShadowOwner() { + } + + public findShadowOwner(string shadowOid) { + this.shadowOid = shadowOid; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.MessageContractAttribute(WrapperName="findShadowOwnerResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] + public partial class findShadowOwnerResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=0)] + public ModelClientSample.midpointModelService.UserType user; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", Order=1)] + public ModelClientSample.midpointModelService.OperationResultType result; + + public findShadowOwnerResponse() { + } + + public findShadowOwnerResponse(ModelClientSample.midpointModelService.UserType user, ModelClientSample.midpointModelService.OperationResultType result) { + this.user = user; + this.result = result; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.MessageContractAttribute(WrapperName="executeScripts", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class executeScripts { @@ -21964,7 +22047,6 @@ public partial class executeScripts { [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="executeScriptsResponse", WrapperNamespace="http://midpoint.evolveum.com/xml/ns/public/model/model-3", IsWrapped=true)] public partial class executeScriptsResponse { @@ -22026,6 +22108,10 @@ public partial class modelPortTypeClient : System.ServiceModel.ClientBase getObjectAsync(ModelClientSample.midpointModelService.getObject request) { + return base.Channel.getObjectAsync(request); + } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] ModelClientSample.midpointModelService.searchObjectsResponse ModelClientSample.midpointModelService.modelPortType.searchObjects(ModelClientSample.midpointModelService.searchObjects request) { return base.Channel.searchObjects(request); @@ -22041,6 +22127,10 @@ public partial class modelPortTypeClient : System.ServiceModel.ClientBase searchObjectsAsync(ModelClientSample.midpointModelService.searchObjects request) { + return base.Channel.searchObjectsAsync(request); + } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] ModelClientSample.midpointModelService.executeChangesResponse ModelClientSample.midpointModelService.modelPortType.executeChanges(ModelClientSample.midpointModelService.executeChanges request) { return base.Channel.executeChanges(request); @@ -22054,22 +22144,59 @@ public partial class modelPortTypeClient : System.ServiceModel.ClientBase ModelClientSample.midpointModelService.modelPortType.executeChangesAsync(ModelClientSample.midpointModelService.executeChanges request) { + return base.Channel.executeChangesAsync(request); + } + + public System.Threading.Tasks.Task executeChangesAsync(ModelClientSample.midpointModelService.ObjectDeltaType[] deltaList, ModelClientSample.midpointModelService.ModelExecuteOptionsType options) { + ModelClientSample.midpointModelService.executeChanges inValue = new ModelClientSample.midpointModelService.executeChanges(); + inValue.deltaList = deltaList; + inValue.options = options; + return ((ModelClientSample.midpointModelService.modelPortType)(this)).executeChangesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + ModelClientSample.midpointModelService.findShadowOwnerResponse ModelClientSample.midpointModelService.modelPortType.findShadowOwner(ModelClientSample.midpointModelService.findShadowOwner request) { + return base.Channel.findShadowOwner(request); + } + + public ModelClientSample.midpointModelService.UserType findShadowOwner(string shadowOid, out ModelClientSample.midpointModelService.OperationResultType result) { + ModelClientSample.midpointModelService.findShadowOwner inValue = new ModelClientSample.midpointModelService.findShadowOwner(); + inValue.shadowOid = shadowOid; + ModelClientSample.midpointModelService.findShadowOwnerResponse retVal = ((ModelClientSample.midpointModelService.modelPortType)(this)).findShadowOwner(inValue); + result = retVal.result; + return retVal.user; + } + + public System.Threading.Tasks.Task findShadowOwnerAsync(ModelClientSample.midpointModelService.findShadowOwner request) { + return base.Channel.findShadowOwnerAsync(request); } public ModelClientSample.midpointModelService.OperationResultType testResource(string resourceOid) { return base.Channel.testResource(resourceOid); } + public System.Threading.Tasks.Task testResourceAsync(string resourceOid) { + return base.Channel.testResourceAsync(resourceOid); + } + public ModelClientSample.midpointModelService.TaskType importFromResource(string resourceOid, System.Xml.XmlQualifiedName objectClass) { return base.Channel.importFromResource(resourceOid, objectClass); } + public System.Threading.Tasks.Task importFromResourceAsync(string resourceOid, System.Xml.XmlQualifiedName objectClass) { + return base.Channel.importFromResourceAsync(resourceOid, objectClass); + } + public ModelClientSample.midpointModelService.TaskType notifyChange(ModelClientSample.midpointModelService.ResourceObjectShadowChangeDescriptionType changeDescription) { return base.Channel.notifyChange(changeDescription); } + public System.Threading.Tasks.Task notifyChangeAsync(ModelClientSample.midpointModelService.ResourceObjectShadowChangeDescriptionType changeDescription) { + return base.Channel.notifyChangeAsync(changeDescription); + } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] ModelClientSample.midpointModelService.executeScriptsResponse ModelClientSample.midpointModelService.modelPortType.executeScripts(ModelClientSample.midpointModelService.executeScripts request) { return base.Channel.executeScripts(request); @@ -22083,5 +22210,9 @@ public partial class modelPortTypeClient : System.ServiceModel.ClientBase executeScriptsAsync(ModelClientSample.midpointModelService.executeScripts request) { + return base.Channel.executeScriptsAsync(request); + } } } diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.svcmap b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.svcmap index a1446b4723a..aaa09011650 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.svcmap +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Service References/midpointModelService/Reference.svcmap @@ -1,7 +1,8 @@ - + false + true true false @@ -21,21 +22,21 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java index 3877092302b..95458944254 100644 --- a/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java +++ b/samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java @@ -546,8 +546,8 @@ public static ModelPortType createModelPort(String[] args) { WSS4JOutInterceptor wssOut = new WSS4JOutInterceptor(outProps); cxfEndpoint.getOutInterceptors().add(wssOut); // enable the following to get client-side logging of outgoing requests and incoming responses - cxfEndpoint.getOutInterceptors().add(new LoggingOutInterceptor()); - cxfEndpoint.getInInterceptors().add(new LoggingInInterceptor()); + //cxfEndpoint.getOutInterceptors().add(new LoggingOutInterceptor()); + //cxfEndpoint.getInInterceptors().add(new LoggingInInterceptor()); return modelPort; } From ed9c8e1b1c13ef184bcd191c6d655370fd9ddd17 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Tue, 27 May 2014 17:41:13 +0200 Subject: [PATCH 14/27] Enhancing tests to cover automatic namespace resolution a bit. Plus a couple of unrelated changes. --- .../prism/xml/ns/_public/types_3/RawType.java | 2 +- .../expression-user-extension-ship-path.xml | 2 +- ...ression-objectref-variables-polystring.xml | 10 +++------- .../xpath/expression-objectref-variables.xml | 5 ++--- .../xpath/expression-string-variables.xml | 2 +- .../ModelClientSample.v11.suo | Bin 87552 -> 82944 bytes .../test/resources/repo/resource-opendj.xml | 4 ++-- .../src/test/resources/repo/user-template.xml | 6 +++--- .../resource-modify-resource-schema.xml | 17 ++++++++--------- .../resource-modify-synchronization.xml | 3 +-- 10 files changed, 22 insertions(+), 29 deletions(-) diff --git a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java index b214eefd016..78e1901a410 100644 --- a/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java +++ b/infra/prism/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/RawType.java @@ -190,7 +190,7 @@ public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Obje //endregion private void checkPrismContext() { - if (prismContext != null) { + if (prismContext == null) { throw new IllegalStateException("prismContext is not set - perhaps a forgotten call to adopt() somewhere?"); } } diff --git a/model/model-common/src/test/resources/expression/javascript/expression-user-extension-ship-path.xml b/model/model-common/src/test/resources/expression/javascript/expression-user-extension-ship-path.xml index a9afb3873ef..9e63fda2a36 100644 --- a/model/model-common/src/test/resources/expression/javascript/expression-user-extension-ship-path.xml +++ b/model/model-common/src/test/resources/expression/javascript/expression-user-extension-ship-path.xml @@ -19,6 +19,6 @@ xmlns:ext='http://midpoint.evolveum.com/xml/ns/test/extension'> http://midpoint.evolveum.com/xml/ns/public/expression/language#ECMAScript - basic.getPropertyValue(user, 'extension/ext:ship') + basic.getPropertyValue(user, 'declare namespace ext=\"http://midpoint.evolveum.com/xml/ns/test/extension\"; extension/ext:ship') diff --git a/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables-polystring.xml b/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables-polystring.xml index f4040b3bd06..d09480746a0 100644 --- a/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables-polystring.xml +++ b/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables-polystring.xml @@ -17,9 +17,7 @@ diff --git a/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables.xml b/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables.xml index ba108413ed4..a7f4d566db0 100644 --- a/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables.xml +++ b/model/model-common/src/test/resources/expression/xpath/expression-objectref-variables.xml @@ -28,10 +28,9 @@ - + declare namespace x="http://example.com/xxx"; - declare namespace y="http://example.com/yyy"; declare namespace c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"; - concat($x:foo,' ',$y:jack/c:description) + concat($x:foo,' ',$jack/c:description) diff --git a/model/model-common/src/test/resources/expression/xpath/expression-string-variables.xml b/model/model-common/src/test/resources/expression/xpath/expression-string-variables.xml index f5fbe69aff9..77686e4dae5 100644 --- a/model/model-common/src/test/resources/expression/xpath/expression-string-variables.xml +++ b/model/model-common/src/test/resources/expression/xpath/expression-string-variables.xml @@ -20,7 +20,7 @@ xmlns:y="http://example.com/yyy"> http://www.w3.org/TR/xpath/ - declare namespace x=xmlns:x="http://example.com/xxx"; + declare namespace x="http://example.com/xxx"; declare namespace yy="http://example.com/yyy"; concat($x:foo,$yy:bar) diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo index 1f26cbb1c4161204e1d8d3168a5097a7b722a535..1bfed1d0ab3267013103fbd1357ab2e0aab0c7ff 100644 GIT binary patch delta 655 zcmYk3&r2IY6vyX{yW6OnHd|{vQWP2}Eo%HeyGj;5ym@ct&HJ!Z+A>S8%$32_oj5hd zB0}5~LP&5~tJM$$f!4B{kmkVG)izAw#1-t_Za2K?J z3+&%PjDkkMeI1Ao0QWWp5gtO9j9+9lZC}q^CNC74524Iga2tQD!SP0g*EcGx#VQ71 z72c~?;oL%HJFSV6#CzSRj>veHI+?K ztnAK{pOgNe+{lyk9~)l!D8z4nYhFzUlHKEB;s@-k+im9Gg`7WiP-`_;A3X~H#3>{vX$FL<%u!Z z-z~Ha>(I2l2s!^91Oclp;KtKpMi}=`uHRDr1@V~9#ULg@8`uH3m~A^^8*rS0-wYC< z9i#!~YZ0&&7=Zh_;ko`Ed>k}5f%z5vJ4Ki0o~g-qOo}=gra#0$uaVOrA<*ydKO}$t&dOlJ$|0)_jFi-MVPgtaKX4UyhYW(MfhIjPWU7b{)uChW6>MAGX%Q4q?3oi`SC#rUddS%&u8z+8hUWV - $c:user/c:fullName + $user/fullName - $c:user/c:fullName + $user/fullName diff --git a/testing/consistency-mechanism/src/test/resources/repo/user-template.xml b/testing/consistency-mechanism/src/test/resources/repo/user-template.xml index 4647cbdad01..662636bd6b2 100644 --- a/testing/consistency-mechanism/src/test/resources/repo/user-template.xml +++ b/testing/consistency-mechanism/src/test/resources/repo/user-template.xml @@ -38,10 +38,10 @@ weak - $c:user/c:givenName + $user/givenName - $c:user/c:familyName + $user/familyName - c:fullName + fullName diff --git a/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml b/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml index 0e70a4950d1..975ce067c3b 100644 --- a/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml +++ b/testing/consistency-mechanism/src/test/resources/request/resource-modify-resource-schema.xml @@ -83,11 +83,11 @@ follows: uid=flastname,ou=people,dc=example,dc=ck tmpGivenName - $c:user/c:givenName + $user/givenName tmpFamilyName - $c:user/c:familyName + $user/familyName - declare namespace c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"; - c:employeeNumber + c:employeeNumber declare default namespace "http://midpoint.evolveum.com/xml/ns/public/common/common-3"; From ebc6663a842afbb987155693074550f9c532ac87 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Tue, 27 May 2014 18:53:47 +0200 Subject: [PATCH 15/27] Deleting users after executing model-client-sample-dotnet. --- .../ModelClientSample.v11.suo | Bin 82944 -> 82944 bytes .../ModelClientSample/App.config | 2 +- .../ModelClientSample/Program.cs | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo index 1bfed1d0ab3267013103fbd1357ab2e0aab0c7ff..9b675d7655a6c494d735dffd3c9755d54222da17 100644 GIT binary patch delta 3228 zcmdUxZ%|a%6~OmAmdyeS>@NS--4z$z03iws#b9BT2jVhWGlq?+B}tpcKRC6?7=&F! zMRrl5P9OyKkltx*XOyIkAN(Nu9CoH(x&j@Y#Hy&{(8MH?V4Z2BwVAB_XQ1aStl>kZ z)23gVyYqYZzI*OH=iGD7d;0=M5(7sP`<+=iDwRqiW@cw+sZ#-A8TMGD#A9FH%sh{~ zq=RrpiAwcQo=Kt%;!Pr*NF%a|hlng9kw_v~RUY+UQm-_t??cjE)o)VH@3{!e(I@#? zohAd;rOq$m<=mFh{oH7FHigEI5^-5Bjm`6NcH!;$aoT_BwZvMYj#x*yh{p+5$E|h1^G>;! zCVWI2v72Zo_7HoCeMASbpXem~L>CcEF3e=3y)=G}=p$Yy6lby;vRJYZHZ?P_xd1y- zPJW|psb_J_v>F3xUT|VG%`YNmP-A;~hYrZ7mf#j5@dF6}Mh$+rj6S0uCX}c#K}%cy zZg!^vXOCUth7)ExdMypQr8Jp8FW^bd({!@|@E-=ZjB3LOuFcZPap|#m#^VqfhxkM&HIB-12UbQnb{qh930g&%%2275KreL<{^9tU+Iq zA68?u$gknTY)Zhrj~)sYe*uty(Gou_L7!t5vd~xRw{uBtBDgJ#dAvZ_cQn}?bu8q^ zfO{@|etJyAB7*DFLU3g*Cb(vKosD`fO%4v%IQH7MEstB_LgVq*6*SZ?BNM|cocozU4V56uIiM=i~N|yPL0D&7ToSKW5iX8B~p5@-h+nv z5)9M_@X}2=X!gPi^qCLF%ZDSo(BrQypOm@siP=zQAI|`(IaA48e@BCo!=>dovx?Y( z7i3c#&nDilXy+25dRb64rg&Jn|36J|u>73Xu;6&g7v(y@I#;D(W$Xq0p9enVHqJ%u znL#Vw=xYqMjY7h9)mHpr-!i<@?ovi~YXD}@bLd0N{XmN|dvmdT&$KkI!WTN<#>!3` zezMPmJNu5|Pr9?=VeIM-j0etcz@Hx;#iw2wN4ZCjpY2V?;=?w&pTXyk+=+R0 z1si%CP=sgfW2k@iB^>E6?`+3PRgX7?cz5n5A#~ z3HAGT(t++tI5>74mSWBO%ar~>H7E^dte`ZH8xt^i?woSqtRA3@q+>z9jK|tDvH7YM zO!)eHQ*Q;|1^9%rdIgOaGVyfBX>?CzLp~0CniES~U_yNYE$ z`uGF}CQJ~a*$hm+6vBoNLW=vc74Y=6NwAZxEBO4iP1t|+K91T)DJ82=_NS3y8~lM) zDGif{5^?0CkMQb;H)7e+?{6gAR4^ZZu56q7g{0I>H-hw66&}5L8AJ8U@cXyEho>ej zB9ac9uyfjy-l}R+wa`E54%Jo~*@P^SL!bZ7rr7!%@U0BVDHt(87?M<*ReZP(m53NY z9(rH0@(b)BJ?Z?d)J^>>#36!TPQt1IYa)LU{A|EekQ9HDA0P1KBn{E*TZBQprhyzV z4SSx0(DiHZZ$h6e;elJ(*mozK=0KUakps6ODyDMaIdRztiuh3$IK`hA!7AaYghg8Z@ZcsKCYlPE;b{@b z0t>G&hT##Y0a0s#HJ}zXW~dgCT#&^sCsYYJ8|-0HmIyIJ;h$#1N-!Ll(-yn-(^VI~ zos>F`pIqEhb^M>xBJp0~pN@+&rL_7|DL90EEnNQ>TP2{K delta 2931 zcmdUxdrXs86u`gp@wF4IAjvdA#u?jBAJ>nEFD`+W{ z*g*^@UM7YTk7(;l)JG8h1UIFlK8%nHrH7y>4A}ptDP<_Q2GJ7V##MP!k<9xL>IeJA zeC-t)4};8tX7fCOP@Na`fc66bs?Xd4`c^N6y+`<{F2kfU;1kO{yKoq;aqjRr}+A6Pa} z#{0o#@EtlsTyR0|3Go{QQ}Ka16Wc@+mJGM6cxa;t9yV@?iBV;fki|<#%@dLKL@~my zGLSrm=vTzM5i^DWmtqIbmJD5AA0g+Prda!|hlT21Y^__#qf z=rbkQgw9dDFaw>VU63XBjCP4I8Jz|fq+*Z3rQ|mwUc%D2>UxXV9Df%;!k#fM7=g}& zUKobXM3+Cm#BURV{K({|^k_?98alPJ2JznpMc0>F$iyCP7EdUoqf?hP1o-vm0rhJP z=I0}sH$0M=D%)b_K=6^woMmmA1-BmM&8V9{x&9kriz5`j9+_Tm6+ISvFwf#Pf)U#Z z4KA`oD?X)>f0JW1)Z0jFA@t3{h$hD-kb~0i07VEHDH5-fCnMS4D9kw>Kw|+v%6JXk z8Kywlm9%Q^o&&bVdn3+FJ^BE>8IHsOvY9JC)A9sAK|ft65ORe)Azw%n^3gWMT|ZWA z&I|#uc%&RQ?Y0s{Z81+xwyQ52uD(pvy$ILk|4P`?Y|Y=QL9cyIb7?DpfT>+=XkV?w zD{CxhESIo#b-vgw;KIt?zG4g_j!r+PY{*} zE2;2mc|k3JJab(TV9xs6vVEfw&|H2FwHuAN^>RD8ijdzud{4yewnmgb$dPk$>;3Rr zs~!!tA!up0fS#fnA=_Iez{-j+I_sR~_xA?Ndq0m9U+9SC>^2SjJ-S9b)DZ^5*PXKz3cR#J2>XaG_Pu@c5^ly~l zC-v+)Wx&pkZ&51M;Qr%ZkcUXLUuu>!J2fCLzF+{ji$y2SqV+;7PVVYN%UL~|&zqqW z9haJ@>Usr#nQ!nrAloliEAU`r?l+2~5L*xlR`zQYSQzMF z7yzr#K?-w6LpCebLX={OP%MHofyi_#laYM!~iJ=rcoW#6R4_Ad0-RxO6Tu0~m?;?+wH!7A zJwwe{p?5J;0;pM69E|$Q4%@-;6e&BC2-BD@3C1z+1h6q(D$HWD5@FIndyMRDXF)dD zrC82u%1lWxf&HEgCs|@L9D|+Am<+WoZC3b2VzX1AjulRZAQo=~BWp~B5*CvN-~Rzk C11C}d diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config index a1168b80e4e..775d288bc26 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/App.config @@ -6,7 +6,7 @@ - (a + diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs index 01c7c8f97e1..8d1d057305c 100644 --- a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs +++ b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample/Program.cs @@ -141,8 +141,8 @@ static void Main1(string[] args) // ... because deleting the user will delete also all the traces (except logs and audit of course). Console.WriteLine("========================================================="); Console.WriteLine("Deleting users guybrush and lechuck..."); - //deleteUser(modelPort, userGuybrushoid); - //deleteUser(modelPort, userLeChuckOid); + deleteUser(modelPort, userGuybrushoid); + deleteUser(modelPort, userLeChuckOid); Console.WriteLine("Done."); } From d3f20ac634072ffd6cd54237a3b13902b9251277 Mon Sep 17 00:00:00 2001 From: Viliam Repan Date: Wed, 28 May 2014 10:44:55 +0200 Subject: [PATCH 16/27] fix for postgres cluster, new hibernate dialect (task manager) --- .../midpoint/task/quartzimpl/TaskManagerConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerConfiguration.java b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerConfiguration.java index 08c46388212..7d09ba7474b 100644 --- a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerConfiguration.java +++ b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerConfiguration.java @@ -276,6 +276,7 @@ static void addDbInfo(String dialect, String schema, String delegate) { addDbInfo("org.hibernate.dialect.H2Dialect", "tables_h2.sql", "org.quartz.impl.jdbcjobstore.StdJDBCDelegate"); addDbInfo("org.hibernate.dialect.PostgreSQLDialect", "tables_postgres.sql", "org.quartz.impl.jdbcjobstore.PostgreSQLDelegate"); addDbInfo("org.hibernate.dialect.PostgresPlusDialect", "tables_postgres.sql", "org.quartz.impl.jdbcjobstore.PostgreSQLDelegate"); + addDbInfo("com.evolveum.midpoint.repo.sql.util.MidPointPostgreSQLDialect", "tables_postgres.sql", "org.quartz.impl.jdbcjobstore.PostgreSQLDelegate"); addDbInfo("org.hibernate.dialect.MySQLDialect", "tables_mysql.sql", "org.quartz.impl.jdbcjobstore.StdJDBCDelegate"); addDbInfo("org.hibernate.dialect.MySQLInnoDBDialect", "tables_mysql_innodb.sql", "org.quartz.impl.jdbcjobstore.StdJDBCDelegate"); addDbInfo("com.evolveum.midpoint.repo.sql.util.MidPointMySQLDialect", "tables_mysql_innodb.sql", "org.quartz.impl.jdbcjobstore.StdJDBCDelegate"); From 38f9df4be11acb8ef5ffc1f678233cd6ba61dc17 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Wed, 28 May 2014 11:42:11 +0200 Subject: [PATCH 17/27] Fixing MID-1901 and MID-1902. Eliminating some of sysout messages. --- .../page/admin/server/dto/TaskDtoProvider.java | 18 ++++++++++++++++-- .../server/dto/TaskDtoProviderOptions.java | 4 ++++ .../evolveum/midpoint/prism/PrismContext.java | 2 +- .../prism/util/ValueSerializationUtil.java | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProvider.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProvider.java index 3647cc01ba8..bc031471c0d 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProvider.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProvider.java @@ -19,6 +19,8 @@ import com.evolveum.midpoint.prism.PrismObject; import com.evolveum.midpoint.prism.query.ObjectPaging; import com.evolveum.midpoint.prism.query.ObjectQuery; +import com.evolveum.midpoint.schema.GetOperationOptions; +import com.evolveum.midpoint.schema.SelectorOptions; import com.evolveum.midpoint.schema.result.OperationResult; import com.evolveum.midpoint.task.api.Task; import com.evolveum.midpoint.util.logging.LoggingUtils; @@ -29,6 +31,9 @@ import org.apache.wicket.Component; +import javax.xml.namespace.QName; +import java.util.ArrayList; +import java.util.Collection; import java.util.Iterator; import java.util.List; @@ -66,8 +71,17 @@ public Iterator internalIterator(long first, long count) { query = new ObjectQuery(); } query.setPaging(paging); - - List> tasks = getModel().searchObjects(TaskType.class, query, null, operationTask, result); + + List propertiesToGet = new ArrayList<>(); + if (options.isUseClusterInformation()) { + propertiesToGet.add(TaskType.F_NODE_AS_OBSERVED); + } + if (options.isGetNextRunStartTime()) { + propertiesToGet.add(TaskType.F_NEXT_RUN_START_TIMESTAMP); + } + Collection> searchOptions = + GetOperationOptions.createRetrieveAttributesOptions(propertiesToGet.toArray(new QName[0])); + List> tasks = getModel().searchObjects(TaskType.class, query, searchOptions, operationTask, result); for (PrismObject task : tasks) { try { TaskDto taskDto = new TaskDto(task.asObjectable(), getModel(), getTaskService(), getModelInteractionService(), getTaskManager(), options, result); diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProviderOptions.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProviderOptions.java index 0ba17d8e3f7..e8fa83e9283 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProviderOptions.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDtoProviderOptions.java @@ -24,6 +24,10 @@ public class TaskDtoProviderOptions implements Serializable { // default values must be 'most informative' + + /** + * Whether to ask for things requiring cluster communication (e.g. on which node is the task really executing) + */ private boolean useClusterInformation = true; private boolean resolveObjectRef = true; private boolean resolveOwnerRef = true; // currently unused diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java index b7aa84e3bc1..f0faa39be34 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/PrismContext.java @@ -503,7 +503,7 @@ public String serializeContainerValueToString(PrismCon Parser parser = getParserNotNull(language); RootXNode xroot = xnodeProcessor.serializeItemValueAsRoot(cval, elementName); - System.out.println("serialized to xnode: " + xroot.debugDump()); + //System.out.println("serialized to xnode: " + xroot.debugDump()); return parser.serializeToString(xroot); } diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java index c4c262727fb..3608fdf8841 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java @@ -242,7 +242,7 @@ public static Collection deserializeItemValues(String valu if (xnode instanceof RootXNode){ xnode = ((RootXNode) xnode).getSubnode(); } - System.out.println("value: " + value); + //System.out.println("value: " + value); Item parsedItem = prismContext.getXnodeProcessor().parseItem(xnode, item.getElementName(), item.getDefinition()); return parsedItem.getValues(); // throw new UnsupportedOperationException("need to be implemented"); From 6f2543e25b051228532b134ca1c28dfa2a330212 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Wed, 28 May 2014 12:41:41 +0200 Subject: [PATCH 18/27] Fixing MID-1890. Disallowing creating recurring task with no scheduling information (interval/cron). Removed yet another sysout message. --- .../admin/server/dto/ScheduleValidator.java | 6 +++--- .../web/page/admin/server/dto/TaskDto.java | 16 ++++++++++++++++ .../midpoint/schema/DeltaConvertor.java | 2 +- .../task/quartzimpl/TaskManagerQuartzImpl.java | 5 +++-- .../task/quartzimpl/TaskQuartzImplUtil.java | 18 ++++++++++-------- .../quartzimpl/execution/ExecutionManager.java | 2 +- 6 files changed, 34 insertions(+), 15 deletions(-) diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java index 9797244aa10..929e1eb7081 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java @@ -93,9 +93,9 @@ public void validate(Form form) { error(interval, "pageTask.scheduleValidation.bothIntervalAndCron"); } -// if (interval.getModelObject() == null && StringUtils.isEmpty(cron.getModelObject())) { -// error(interval, "pageTask.scheduleValidation.neitherIntervalNorCron"); -// } + if (interval.getModelObject() == null && StringUtils.isEmpty(cron.getModelObject())) { + error(interval, "pageTask.scheduleValidation.neitherIntervalNorCron"); + } if (!StringUtils.isEmpty(cron.getModelObject())) { ParseException pe = taskManager.validateCronExpression(cron.getModelObject()); diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDto.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDto.java index ebf22e2236f..c2889b821d9 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDto.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/TaskDto.java @@ -383,6 +383,14 @@ public List getHandlerUriList() { public boolean getBound() { return taskType.getBinding() == TaskBindingType.TIGHT; } + + public void setBound(boolean value) { + if (value) { + taskType.setBinding(TaskBindingType.TIGHT); + } else { + taskType.setBinding(TaskBindingType.LOOSE); + } + } public Integer getInterval() { return interval; @@ -419,6 +427,14 @@ public ThreadStopActionType getThreadStop() { public boolean getRecurring() { return taskType.getRecurrence() == TaskRecurrenceType.RECURRING; } + + public void setRecurring(boolean value) { + if (value) { + taskType.setRecurrence(TaskRecurrenceType.RECURRING); + } else { + taskType.setRecurrence(TaskRecurrenceType.SINGLE); + } + } public Long getCurrentRuntime() { if (isRunNotFinished()) { diff --git a/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java b/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java index a31bfbc7e09..75b2bbf83fb 100644 --- a/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java +++ b/infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java @@ -373,7 +373,7 @@ private static void addModValues(ItemDelta delta, ItemDeltaType mod, Collection< } else { for (PrismValue value : values) { - System.out.println("value: " + value.debugDump()); + //System.out.println("value: " + value.debugDump()); //FIXME: serilaize to XNode instead of dom?? // Object xmlValue = toAny(delta, value, document); // System.out.println("xmlValue " + xmlValue); diff --git a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java index 107a2b2b63f..cadb8598f2f 100644 --- a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java +++ b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java @@ -474,8 +474,9 @@ public void resumeTask(Task task, OperationResult parentResult) throws ObjectNot OperationResult result = parentResult.createSubresult(DOT_INTERFACE + "resumeTask"); result.addArbitraryObjectAsParam("task", task); - if (task.getExecutionStatus() != TaskExecutionStatus.SUSPENDED) { - String message = "Attempted to resume a task that is not in the SUSPENDED state (task = " + task + ", state = " + task.getExecutionStatus(); + if (task.getExecutionStatus() != TaskExecutionStatus.SUSPENDED && + !(task.getExecutionStatus() == TaskExecutionStatus.CLOSED && task.isCycle())) { + String message = "Attempted to resume a task that is not in the SUSPENDED state (or CLOSED for recurring tasks) (task = " + task + ", state = " + task.getExecutionStatus(); LOGGER.error(message); result.recordFatalError(message); return; diff --git a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImplUtil.java b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImplUtil.java index 850034fb064..7fc013e21af 100644 --- a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImplUtil.java +++ b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImplUtil.java @@ -216,14 +216,16 @@ public static boolean triggerDataMapsDiffer(Trigger triggerAsIs, Trigger trigger //LOGGER.trace("handlerUri: asIs = " + aih + ", toBe = " + tbh); boolean handlersDiffer = tbh != null ? !tbh.equals(aih) : aih == null; - if (scheduleDiffer) { - LOGGER.trace("trigger data maps differ in schedule: triggerAsIs.schedule = " + asIs.getString("schedule") + ", triggerToBe.schedule = " + toBe.getString("schedule")); - } - if (lbrDiffer) { - LOGGER.trace("trigger data maps differ in looselyBoundRecurrent: triggerAsIs = " + asIs.getString("looselyBoundRecurrent") + ", triggerToBe = " + toBe.getString("looselyBoundRecurrent")); - } - if (handlersDiffer) { - LOGGER.trace("trigger data maps differ in handlerUri: triggerAsIs = " + aih + ", triggerToBe = " + tbh); + if (LOGGER.isTraceEnabled()) { + if (scheduleDiffer) { + LOGGER.trace("trigger data maps differ in schedule: triggerAsIs.schedule = " + asIs.getString("schedule") + ", triggerToBe.schedule = " + toBe.getString("schedule")); + } + if (lbrDiffer) { + LOGGER.trace("trigger data maps differ in looselyBoundRecurrent: triggerAsIs = " + asIs.getBoolean("looselyBoundRecurrent") + ", triggerToBe = " + toBe.getBoolean("looselyBoundRecurrent")); + } + if (handlersDiffer) { + LOGGER.trace("trigger data maps differ in handlerUri: triggerAsIs = " + aih + ", triggerToBe = " + tbh); + } } return scheduleDiffer || lbrDiffer || handlersDiffer; } diff --git a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/ExecutionManager.java b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/ExecutionManager.java index 39b7d338079..ffe4376142e 100644 --- a/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/ExecutionManager.java +++ b/repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/ExecutionManager.java @@ -518,7 +518,7 @@ public void reRunClosedTask(Task task, OperationResult parentResult) throws Sche } if (!task.isSingle()) { - String message = "Closed recurring task " + task + " cannot be re-run, because this operation is not available for recurring tasks."; + String message = "Closed recurring task " + task + " cannot be re-run, because this operation is not available for recurring tasks. Please use RESUME instead."; result.recordWarning(message); LOGGER.warn(message); return; From 9a63a4cdfdf89b4a4e1f529e35912e3fcef88fd7 Mon Sep 17 00:00:00 2001 From: MartinDevecka Date: Wed, 28 May 2014 13:06:16 +0200 Subject: [PATCH 19/27] disabled linkAccount action in hr.xml --- samples/demo/hr.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/demo/hr.xml b/samples/demo/hr.xml index e7f897389d9..87851645cef 100644 --- a/samples/demo/hr.xml +++ b/samples/demo/hr.xml @@ -202,7 +202,7 @@ unmatched - + From 4ba3025a4f5e20c3225fd1ac7e9602da8b96586e Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Wed, 28 May 2014 13:27:06 +0200 Subject: [PATCH 20/27] Allowing recurring tasks with no scheduling info. --- .../web/page/admin/server/dto/ScheduleValidator.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java index 929e1eb7081..e6083181bd8 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/ScheduleValidator.java @@ -93,9 +93,10 @@ public void validate(Form form) { error(interval, "pageTask.scheduleValidation.bothIntervalAndCron"); } - if (interval.getModelObject() == null && StringUtils.isEmpty(cron.getModelObject())) { - error(interval, "pageTask.scheduleValidation.neitherIntervalNorCron"); - } + // there can be recurring tasks that are started only on demand, so we allow specifying no timing information +// if (interval.getModelObject() == null && StringUtils.isEmpty(cron.getModelObject())) { +// error(interval, "pageTask.scheduleValidation.neitherIntervalNorCron"); +// } if (!StringUtils.isEmpty(cron.getModelObject())) { ParseException pe = taskManager.validateCronExpression(cron.getModelObject()); From f885dca16835e5eb23c3803b6d0175d590415345 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Wed, 28 May 2014 15:19:42 +0200 Subject: [PATCH 21/27] MID-1915 + MID-1916 + killed yet another sysout message. --- .../web/page/admin/server/PageTaskEdit.html | 1 + .../web/page/admin/server/PageTaskEdit.java | 63 ++++++++++++++++-- .../page/admin/server/PageTaskEdit.properties | 1 + .../midpoint/prism/parser/XNodeProcessor.java | 2 +- .../prism/util/ValueSerializationUtil.java | 6 +- .../script/xpath/XPathScriptEvaluator.java | 2 +- .../ModelClientSample.v11.suo | Bin 82944 -> 86528 bytes 7 files changed, 66 insertions(+), 9 deletions(-) diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.html b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.html index 5ac3fce373d..3097922340b 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.html +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.html @@ -186,6 +186,7 @@

+ diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.java index e5f0432c034..a11c0767e24 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.java @@ -117,6 +117,7 @@ public class PageTaskEdit extends PageAdminTasks { private static final String OPERATION_SAVE_TASK = DOT_CLASS + "saveTask"; private static final String OPERATION_SUSPEND_TASKS = DOT_CLASS + "suspendTask"; private static final String OPERATION_RESUME_TASK = DOT_CLASS + "resumeTask"; + private static final String OPERATION_RUN_NOW_TASK = DOT_CLASS + "runNowTask"; private static final String ID_MAIN_FORM = "mainForm"; private static final String ID_IDENTIFIER = "identifier"; @@ -136,6 +137,7 @@ public class PageTaskEdit extends PageAdminTasks { private static final String ID_OPERATION_RESULT_PANEL = "operationResultPanel"; private static final String ID_SUSPEND = "suspend"; private static final String ID_RESUME = "resume"; + private static final String ID_RUN_NOW = "runNow"; private static final String ID_DRY_RUN = "dryRun"; private IModel model; @@ -169,11 +171,30 @@ private boolean isRunnableOrRunning() { return TaskDtoExecutionStatus.RUNNABLE.equals(exec) || TaskDtoExecutionStatus.RUNNING.equals(exec); } + private boolean isRunnable() { + TaskDtoExecutionStatus exec = model.getObject().getExecution(); + return TaskDtoExecutionStatus.RUNNABLE.equals(exec); + } + private boolean isRunning() { TaskDtoExecutionStatus exec = model.getObject().getExecution(); return TaskDtoExecutionStatus.RUNNING.equals(exec); } + private boolean isClosed() { + TaskDtoExecutionStatus exec = model.getObject().getExecution(); + return TaskDtoExecutionStatus.CLOSED.equals(exec); + } + + private boolean isRecurring() { + return model.getObject().getRecurring(); + } + + private boolean isSuspended() { + TaskDtoExecutionStatus exec = model.getObject().getExecution(); + return TaskDtoExecutionStatus.SUSPENDED.equals(exec); + } + private TaskDto loadTask() { OperationResult result = new OperationResult(OPERATION_LOAD_TASK); Task operationTask = getTaskManager().createTaskInstance(OPERATION_LOAD_TASK); @@ -695,7 +716,7 @@ public void onClick(AjaxRequestTarget target) { @Override public boolean isVisible() { - return isRunnableOrRunning(); + return !edit && isRunnableOrRunning(); } }); mainForm.add(suspend); @@ -711,11 +732,27 @@ public void onClick(AjaxRequestTarget target) { @Override public boolean isVisible() { - return !isRunning(); + return !edit && (isSuspended() || (isClosed() && isRecurring())); } }); mainForm.add(resume); - } + + AjaxButton runNow = new AjaxButton(ID_RUN_NOW, createStringResource("pageTaskEdit.button.runNow")) { + + @Override + public void onClick(AjaxRequestTarget target) { + runNowPerformed(target); + } + }; + runNow.add(new VisibleEnableBehaviour() { + + @Override + public boolean isVisible() { + return !edit && (isRunnable() || (isClosed() && !isRecurring())); + } + }); + mainForm.add(runNow); + } private List> initResultColumns() { List> columns = new ArrayList>(); @@ -864,7 +901,25 @@ private void resumePerformed(AjaxRequestTarget target) { setResponsePage(PageTasks.class); } - private static class EmptyOnBlurAjaxFormUpdatingBehaviour extends AjaxFormComponentUpdatingBehavior { + private void runNowPerformed(AjaxRequestTarget target) { + String oid = model.getObject().getOid(); + OperationResult result = new OperationResult(OPERATION_RUN_NOW_TASK); + try { + getTaskService().scheduleTasksNow(Arrays.asList(oid), result); + result.computeStatus(); + + if (result.isSuccess()) { + result.recordStatus(OperationResultStatus.SUCCESS, "The task has been successfully scheduled to run."); + } + } catch (RuntimeException e) { + result.recordFatalError("Couldn't schedule the task due to an unexpected exception", e); + } + + showResultInSession(result); + setResponsePage(PageTasks.class); + } + + private static class EmptyOnBlurAjaxFormUpdatingBehaviour extends AjaxFormComponentUpdatingBehavior { public EmptyOnBlurAjaxFormUpdatingBehaviour() { super("onBlur"); diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.properties b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.properties index 811084e23b5..fbd80a5a7c3 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.properties +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskEdit.properties @@ -19,6 +19,7 @@ pageTaskEdit.button.back=Back pageTaskEdit.button.save=Save pageTaskEdit.button.edit=Edit pageTaskEdit.button.resume=Resume +pageTaskEdit.button.runNow=Run now pageTaskEdit.button.suspend=Suspend pageTaskEdit.basic=Basic diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java index 0d68b267e30..e46507871d8 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/parser/XNodeProcessor.java @@ -786,7 +786,7 @@ private SearchFilterType parseFilter(XNode xnode) throws SchemaException { } // TODO: is this warning needed? if (xnode.isEmpty()){ - System.out.println("Emplty filter. Skipping parsing."); + System.out.println("Empty filter. Skipping parsing."); return null; } return SearchFilterType.createFromXNode(xnode); diff --git a/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java b/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java index 3608fdf8841..571dba785b5 100644 --- a/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java +++ b/infra/prism/src/main/java/com/evolveum/midpoint/prism/util/ValueSerializationUtil.java @@ -176,7 +176,7 @@ public static String serializeItemValue(QName itemName, ItemDefinition def, Pris XNodeSerializer serializer = prismContext.getXnodeProcessor().createSerializer(); XNode node = serializer.serializeItemValue(value, def); String s = prismContext.getParserDom().serializeToString(node, itemName); - System.out.println("serialized ITEM VALUE: " + s); + //System.out.println("serialized ITEM VALUE: " + s); return s; } @@ -186,7 +186,7 @@ public static String serializeFilter(SearchFilterType query, PrismContext prismC } public static T deserializeValue(String value, Class clazz, QName itemName, ItemDefinition itemDef, PrismContext prismContext, String language) throws SchemaException{ - System.out.println("item value deserialization"); + //System.out.println("item value deserialization"); XNode xnode = prismContext.getParserDom().parse(value); @@ -236,7 +236,7 @@ public static T deserializeValue(String value, Class clazz, QName itemName, } public static Collection deserializeItemValues(String value, Item item, String language) throws SchemaException{ - System.out.println("item value deserialization"); + //System.out.println("item value deserialization"); PrismContext prismContext = item.getPrismContext(); XNode xnode = prismContext.getParserDom().parse(value); if (xnode instanceof RootXNode){ diff --git a/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/xpath/XPathScriptEvaluator.java b/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/xpath/XPathScriptEvaluator.java index ef1a865d097..31618eb4e68 100644 --- a/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/xpath/XPathScriptEvaluator.java +++ b/model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/xpath/XPathScriptEvaluator.java @@ -141,7 +141,7 @@ private Object evaluate(QName returnType, String code, ExpressionVariables varia throws ExpressionEvaluationException, ObjectNotFoundException, ExpressionSyntaxException { XPathExpressionCodeHolder codeHolder = new XPathExpressionCodeHolder(code); - System.out.println("code " + code); + //System.out.println("code " + code); XPath xpath = factory.newXPath(); XPathVariableResolver variableResolver = new LazyXPathVariableResolver(variables, objectResolver, contextDescription, prismContext, result); diff --git a/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo b/samples/model-client-sample-dotnet/ModelClientSample/ModelClientSample.v11.suo index 9b675d7655a6c494d735dffd3c9755d54222da17..3cf4d9c4e13f2cd2fb4b687beab22c2e6414cb71 100644 GIT binary patch delta 1283 zcmb_cT}TvB6rOXPon~9tW_8olF<0AaE7Q#fgACkNsfhj-BP61tq95oFaiL7IOsmJ% z3p+$Tw4<#O5$;Yn5fP#fK}5M_&_h&$Zxu*n(C>DRtzjb6Ll-{2bM8H7_|A7{=FCOQ znJ&vEZxItxOA!PIhLrzECX=+AhRBHp@|ksLaR2LI(-T<6gRBLHjd5lJuyYXeS1iDy zT!amQeMxHW#CSd;5AhxItkl^&}jB~)0HI`AONh$RRVBFsWuMqo*@fEupJ zvekkc=Ml?!OkOEd`)bULF(n&p${ZA2ULgI8H|Z0*g0 zhRVqAU8M%bbPt=R-jcvhk$516^?Olv4}MCGgKxuN}7< z;e7 z!9LJ1EH}dozz-JsPV&u{Zg8h*5ih8ws=_ElJs|R;@-BegrUNm!ITwmPSRC5Zsce|mW_Q{^sa==w&a61@PT*7kl$Z^OP$bYth8dvCsDz^khp<}*|_^t69s+FtT`$Hr%Kkrhz+I}VZ!$3-< zn$r~d_Qc8;3(LdvskoZ^ealZGIS2mU;i)Q`HKtvJe-51e1W>m;yHV2t)waovrFQ=*Qp_Fb$%!W{wIyxCZ|$xRM9o zTHWr+*U^1yy#HE2Gpfn8M0RMxSLpsxtM$H9-5sJ*x)_&>lWFH@gUq~~R_RP}oy;5^ zkkiLEsskU)P-(OnQN@etl>GO4LM7%Fn`Q(F=MORECtZ67oA6tZMj|2K)(q=ND8TpO z6P>rr##RTDPXTZI8JGbVK@ofoaG8Ttx_NlL99v4rHmqx7|XQl~B|+qa_hl{?%(K3dDUQ;qZhMMn8wXKi@r#t?_yn^8)VeZG?n*U;%t zvai;YvaxWF`_DFttdp%>aW~#Zw<5Ci+o(I5pwo1zpM-El2d$F*=EJnx-Q7bAf&Ty^ C7O^e> From 0356930ae8e60d9c925b434f1339a2ba7876c6a4 Mon Sep 17 00:00:00 2001 From: Viliam Repan Date: Wed, 28 May 2014 16:33:43 +0200 Subject: [PATCH 22/27] renamed sql scripts to 3.0 --- config/sql/midpoint/{2.3/h2/h2-2.3.sql => 3.0/h2/h2-3.0.sql} | 0 .../midpoint/{2.3/mysql/mysql-2.3.sql => 3.0/mysql/mysql-3.0.sql} | 0 .../{2.3/oracle/oracle-2.3.sql => 3.0/oracle/oracle-3.0.sql} | 0 .../postgresql-2.3.sql => 3.0/postgresql/postgresql-3.0.sql} | 0 .../sqlserver-2.3.sql => 3.0/sqlserver/sqlserver-3.0.sql} | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename config/sql/midpoint/{2.3/h2/h2-2.3.sql => 3.0/h2/h2-3.0.sql} (100%) rename config/sql/midpoint/{2.3/mysql/mysql-2.3.sql => 3.0/mysql/mysql-3.0.sql} (100%) rename config/sql/midpoint/{2.3/oracle/oracle-2.3.sql => 3.0/oracle/oracle-3.0.sql} (100%) rename config/sql/midpoint/{2.3/postgresql/postgresql-2.3.sql => 3.0/postgresql/postgresql-3.0.sql} (100%) rename config/sql/midpoint/{2.3/sqlserver/sqlserver-2.3.sql => 3.0/sqlserver/sqlserver-3.0.sql} (100%) diff --git a/config/sql/midpoint/2.3/h2/h2-2.3.sql b/config/sql/midpoint/3.0/h2/h2-3.0.sql similarity index 100% rename from config/sql/midpoint/2.3/h2/h2-2.3.sql rename to config/sql/midpoint/3.0/h2/h2-3.0.sql diff --git a/config/sql/midpoint/2.3/mysql/mysql-2.3.sql b/config/sql/midpoint/3.0/mysql/mysql-3.0.sql similarity index 100% rename from config/sql/midpoint/2.3/mysql/mysql-2.3.sql rename to config/sql/midpoint/3.0/mysql/mysql-3.0.sql diff --git a/config/sql/midpoint/2.3/oracle/oracle-2.3.sql b/config/sql/midpoint/3.0/oracle/oracle-3.0.sql similarity index 100% rename from config/sql/midpoint/2.3/oracle/oracle-2.3.sql rename to config/sql/midpoint/3.0/oracle/oracle-3.0.sql diff --git a/config/sql/midpoint/2.3/postgresql/postgresql-2.3.sql b/config/sql/midpoint/3.0/postgresql/postgresql-3.0.sql similarity index 100% rename from config/sql/midpoint/2.3/postgresql/postgresql-2.3.sql rename to config/sql/midpoint/3.0/postgresql/postgresql-3.0.sql diff --git a/config/sql/midpoint/2.3/sqlserver/sqlserver-2.3.sql b/config/sql/midpoint/3.0/sqlserver/sqlserver-3.0.sql similarity index 100% rename from config/sql/midpoint/2.3/sqlserver/sqlserver-2.3.sql rename to config/sql/midpoint/3.0/sqlserver/sqlserver-3.0.sql From 2815706f76b6c2e3a48d41882689f9b598a2f82a Mon Sep 17 00:00:00 2001 From: Viliam Repan Date: Wed, 28 May 2014 16:34:02 +0200 Subject: [PATCH 23/27] fixed MID-1885 . end user role authorizations. --- .../initial-objects/040-role-enduser.xml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gui/admin-gui/src/main/resources/initial-objects/040-role-enduser.xml b/gui/admin-gui/src/main/resources/initial-objects/040-role-enduser.xml index 6cabc1b0e16..02171717989 100644 --- a/gui/admin-gui/src/main/resources/initial-objects/040-role-enduser.xml +++ b/gui/admin-gui/src/main/resources/initial-objects/040-role-enduser.xml @@ -22,4 +22,31 @@ http://midpoint.evolveum.com/xml/ns/public/security/authorization-3#dashboard http://midpoint.evolveum.com/xml/ns/public/security/authorization-3#myPasswords + + http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read + + self + + + + http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read + + ShadowType + + self + + + + + http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read + + OrgType + + + ResourceType + + + RoleType + + \ No newline at end of file From b534deacbadfc9d1436c1482f1844f6382f456c0 Mon Sep 17 00:00:00 2001 From: garbika Date: Wed, 28 May 2014 16:51:29 +0200 Subject: [PATCH 24/27] repair reconciliaton report --- .../100-report-reconciliation.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/gui/admin-gui/src/main/resources/initial-objects/100-report-reconciliation.xml b/gui/admin-gui/src/main/resources/initial-objects/100-report-reconciliation.xml index a236273ab5b..295398204e9 100644 --- a/gui/admin-gui/src/main/resources/initial-objects/100-report-reconciliation.xml +++ b/gui/admin-gui/src/main/resources/initial-objects/100-report-reconciliation.xml @@ -27,7 +27,7 @@ Reconciliation report for selected resource. true - + UEQ5NGJXd2dkbVZ5YzJsdmJqMGlNUzR3SWo4K0RRbzhJVVJQUTFSWlVFVWdhbUZ6Y0dWeVZHVnRjR3hoZEdVTkNpQWdVRlZDVEVsRElDSXRMeTlLWVhOd1pYSlNaWEJ2Y25Sekx5OUVWRVFnVkdWdGNHeGhkR1V2TDBWT0lnMEtJQ0FpYUhSMGNEb3ZMMnBoYzNCbGNuSmxjRzl5ZEhNdWMyOTFjbU5sWm05eVoyVXVibVYwTDJSMFpITXZhbUZ6Y0dWeWRHVnRjR3hoZEdVdVpIUmtJajROQ2p4cVlYTndaWEpVWlcxd2JHRjBaVDROQ2lBZ0lDQUpDVHh6ZEhsc1pTQm1iMjUwVG1GdFpUMGlSR1ZxWVZaMUlGTmhibk1pSUdadmJuUlRhWHBsUFNJeE1DSWdhRUZzYVdkdVBTSk1aV1owSWlCcGMwUmxabUYxYkhROUluUnlkV1VpSUdselVHUm1SVzFpWldSa1pXUTlJblJ5ZFdVaUlBMEtDUWtKQ1NBZ0lHNWhiV1U5SWtKaGMyVWlJSEJrWmtWdVkyOWthVzVuUFNKSlpHVnVkR2wwZVMxSUlpQndaR1pHYjI1MFRtRnRaVDBpUkdWcVlWWjFVMkZ1Y3k1MGRHWWlJSFpCYkdsbmJqMGlUV2xrWkd4bElqNE5DZ2tKQ1R3dmMzUjViR1UrRFFvSkNRazhjM1I1YkdVZ1ltRmphMk52Ykc5eVBTSWpNalkzT1RrMElpQm1iMjUwVTJsNlpUMGlNallpSUdadmNtVmpiMnh2Y2owaUkwWkdSa1pHUmlJZ2FYTkVaV1poZFd4MFBTSm1ZV3h6WlNJTkNpQWdJQ0FnSUNBZ0lDQWdJQ0FnSUNBZ0lDQnRiMlJsUFNKUGNHRnhkV1VpSUc1aGJXVTlJbFJwZEd4bElpQnpkSGxzWlQwaVFtRnpaU0l2UGlBTkNna0pDVHh6ZEhsc1pTQm1iMjUwVTJsNlpUMGlNVElpSUdadmNtVmpiMnh2Y2owaUl6QXdNREF3TUNJZ2FYTkVaV1poZFd4MFBTSm1ZV3h6WlNJZ2JtRnRaVDBpVUdGblpTQm9aV0ZrWlhJaURRb2dJQ0FnSUNBZ0lDQWdJQ0FnSUNBZ0lDQWdjM1I1YkdVOUlrSmhjMlVpTHo0TkNna0pDVHh6ZEhsc1pTQmlZV05yWTI5c2IzSTlJaU16TXpNek16TWlJR1p2Ym5SVGFYcGxQU0l4TWlJZ1ptOXlaV052Ykc5eVBTSWpSa1pHUmtaR0lpQm9RV3hwWjI0OUlrTmxiblJsY2lJTkNpQWdJQ0FnSUNBZ0lDQWdJQ0FnSUNBZ0lDQnBjMFJsWm1GMWJIUTlJbVpoYkhObElpQnRiMlJsUFNKUGNHRnhkV1VpSUc1aGJXVTlJa052YkhWdGJpQm9aV0ZrWlhJaUlITjBlV3hsUFNKQ1lYTmxJaTgrRFFvSkNRazhjM1I1YkdVZ2FYTkNiMnhrUFNKbVlXeHpaU0lnYVhORVpXWmhkV3gwUFNKbVlXeHpaU0lnYm1GdFpUMGlSR1YwWVdsc0lpQnpkSGxzWlQwaVFtRnpaU0l2UGcwS0NRa0pQSE4wZVd4bElHWnZiblJUYVhwbFBTSTVJaUJtYjNKbFkyOXNiM0k5SWlNd01EQXdNREFpSUdselJHVm1ZWFZzZEQwaVptRnNjMlVpSUc1aGJXVTlJbEJoWjJVZ1ptOXZkR1Z5SWcwS0lDQWdJQ0FnSUNBZ0lDQWdJQ0FnSUNBZ0lITjBlV3hsUFNKQ1lYTmxJaTgrRFFvSkNUd3ZhbUZ6Y0dWeVZHVnRjR3hoZEdVKw== landscape pdf @@ -73,10 +73,11 @@ s.synchronizationSituation as situation, s.synchronizationTimestamp as situationTimestamp from RShadow as s join s.resourceRef as resRef - where resRef.type = 5 and resRef.targetOid = $P{resourceOid} and s.kind = 0 + where s.objectClass = $P{objectClass} and resRef.type = 5 and resRef.targetOid = $P{resourceOid} and s.kind = 0 order by s.synchronizationSituation, s.name.orig - ri:AccountObjectClass + http://midpoint.evolveum.com/xml/ns/public/resource/instance-3#AccountObjectClass + Account ef2bc95b-76e0-48e2-86d6-3d4f02d3fafe Localhost CSVfile default @@ -107,8 +108,8 @@ - - + + Object Class: @@ -116,6 +117,14 @@ + + + + Object Class Name: + + + + From 6b3ab56a38ee30225909436bec66dd1f5475cedb Mon Sep 17 00:00:00 2001 From: Viliam Repan Date: Wed, 28 May 2014 16:56:27 +0200 Subject: [PATCH 25/27] yet another attempt to fix dashboard panels loading. MID-1853 --- .../web/component/AsyncUpdatePanel.java | 2 +- .../SecurityContextAwareCallable.java | 53 +++++++++++++++++++ .../web/page/admin/home/PageDashboard.java | 45 +++++++++------- 3 files changed, 79 insertions(+), 21 deletions(-) create mode 100644 gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/SecurityContextAwareCallable.java diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AsyncUpdatePanel.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AsyncUpdatePanel.java index 3e419a2bba6..ed160941c07 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AsyncUpdatePanel.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AsyncUpdatePanel.java @@ -129,5 +129,5 @@ public boolean isVisible() { * @param callableParameterModel Model providing access to parameters needed by the callable * @return A callable instance that encapsulates the logic needed to obtain the panel data */ - protected abstract Callable createCallable(Authentication auth, IModel callableParameterModel); + protected abstract SecurityContextAwareCallable createCallable(Authentication auth, IModel callableParameterModel); } diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/SecurityContextAwareCallable.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/SecurityContextAwareCallable.java new file mode 100644 index 00000000000..9288fc10ecb --- /dev/null +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/SecurityContextAwareCallable.java @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2010-2014 Evolveum + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.evolveum.midpoint.web.component; + +import com.evolveum.midpoint.security.api.SecurityEnforcer; +import org.apache.commons.lang.Validate; +import org.springframework.security.core.Authentication; + +import java.util.concurrent.Callable; + +/** + * @author lazyman + */ +public abstract class SecurityContextAwareCallable implements Callable { + + private SecurityEnforcer enforcer; + private Authentication authentication; + + protected SecurityContextAwareCallable(SecurityEnforcer enforcer, Authentication authentication) { + Validate.notNull(enforcer, "Security enforcer must not be null."); + + this.enforcer = enforcer; + this.authentication = authentication; + } + + @Override + public final V call() throws Exception { + enforcer.setupPreAuthenticatedSecurityContext(authentication); + + try { + return callWithContextPrepared(); + } finally { + enforcer.setupPreAuthenticatedSecurityContext((Authentication) null); + //todo cleanup security context + } + } + + public abstract V callWithContextPrepared() throws Exception; +} diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java index 219bd5713d2..b84839a5ae0 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java @@ -26,6 +26,7 @@ import com.evolveum.midpoint.util.logging.TraceManager; import com.evolveum.midpoint.web.application.AuthorizationAction; import com.evolveum.midpoint.web.application.PageDescriptor; +import com.evolveum.midpoint.web.component.SecurityContextAwareCallable; import com.evolveum.midpoint.web.component.assignment.AssignmentEditorDtoType; import com.evolveum.midpoint.web.component.util.CallableResult; import com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour; @@ -209,12 +210,14 @@ private void initSystemInfo() { "fa fa-fw fa-tachometer", DashboardColor.GREEN) { @Override - protected Callable> createCallable(final Authentication auth, - IModel callableParameterModel) { - return new Callable>() { + protected SecurityContextAwareCallable> createCallable( + Authentication auth, IModel callableParameterModel) { + + return new SecurityContextAwareCallable>( + getSecurityEnforcer(), auth) { @Override - public CallableResult call() throws Exception { + public CallableResult callWithContextPrepared() throws Exception { CallableResult callableResult = new CallableResult(); //TODO - fill correct data in users and tasks graphs[shood] @@ -246,12 +249,14 @@ private void initMyWorkItems() { "fa fa-fw fa-tasks", DashboardColor.RED) { @Override - protected Callable>> createCallable(final Authentication auth, - IModel callableParameterModel) { - return new Callable>>() { + protected SecurityContextAwareCallable>> createCallable( + Authentication auth, IModel callableParameterModel) { + + return new SecurityContextAwareCallable>>( + getSecurityEnforcer(), auth) { @Override - public CallableResult> call() throws Exception { + public CallableResult> callWithContextPrepared() throws Exception { return loadWorkItems(); } }; @@ -278,15 +283,15 @@ private void initMyAccounts() { "fa fa-fw fa-external-link", DashboardColor.BLUE) { @Override - protected Callable>> createCallable(final Authentication auth, - IModel callableParameterModel) { + protected SecurityContextAwareCallable>> createCallable( + Authentication auth, IModel callableParameterModel) { - return new Callable>>() { + return new SecurityContextAwareCallable>>( + getSecurityEnforcer(), auth) { @Override - public AccountCallableResult> call() throws Exception { -// getSecurityEnforcer().setupPreAuthenticatedSecurityContext(); - + public AccountCallableResult> callWithContextPrepared() + throws Exception { return loadAccounts(); } }; @@ -331,14 +336,14 @@ private void initAssignments() { "fa fa-fw fa-star", DashboardColor.YELLOW) { @Override - protected Callable>> createCallable(final Authentication auth, - IModel callableParameterModel) { - return new Callable>>() { + protected SecurityContextAwareCallable>> createCallable( + Authentication auth, IModel callableParameterModel) { - @Override - public CallableResult> call() throws Exception { - getSecurityEnforcer().setupPreAuthenticatedSecurityContext(auth); + return new SecurityContextAwareCallable>>( + getSecurityEnforcer(), auth) { + @Override + public CallableResult> callWithContextPrepared() throws Exception { return loadAssignments(); } }; From 924940868a509aafeaaa920673b96b7655dd7b4b Mon Sep 17 00:00:00 2001 From: MartinDevecka Date: Wed, 28 May 2014 18:20:21 +0200 Subject: [PATCH 26/27] add declare namespace into correlation rule in opendj demo resource --- samples/demo/opendj.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/demo/opendj.xml b/samples/demo/opendj.xml index e7f9ee1748b..6b426b5297e 100644 --- a/samples/demo/opendj.xml +++ b/samples/demo/opendj.xml @@ -478,7 +478,10 @@ c:name - $account/attributes/ri:uid + + declare namespace ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"; + $account/attributes/ri:uid + From 99898214b9ca07ebb87d6c885af9708efb17cfcf Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Wed, 28 May 2014 19:07:40 +0200 Subject: [PATCH 27/27] Bulk actions task sample + minor enhancements. --- .../web/page/admin/PageAdmin.properties | 1 + .../page/admin/server/PageTaskAdd.properties | 1 + .../impl/scripting/ExecutionContext.java | 7 ++++ .../scripting/ScriptExecutionTaskHandler.java | 5 ++- .../midpoint/task/api/TaskCategory.java | 1 + .../tasks/bulk-actions/recompute-users.xml | 41 +++++++++++++++++++ 6 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 samples/tasks/bulk-actions/recompute-users.xml diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdmin.properties b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdmin.properties index 3f7ed00e094..705f0a9fa89 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdmin.properties +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdmin.properties @@ -64,6 +64,7 @@ pageTasks.runsContinually=runs continually pageTasks.category.AllCategories=All categories pageTasks.category.Demo=Demo +pageTasks.category.BulkActions=Bulk actions pageTasks.category.ImportFromFile=Import from file pageTasks.category.ImportingAccounts=Importing accounts pageTasks.category.LiveSynchronization=Live synchronization diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskAdd.properties b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskAdd.properties index d6a7d9b5551..2fdba8fd07e 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskAdd.properties +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskAdd.properties @@ -38,6 +38,7 @@ pageTask.category.Demo=Demo pageTask.category.ImportFromFile=Import from file pageTask.category.ImportingAccounts=Importing accounts pageTask.category.LiveSynchronization=Live synchronization +pageTask.category.BulkActions=Bulk actions pageTask.category.Reconciliation=Reconciliation pageTask.category.UserRecomputation=User recomputation pageTask.category.Workflow=Workflow diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ExecutionContext.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ExecutionContext.java index 3715033846f..f567e7921ba 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ExecutionContext.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ExecutionContext.java @@ -18,6 +18,8 @@ import com.evolveum.midpoint.prism.Item; import com.evolveum.midpoint.task.api.Task; +import com.evolveum.midpoint.util.logging.Trace; +import com.evolveum.midpoint.util.logging.TraceManager; import java.util.HashMap; import java.util.Map; @@ -28,6 +30,8 @@ * @author mederly */ public class ExecutionContext { + private static final Trace LOGGER = TraceManager.getTrace(ExecutionContext.class); + private Task task; private StringBuilder consoleOutput = new StringBuilder(); private Map variables = new HashMap<>(); @@ -64,6 +68,9 @@ public String getConsoleOutput() { public void println(Object o) { consoleOutput.append(o).append("\n"); + if (o != null) { + LOGGER.info(o.toString()); // temporary, until some better way of logging bulk action executions is found + } } public Data getFinalOutput() { diff --git a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptExecutionTaskHandler.java b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptExecutionTaskHandler.java index ba411ce538d..b423248356b 100644 --- a/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptExecutionTaskHandler.java +++ b/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptExecutionTaskHandler.java @@ -65,7 +65,8 @@ public TaskRunResult run(Task task) { } try { - scriptingExpressionEvaluator.evaluateExpression(executeScriptProperty.getRealValue(), task, result); + ExecutionContext resultingContext = scriptingExpressionEvaluator.evaluateExpression(executeScriptProperty.getRealValue(), task, result); + LOGGER.debug("Execution result:\n", resultingContext.getConsoleOutput()); result.computeStatus(); runResult.setRunResultStatus(TaskRunResult.TaskRunResultStatus.FINISHED); } catch (ScriptExecutionException e) { @@ -90,7 +91,7 @@ public void refreshStatus(Task task) { @Override public String getCategoryName(Task task) { - return TaskCategory.WORKFLOW; + return TaskCategory.BULK_ACTIONS; } @Override diff --git a/repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskCategory.java b/repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskCategory.java index d801140e202..544e26c1108 100644 --- a/repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskCategory.java +++ b/repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskCategory.java @@ -29,6 +29,7 @@ public class TaskCategory { public static final String IMPORTING_ACCOUNTS = "ImportingAccounts"; public static final String IMPORT_FROM_FILE = "ImportFromFile"; public static final String LIVE_SYNCHRONIZATION = "LiveSynchronization"; + public static final String BULK_ACTIONS = "BulkActions"; public static final String MOCK = "Mock"; public static final String USER_RECOMPUTATION = "UserRecomputation"; public static final String RECONCILIATION = "Reconciliation"; diff --git a/samples/tasks/bulk-actions/recompute-users.xml b/samples/tasks/bulk-actions/recompute-users.xml new file mode 100644 index 00000000000..07f99588bb1 --- /dev/null +++ b/samples/tasks/bulk-actions/recompute-users.xml @@ -0,0 +1,41 @@ + + + + + + + Recompute all users + + + + c:UserType + + recompute + + + + + + runnable + + BulkActions + http://midpoint.evolveum.com/xml/ns/public/model/scripting/handler-3 + single + + +