com.retek.component.customer.impl.persistence
Class CustomerDbObjectMaster

java.lang.Object
  extended bycom.retek.commons.domain.core.persistence.db.oracle.DbObjectMaster
      extended bycom.retek.component.customer.impl.persistence.CustomerDbObjectMaster

public class CustomerDbObjectMaster
extends DbObjectMaster


Constructor Summary
CustomerDbObjectMaster()
           
 
Method Summary
static CatalogTypeDto createAndPersistCatalogTypeDto(DistributedContext context)
           
static CustomerDto getBasicCustomerDto(DistributedContext context, DistributedReference userRef)
           
static CareCardActivityRequestDto getCareCardActivityRequestDto(DistributedContext context)
           
static CatalogRequestDto getCatalogRequestDto(DistributedContext context)
           
static CatalogTypeDto getCatalogTypeDto(DistributedContext context)
           
static CustomerAddressDto getCustomerAddressDto(DistributedContext context, CustomerDto customerDto, DistributedReference userRef)
           
static java.util.List getCustomerAddressDtos(DistributedContext context, CustomerDto customerDto, DistributedReference userRef)
           
static CustomerChangeReasonDto getCustomerChangeReasonDto(DistributedContext context, java.lang.String changeReasonId)
           
static CustomerCreditCardDto getCustomerCreditCardDto(DistributedContext context, java.lang.String creditCardNumber, java.lang.String firstName, java.lang.String middleInit, java.lang.String lastName, java.lang.String suffix, DistributedReference userRef)
           
static CustomerCreditPreApprovalDto getCustomerCreditPreApprovalDto(DistributedContext context)
           
static CustomerEmailAddressDto getCustomerEmailAddressDto(DistributedContext context, DistributedReference userRef)
           
static CustomerInactiveReasonDto getCustomerInactiveReasonDto(DistributedContext context)
           
static java.util.Map getCustomerPreferencesByBannerId(DistributedContext context, DistributedReference userRef)
           
static CustomerTelephoneDto getCustomerTelephoneDto(DistributedContext context, DistributedReference userRef)
           
static java.lang.String getDefaultCarrierServiceId()
           
static CountryDto getDefaultCountry(DistributedContext context)
           
static SalutationDto getDrSalutationDto(DistributedContext context)
           
static ForwardAddressActivityRequestDto getForwardAddressActivityRequestDto(DistributedContext context)
           
static CustomerDto getFullCustomerDto(DistributedContext context)
           
static GeneralActivityRequestDto getGeneralActivityRequestDto(DistributedContext context)
           
static java.lang.String getHoldEverythingId()
           
static ItemInstructionsActivityRequestDto getItemInstructionsActivityRequestDto(DistributedContext context)
           
static SuffixDto getJrSuffixDto(DistributedContext context)
           
static LabelActivityRequestDto getLabelActivityRequestDto(DistributedContext context)
           
static SuffixDto getMbeSuffixDto(DistributedContext context)
           
static SalutationDto getMissSalutationDto(DistributedContext context)
           
static SalutationDto getMrSalutationDto(DistributedContext context)
           
static CustomerMergeRequestDto getNewCustomerMergeRequestDto(DistributedContext context)
           
static CountryDto getNonDefaultCountry(DistributedContext context)
           
static PartialActivityRequestDto getPartialActivityRequestDto(DistributedContext context)
           
static java.lang.String getPotteryBarnId()
           
static int getRandomIntegerBetween(int start, int end)
           
static java.lang.String getRandomString()
           
static java.lang.String getRandomString(int length)
           
static RefundOrGiftCertificateActivityRequestDto getRefundOrGiftCertificateActivityRequestDto(DistributedContext context)
           
static ReturnActivityRequestDto getReturnActivityRequestDto(DistributedContext context)
           
static DistributedReference getSourceCodeRef()
           
static SpecialOrderActivityRequestDto getSpecialOrderActivityRequestDto(DistributedContext context)
           
static StoredValueCardCashoutDto getStoredValueCardCashoutDto(DistributedContext context)
           
static StoredValueCardCashoutDto getStoredValueCardCashoutDto(DistributedContext context, DistributedReference customerRef)
           
static java.lang.String getUnique10DigitCode()
           
static java.lang.String getUnique6DigitCode()
           
static DistributedReference getUserRef1()
           
static DistributedReference getUserRef2()
           
static WismoActivityRequestDto getWismoActivityRequestDto(DistributedContext context)
           
static CustomerDto persistCustomer(DistributedContext context)
           
static void persistCustomerAlternateNumber(DistributedReference customerRef, java.lang.String alternateNumber)
           
static void setCommonAttributesOnActivityRequestDto(ActivityRequestDto dto)
           
static void waitForSysDateToIncrement()
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.DbObjectMaster
checkAllFieldsInitialized, checkAllFieldsInitialized, checkAllFieldsInitialized, checkAllFieldsInitialized, getJunitReferenceCache, getTestDbRDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerDbObjectMaster

public CustomerDbObjectMaster()
Method Detail

getUnique6DigitCode

public static java.lang.String getUnique6DigitCode()

getUnique10DigitCode

public static java.lang.String getUnique10DigitCode()

getUserRef1

public static DistributedReference getUserRef1()

getUserRef2

public static DistributedReference getUserRef2()

getHoldEverythingId

public static java.lang.String getHoldEverythingId()

getPotteryBarnId

public static java.lang.String getPotteryBarnId()

getDefaultCarrierServiceId

public static java.lang.String getDefaultCarrierServiceId()

getCustomerChangeReasonDto

public static CustomerChangeReasonDto getCustomerChangeReasonDto(DistributedContext context,
                                                                 java.lang.String changeReasonId)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

