|
AnalysisObject
|
analysisSearch(AnalysisCollection collection, Map<String, Object> filters)
This method allows searching on the analysis API.
|
|
void
|
completeDataLoad(DataLoadCompleteRequest request, String dataLoadJobId)
This processor must be invoked to indicatethat the data load job has completed.
|
|
void
|
connect(String username, String password, String server, String tenantName)
Connect
|
|
String
|
connectionId()
Connection Identifier
|
|
ServiceSourceEntity
|
create(ServiceSourceCollection collection, ServiceSourceEntity entity)
Generic method to create entities in dynamic collections
|
|
Address
|
createAddress(Address address)
Creates new address
|
|
Asset
|
createAsset(Asset asset)
Creates a new Asset
|
|
Booking
|
createBooking(Booking booking)
Creates a new Booking
|
|
Contact
|
createContact(Contact contact)
Creates new contact
|
|
Forecast
|
createForecast(Forecast forecast)
Creates a new forecast
|
|
Lookup
|
createLookup(Lookup lookup)
Creates a new lookup
|
|
Note
|
createNote(Note note)
Creates a new note
|
|
Offer
|
createOffer(Offer offer)
Creates new offer
|
|
Opportunity
|
createOpportunity(Opportunity opportunity)
Creates a new opportunity
|
|
Product
|
createProduct(Product product)
Creates a new Product
|
|
Quote
|
createQuote(Quote quote)
Creates a new Quote
|
|
Task
|
createTask(Task task)
Creates a new Task
|
|
void
|
delete(ServiceSourceCollection collection, String objectId)
Removes the object from the collection, permitting reference checks.
|
|
void
|
disconnect()
Disconnect
|
|
Map<String, Object>
|
dynamicCreate(String collection, Map<String, Object> entity)
Generic method to create entities dynamicly using DataSense.
|
|
void
|
dynamicLoadData(String collection, List<Map<String, Object>> objects, String dataLoadJobId, boolean incremental)
Pushes data through the load API.
|
|
List<ServiceSourceEntity>
|
export(ServiceSourceCollection collection, boolean streaming, List<String> columns)
Export a collection.
|
|
String
|
getAnalysisUrl()
|
|
String
|
getApiUrl()
|
|
Integer
|
getConnectTimeout()
|
|
String
|
getCsrfToken()
|
|
String
|
getLoginUrl()
|
|
MetaData
|
getMetaData(MetaDataKey key)
|
|
List<MetaDataKey>
|
getMetaDataKeys()
|
|
List<Map<String, Object>>
|
getModelsMetadata()
|
|
String
|
getPassword()
|
|
Integer
|
getReadTimeout()
|
|
String
|
getServer()
|
|
String
|
getTenantName()
|
|
String
|
getUsername()
|
|
void
|
init()
This method initiates the ServiceSource client and gson
|
|
List<Map<String, String>>
|
invokeObjectMethod(ServiceSourceCollection collection, String objectId, String method, Map<String, Object> parameters)
Executes a method on the object of a collection.
|
|
List<Map<String, String>>
|
invokeStaticMethod(ServiceSourceCollection collection, String method, Map<String, Object> parameters)
Invoke Static Method
Executes a static method on the collection.
|
|
boolean
|
isConnected()
Are we connected
|
|
List<ServiceSourceEntity>
|
loadData(List<ServiceSourceEntity> objects, ServiceSourceCollection collection, String dataLoadJobId, boolean incremental)
Pushes data through the load API.
|
|
String
|
lookupKey(String collectionName, String propertyPath, String displayName)
Consumes the lookups config API looking for a lookup for the given connection on the given propertyPath.
|
|
List<ServiceSourceEntity>
|
query(ServiceSourceCollection collection, String query)
This method provides basic search capabilities through a collection by providing a mongo formatted query.
|
|
ServiceSourceEntity
|
read(ServiceSourceCollection collection, String objectId)
Generic method to read entities from dynamic collections
|
|
Address
|
readAddress(String objectId)
Fetches the address identified by the object id.
|
|
Asset
|
readAsset(String objectId)
Fetches the Asset identified by the object id.
|
|
Booking
|
readBooking(String objectId)
Fetches the Booking identified by the object id.
|
|
Contact
|
readContact(String objectId)
Fetches the contact identified by the object id.
|
|
Forecast
|
readForecast(String objectId)
Fetches the forecast identified by the object id.
|
|
Note
|
readNote(String objectId)
Fetches the note identified by the object id.
|
|
Offer
|
readOffer(String objectId)
Fetches the offer identified by the object id.
|
|
Opportunity
|
readOpportunity(String objectId)
Fetches the opportunity identified by the object id.
|
|
Product
|
readProduct(String objectId)
Fetches the Product identified by the object id.
|
|
Quote
|
readQuote(String objectId)
Fetches the Quote identified by the object id.
|
|
Task
|
readTask(String objectId)
Fetches the Task identified by the object id.
|
|
List<ServiceSourceEntity>
|
search(ServiceSourceCollection collection, Map<String, Object> filters, boolean streaming, List<String> columns, int limit)
This method provides search capabilities by specifying filters through a map.
|
|
void
|
setAnalysisUrl(String analysisUrl)
|
|
void
|
setApiUrl(String apiUrl)
|
|
void
|
setConnectTimeout(Integer connectTimeout)
|
|
void
|
setCsrfToken(String csrfToken)
|
|
void
|
setLoginUrl(String loginUrl)
|
|
void
|
setPassword(String password)
|
|
void
|
setReadTimeout(Integer readTimeout)
|
|
void
|
setServer(String server)
|
|
void
|
setTenantName(String tenantName)
|
|
void
|
setUsername(String username)
|
|
DataLoad
|
startDataLoad(String jobName, String dataLoadConfigId, String displayName)
Starts a Data Load by creating an entry in the data load collection.
|
|
ServiceSourceEntity
|
update(ServiceSourceCollection collection, String objectId, ServiceSourceEntity entity)
Generic method to update entities from dynamic collections
|
|
Address
|
updateAddress(String objectId, Address address)
Updates an address
|
|
Asset
|
updateAsset(String objectId, Asset asset)
Updates an Asset
|
|
Booking
|
updateBooking(String objectId, Booking booking)
Updates a Booking
|
|
Contact
|
updateContact(String objectId, Contact contact)
Updates a given contact
|
|
Forecast
|
updateForecast(String objectId, Forecast forecast)
Updates a forecast
|
|
Note
|
updateNote(String objectId, Note note)
Updates a given note
|
|
Offer
|
updateOffer(String objectId, Offer offer)
Updates an offer
|
|
Opportunity
|
updateOpportunity(String objectId, Opportunity opportunity)
Updates an opportunity
|
|
Product
|
updateProduct(String objectId, Product product)
Updates a Product
|
|
Quote
|
updateQuote(String objectId, Quote quote)
Updates a Quote
|
|
Task
|
updateTask(String objectId, Task task)
Updates a Task
|