com.retek.component.customer.test
Class CustomerIntegrationObjectMaster

java.lang.Object
  extended bycom.retek.component.customer.test.CustomerIntegrationObjectMaster

public class CustomerIntegrationObjectMaster
extends java.lang.Object

Test object master class for customer integration test operations.


Nested Class Summary
static class CustomerIntegrationObjectMaster.CustomerIntegrationCreateStamper
           
static class CustomerIntegrationObjectMaster.CustomerIntegrationLastUpdateStamper
           
 
Constructor Summary
CustomerIntegrationObjectMaster()
           
 
Method Summary
static CustomerIntegrationAlternateNumber createAlternateNumber(DistributedContext context, java.lang.String alternateNumberType, java.lang.String alternateNumber)
           
static CustomerIntegrationCatalogRequest createCatalogRequest(DistributedContext context)
           
static CustomerIntegrationCustomer createCustomer(DistributedContext context)
           
static CustomerIntegrationCustomerAddress createCustomerAddress(DistributedContext context)
           
static CustomerIntegrationCustomerEmail createCustomerEmail(DistributedContext context, java.lang.String emailAddress)
           
static java.lang.String createCustomerImportFile(DistributedContext context, java.io.File directory, java.util.List importCustomers)
           
static CustomerIntegrationMergeRequest createCustomerMergeRequest(DistributedContext context, java.lang.String requestType)
           
static CustomerIntegrationMergeCustomer createCustomerMergeRequestCustomer(DistributedContext context, java.lang.String mergeStatus)
           
static CustomerIntegrationCustomerPreference createCustomerPreference(DistributedContext context)
           
static CustomerIntegrationCustomerTelephone createCustomerTelephone(DistributedContext context, java.lang.String telephoneNumber, java.lang.String extension)
           
static CustomerIntegrationCustomer createImportAddCustomer(Banner banner, java.lang.String lastName, java.lang.String firstName, java.lang.String householdNumber, DistributedReference userRef)
           
static CustomerIntegrationCustomerAddress createImportNewCustomerAddress(DistributedContext context)
           
static CustomerIntegrationCustomerEmail createImportNewCustomerEmail(DistributedContext context, java.lang.String emailAddress)
           
static CustomerIntegrationCustomerTelephone createImportNewCustomerTelephone(DistributedContext context, java.lang.String telephoneNumber, java.lang.String extension)
           
static CustomerIntegrationCustomer createImportUpdateCustomer(Customer customer, User user)
           
static java.lang.String getExpectedAlternateNumberXml(CustomerIntegrationAlternateNumber alternateNumber)
           
static java.lang.String getExpectedCatalogRequestXml(CustomerIntegrationCatalogRequest catalogRequest)
           
static java.lang.String getExpectedCustomerAddressXml(CustomerIntegrationCustomerAddress address)
           
static java.lang.String getExpectedCustomerEmailXml(CustomerIntegrationCustomerEmail customerEmail)
           
static java.lang.String getExpectedCustomerMergeRequestXml(CustomerIntegrationMergeRequest mergeRequest)
           
static java.lang.String getExpectedCustomerPreferenceXml(CustomerIntegrationCustomerPreference customerPreference)
           
static java.lang.String getExpectedCustomerTelephoneXml(CustomerIntegrationCustomerTelephone customerTelephone)
           
static java.lang.String getExpectedCustomerXml(CustomerIntegrationCustomer customer)
           
static java.lang.String getExpectedMergeRequestCustomerXml(CustomerIntegrationMergeCustomer customer)
           
static void setBypassRequiredFieldCheckingForTesting(boolean bypassChecks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerIntegrationObjectMaster

public CustomerIntegrationObjectMaster()
Method Detail

createCatalogRequest

public static CustomerIntegrationCatalogRequest createCatalogRequest(DistributedContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerMergeRequest

public static CustomerIntegrationMergeRequest createCustomerMergeRequest(DistributedContext context,
                                                                         java.lang.String requestType)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerMergeRequestCustomer

public static CustomerIntegrationMergeCustomer createCustomerMergeRequestCustomer(DistributedContext context,
                                                                                  java.lang.String mergeStatus)
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerAddress

public static CustomerIntegrationCustomerAddress createCustomerAddress(DistributedContext context)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

createCustomer

public static CustomerIntegrationCustomer createCustomer(DistributedContext context)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerTelephone

public static CustomerIntegrationCustomerTelephone createCustomerTelephone(DistributedContext context,
                                                                           java.lang.String telephoneNumber,
                                                                           java.lang.String extension)
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerEmail

public static CustomerIntegrationCustomerEmail createCustomerEmail(DistributedContext context,
                                                                   java.lang.String emailAddress)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerPreference

public static CustomerIntegrationCustomerPreference createCustomerPreference(DistributedContext context)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

createAlternateNumber

public static CustomerIntegrationAlternateNumber createAlternateNumber(DistributedContext context,
                                                                       java.lang.String alternateNumberType,
                                                                       java.lang.String alternateNumber)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedCustomerMergeRequestXml

public static java.lang.String getExpectedCustomerMergeRequestXml(CustomerIntegrationMergeRequest mergeRequest)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedMergeRequestCustomerXml

public static java.lang.String getExpectedMergeRequestCustomerXml(CustomerIntegrationMergeCustomer customer)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedCatalogRequestXml

public static java.lang.String getExpectedCatalogRequestXml(CustomerIntegrationCatalogRequest catalogRequest)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedCustomerTelephoneXml

public static java.lang.String getExpectedCustomerTelephoneXml(CustomerIntegrationCustomerTelephone customerTelephone)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedCustomerEmailXml

public static java.lang.String getExpectedCustomerEmailXml(CustomerIntegrationCustomerEmail customerEmail)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedCustomerPreferenceXml

public static java.lang.String getExpectedCustomerPreferenceXml(CustomerIntegrationCustomerPreference customerPreference)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedAlternateNumberXml

public static java.lang.String getExpectedAlternateNumberXml(CustomerIntegrationAlternateNumber alternateNumber)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getExpectedCustomerAddressXml

public static java.lang.String getExpectedCustomerAddressXml(CustomerIntegrationCustomerAddress address)

getExpectedCustomerXml

public static java.lang.String getExpectedCustomerXml(CustomerIntegrationCustomer customer)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

createCustomerImportFile

public static java.lang.String createCustomerImportFile(DistributedContext context,
                                                        java.io.File directory,
                                                        java.util.List importCustomers)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

createImportAddCustomer

public static CustomerIntegrationCustomer createImportAddCustomer(Banner banner,
                                                                  java.lang.String lastName,
                                                                  java.lang.String firstName,
                                                                  java.lang.String householdNumber,
                                                                  DistributedReference userRef)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createImportUpdateCustomer

public static CustomerIntegrationCustomer createImportUpdateCustomer(Customer customer,
                                                                     User user)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

createImportNewCustomerAddress

public static CustomerIntegrationCustomerAddress createImportNewCustomerAddress(DistributedContext context)
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

createImportNewCustomerTelephone

public static CustomerIntegrationCustomerTelephone createImportNewCustomerTelephone(DistributedContext context,
                                                                                    java.lang.String telephoneNumber,
                                                                                    java.lang.String extension)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createImportNewCustomerEmail

public static CustomerIntegrationCustomerEmail createImportNewCustomerEmail(DistributedContext context,
                                                                            java.lang.String emailAddress)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

setBypassRequiredFieldCheckingForTesting

public static void setBypassRequiredFieldCheckingForTesting(boolean bypassChecks)


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