getCustomerCreditCardDto

public static CustomerCreditCardDto getCustomerCreditCardDto(DistributedContext context,
                                                             java.lang.String creditCardNumber,
                                                             java.lang.String firstName,
                                                             java.lang.String middleInit,
                                                             java.lang.String lastName,
                                                             java.lang.String suffix,
                                                             DistributedReference userRef)
                                                      throws SystemException,
                                                             java.io.IOException
Throws:
SystemException
java.io.IOException

getCatalogRequestDto

public static CatalogRequestDto getCatalogRequestDto(DistributedContext context)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

getCatalogTypeDto

public static CatalogTypeDto getCatalogTypeDto(DistributedContext context)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

createAndPersistCatalogTypeDto

public static CatalogTypeDto createAndPersistCatalogTypeDto(DistributedContext context)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

getFullCustomerDto

public static CustomerDto getFullCustomerDto(DistributedContext context)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getBasicCustomerDto

public static CustomerDto getBasicCustomerDto(DistributedContext context,
                                              DistributedReference userRef)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getRandomString

public static java.lang.String getRandomString()

getRandomString

public static java.lang.String getRandomString(int length)

getRandomIntegerBetween

public static int getRandomIntegerBetween(int start,
                                          int end)

getCustomerTelephoneDto

public static CustomerTelephoneDto getCustomerTelephoneDto(DistributedContext context,
                                                           DistributedReference userRef)
                                                    throws SystemException
Throws:
SystemException

getCustomerAddressDto

public static CustomerAddressDto getCustomerAddressDto(DistributedContext context,
                                                       CustomerDto customerDto,
                                                       DistributedReference userRef)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultCountry

public static CountryDto getDefaultCountry(DistributedContext context)

getNonDefaultCountry

public static CountryDto getNonDefaultCountry(DistributedContext context)

getCustomerAddressDtos

public static java.util.List getCustomerAddressDtos(DistributedContext context,
                                                    CustomerDto customerDto,
                                                    DistributedReference userRef)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

setCommonAttributesOnActivityRequestDto

public static void setCommonAttributesOnActivityRequestDto(ActivityRequestDto dto)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

getSpecialOrderActivityRequestDto

public static SpecialOrderActivityRequestDto getSpecialOrderActivityRequestDto(DistributedContext context)
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

getGeneralActivityRequestDto

public static GeneralActivityRequestDto getGeneralActivityRequestDto(DistributedContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

getCareCardActivityRequestDto

public static CareCardActivityRequestDto getCareCardActivityRequestDto(DistributedContext context)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

getRefundOrGiftCertificateActivityRequestDto

public static RefundOrGiftCertificateActivityRequestDto getRefundOrGiftCertificateActivityRequestDto(DistributedContext context)
                                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

getReturnActivityRequestDto

public static ReturnActivityRequestDto getReturnActivityRequestDto(DistributedContext context)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

getForwardAddressActivityRequestDto

public static ForwardAddressActivityRequestDto getForwardAddressActivityRequestDto(DistributedContext context)
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

getLabelActivityRequestDto

public static LabelActivityRequestDto getLabelActivityRequestDto(DistributedContext context)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

getPartialActivityRequestDto

public static PartialActivityRequestDto getPartialActivityRequestDto(DistributedContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

getItemInstructionsActivityRequestDto

public static ItemInstructionsActivityRequestDto getItemInstructionsActivityRequestDto(DistributedContext context)
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

getWismoActivityRequestDto

public static WismoActivityRequestDto getWismoActivityRequestDto(DistributedContext context)
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

getCustomerPreferencesByBannerId

public static java.util.Map getCustomerPreferencesByBannerId(DistributedContext context,
                                                             DistributedReference userRef)
                                                      throws BusinessException,
                                                             SystemException
Throws:
BusinessException
SystemException

getMrSalutationDto

public static SalutationDto getMrSalutationDto(DistributedContext context)

getMissSalutationDto

public static SalutationDto getMissSalutationDto(DistributedContext context)

getDrSalutationDto

public static SalutationDto getDrSalutationDto(DistributedContext context)

getMbeSuffixDto

public static SuffixDto getMbeSuffixDto(DistributedContext context)

getCustomerEmailAddressDto

public static CustomerEmailAddressDto getCustomerEmailAddressDto(DistributedContext context,
                                                                 DistributedReference userRef)
                                                          throws SystemException
Throws:
SystemException

getJrSuffixDto

public static SuffixDto getJrSuffixDto(DistributedContext context)

getSourceCodeRef

public static DistributedReference getSourceCodeRef()

waitForSysDateToIncrement

public static void waitForSysDateToIncrement()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

persistCustomerAlternateNumber

public static void persistCustomerAlternateNumber(DistributedReference customerRef,
                                                  java.lang.String alternateNumber)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

persistCustomer

public static CustomerDto persistCustomer(DistributedContext context)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getNewCustomerMergeRequestDto

public static CustomerMergeRequestDto getNewCustomerMergeRequestDto(DistributedContext context)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

getCustomerCreditPreApprovalDto

public static CustomerCreditPreApprovalDto getCustomerCreditPreApprovalDto(DistributedContext context)
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

getStoredValueCardCashoutDto

public static StoredValueCardCashoutDto getStoredValueCardCashoutDto(DistributedContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

getStoredValueCardCashoutDto

public static StoredValueCardCashoutDto getStoredValueCardCashoutDto(DistributedContext context,
                                                                     DistributedReference customerRef)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

getCustomerInactiveReasonDto

public static CustomerInactiveReasonDto getCustomerInactiveReasonDto(DistributedContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception


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