Class JEXLItemTransformerImpl
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.data.JEXLItemTransformerImpl
-
- All Implemented Interfaces:
ItemTransformer
,JEXLItemTransformer
public class JEXLItemTransformerImpl extends Object implements JEXLItemTransformer
-
-
Constructor Summary
Constructors Constructor Description JEXLItemTransformerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.protected AttrSchemaType
beforePropagation(Any<?> any, AttrSchemaType schemaType, PlainAttrValue value)
List<Object>
beforePull(Item item, EntityTO entityTO, List<Object> values)
Invoked while reading attribute values from external resource during pull.void
setPropagationJEXL(String propagationJEXL)
void
setPullJEXL(String pullJEXL)
-
-
-
Method Detail
-
setPropagationJEXL
public void setPropagationJEXL(String propagationJEXL)
- Specified by:
setPropagationJEXL
in interfaceJEXLItemTransformer
-
setPullJEXL
public void setPullJEXL(String pullJEXL)
- Specified by:
setPullJEXL
in interfaceJEXLItemTransformer
-
beforePropagation
protected AttrSchemaType beforePropagation(Any<?> any, AttrSchemaType schemaType, PlainAttrValue value)
-
beforePropagation
public Pair<AttrSchemaType,List<PlainAttrValue>> beforePropagation(Item item, Any<?> any, AttrSchemaType schemaType, List<PlainAttrValue> values)
Description copied from interface:ItemTransformer
Invoked while preparing attribute values to be sent out to external resource during propagation.- Specified by:
beforePropagation
in interfaceItemTransformer
- Parameters:
item
- mapping itemany
- anyschemaType
- schema typevalues
- original values- Returns:
- transformed values
-
beforePull
public List<Object> beforePull(Item item, EntityTO entityTO, List<Object> values)
Description copied from interface:ItemTransformer
Invoked while reading attribute values from external resource during pull.- Specified by:
beforePull
in interfaceItemTransformer
- Parameters:
item
- mapping itementityTO
- entityvalues
- original values- Returns:
- transformed values
-
-