Class ConstantContactProcessor

java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
com.softslate.commerce.businessobjects.order.ConstantContactProcessor
All Implemented Interfaces:
BusinessObject, BusinessProcessor, com.softslate.emailer.businessobjects.core.EmailerProcessor

public class ConstantContactProcessor extends com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
  • Field Details

    • log

      static org.apache.commons.logging.Log log
  • Constructor Details

    • ConstantContactProcessor

      public ConstantContactProcessor()
  • Method Details

    • register

      public Map register(Map parameters) throws Exception
      Specified by:
      register in interface com.softslate.emailer.businessobjects.core.EmailerProcessor
      Overrides:
      register in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • createClient

      public Map createClient(Map parameters) throws Exception
      Overrides:
      createClient in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • updateAccessAndBilling

      public Map updateAccessAndBilling(Map parameters) throws Exception
      Overrides:
      updateAccessAndBilling in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • deleteClient

      public Map deleteClient(Map parameters) throws Exception
      Overrides:
      deleteClient in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • processContactForm

      public Map processContactForm(Map parameters) throws Exception
      Specified by:
      processContactForm in interface com.softslate.emailer.businessobjects.core.EmailerProcessor
      Overrides:
      processContactForm in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • processCustomerRegistration

      public Map processCustomerRegistration(Map parameters) throws Exception
      Specified by:
      processCustomerRegistration in interface com.softslate.emailer.businessobjects.core.EmailerProcessor
      Overrides:
      processCustomerRegistration in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • processCheckoutAddresses

      public Map processCheckoutAddresses(Map parameters) throws Exception
      Specified by:
      processCheckoutAddresses in interface com.softslate.emailer.businessobjects.core.EmailerProcessor
      Overrides:
      processCheckoutAddresses in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • processIntegration

      public Map processIntegration(String behavior, String listID, Map parameters) throws Exception
      Overrides:
      processIntegration in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Throws:
      Exception
    • addContactToList

      public Map addContactToList(EmailerSubscriber contact, String listID) throws Exception
      Throws:
      Exception
    • lookupContact

      public String lookupContact(EmailerSubscriber contact) throws Exception
      Throws:
      Exception
    • addExistingContactToList

      public String addExistingContactToList(EmailerSubscriber contact, String listID) throws Exception
      Throws:
      Exception
    • createContactAndAddToList

      public String createContactAndAddToList(EmailerSubscriber contact, String listID) throws Exception
      Throws:
      Exception
    • sendHTTPRequest

      public String sendHTTPRequest(String urlString, String method, String postData, boolean followRedirect) throws Exception
      Throws:
      Exception
    • parseResponseData

      public Map parseResponseData(String response) throws Exception
      Description copied from class: BaseBusinessProcessor
      Parses a query string of name value pairs into a Map.
      Overrides:
      parseResponseData in class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
      Parameters:
      response - A String key-value pairs in the form of a URL query string
      Returns:
      A Map representing the query string.
      Throws:
      Exception
    • formatForNull

      public String formatForNull(String value)
    • lookupLists

      protected String lookupLists() throws Exception
      Throws:
      Exception