Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
devel:documentation:synchronization:dev:contract-slice-sync [2019/08/13 13:26]
doischert [Fields for sync contractual relationship mapping]
devel:documentation:synchronization:dev:contract-slice-sync [2019/08/13 13:30]
doischert [Fields for sync contractual relationship mapping]
Line 30: Line 30:
 Bellow is an example of contractual relationship mapping using slices. This is only an example; in general, slices must be mapped in the same way that contracts are but must have two extra attributes: "Valid from of slice" and some sort of "Slice ID". Bellow is an example of contractual relationship mapping using slices. This is only an example; in general, slices must be mapped in the same way that contracts are but must have two extra attributes: "Valid from of slice" and some sort of "Slice ID".
  
-  * **Contract code** - Code of the parent contract. This `String` value represents relation between all slices for the same contract. +* **Contract code** - Code of the parent contract. This `String` value represents relation between all slices for the same contract. 
-  * **Valid from of slice** - Defines time from that is slice valid. Valid till of slice is computes automatically (by validity of next slice) after save. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`). +* **Valid from of slice** - Defines time from that is slice valid. Valid till of slice is computes automatically (by validity of next slice) after save. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`). 
-  * **Owner** - Relation owner. Must be identity in IdM. This field is required for every relation. Output from attribute transformation can be:+* **Slice ID** - ID of the time slice, it is often transformed by combining "Contract code" and "Valid from of slice", e. g., "000054-24-07-2019"
 +* **Owner** - Relation owner. Must be identity in IdM. This field is required for every relation. Output from attribute transformation can be:
       * ID of IdM identity in String or UUID format.       * ID of IdM identity in String or UUID format.
       * Username of IdM identity in String.        * Username of IdM identity in String. 
-  * **Main** - Define if is the contract main (between all contracts for the identity). Output from attribute transformation must be Boolean. +* **Main** - Define if is the contract main (between all contracts for the identity). Output from attribute transformation must be Boolean. 
-  * **State** - State of contract. Output from attribute transformation must be enumeration ContractState or String representation for this enumeration (DISABLED, EXCLUDED) (more details see below). +* **State** - State of contract. Output from attribute transformation must be enumeration ContractState or String representation for this enumeration (DISABLED, EXCLUDED) (more details see below). 
-  * **Position** - String representation of contract. Typically name of contract. +* **Position** - String representation of contract. Typically name of contract. 
-  * **Guarantees** - List of leaders, directly linked on the contractual relationship (more details see below).  +* **Guarantees** - List of leaders, directly linked on the contractual relationship (more details see below).  
-  * **Work position** - Define link to some tree node. Generaly define place in organization structure (more details se below).  +* **Work position** - Define link to some tree node. Generaly define place in organization structure (more details se below).  
-  * **Valid from of contract** - Validity for the contractual relationship. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`). +* **Valid from of contract** - Validity for the contractual relationship. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`). 
-  * **Valid till of contract** - Validity for the contractual relationship. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`). +* **Valid till of contract** - Validity for the contractual relationship. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`). 
-  * **Externe** -  If is the contractual relationship for externe identity, then is output value (boolean true) . +* **Externe** -  If is the contractual relationship for externe identity, then is output value (boolean true) . 
-  * **Description** - String for description the relation. +* **Description** - String for description the relation. 
-  * **Slice ID** - ID of the time slice, it is often transformed by combining "Contract code" and "Valid from of slice", e. g., "000054-24-07-2019".+
  
  
  • by kubicar