public class DefaultImportCockpitMappingService extends AbstractImportCockpitMappingService
JAXB_MAPPING_ROOT_TYPES| Constructor and Description |
|---|
DefaultImportCockpitMappingService() |
| Modifier and Type | Method and Description |
|---|---|
MappingModel |
copyMapping(ImportCockpitMappingModel sourceMappingModel,
Reader reader)
Creates and returns a new mapping that contains a copy of the mapping XML of
a given ImportCockpitMapping object.
|
List<ImportCockpitMappingModel> |
findMappingsWithUrl()
Retrieves all mappings with a URL from the database.
|
MappingModel |
loadMapping(ImportCockpitCronJobModel jobModel)
Loads a mapping from a job if available.
|
MappingModel |
retrieveMapping(ImportCockpitCronJobModel processModel)
Loads the mapping from a supplied cron job (ImportCockpitCronJobModel).
|
void |
validateAndSaveMapping(MappingModel mappingModel,
String mappingName,
ImportCockpitCronJobModel processModel) |
void |
validateAndSaveMapping(MappingModel mappingModel,
String mappingName,
ImportCockpitCronJobModel processModel,
boolean saveAs) |
createMapping, createMappingXML, getImportCockpitMappingDao, getImportCockpitMediaService, getMappingLineConfigService, getMappingLineTypeService, getMappingXMLData, getMediaService, getModelService, getModelValidationService, getTransformationService, getTypeService, loadMappingFromXml, saveMappingToProcessModel, setImportCockpitMappingDao, setImportCockpitMediaService, setMappingLineConfigService, setMappingLineTypeService, setMediaService, setModelService, setModelValidationService, setTransformationService, setTypeServicepublic MappingModel loadMapping(ImportCockpitCronJobModel jobModel)
ImportCockpitMappingServicejobModel - jobpublic MappingModel retrieveMapping(ImportCockpitCronJobModel processModel)
ImportCockpitMappingServiceprocessModel - jobpublic MappingModel copyMapping(ImportCockpitMappingModel sourceMappingModel, Reader reader)
ImportCockpitMappingServicesourceMappingModel - ,it is the ImportCockpitMappingpublic List<ImportCockpitMappingModel> findMappingsWithUrl()
ImportCockpitMappingServicepublic void validateAndSaveMapping(MappingModel mappingModel, String mappingName, ImportCockpitCronJobModel processModel) throws ModelSavingException
ModelSavingExceptionpublic void validateAndSaveMapping(MappingModel mappingModel, String mappingName, ImportCockpitCronJobModel processModel, boolean saveAs) throws ModelSavingException
ModelSavingExceptionCopyright © 2017 SAP SE. All Rights Reserved.