public interface

NetSuiteClient

org.mule.module.netsuite.api.NetSuiteClient<CollectionType, ExceptionType extends java.lang.Exception, VoidType>
Known Indirect Subclasses

Class Overview

A NetSuite facade

Summary

Public Methods
abstract Object addList(RecordType recordType, List<Map<String, Object>> records)
abstract Object addRecord(RecordType recordType, Map<String, Object> recordAttributes)
abstract Object addRecordObject(RecordType recordType, Record record)
abstract AsyncStatusResult asyncFindRecord(SearchRecordType recordType, String expression)
abstract AttachResponse attachRecord(RecordReference sourceEntity, RecordReference destinationEntity, RecordReference contactEntity)
abstract AsyncStatusResult checkAsyncStatus(String jobId)
abstract Object deleteList(List<Map<String, Object>> records)
abstract DeleteResponse deleteRecord(RecordReference recordReference)
abstract DetachResponse detachRecord(RecordReference sourceEntity, RecordReference destinationEntity)
abstract List<Record> findRecords(SearchRecordType recordType, String expression)
abstract List<Record> getAsyncFindResult(String jobId)
abstract GetBudgetExchangeRateResponse getBudgetExchangeRates(RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)
abstract GetConsolidatedExchangeRateResponse getConsolidatedExchangeRates(RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)
abstract CollectionType getCustomizationIds(GetCustomizationType type, boolean includeInactives)
abstract GetDataCenterUrlsResponse getDataCenterUrls(GetDataCenterUrlsRequest request)
abstract CollectionType getDeletedRecords(RecordType type, DateExpression whenExpression)
abstract CollectionType getItemAvailabilities(RecordReference recordReference, Date ifModifiedSince)
abstract CxfPortProvider getPortProvider()
abstract Object getRecord(RecordReference sourceEntity)
abstract CollectionType getRecords(GetAllRecordType type)
abstract CollectionType getSavedSearch(RecordType type)
abstract Object getServerTime()
abstract Object initialize(InitializeType type, RecordReference recordReference)
abstract List<SearchRow> savedFindRecords(SearchRecordType recordType, String searchId)
abstract <T extends CustomFieldRef> List<T> unmapCustomField(T type, Map<String, Object> customField)
abstract UpdateInviteeStatusResponse updateInviteeStatus(RecordId eventId, CalendarEventAttendeeResponse status)
abstract Object updateList(RecordType recordType, List<Map<String, Object>> records)
abstract Object updateRecord(RecordReference recordReference, Map<String, Object> recordAttributes)
abstract CollectionType upsertList(RecordType recordType, List<Map<String, Object>> records)
abstract Object upsertRecord(RecordReference recordReference, Map<String, Object> recordAttributes)

Public Methods

public abstract Object addList (RecordType recordType, List<Map<String, Object>> records)

Parameters
recordType
records
Throws
Exception

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

Parameters
recordType
recordAttributes
Throws
Exception

public abstract Object addRecordObject (RecordType recordType, Record record)

Parameters
recordType
record
Throws
Exception

public abstract AsyncStatusResult asyncFindRecord (SearchRecordType recordType, String expression)

Parameters
recordType
expression
Throws
Exception

public abstract AttachResponse attachRecord (RecordReference sourceEntity, RecordReference destinationEntity, RecordReference contactEntity)

Parameters
sourceEntity
destinationEntity
contactEntity
Throws
Exception

public abstract AsyncStatusResult checkAsyncStatus (String jobId)

Parameters
jobId
Throws
Exception

public abstract Object deleteList (List<Map<String, Object>> records)

Parameters
records
Throws
Exception

public abstract DeleteResponse deleteRecord (RecordReference recordReference)

Parameters
recordReference
Throws
Exception

public abstract DetachResponse detachRecord (RecordReference sourceEntity, RecordReference destinationEntity)

Parameters
sourceEntity
destinationEntity
Throws
Exception

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

Parameters
recordType
expression
Throws
Exception

public abstract List<Record> getAsyncFindResult (String jobId)

Parameters
jobId
Throws
Exception

public abstract GetBudgetExchangeRateResponse getBudgetExchangeRates (RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)

Parameters
period
fromSubsidiary
toSubsidiary
Throws
Exception

public abstract GetConsolidatedExchangeRateResponse getConsolidatedExchangeRates (RecordId period, RecordId fromSubsidiary, RecordId toSubsidiary)

Parameters
period
fromSubsidiary
toSubsidiary
Throws
Exception

public abstract CollectionType getCustomizationIds (GetCustomizationType type, boolean includeInactives)

Parameters
type
includeInactives
Throws
Exception

public abstract GetDataCenterUrlsResponse getDataCenterUrls (GetDataCenterUrlsRequest request)

Parameters
request
Throws
Exception

public abstract CollectionType getDeletedRecords (RecordType type, DateExpression whenExpression)

Parameters
type
whenExpression
Throws
Exception

public abstract CollectionType getItemAvailabilities (RecordReference recordReference, Date ifModifiedSince)

Parameters
recordReference
ifModifiedSince
Throws
Exception

public abstract CxfPortProvider getPortProvider ()

public abstract Object getRecord (RecordReference sourceEntity)

Parameters
sourceEntity
Throws
Exception

public abstract CollectionType getRecords (GetAllRecordType type)

Parameters
type
Throws
Exception

public abstract CollectionType getSavedSearch (RecordType type)

Parameters
type
Throws
Exception

public abstract Object getServerTime ()

Throws
Exception

public abstract Object initialize (InitializeType type, RecordReference recordReference)

Parameters
type
recordReference
Throws
Exception

public abstract List<SearchRow> savedFindRecords (SearchRecordType recordType, String searchId)

Parameters
recordType
searchId
Throws
Exception

public abstract List<T> unmapCustomField (T type, Map<String, Object> customField)

Parameters
type
customField

public abstract UpdateInviteeStatusResponse updateInviteeStatus (RecordId eventId, CalendarEventAttendeeResponse status)

Parameters
eventId
status
Throws
Exception

public abstract Object updateList (RecordType recordType, List<Map<String, Object>> records)

Parameters
recordType
records
Throws
Exception

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

Parameters
recordReference
recordAttributes
Throws
Exception

public abstract CollectionType upsertList (RecordType recordType, List<Map<String, Object>> records)

Parameters
recordType
records
Throws
Exception

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

Parameters
recordReference
recordAttributes
Throws
Exception