public class

CxfNetSuiteClient

extends Object
implements CxfPortProvider SoapNetSuiteClient
java.lang.Object
   ↳ org.mule.module.netsuite.api.CxfNetSuiteClient

Class Overview

Implementation of the SoapNetSuiteClient that uses CXF generated-based interface

Summary

Fields
private final MapObjectMapper mom
private final CxfPortProvider portProvider
Public Constructors
CxfNetSuiteClient(CxfPortProvider portProvider)
Public Methods
WriteResponseList addList(RecordType recordType, List<Map<String, Object>> recordsAttributes)
Object addRecord(RecordType recordType, Map<String, Object> recordAttributes)
AsyncStatusResult asyncFindRecord(SearchRecordType recordType, String expression)
Object attachRecord(RecordReference sourceRecord, RecordReference destinationRecord, RecordReference contactEntity)
AsyncStatusResult checkAsyncStatus(String jobId)
WriteResponseList deleteList(List<Map<String, Object>> recordsToDelete)
Object deleteRecord(RecordReference record)
Object detachRecord(RecordReference sourceEntity, RecordReference destinationEntity)
Iterable<Record> findRecords(SearchRecordType recordType, String expression)
Iterable<Record> getAsyncFindResult(String jobId)
NetSuitePortType getAuthenticatedPort()
Object getBudgetExchangeRates(RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)
Object getConsolidatedExchangeRates(RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)
Object getCustomizationIds(GetCustomizationType type, boolean includeInactives)
Object getDeletedRecords(RecordType type, DateExpression expression)
Object getItemAvailabilities(RecordReference recordReference, Date ifModifiedSince)
Object getRecord(RecordReference record)
Object getRecords(RecordType type)
Object getSavedSearch(RecordType type)
Object getServerTime()
Object initialize(InitializeType type, RecordReference recordReference)
void login()
Iterable<Record> savedFindRecords(SearchRecordType recordType, String searchId)
Object updateInviteeStatus(RecordId eventId, CalendarEventAttendeeResponse status)
WriteResponseList updateList(RecordType recordType, List<Map<String, Object>> recordsAttributes)
Object updateRecord(RecordReference recordReference, Map<String, Object> recordAttributes)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.module.netsuite.api.CxfPortProvider
From interface org.mule.module.netsuite.api.NetSuiteClient
From interface org.mule.module.netsuite.api.SoapNetSuiteClient

Fields

private final MapObjectMapper mom

private final CxfPortProvider portProvider

Public Constructors

public CxfNetSuiteClient (CxfPortProvider portProvider)

Parameters
portProvider

Public Methods

public WriteResponseList addList (RecordType recordType, List<Map<String, Object>> recordsAttributes)

Parameters
recordType
recordsAttributes
Throws
Exception

public Object addRecord (RecordType recordType, Map<String, Object> recordAttributes)

Parameters
recordType
recordAttributes
Throws
Exception

public AsyncStatusResult asyncFindRecord (SearchRecordType recordType, String expression)

Parameters
recordType
expression
Throws
Exception

public Object attachRecord (RecordReference sourceRecord, RecordReference destinationRecord, RecordReference contactEntity)

Parameters
sourceRecord
destinationRecord
contactEntity
Throws
Exception

public AsyncStatusResult checkAsyncStatus (String jobId)

Parameters
jobId
Throws
Exception

public WriteResponseList deleteList (List<Map<String, Object>> recordsToDelete)

Parameters
recordsToDelete
Throws
Exception

public Object deleteRecord (RecordReference record)

Parameters
record
Throws
Exception

public Object detachRecord (RecordReference sourceEntity, RecordReference destinationEntity)

Parameters
sourceEntity
destinationEntity
Throws
Exception

public Iterable<Record> findRecords (SearchRecordType recordType, String expression)

Parameters
recordType
expression
Throws
Exception

public Iterable<Record> getAsyncFindResult (String jobId)

Parameters
jobId
Throws
Exception

public NetSuitePortType getAuthenticatedPort ()

Throws
Exception

public Object getBudgetExchangeRates (RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)

Parameters
period
fromSubsidiary
toSubsidiary
Throws
Exception

public Object getConsolidatedExchangeRates (RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)

Parameters
period
fromSubsidiary
toSubsidiary
Throws
Exception

public Object getCustomizationIds (GetCustomizationType type, boolean includeInactives)

Parameters
type
includeInactives
Throws
Exception

public Object getDeletedRecords (RecordType type, DateExpression expression)

Parameters
type
expression
Throws
Exception

public Object getItemAvailabilities (RecordReference recordReference, Date ifModifiedSince)

Parameters
recordReference
ifModifiedSince
Throws
Exception

public Object getRecord (RecordReference record)

Parameters
record
Throws
Exception

public Object getRecords (RecordType type)

Parameters
type
Throws
Exception

public Object getSavedSearch (RecordType type)

Parameters
type
Throws
Exception

public Object getServerTime ()

Throws
Exception

public Object initialize (InitializeType type, RecordReference recordReference)

Parameters
type
recordReference
Throws
Exception

public void login ()

Throws
Exception

public Iterable<Record> savedFindRecords (SearchRecordType recordType, String searchId)

Parameters
recordType
searchId
Throws
Exception

public Object updateInviteeStatus (RecordId eventId, CalendarEventAttendeeResponse status)

Parameters
eventId
status
Throws
Exception

public WriteResponseList updateList (RecordType recordType, List<Map<String, Object>> recordsAttributes)

Parameters
recordType
recordsAttributes
Throws
Exception

public Object updateRecord (RecordReference recordReference, Map<String, Object> recordAttributes)

Parameters
recordReference
recordAttributes
Throws
Exception