Class ActionDefinitionMapperImpl
java.lang.Object
com.flowable.action.rest.service.api.mapper.definition.ActionDefinitionMapperImpl
- All Implemented Interfaces:
ActionDefinitionMapper
@Component public class ActionDefinitionMapperImpl extends java.lang.Object implements ActionDefinitionMapper
-
Constructor Summary
Constructors Constructor Description ActionDefinitionMapperImpl() -
Method Summary
Modifier and Type Method Description ActionDefinitionResponsetoResponse(ActionDefinition actionDefinition, ActionDefinitionModel actionDefinitionModel, ActionTemplateService actionTemplateService, ScopedObjectWrapper scopedObject)ActionDefinitionResponsetoResponse(ActionDefinition actionDefinition, ActionDefinitionModel actionDefinitionModel, ActionInstance actionInstance, ActionTemplateService actionTemplateService, ScopedObjectWrapper scopedObjectWrapper)Create anActionDefinitionResponsefrom the providedactionDefinition,actionDefinitionModelandactionInstance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.flowable.action.rest.service.api.mapper.definition.ActionDefinitionMapper
toResponse
-
Constructor Details
-
ActionDefinitionMapperImpl
public ActionDefinitionMapperImpl()
-
-
Method Details
-
toResponse
public ActionDefinitionResponse toResponse(ActionDefinition actionDefinition, ActionDefinitionModel actionDefinitionModel, ActionTemplateService actionTemplateService, ScopedObjectWrapper scopedObject)Description copied from interface:ActionDefinitionMapperCreate anActionDefinitionResponsefrom the providedactionDefinitionandactionDefinitionModel. The {code actionTemplateService} andfilterContextare used for enhancing the response with confirmation and title message.- Specified by:
toResponsein interfaceActionDefinitionMapper- Parameters:
actionDefinition- the action definition that should be used for the mappingactionDefinitionModel- the action definition model that should be used for the mappingactionTemplateService- tha action template service that is used to create the messages and titlescopedObject- the scoped object related to the action definition- Returns:
- the
ActionDefinitionResponse
-
toResponse
public ActionDefinitionResponse toResponse(ActionDefinition actionDefinition, ActionDefinitionModel actionDefinitionModel, ActionInstance actionInstance, ActionTemplateService actionTemplateService, ScopedObjectWrapper scopedObjectWrapper)Description copied from interface:ActionDefinitionMapperCreate anActionDefinitionResponsefrom the providedactionDefinition,actionDefinitionModelandactionInstance. The {code actionTemplateService} andfilterContextare used for enhancing the response with confirmation and title message.- Specified by:
toResponsein interfaceActionDefinitionMapper- Parameters:
actionDefinition- the action definition that should be used for the mappingactionDefinitionModel- the action definition model that should be used for the mappingactionInstance- the action used that should be used for the mappingactionTemplateService- tha action template service that is used to create the messages and titlescopedObjectWrapper- the scoped object related to the action definition- Returns:
- the
ActionDefinitionResponse
-