/**
* @see CreditCardService#saveCreditCard(CreditCardVO)
*/
protected CreditCardVO handleSaveCreditCard(CreditCardVO creditCardVO)
throws java.lang.Exception {
CreditCard creditCard = this.getCreditCardDao().creditCardVOToEntity(creditCardVO);
if (creditCard.getCreditCardId() == null) {
creditCard = this.getCreditCardDao().create(creditCard);
creditCardVO.setCreditCardId(creditCard.getCreditCardId());
}
else {
this.getCreditCardDao().update(creditCard);
}
return creditCardVO;