Class JsonAsyncProvisioningRequest
- java.lang.Object
- 
- com.evolveum.midpoint.schema.messaging.JsonAsyncProvisioningRequest
 
- 
 @Experimental public class JsonAsyncProvisioningRequest extends Object A simplified representation of a requested asynchronous provisioning operation. MidPoint offers two such built-in representations: - AsyncProvisioningOperationRequestedType
- this class
 The first one is a direct translation of the operation being requested. It is a Prism structure that can be serialized to any Prism language (XML, JSON, YAML, Axiom). However, it requires Prism implementation at the receiving side in order to be easily and completely parsed. On the other hand, this class provides a simplified representation (or, better, a class of representations) of the asynchronous provisioning operation. It can be easily parsed by any JSON parser without the need of Prism functionality. This class offers a basic structure for the request. It is up to the user how he/she decides to use it. For example, individual item and type names can be qualified or unqualified. "Replace-only" changes can be represented as attributes. And so on. BEWARE: This class is very EXPERIMENTAL. It can change or disappear at any time. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classJsonAsyncProvisioningRequest.DeltaValuesSimple representation of an ItemDelta: contains collections of real values being added/deleted/replaced.
 - 
Constructor SummaryConstructors Constructor Description JsonAsyncProvisioningRequest()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
getOperationpublic String getOperation() 
 - 
setOperationpublic void setOperation(String operation) 
 - 
getObjectClasspublic String getObjectClass() 
 - 
setObjectClasspublic void setObjectClass(String objectClass) 
 - 
getAttributespublic Map<String,Collection<?>> getAttributes() 
 - 
setAttributespublic void setAttributes(Map<String,Collection<?>> attributes) 
 - 
addAttributespublic void addAttributes(Map<String,Collection<?>> added) 
 - 
getAttributesSimplifiedpublic Map<String,Object> getAttributesSimplified() Returns simplified version of the attributes map, suitable e.g. for presentation via Velocity. Each attribute with no values or one value is replaced by scalar, i.e. null or the single item. Attributes with multiple values are represented as lists.
 - 
getPrimaryIdentifierspublic Map<String,Collection<?>> getPrimaryIdentifiers() 
 - 
setPrimaryIdentifierspublic void setPrimaryIdentifiers(Map<String,Collection<?>> primaryIdentifiers) 
 - 
getSecondaryIdentifierspublic Map<String,Collection<?>> getSecondaryIdentifiers() 
 - 
setSecondaryIdentifierspublic void setSecondaryIdentifiers(Map<String,Collection<?>> secondaryIdentifiers) 
 - 
getChangespublic Map<String,JsonAsyncProvisioningRequest.DeltaValues> getChanges() 
 - 
setChangespublic void setChanges(Map<String,JsonAsyncProvisioningRequest.DeltaValues> changes) 
 - 
getAdditionalInformationpublic Object getAdditionalInformation() 
 - 
setAdditionalInformationpublic void setAdditionalInformation(Object additionalInformation) 
 - 
isAddpublic boolean isAdd() 
 - 
isModifypublic boolean isModify() 
 - 
isDeletepublic boolean isDelete() 
 - 
frompublic static JsonAsyncProvisioningRequest from(String req) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
- com.fasterxml.jackson.core.JsonProcessingException
 
 
- 
 
-