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 OperationContextctxstatic StringIDprotected StringmappingNameprotected PropertiesMappingServicemappingServiceprotected DocumentRoutingServiceroutingprotected CoreSessionsession
-
Constructor Summary
Constructors Constructor Description MapPropertiesOnTaskOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModelrun(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)
-
-