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
Fields -
Constructor Summary
Constructors -
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 StringparseResponseData(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, sendHTTPPostMethods 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, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
registerin interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor- Overrides:
registerin classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor- Throws:
Exception
-
createClient
- Overrides:
createClientin classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor- Throws:
Exception
-
updateAccessAndBilling
- Overrides:
updateAccessAndBillingin classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor- Throws:
Exception
-
deleteClient
- Overrides:
deleteClientin classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor- Throws:
Exception
-
processContactForm
- Specified by:
processContactFormin interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor- Overrides:
processContactFormin classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor- Throws:
Exception
-
processCustomerRegistration
- Specified by:
processCustomerRegistrationin interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor- Overrides:
processCustomerRegistrationin classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor- Throws:
Exception
-
processCheckoutAddresses
- Specified by:
processCheckoutAddressesin interfacecom.softslate.emailer.businessobjects.core.EmailerProcessor- Overrides:
processCheckoutAddressesin classcom.softslate.emailer.businessobjects.core.BasicEmailerProcessor- Throws:
Exception
-
processIntegration
- Overrides:
processIntegrationin 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:BaseBusinessProcessorParses a query string of name value pairs into a Map.- Overrides:
parseResponseDatain 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
-