Interface CustomerGeneratorConfigMBean

All Known Implementing Classes:
CustomerGeneratorConfig

public interface CustomerGeneratorConfigMBean
The MBean interface to configuration settings exposed by Customer file generator tool.

Customer file generator is a test tool used to create customer XML files, that can be consumed by customer loader to load the customer details into ECE Customer repository.

  • Method Details

    • getCustomersPerFile

      int getCustomersPerFile()
      Getter for number of customers to be created per customer XML file.
      Returns:
      Number of customers to be created per customer XML file.
    • setCustomersPerFile

      void setCustomersPerFile(int customersPerFile)
      Setter for number of customers to be created per customer XML file.
      Parameters:
      customersPerFile - Number of customers to be created per customer XML file.
    • getBalanceAmount

      int getBalanceAmount()
      Getter for balance amount to be used for all the balances created for the customers.
      Returns:
      BalanceAmount to be used for all the balances.
    • setBalanceAmount

      void setBalanceAmount(int balanceAmount)
      Setter for balanceAmount to be used for all the balances created for the customers.
      Parameters:
      balanceAmount - BalanceAmount to be used for all the balances.
    • getProductOfferings

      String getProductOfferings()
      Getter for product offerings to be used for creating purchased product offerings.

      If useEveryOfferingInAllProducts is set to true, all the product offerings will be used as purchased product offers for all the products created in customer. If useEveryOfferingInAllProducts is false, one purchased product offering will be created for each of the products.

      Returns:
      Product offerings to be used for creating purchased product offerings.
    • setProductOfferings

      void setProductOfferings(String offerings)
      Setter for product offerings to be used for creating purchased product offerings.

      Specify each of the offerings separated by a semicolon. Eg:"Offer1;Offer2;Offer3". If useEveryOfferingInAllProducts is set to true, all the product offerings will be used as purchased product offers for all the products created in customer. If useEveryOfferingInAllProducts is false, one purchased product offering will be created for each of the products.

      Parameters:
      offerings - Product offerings to be used for creating purchased product offerings.
    • getProductTypes

      String getProductTypes()
      Getter for productTypes to be used for the products created for the customers.

      Ensure that these product types are also mapped from the request specification to ensure that products for the customer loaded are valid.

      Returns:
      productTypes ProductTypes to be used for the products created for the customers.
    • setProductTypes

      void setProductTypes(String productTypes)
      Setter for productTypes to be used for the products created for the customers.
      Parameters:
      productTypes - ProductTypes to be used for the products created for the customers.
    • getDestinationDir

      String getDestinationDir()
      Getter for the directory where customer XML files generated by customer file generator will be written.
      Returns:
      destinationDir Directory where customer XML files are written
    • setDestinationDir

      void setDestinationDir(String directory)
      Setter for the directory where customer XML files generated by customer file generator will be written.
      Parameters:
      directory - directory where customer XML files generated by customer file generator will be written.
    • getAlterationOfferings

      String getAlterationOfferings()
      Getter for alteration offerings to be used for creating purchased alteration offerings.

      If useEveryOfferingInAllProducts is set to true, all the alteration offerings will be used as purchased alteration offers for all the products created in customer. If useEveryOfferingInAllProducts is false, one purchased alteration offering will be created for each of the products.

      Returns:
      Alteration offers to be used
    • setAlterationOfferings

      void setAlterationOfferings(String alterationOfferings)
      Setter for alteration offerings to be used for creating purchased alteration offerings.

      Specify each of the offerings separated by a semicolon. Eg:"Offer1;Offer2;Offer3". If useEveryOfferingInAllProducts is set to true, all the alteration offerings will be used as purchased alteration offers for all the products created in customer. If useEveryOfferingInAllProducts is false, one purchased alteration offering will be created for each of the products.

      Parameters:
      alterationOfferings - Alteration offers to be used
    • getDistributionOfferings

      String getDistributionOfferings()
      Getter for distribution offerings to be used for creating purchased alteration offerings.
      Returns:
      Distribution offers to be used
    • setDistributionOfferings

      void setDistributionOfferings(String distributionOfferings)
      Setter for alteration offerings to be used for creating purchased alteration offerings.
      Parameters:
      distributionOfferings - Distribution offers to be used
    • getProductRatingProfiles

      String getProductRatingProfiles()
      Getter for names of product rating profiles to be created for the customers through file generator. Multiple values can be represented as a semicolon separated string.
      Returns:
      product level rating profiles to be created for the customer
    • setProductRatingProfiles

      void setProductRatingProfiles(String productRatingProfiles)
      Setter for names of product rating profiles to be created for the customers through file generator. Multiple values can be represented as a semicolon separated string.
      Parameters:
      productRatingProfiles - product rating profile names
    • getCustomerRatingProfiles

      String getCustomerRatingProfiles()
      Getter for names of customer rating profiles to be created for the customers through file generator. Multiple values can be represented as a semicolon separated string.
      Returns:
      Customer level rating profiles
    • setCustomerRatingProfiles

      void setCustomerRatingProfiles(String customerRatingProfiles)
      Setter for names of customer rating profiles to be created for the customers through file generator. Multiple values can be represented as a semicolon separated string.
      Parameters:
      customerRatingProfiles - Customer level rating profiles
    • getNumAuditRevisions

      Integer getNumAuditRevisions()
      Getter for number of audit products to be created.
      Returns:
      Number of audit products to be created
    • setNumAuditRevisions

      void setNumAuditRevisions(Integer numAuditProducts)
      Setter for number of audit products to be created.
      Parameters:
      numAuditProducts - Number of audit products to be created
    • getValidateXml

      Boolean getValidateXml()
      Getter for flag indicating whether xml files generated should be validated.
      Returns:
      Flag indicating whether xml files generated should be validated
    • setValidateXml

      void setValidateXml(Boolean validateXml)
      Setter for flag indicating whether xml files generated should be validated.
      Parameters:
      validateXml - Flag indicating whether xml files generated should be validated
    • getBalanceItemsPerBalance

      Integer getBalanceItemsPerBalance()
      Getter for number of balance items to be created per balance.
      Returns:
      Number of balance items to be created per balance
    • setBalanceItemsPerBalance

      void setBalanceItemsPerBalance(Integer balanceItemsPerBalance)
      Setter for number of balance items to be created per balance.
      Parameters:
      balanceItemsPerBalance - Number of balance items to be created per balance
    • getAliasesPerProduct

      Integer getAliasesPerProduct()
      Getter for number of alias names to be created per product.
      Returns:
      Number of alias names to be created per product
    • setAliasesPerProduct

      void setAliasesPerProduct(Integer aliasesPerProduct)
      Setter for number of alias names to be created per product.
      Parameters:
      aliasesPerProduct - Number of alias names to be created per product
    • getMultipleBalances

      Boolean getMultipleBalances()
      Getter for number of balances to be created. Returns false if one single balance needs to be created for every product. True if each product will have a separate balance
      Returns:
      Flag indicating whether single balance should be created for every product
    • setMultipleBalances

      void setMultipleBalances(Boolean multipleBalances)
      Setter for number of balances to be created. False if one single balance needs to be created for every product. True if each product will have a separate balance
      Parameters:
      multipleBalances - Flag indicating whether single balance should be created for every product. False if one single balance needs to be created for every product. True if each product will have a separate balance
    • setIsTemplateDriven

      void setIsTemplateDriven(Boolean isTemplateDriven)
      Setter for the variable that determines whether customerGenerator is run in a templateDriven mode or configuration driven mode. If this field is set to true, a corresponding customer template file should be supplied which will be used by customer generator to generate customer cml files.
      Parameters:
      isTemplateDriven - true if customer generator should generate customers as per the customer template provided. False if customer generator should generate customers according to the configurations.
    • getIsTemplateDriven

      Boolean getIsTemplateDriven()
      Setter for the variable that determines whether customerGenerator is run in a templateDriven mode or configuration driven mode. If this field is set to true, a corresponding customer template file should be supplied which will be used by customer generator to generate customer cml files.
      Returns:
      true if customer generator generates customers as per the customer template provided. False otherwise
    • setCustomerTemplateFile

      void setCustomerTemplateFile(String customerTemplateFile)
      Sets the customer template file used for the creation of customer xml files.
      Parameters:
      customerTemplateFile - customer template file
    • getCustomerTemplateFile

      String getCustomerTemplateFile()
      Getter for the template file used for the creation of customer xml files.
      Returns:
      customer template file
    • setTxCustomerTemplateFile

      void setTxCustomerTemplateFile(String txCustomerTemplateFile)
      Sets the customer template file used for the creation of transaction customer xml files.
      Parameters:
      txCustomerTemplateFile - customer template file
    • getTxCustomerTemplateFile

      String getTxCustomerTemplateFile()
      Getter for the template file used for the creation of transaction customer xml files.
      Returns:
      customer template file
    • getShareAlterationAgreements

      Boolean getShareAlterationAgreements()
      Getter for the variable used to find out if the alteration agreements should be shared for the sharing agreements
      Returns:
      True if the alteration agreements should be shared for the sharing agreements. False otherwise
    • setShareAlterationAgreements

      void setShareAlterationAgreements(Boolean shareAlterationAgreements)
      Getter for the variable used to find out if the alteration agreements should be shared for the sharing agreements.
      Parameters:
      shareAlterationAgreements - True if the alteration agreements should be shared for the sharing agreements. False otherwise
    • setUseEveryOfferingInAllProducts

      void setUseEveryOfferingInAllProducts(Boolean useEveryOfferingInAllProducts)
      Sets the flag which indicates whether to create all the product offerings in every product.
      Parameters:
      useEveryOfferingInAllProducts - True if every product should contain every product offering. False otherwise
    • getUseEveryOfferingInAllProducts

      Boolean getUseEveryOfferingInAllProducts()
      Gets the flag which indicates whether to create all the product offerings in every product.
      Returns:
      True if every product should contain every product offering. False otherwise
    • getBalanceElementId

      int getBalanceElementId()
      Getter for the balance element id to be used for the balances.
      Returns:
      BalanceElement code
    • setBalanceElementId

      void setBalanceElementId(int balanceElementId)
      Setter for the balance element id to be used for the balance.
      Parameters:
      balanceElementId - BalanceElement code
    • getExtendedCustomerAttributes

      String getExtendedCustomerAttributes()
      Getter for the extended customer attributes
      Returns:
      Extended Attributes list as string
    • setExtendedCustomerAttributes

      void setExtendedCustomerAttributes(String extendedAttributes)
      Setter for the extended customer attributes
      Parameters:
      extendedAttributes - Extended Attributes list as string
    • getExtendedProductAttributes

      String getExtendedProductAttributes()
      Getter for the extended product attributes
      Returns:
      Extended Attributes list as string
    • setExtendedProductAttributes

      void setExtendedProductAttributes(String extendedAttributes)
      Setter for the extended product attributes
      Parameters:
      extendedAttributes - Extended Attributes list as string