Interface ItemTransformer
- All Known Subinterfaces:
JEXLItemTransformer
- All Known Implementing Classes:
DateToDateItemTransformer,DateToLongItemTransformer,JEXLItemTransformerImpl
public interface ItemTransformer
Transforms values to be propagated to (or pulling from) external resources right before they leave (or enter)
the Syncope internal storage.
-
Method Summary
Modifier and TypeMethodDescriptiondefault MappingManager.IntValuesbeforePropagation(Item item, Attributable attributable, AttrSchemaType schemaType, List<PlainAttrValue> values) Invoked while preparing attribute values to be sent out to external resource during propagation.beforePull(Item item, EntityTO entityTO, List<Object> values) Invoked while reading attribute values from external resource during pull.
-
Method Details
-
beforePropagation
default MappingManager.IntValues beforePropagation(Item item, Attributable attributable, AttrSchemaType schemaType, List<PlainAttrValue> values) Invoked while preparing attribute values to be sent out to external resource during propagation.- Parameters:
item- mapping itemattributable- any or realmschemaType- schema typevalues- original values- Returns:
- transformed values
-
beforePull
Invoked while reading attribute values from external resource during pull.- Parameters:
item- mapping itementityTO- entityvalues- original values- Returns:
- transformed values
-