Package org.cyclos.impl.system
Interface ImportWithImageHandler<DTO extends ImportedFileDTO,D extends ImportedFileData,IF extends ImportedFile,E extends SimpleEntity>
-
- All Superinterfaces:
ImportHandler<DTO,D,IF,E>
public interface ImportWithImageHandler<DTO extends ImportedFileDTO,D extends ImportedFileData,IF extends ImportedFile,E extends SimpleEntity> extends ImportHandler<DTO,D,IF,E>
handler for imports that has a main entity with associated imported images.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportedFieldgetImagesField(IF importedFile)Returns the imported field which represents the imagesvoidprocessImportedImages(E entity, List<ImportedImage> images)Actually copies the given images into the entity-
Methods inherited from interface org.cyclos.impl.system.ImportHandler
fieldName, finishImport, getAllowedImportFieldsPredicate, getData, getEntityClass, getFieldsInList, getImportedFileClass, getImportType, getMissingRequiredFields, instantiateContext, newEntity, newImportedFile, onImportError, processImportedLine, resolveValidator, validateImportedLine
-
-
-
-
Method Detail
-
getImagesField
ImportedField getImagesField(IF importedFile)
Returns the imported field which represents the images
-
processImportedImages
void processImportedImages(E entity, List<ImportedImage> images)
Actually copies the given images into the entity
-
-