Class MapPropertiesOnTaskOperation
- java.lang.Object
-
- org.nuxeo.ecm.platform.routing.api.operation.MapPropertiesOnTaskOperation
-
public class MapPropertiesOnTaskOperation extends Object
Applies the mapping passed as parameter on the input task document. The sourceDoc in the mapping is the input document in the workflow.- Since:
- 5.6
-
-
Field Summary
Fields Modifier and Type Field Description protected OperationContext
ctx
static String
ID
protected String
mappingName
protected PropertiesMappingService
mappingService
protected DocumentRoutingService
routing
protected CoreSession
session
-
Constructor Summary
Constructors Constructor Description MapPropertiesOnTaskOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run(DocumentModel taskDoc)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
ctx
protected OperationContext ctx
-
mappingName
protected String mappingName
-
routing
protected DocumentRoutingService routing
-
mappingService
protected PropertiesMappingService mappingService
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel taskDoc)
-
-