public class

CreateCustomerMessageProcessor

extends Object
implements FlowConstructAware MuleContextAware Disposable Initialisable Startable Stoppable MessageProcessor
java.lang.Object
   ↳ org.mule.modules.quickbooks.online.processors.CreateCustomerMessageProcessor

Class Overview

CreateCustomerMessageProcessor invokes the createCustomer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.List, java.util.Map, java.util.Map, java.util.Map, java.util.List, java.util.List, java.util.List, java.util.List) method in QuickBooksModule. For each argument there is a field in this processor to match it. Before invoking the actual method the processor will evaluate and transform where possible to the expected argument type.

Summary

[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
Fields
private List<Map<String, Object>> _addressesType
private String _appKeyType
private String _authIdPseudonymType
private String _dBANameType
private List<Map<String, Object>> _emailsType
private String _familyNameType
private String _givenNameType
private String _middleNameType
private String _nameType
private List<Map<String, Object>> _notesType
private Map<String, Object> _paymentMethodIdType
private List<Map<String, Object>> _phonesType
private String _realmIdPseudonymType
private String _realmIdType
private Map<String, Object> _salesTaxCodeIdType
private Map<String, Object> _salesTermIdType
private String _showAsType
private String _suffixType
private List<Map<String, Object>> _webSitesType
private Object addresses
private Object appKey
private Object authIdPseudonym
private Object dBAName
private Object emails
private ExpressionManager expressionManager Mule Expression Manager
private Object familyName
private FlowConstruct flowConstruct Flow construct
private Object givenName
private static Logger logger
private Object middleName
private Object moduleObject Module object
private MuleContext muleContext Mule Context
private Object name
private Object notes
private TemplateParser.PatternInfo patternInfo Mule Pattern Info
private Object paymentMethodId
private Object phones
private Object realmId
private Object realmIdPseudonym
private AtomicInteger retryCount Variable used to track how many retries we have attempted on this message processor
private int retryMax Maximum number of retries that can be attempted.
private Object salesTaxCodeId
private Object salesTermId
private Object showAs
private Object suffix
private Object webSites
Public Constructors
CreateCustomerMessageProcessor()
Public Methods
void dispose()
void initialise()
Obtains the expression manager from the Mule context and initialises the connector.
MuleEvent process(MuleEvent event)
Invokes the MessageProcessor.
void setAddresses(Object value)
Sets addresses
void setAppKey(Object value)
Sets appKey
void setAuthIdPseudonym(Object value)
Sets authIdPseudonym
void setDBAName(Object value)
Sets dBAName
void setEmails(Object value)
Sets emails
void setFamilyName(Object value)
Sets familyName
void setFlowConstruct(FlowConstruct flowConstruct)
Sets flow construct
void setGivenName(Object value)
Sets givenName
void setMiddleName(Object value)
Sets middleName
void setModuleObject(Object moduleObject)
Sets the instance of the object under which the processor will execute
void setMuleContext(MuleContext context)
Set the Mule context
void setName(Object value)
Sets name
void setNotes(Object value)
Sets notes
void setPaymentMethodId(Object value)
Sets paymentMethodId
void setPhones(Object value)
Sets phones
void setRealmId(Object value)
Sets realmId
void setRealmIdPseudonym(Object value)
Sets realmIdPseudonym
void setRetryMax(int value)
Sets retryMax
void setSalesTaxCodeId(Object value)
Sets salesTaxCodeId
void setSalesTermId(Object value)
Sets salesTermId
void setShowAs(Object value)
Sets showAs
void setSuffix(Object value)
Sets suffix
void setWebSites(Object value)
Sets webSites
void start()
void stop()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.api.construct.FlowConstructAware
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
From interface org.mule.api.processor.MessageProcessor

Fields

private List<Map<String, Object>> _addressesType

private String _appKeyType

private String _authIdPseudonymType

private String _dBANameType

private List<Map<String, Object>> _emailsType

private String _familyNameType

private String _givenNameType

private String _middleNameType

private String _nameType

private List<Map<String, Object>> _notesType

private Map<String, Object> _paymentMethodIdType

private List<Map<String, Object>> _phonesType

private String _realmIdPseudonymType

private String _realmIdType

private Map<String, Object> _salesTaxCodeIdType

private Map<String, Object> _salesTermIdType

private String _showAsType

private String _suffixType

private List<Map<String, Object>> _webSitesType

private Object addresses

private Object appKey

private Object authIdPseudonym

private Object dBAName

private Object emails

private ExpressionManager expressionManager

Mule Expression Manager

private Object familyName

private FlowConstruct flowConstruct

Flow construct

private Object givenName

private static Logger logger

private Object middleName

private Object moduleObject

Module object

private MuleContext muleContext

Mule Context

private Object name

private Object notes

private TemplateParser.PatternInfo patternInfo

Mule Pattern Info

private Object paymentMethodId

private Object phones

private Object realmId

private Object realmIdPseudonym

private AtomicInteger retryCount

Variable used to track how many retries we have attempted on this message processor

private int retryMax

Maximum number of retries that can be attempted.

private Object salesTaxCodeId

private Object salesTermId

private Object showAs

private Object suffix

private Object webSites

Public Constructors

public CreateCustomerMessageProcessor ()

Public Methods

public void dispose ()

public void initialise ()

Obtains the expression manager from the Mule context and initialises the connector. If a target object has not been set already it will search the Mule registry for a default one.

Throws
InitialisationException

public MuleEvent process (MuleEvent event)

Invokes the MessageProcessor.

Parameters
event MuleEvent to be processed
Throws
MuleException

public void setAddresses (Object value)

Sets addresses

Parameters
value Value to set

public void setAppKey (Object value)

Sets appKey

Parameters
value Value to set

public void setAuthIdPseudonym (Object value)

Sets authIdPseudonym

Parameters
value Value to set

public void setDBAName (Object value)

Sets dBAName

Parameters
value Value to set

public void setEmails (Object value)

Sets emails

Parameters
value Value to set

public void setFamilyName (Object value)

Sets familyName

Parameters
value Value to set

public void setFlowConstruct (FlowConstruct flowConstruct)

Sets flow construct

Parameters
flowConstruct Flow construct to set

public void setGivenName (Object value)

Sets givenName

Parameters
value Value to set

public void setMiddleName (Object value)

Sets middleName

Parameters
value Value to set

public void setModuleObject (Object moduleObject)

Sets the instance of the object under which the processor will execute

Parameters
moduleObject Instace of the module

public void setMuleContext (MuleContext context)

Set the Mule context

Parameters
context Mule context to set

public void setName (Object value)

Sets name

Parameters
value Value to set

public void setNotes (Object value)

Sets notes

Parameters
value Value to set

public void setPaymentMethodId (Object value)

Sets paymentMethodId

Parameters
value Value to set

public void setPhones (Object value)

Sets phones

Parameters
value Value to set

public void setRealmId (Object value)

Sets realmId

Parameters
value Value to set

public void setRealmIdPseudonym (Object value)

Sets realmIdPseudonym

Parameters
value Value to set

public void setRetryMax (int value)

Sets retryMax

Parameters
value Value to set

public void setSalesTaxCodeId (Object value)

Sets salesTaxCodeId

Parameters
value Value to set

public void setSalesTermId (Object value)

Sets salesTermId

Parameters
value Value to set

public void setShowAs (Object value)

Sets showAs

Parameters
value Value to set

public void setSuffix (Object value)

Sets suffix

Parameters
value Value to set

public void setWebSites (Object value)

Sets webSites

Parameters
value Value to set

public void start ()

Throws
MuleException

public void stop ()

Throws
MuleException