Class ImageWritePlatformServiceJpaRepositoryImpl
java.lang.Object
org.apache.fineract.infrastructure.documentmanagement.service.ImageWritePlatformServiceJpaRepositoryImpl
- All Implemented Interfaces:
org.apache.fineract.infrastructure.documentmanagement.service.ImageWritePlatformService
@Service
public class ImageWritePlatformServiceJpaRepositoryImpl
extends Object
implements org.apache.fineract.infrastructure.documentmanagement.service.ImageWritePlatformService
-
Constructor Summary
ConstructorsConstructorDescriptionImageWritePlatformServiceJpaRepositoryImpl(org.apache.fineract.infrastructure.documentmanagement.contentrepository.ContentRepositoryFactory documentStoreFactory, ClientRepositoryWrapper clientRepositoryWrapper, org.apache.fineract.infrastructure.documentmanagement.domain.ImageRepository imageRepository, StaffRepositoryWrapper staffRepositoryWrapper) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteImage(String entityName, Long clientId) org.apache.fineract.infrastructure.core.data.CommandProcessingResultsaveOrUpdateImage(String entityName, Long clientId, String imageName, InputStream inputStream, Long fileSize) org.apache.fineract.infrastructure.core.data.CommandProcessingResultsaveOrUpdateImage(String entityName, Long clientId, org.apache.fineract.infrastructure.core.domain.Base64EncodedImage encodedImage)
-
Constructor Details
-
ImageWritePlatformServiceJpaRepositoryImpl
@Autowired public ImageWritePlatformServiceJpaRepositoryImpl(org.apache.fineract.infrastructure.documentmanagement.contentrepository.ContentRepositoryFactory documentStoreFactory, ClientRepositoryWrapper clientRepositoryWrapper, org.apache.fineract.infrastructure.documentmanagement.domain.ImageRepository imageRepository, StaffRepositoryWrapper staffRepositoryWrapper)
-
-
Method Details
-
saveOrUpdateImage
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult saveOrUpdateImage(String entityName, Long clientId, String imageName, InputStream inputStream, Long fileSize) - Specified by:
saveOrUpdateImagein interfaceorg.apache.fineract.infrastructure.documentmanagement.service.ImageWritePlatformService
-
saveOrUpdateImage
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult saveOrUpdateImage(String entityName, Long clientId, org.apache.fineract.infrastructure.core.domain.Base64EncodedImage encodedImage) - Specified by:
saveOrUpdateImagein interfaceorg.apache.fineract.infrastructure.documentmanagement.service.ImageWritePlatformService
-
deleteImage
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteImage(String entityName, Long clientId) - Specified by:
deleteImagein interfaceorg.apache.fineract.infrastructure.documentmanagement.service.ImageWritePlatformService
-