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. These transformations are not applied to virtual attribute values.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Pair<AttrSchemaType,List<PlainAttrValue>>
beforePropagation(Item item, Any<?> any, AttrSchemaType schemaType, List<PlainAttrValue> values)
Invoked while preparing attribute values to be sent out to external resource during propagation.default List<Object>
beforePull(Item item, EntityTO entityTO, List<Object> values)
Invoked while reading attribute values from external resource during pull.
-
-
-
Method Detail
-
beforePropagation
default Pair<AttrSchemaType,List<PlainAttrValue>> beforePropagation(Item item, Any<?> any, AttrSchemaType schemaType, List<PlainAttrValue> values)
Invoked while preparing attribute values to be sent out to external resource during propagation.- Parameters:
item
- mapping itemany
- anyschemaType
- schema typevalues
- original values- Returns:
- transformed values
-
-