Class C4C2YTicketEventsPopulator<SOURCE extends ServiceRequestData,TARGET extends TicketData>
- java.lang.Object
-
- de.hybris.platform.customerticketingc4cintegration.converters.populators.C4C2YTicketEventsPopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class C4C2YTicketEventsPopulator<SOURCE extends ServiceRequestData,TARGET extends TicketData> extends java.lang.Object implements Populator<SOURCE,TARGET>
-
-
Constructor Summary
Constructors Constructor Description C4C2YTicketEventsPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationServicegetConfigurationService()protected java.lang.StringgetCreatedBy(Note note)protected CustomerFacadegetCustomerFacade()protected java.util.DateparseDate(java.lang.String date)voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.voidsetConfigurationService(ConfigurationService configurationService)voidsetCustomerFacade(CustomerFacade customerFacade)
-
-
-
Method Detail
-
populate
public void populate(SOURCE source, TARGET target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends ServiceRequestData,TARGET extends TicketData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
parseDate
protected java.util.Date parseDate(java.lang.String date)
-
getCreatedBy
protected java.lang.String getCreatedBy(Note note)
-
getCustomerFacade
protected CustomerFacade getCustomerFacade()
-
setCustomerFacade
public void setCustomerFacade(CustomerFacade customerFacade)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-