com.retek.component.customer.impl
Class CustomerCreditApplicationImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.SecondClassObjectImpl
          extended bycom.retek.component.customer.impl.CustomerCreditApplicationImpl
All Implemented Interfaces:
BusinessObject, CustomerCreditApplication, SecondClassObject
Direct Known Subclasses:
CustomerPLCCCreditApplicationImpl

public abstract class CustomerCreditApplicationImpl
extends SecondClassObjectImpl
implements CustomerCreditApplication


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.CustomerCreditApplication
CUSTOMER, TENDER_TYPE
 
Constructor Summary
CustomerCreditApplicationImpl(DistributedContext context)
           
CustomerCreditApplicationImpl(DistributedContext context, CustomerCreditApplicationDto dto)
          Called by SecondClassObjectImpl.wrap()
 
Method Summary
 CustomerCreditApplicationStatus apply(Banner banner, boolean quickCredit)
           
protected abstract  CustomerCreditApplicationStatus doApply(Banner banner)
           
protected abstract  void doValidate(boolean quickCredit)
           
 java.lang.String getBillToAddressLine1()
           
 java.lang.String getBillToAddressLine2()
           
 java.lang.String getBillToAddressLine3()
           
 java.lang.String getBillToCity()
           
 java.lang.String getBillToPostalCodeFive()
           
 java.lang.String getBillToPostalCodePlusFour()
           
 java.lang.String getBillToState()
           
 Customer getCustomer()
           
 java.lang.String getDayTelephoneNumber()
           
protected  CustomerCreditApplicationDto getDto()
           
 java.lang.String getFirstName()
           
 java.lang.String getLastName()
           
 java.lang.String getMiddleInitial()
           
 java.lang.String getSuffixCode()
           
 TenderTypeCreditCard getTenderType()
           
 void setCustomer(Customer customer)
           
 void setTenderType(TenderTypeCreditCard tenderType)
           
 
Methods inherited from class com.retek.commons.component.impl.SecondClassObjectImpl
equals, getGenericDto, hashCode, setGenericDto, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.component.customer.CustomerCreditApplication
getOrderTotal
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

CustomerCreditApplicationImpl

public CustomerCreditApplicationImpl(DistributedContext context)

CustomerCreditApplicationImpl

public CustomerCreditApplicationImpl(DistributedContext context,
                                     CustomerCreditApplicationDto dto)
Called by SecondClassObjectImpl.wrap()

Method Detail

getDto

protected CustomerCreditApplicationDto getDto()
                                       throws SystemException
Throws:
SystemException

setCustomer

public void setCustomer(Customer customer)
                 throws SystemException
Throws:
SystemException

getCustomer

public Customer getCustomer()
                     throws SystemException
Specified by:
getCustomer in interface CustomerCreditApplication
Throws:
SystemException

getFirstName

public java.lang.String getFirstName()
                              throws SystemException
Specified by:
getFirstName in interface CustomerCreditApplication
Throws:
SystemException

getLastName

public java.lang.String getLastName()
                             throws SystemException
Specified by:
getLastName in interface CustomerCreditApplication
Throws:
SystemException

getMiddleInitial

public java.lang.String getMiddleInitial()
                                  throws SystemException
Specified by:
getMiddleInitial in interface CustomerCreditApplication
Throws:
SystemException

getSuffixCode

public java.lang.String getSuffixCode()
                               throws SystemException
Specified by:
getSuffixCode in interface CustomerCreditApplication
Throws:
SystemException

getBillToAddressLine1

public java.lang.String getBillToAddressLine1()
                                       throws SystemException
Specified by:
getBillToAddressLine1 in interface CustomerCreditApplication
Throws:
SystemException

getBillToAddressLine2

public java.lang.String getBillToAddressLine2()
                                       throws SystemException
Specified by:
getBillToAddressLine2 in interface CustomerCreditApplication
Throws:
SystemException

getBillToAddressLine3

public java.lang.String getBillToAddressLine3()
                                       throws SystemException
Specified by:
getBillToAddressLine3 in interface CustomerCreditApplication
Throws:
SystemException

getBillToCity

public java.lang.String getBillToCity()
                               throws SystemException
Specified by:
getBillToCity in interface CustomerCreditApplication
Throws:
SystemException

getBillToState

public java.lang.String getBillToState()
                                throws SystemException
Specified by:
getBillToState in interface CustomerCreditApplication
Throws:
SystemException

getBillToPostalCodeFive

public java.lang.String getBillToPostalCodeFive()
                                         throws SystemException
Specified by:
getBillToPostalCodeFive in interface CustomerCreditApplication
Throws:
SystemException

getBillToPostalCodePlusFour

public java.lang.String getBillToPostalCodePlusFour()
                                             throws SystemException
Specified by:
getBillToPostalCodePlusFour in interface CustomerCreditApplication
Throws:
SystemException

getDayTelephoneNumber

public java.lang.String getDayTelephoneNumber()
                                       throws SystemException
Specified by:
getDayTelephoneNumber in interface CustomerCreditApplication
Throws:
SystemException

getTenderType

public TenderTypeCreditCard getTenderType()
                                   throws SystemException
Specified by:
getTenderType in interface CustomerCreditApplication
Throws:
SystemException

setTenderType

public void setTenderType(TenderTypeCreditCard tenderType)
                   throws SystemException
Specified by:
setTenderType in interface CustomerCreditApplication
Throws:
SystemException

apply

public CustomerCreditApplicationStatus apply(Banner banner,
                                             boolean quickCredit)
                                      throws SystemException,
                                             BusinessException
Specified by:
apply in interface CustomerCreditApplication
Throws:
SystemException
BusinessException

doApply

protected abstract CustomerCreditApplicationStatus doApply(Banner banner)
                                                    throws SystemException,
                                                           BusinessException
Throws:
SystemException
BusinessException

doValidate

protected abstract void doValidate(boolean quickCredit)
                            throws SystemException,
                                   BusinessException
Throws:
SystemException
BusinessException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28