Package org.cyclos.impl.system
Class ChannelConfigurationDTOConverter
- java.lang.Object
-
- org.cyclos.impl.utils.conversion.AbstractBeanConverter<T>
-
- org.cyclos.impl.utils.conversion.ObjectConverter<ChannelConfigurationDTO>
-
- org.cyclos.impl.system.ChannelConfigurationDTOConverter
-
- All Implemented Interfaces:
BeanConverter<ChannelConfigurationDTO>
@Component public class ChannelConfigurationDTOConverter extends ObjectConverter<ChannelConfigurationDTO>
Custom converter forChannelConfigurationDTO, making sure that the SMS configuration is always converted toSmsChannelConfigurationDTO
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.utils.conversion.AbstractBeanConverter
beanHandler, configurationHandler, conversionHandler, entityManagerHandler, profileFieldHandler
-
-
Constructor Summary
Constructors Constructor Description ChannelConfigurationDTOConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ChannelConfigurationDTOinstantiate(Class<ChannelConfigurationDTO> beanType, Object source, InvocationContext.ConversionContext context)Instantiate the result object from the given source object.-
Methods inherited from class org.cyclos.impl.utils.conversion.ObjectConverter
convert, fill, getSessionData, registerMapping, resolveDestinationType
-
Methods inherited from class org.cyclos.impl.utils.conversion.AbstractBeanConverter
canBeUsedAsSourceForFilling, getApplicationContext, getBeanType, getFormatter
-
-
-
-
Method Detail
-
instantiate
protected ChannelConfigurationDTO instantiate(Class<ChannelConfigurationDTO> beanType, Object source, InvocationContext.ConversionContext context)
Description copied from class:ObjectConverterInstantiate the result object from the given source object. By default, just invoke the default constructor on the bean type- Overrides:
instantiatein classObjectConverter<ChannelConfigurationDTO>
-
-