public class DataSupplierFlowActionHandler
extends java.lang.Object
| Constructor and Description |
|---|
DataSupplierFlowActionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSystemId(WidgetModel widgetModel)
Validates entered System ID.
|
protected MediaModel |
createMedia(java.io.File generatedWar)
Creates a media file and gets MediaModel
|
protected java.io.File |
generateWarFile(WidgetModel model)
Stores entered properties and generate the war file
|
DataSupplierGenerationService |
getGenerationService() |
protected MediaService |
getMediaService() |
ModelService |
getModelService() |
void |
perform(CustomType customType,
FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> parameters)
(non-Javadoc)
|
protected void |
putFieldValue(java.util.Properties additionalProperties,
java.lang.String key,
java.lang.String fieldName,
WidgetModel model) |
void |
setMediaService(MediaService mediaService) |
void |
setModelService(ModelService modelService) |
public void perform(CustomType customType,
FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> parameters)
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler#perform(com.hybris.cockpitng.config.jaxb.
wizard. CustomType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter, Map) protected void checkSystemId(WidgetModel widgetModel)
widgetModel - - The widget model from which the systemID will be retrieved.ValidationException - - If the System Id does not meet the requirements.protected java.io.File generateWarFile(WidgetModel model)
model - - the WidgetModel from which the field values will be taken.protected MediaModel createMedia(java.io.File generatedWar) throws JaloBusinessException
generatedWar - - Generated data supplier fileJaloBusinessException - if the file does not existprotected void putFieldValue(java.util.Properties additionalProperties,
java.lang.String key,
java.lang.String fieldName,
WidgetModel model)
additionalProperties - - configuration used to generate the war file.key - - Data Supplier value key.fieldName - - field name from which the value will be taken.model - - the WidgetModel from which the field values will be taken.public DataSupplierGenerationService getGenerationService()
protected MediaService getMediaService()
public void setMediaService(MediaService mediaService)
mediaService - - sets MediaServicepublic ModelService getModelService()
public void setModelService(ModelService modelService)
modelService - - sets the ModelServiceCopyright © 2018 SAP SE. All Rights Reserved.