Package io.jmix.data.impl.converters
Class AuditConversionServiceImpl
java.lang.Object
io.jmix.data.impl.converters.AuditConversionServiceImpl
- All Implemented Interfaces:
- AuditConversionService
@Component("data_AuditConversionService")
public class AuditConversionServiceImpl
extends Object
implements AuditConversionService
Default implementation to support common types.
 Instantiate this bean and add custom converters to support different date/time and user types.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddConverter(org.springframework.core.convert.converter.Converter<?, ?> converter) voidaddConverters(Collection<org.springframework.core.convert.converter.Converter<?, ?>> converters) booleancanConvert(Class<?> sourceType, Class<?> targetType) <T> Torg.springframework.core.convert.support.GenericConversionService
- 
Constructor Details- 
AuditConversionServiceImplpublic AuditConversionServiceImpl()
 
- 
- 
Method Details- 
canConvert- Specified by:
- canConvertin interface- AuditConversionService
- See Also:
- 
- ConversionService.canConvert(Class, Class)
 
 
- 
convert- Specified by:
- convertin interface- AuditConversionService
- See Also:
- 
- ConversionService.convert(Object, Class)
 
 
- 
addConverterpublic void addConverter(org.springframework.core.convert.converter.Converter<?, ?> converter) 
- 
addConverterspublic void addConverters(Collection<org.springframework.core.convert.converter.Converter<?, ?>> converters) 
- 
getConversionServicepublic org.springframework.core.convert.support.GenericConversionService getConversionService()
 
-