com.github.ryanbrainard.richobjects.api.client
Class SfdcApiJerseyClient

java.lang.Object
  extended by com.github.ryanbrainard.richobjects.api.client.SfdcApiJerseyClient
All Implemented Interfaces:
SfdcApiClient

public class SfdcApiJerseyClient
extends Object
implements SfdcApiClient

Author:
Ryan Brainard

Method Summary
 String createSObject(String type, Map<String,?> record)
           
 void deleteSObject(String type, String id)
           
 GlobalDescription describeGlobal()
           
 SObjectDescription describeSObject(String type)
           
 BasicSObjectInformation describeSObjectBasic(String type)
           
 String getRawBase64Content(String contentUrl)
           
 Map<String,?> getSObject(String type, String id)
           
 QueryResult query(String soql)
           
 QueryResult queryMore(String nextRecordsUrl)
           
 void updateSObject(String type, String id, Map<String,?> record)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

describeGlobal

public GlobalDescription describeGlobal()
Specified by:
describeGlobal in interface SfdcApiClient

describeSObjectBasic

public BasicSObjectInformation describeSObjectBasic(String type)
Specified by:
describeSObjectBasic in interface SfdcApiClient

describeSObject

public SObjectDescription describeSObject(String type)
Specified by:
describeSObject in interface SfdcApiClient

createSObject

public String createSObject(String type,
                            Map<String,?> record)
Specified by:
createSObject in interface SfdcApiClient

updateSObject

public void updateSObject(String type,
                          String id,
                          Map<String,?> record)
Specified by:
updateSObject in interface SfdcApiClient

deleteSObject

public void deleteSObject(String type,
                          String id)
Specified by:
deleteSObject in interface SfdcApiClient

getSObject

public Map<String,?> getSObject(String type,
                                String id)
Specified by:
getSObject in interface SfdcApiClient

query

public QueryResult query(String soql)
Specified by:
query in interface SfdcApiClient

queryMore

public QueryResult queryMore(String nextRecordsUrl)
Specified by:
queryMore in interface SfdcApiClient

getRawBase64Content

public String getRawBase64Content(String contentUrl)
Specified by:
getRawBase64Content in interface SfdcApiClient


Copyright © 2012. All Rights Reserved.