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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddContactToList
(EmailerSubscriber contact, String listID) addExistingContactToList
(EmailerSubscriber contact, String listID) createClient
(Map parameters) createContactAndAddToList
(EmailerSubscriber contact, String listID) deleteClient
(Map parameters) formatForNull
(String value) lookupContact
(EmailerSubscriber contact) protected String
parseResponseData
(String response) Parses a query string of name value pairs into a Map.processCheckoutAddresses
(Map parameters) processContactForm
(Map parameters) processCustomerRegistration
(Map parameters) processIntegration
(String behavior, String listID, Map parameters) sendHTTPRequest
(String urlString, String method, String postData, boolean followRedirect) updateAccessAndBilling
(Map parameters) Methods inherited from class com.softslate.emailer.businessobjects.core.BasicEmailerProcessor
addSubscriber, createList, loadClientLists, parseListResponseData, prepareRequestData, sendHTTPPost
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, sendHTTPGet, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
ConstantContactProcessor
public ConstantContactProcessor()
-
-
Method Details
-
register
- Specified by:
register
in interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor
- Overrides:
register
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
createClient
- Overrides:
createClient
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
updateAccessAndBilling
- Overrides:
updateAccessAndBilling
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
deleteClient
- Overrides:
deleteClient
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
processContactForm
- Specified by:
processContactForm
in interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor
- Overrides:
processContactForm
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
processCustomerRegistration
- Specified by:
processCustomerRegistration
in interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor
- Overrides:
processCustomerRegistration
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
processCheckoutAddresses
- Specified by:
processCheckoutAddresses
in interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor
- Overrides:
processCheckoutAddresses
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
processIntegration
- Overrides:
processIntegration
in classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor
- Throws:
Exception
-
addContactToList
- Throws:
Exception
-
lookupContact
- Throws:
Exception
-
addExistingContactToList
- Throws:
Exception
-
createContactAndAddToList
- Throws:
Exception
-
sendHTTPRequest
public String sendHTTPRequest(String urlString, String method, String postData, boolean followRedirect) throws Exception - Throws:
Exception
-
parseResponseData
Description copied from class:BaseBusinessProcessor
Parses a query string of name value pairs into a Map.- Overrides:
parseResponseData
in classcom.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
-
lookupLists
- Throws:
Exception
-