Class CustomerHelper
java.lang.Object
overit.geocallapp.wfm.core.soap.technicalobjects.customer.v1.CustomerHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExistingContacts(Long customerId, PoolKit poolKit) getExistingCustomer(String code, PoolKit poolKit) getExistingMeters(Long customerId, PoolKit poolKit) voidinsertCustomer(TechnicalObject technicalObject, List<BOMeter> meters, PoolKit poolKit) prepareMeters(Long customerId, List<BOMeter> inputMeters, PoolKit poolKit) protected voidsaveCustomer(TechnicalObject technicalObject, List<BOContact> contacts, List<BOMeter> meters, PoolKit poolKit) voidupdateCustomer(TechnicalObject technicalObject, List<BOMeter> inputMeters, TechnicalObject existingCustomer, PoolKit poolKit)
-
Constructor Details
-
CustomerHelper
public CustomerHelper()
-
-
Method Details
-
getExistingCustomer
public TechnicalObject getExistingCustomer(String code, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
insertCustomer
public void insertCustomer(TechnicalObject technicalObject, List<BOMeter> meters, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
updateCustomer
public void updateCustomer(TechnicalObject technicalObject, List<BOMeter> inputMeters, TechnicalObject existingCustomer, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getExistingContacts
protected List<BOContact> getExistingContacts(Long customerId, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
prepareMeters
protected List<BOMeter> prepareMeters(Long customerId, List<BOMeter> inputMeters, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getExistingMeters
protected List<BOMeter> getExistingMeters(Long customerId, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
saveCustomer
protected void saveCustomer(TechnicalObject technicalObject, List<BOContact> contacts, List<BOMeter> meters, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-