org.kuali.kfs.module.ar.batch.vo
Class CustomerDigesterAdapter

java.lang.Object
  extended by org.kuali.kfs.module.ar.batch.vo.CustomerDigesterAdapter

public class CustomerDigesterAdapter
extends Object

This class converts a CustomerDigesterVO object to a standard Customer object.


Constructor Summary
CustomerDigesterAdapter()
           
 
Method Summary
 Customer convert(CustomerDigesterVO customerDigesterVO, CustomerLoadBatchErrors errors)
          Converts a CustomerDigesterVO to a real Customer BO.
 void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
           
 void setMaintDocDDService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintDocDDService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerDigesterAdapter

public CustomerDigesterAdapter()
Method Detail

convert

public Customer convert(CustomerDigesterVO customerDigesterVO,
                        CustomerLoadBatchErrors errors)
Converts a CustomerDigesterVO to a real Customer BO. Tries to do intelligent type conversions where the types arent Strings. NOTE that conversion exceptions will be swallowed! and converted to errors in the parameter errorMap.

Parameters:
customerDigesterVO - The VO full of String values to convert from.
errorMap - An empty ErrorMap collection to add errors to. Only new errors will be added.
Returns:
A populated Customer object, from the VO.

setDateTimeService

public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)

setMaintDocDDService

public void setMaintDocDDService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintDocDDService)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.