public abstract class

AbstractQuickBooksClient

extends Object
java.lang.Object
   ↳ org.mule.modules.quickbooks.api.AbstractQuickBooksClient
Known Direct Subclasses

Summary

Constants
String INTERNAL_GATEWAY_PROPS
Fields
protected String baseUri
protected final HttpClient client
private final Map<String, AbstractQuickBooksClient.CompanyConnectionData> connectionDatas
protected PrivateKey privateKey
protected Properties properties
protected Integer resultsPerPage
protected String serviceProviderId
Public Constructors
AbstractQuickBooksClient()
Public Methods
void setResultsPerPage(Integer resultsPerPage)
Protected Methods
void destroyAccessToken(String realmId)
String getAccessToken(String realmId)
String getBaseUri(String realmId)
abstract FaultInfo getFaultInfo(String str)
abstract MessageUtils getMessageUtilsInstance()
Integer getResultsPerPage()
void init(String baseUri)
abstract String loadCompanyBaseUri(String realmId, String appKey, String accessToken)
void loadCompanyData(String realmId, String appKey, String realmIdPseudonym, String authIdPseudonym)
Object makeARequestToQuickbooks(HttpUriRequest httpRequest, String appKey, String accessToken)
void prepareToPost(Object obj, HttpUriRequest httpRequest)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final String INTERNAL_GATEWAY_PROPS

Constant Value: "internal-gateway.properties"

Fields

protected String baseUri

protected final HttpClient client

private final Map<String, AbstractQuickBooksClient.CompanyConnectionData> connectionDatas

protected PrivateKey privateKey

protected Properties properties

protected Integer resultsPerPage

protected String serviceProviderId

Public Constructors

public AbstractQuickBooksClient ()

Public Methods

public void setResultsPerPage (Integer resultsPerPage)

Parameters
resultsPerPage

Protected Methods

protected void destroyAccessToken (String realmId)

Parameters
realmId

protected String getAccessToken (String realmId)

Parameters
realmId

protected String getBaseUri (String realmId)

Parameters
realmId

protected abstract FaultInfo getFaultInfo (String str)

Parameters
str
Throws
JAXBException

protected abstract MessageUtils getMessageUtilsInstance ()

protected Integer getResultsPerPage ()

protected void init (String baseUri)

Parameters
baseUri

protected abstract String loadCompanyBaseUri (String realmId, String appKey, String accessToken)

Parameters
realmId
appKey
accessToken

protected void loadCompanyData (String realmId, String appKey, String realmIdPseudonym, String authIdPseudonym)

Parameters
realmId
appKey
realmIdPseudonym
authIdPseudonym

protected Object makeARequestToQuickbooks (HttpUriRequest httpRequest, String appKey, String accessToken)

Parameters
httpRequest
appKey
accessToken

protected void prepareToPost (Object obj, HttpUriRequest httpRequest)

Parameters
obj
httpRequest