com.sforce.soap.partner
Class SoapBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by com.sforce.soap.partner.SoapBindingStub
All Implemented Interfaces:
Soap, java.rmi.Remote, javax.xml.rpc.Stub

public class SoapBindingStub
extends org.apache.axis.client.Stub
implements Soap


Field Summary
 
Fields inherited from class org.apache.axis.client.Stub
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
SoapBindingStub()
           
SoapBindingStub(javax.xml.rpc.Service service)
           
SoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
 LeadConvertResult[] convertLead(LeadConvert[] leadConverts)
          convert a set of leads
 SaveResult[] create(SObject[] sObjects)
          Create a set of new sObjects
protected  org.apache.axis.client.Call createCall()
           
 DeleteResult[] delete(java.lang.String[] ids)
          Delete a set of sObjects
 DescribeGlobalResult describeGlobal()
          Describe the Global state
 DescribeLayoutResult describeLayout(java.lang.String sObjectType, java.lang.String[] recordTypeIds)
          Describe the layout of an sObject
 DescribeSObjectResult describeSObject(java.lang.String sObjectType)
          Describe an sObject
 DescribeSObjectResult[] describeSObjects(java.lang.String[] sObjectType)
          Describe a number sObjects
 DescribeSoftphoneLayoutResult describeSoftphoneLayout()
          Describe the layout of the SoftPhone
 DescribeTabSetResult[] describeTabs()
          Describe the tabs that appear on a users page
 EmptyRecycleBinResult[] emptyRecycleBin(java.lang.String[] ids)
          Empty a set of sObjects from the recycle bin
 GetDeletedResult getDeleted(java.lang.String sObjectType, java.util.Calendar startDate, java.util.Calendar endDate)
          Get the IDs for deleted sObjects
 GetServerTimestampResult getServerTimestamp()
          Gets server timestamp
 GetUpdatedResult getUpdated(java.lang.String sObjectType, java.util.Calendar startDate, java.util.Calendar endDate)
          Get the IDs for updated sObjects
 GetUserInfoResult getUserInfo()
          Returns standard information relevant to the current user
 InvalidateSessionsResult[] invalidateSessions(java.lang.String[] sessionIds)
          Logs out and invalidates session ids
 LoginResult login(java.lang.String username, java.lang.String password)
          Login to the Salesforce.com SOAP Api
 void logout()
          Logout the current user, invalidating the current session.
 MergeResult[] merge(MergeRequest[] request)
          Merge and update a set of sObjects based on object id
 ProcessResult[] process(ProcessRequest[] actions)
          Submit an entity to a workflow process or process a workitem
 QueryResult query(java.lang.String queryString)
          Create a Query Cursor
 QueryResult queryAll(java.lang.String queryString)
          Create a Query Cursor, including deleted sObjects
 QueryResult queryMore(java.lang.String queryLocator)
          Gets the next batch of sObjects from a query
 ResetPasswordResult resetPassword(java.lang.String userId)
          Reset a user's password
 SObject[] retrieve(java.lang.String fieldList, java.lang.String sObjectType, java.lang.String[] ids)
          Get a set of sObjects
 SearchResult search(java.lang.String searchString)
          Search for sObjects
 SendEmailResult[] sendEmail(Email[] messages)
          Send outbound email
 SetPasswordResult setPassword(java.lang.String userId, java.lang.String password)
          Set a user's password
 UndeleteResult[] undelete(java.lang.String[] ids)
          Undelete a set of sObjects
 SaveResult[] update(SObject[] sObjects)
          Update a set of sObjects
 UpsertResult[] upsert(java.lang.String externalIDFieldName, SObject[] sObjects)
          Update or insert a set of sObjects based on object id
 
Methods inherited from class org.apache.axis.client.Stub
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getResponseHeaders, getTimeout, getUsername, removeProperty, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapBindingStub

public SoapBindingStub()
                throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

SoapBindingStub

public SoapBindingStub(java.net.URL endpointURL,
                       javax.xml.rpc.Service service)
                throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

SoapBindingStub

public SoapBindingStub(javax.xml.rpc.Service service)
                throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault
Method Detail

createCall

protected org.apache.axis.client.Call createCall()
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

login

public LoginResult login(java.lang.String username,
                         java.lang.String password)
                  throws java.rmi.RemoteException,
                         UnexpectedErrorFault,
                         InvalidIdFault,
                         LoginFault
Description copied from interface: Soap
Login to the Salesforce.com SOAP Api

Specified by:
login in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidIdFault
LoginFault

describeSObject

public DescribeSObjectResult describeSObject(java.lang.String sObjectType)
                                      throws java.rmi.RemoteException,
                                             UnexpectedErrorFault,
                                             InvalidSObjectFault
Description copied from interface: Soap
Describe an sObject

Specified by:
describeSObject in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault

describeSObjects

public DescribeSObjectResult[] describeSObjects(java.lang.String[] sObjectType)
                                         throws java.rmi.RemoteException,
                                                UnexpectedErrorFault,
                                                InvalidSObjectFault
Description copied from interface: Soap
Describe a number sObjects

Specified by:
describeSObjects in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault

describeGlobal

public DescribeGlobalResult describeGlobal()
                                    throws java.rmi.RemoteException,
                                           UnexpectedErrorFault
Description copied from interface: Soap
Describe the Global state

Specified by:
describeGlobal in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

describeLayout

public DescribeLayoutResult describeLayout(java.lang.String sObjectType,
                                           java.lang.String[] recordTypeIds)
                                    throws java.rmi.RemoteException,
                                           UnexpectedErrorFault,
                                           InvalidSObjectFault,
                                           InvalidIdFault
Description copied from interface: Soap
Describe the layout of an sObject

Specified by:
describeLayout in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault

describeSoftphoneLayout

public DescribeSoftphoneLayoutResult describeSoftphoneLayout()
                                                      throws java.rmi.RemoteException,
                                                             UnexpectedErrorFault
Description copied from interface: Soap
Describe the layout of the SoftPhone

Specified by:
describeSoftphoneLayout in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

describeTabs

public DescribeTabSetResult[] describeTabs()
                                    throws java.rmi.RemoteException,
                                           UnexpectedErrorFault
Description copied from interface: Soap
Describe the tabs that appear on a users page

Specified by:
describeTabs in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

create

public SaveResult[] create(SObject[] sObjects)
                    throws java.rmi.RemoteException,
                           UnexpectedErrorFault,
                           InvalidSObjectFault,
                           InvalidIdFault,
                           InvalidFieldFault
Description copied from interface: Soap
Create a set of new sObjects

Specified by:
create in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault

update

public SaveResult[] update(SObject[] sObjects)
                    throws java.rmi.RemoteException,
                           UnexpectedErrorFault,
                           InvalidSObjectFault,
                           InvalidIdFault,
                           InvalidFieldFault
Description copied from interface: Soap
Update a set of sObjects

Specified by:
update in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault

upsert

public UpsertResult[] upsert(java.lang.String externalIDFieldName,
                             SObject[] sObjects)
                      throws java.rmi.RemoteException,
                             UnexpectedErrorFault,
                             InvalidSObjectFault,
                             InvalidIdFault,
                             InvalidFieldFault
Description copied from interface: Soap
Update or insert a set of sObjects based on object id

Specified by:
upsert in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault

merge

public MergeResult[] merge(MergeRequest[] request)
                    throws java.rmi.RemoteException,
                           UnexpectedErrorFault,
                           InvalidSObjectFault,
                           InvalidIdFault,
                           InvalidFieldFault
Description copied from interface: Soap
Merge and update a set of sObjects based on object id

Specified by:
merge in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault

delete

public DeleteResult[] delete(java.lang.String[] ids)
                      throws java.rmi.RemoteException,
                             UnexpectedErrorFault
Description copied from interface: Soap
Delete a set of sObjects

Specified by:
delete in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

undelete

public UndeleteResult[] undelete(java.lang.String[] ids)
                          throws java.rmi.RemoteException,
                                 UnexpectedErrorFault
Description copied from interface: Soap
Undelete a set of sObjects

Specified by:
undelete in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

emptyRecycleBin

public EmptyRecycleBinResult[] emptyRecycleBin(java.lang.String[] ids)
                                        throws java.rmi.RemoteException,
                                               UnexpectedErrorFault
Description copied from interface: Soap
Empty a set of sObjects from the recycle bin

Specified by:
emptyRecycleBin in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

retrieve

public SObject[] retrieve(java.lang.String fieldList,
                          java.lang.String sObjectType,
                          java.lang.String[] ids)
                   throws java.rmi.RemoteException,
                          UnexpectedErrorFault,
                          InvalidSObjectFault,
                          InvalidIdFault,
                          MalformedQueryFault,
                          InvalidFieldFault
Description copied from interface: Soap
Get a set of sObjects

Specified by:
retrieve in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault
MalformedQueryFault
InvalidFieldFault

process

public ProcessResult[] process(ProcessRequest[] actions)
                        throws java.rmi.RemoteException,
                               UnexpectedErrorFault,
                               InvalidIdFault
Description copied from interface: Soap
Submit an entity to a workflow process or process a workitem

Specified by:
process in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidIdFault

convertLead

public LeadConvertResult[] convertLead(LeadConvert[] leadConverts)
                                throws java.rmi.RemoteException,
                                       UnexpectedErrorFault
Description copied from interface: Soap
convert a set of leads

Specified by:
convertLead in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

logout

public void logout()
            throws java.rmi.RemoteException,
                   UnexpectedErrorFault
Description copied from interface: Soap
Logout the current user, invalidating the current session.

Specified by:
logout in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

invalidateSessions

public InvalidateSessionsResult[] invalidateSessions(java.lang.String[] sessionIds)
                                              throws java.rmi.RemoteException,
                                                     UnexpectedErrorFault
Description copied from interface: Soap
Logs out and invalidates session ids

Specified by:
invalidateSessions in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

getDeleted

public GetDeletedResult getDeleted(java.lang.String sObjectType,
                                   java.util.Calendar startDate,
                                   java.util.Calendar endDate)
                            throws java.rmi.RemoteException,
                                   UnexpectedErrorFault,
                                   InvalidSObjectFault
Description copied from interface: Soap
Get the IDs for deleted sObjects

Specified by:
getDeleted in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault

getUpdated

public GetUpdatedResult getUpdated(java.lang.String sObjectType,
                                   java.util.Calendar startDate,
                                   java.util.Calendar endDate)
                            throws java.rmi.RemoteException,
                                   UnexpectedErrorFault,
                                   InvalidSObjectFault
Description copied from interface: Soap
Get the IDs for updated sObjects

Specified by:
getUpdated in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault

query

public QueryResult query(java.lang.String queryString)
                  throws java.rmi.RemoteException,
                         UnexpectedErrorFault,
                         InvalidSObjectFault,
                         InvalidIdFault,
                         InvalidQueryLocatorFault,
                         MalformedQueryFault,
                         InvalidFieldFault
Description copied from interface: Soap
Create a Query Cursor

Specified by:
query in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault
InvalidQueryLocatorFault
MalformedQueryFault
InvalidFieldFault

queryAll

public QueryResult queryAll(java.lang.String queryString)
                     throws java.rmi.RemoteException,
                            UnexpectedErrorFault,
                            InvalidSObjectFault,
                            InvalidIdFault,
                            InvalidQueryLocatorFault,
                            MalformedQueryFault,
                            InvalidFieldFault
Description copied from interface: Soap
Create a Query Cursor, including deleted sObjects

Specified by:
queryAll in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidSObjectFault
InvalidIdFault
InvalidQueryLocatorFault
MalformedQueryFault
InvalidFieldFault

queryMore

public QueryResult queryMore(java.lang.String queryLocator)
                      throws java.rmi.RemoteException,
                             UnexpectedErrorFault,
                             InvalidQueryLocatorFault,
                             InvalidFieldFault
Description copied from interface: Soap
Gets the next batch of sObjects from a query

Specified by:
queryMore in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidQueryLocatorFault
InvalidFieldFault

search

public SearchResult search(java.lang.String searchString)
                    throws java.rmi.RemoteException,
                           MalformedSearchFault,
                           UnexpectedErrorFault,
                           InvalidSObjectFault,
                           InvalidFieldFault
Description copied from interface: Soap
Search for sObjects

Specified by:
search in interface Soap
Throws:
java.rmi.RemoteException
MalformedSearchFault
UnexpectedErrorFault
InvalidSObjectFault
InvalidFieldFault

getServerTimestamp

public GetServerTimestampResult getServerTimestamp()
                                            throws java.rmi.RemoteException,
                                                   UnexpectedErrorFault
Description copied from interface: Soap
Gets server timestamp

Specified by:
getServerTimestamp in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

setPassword

public SetPasswordResult setPassword(java.lang.String userId,
                                     java.lang.String password)
                              throws java.rmi.RemoteException,
                                     UnexpectedErrorFault,
                                     InvalidIdFault,
                                     InvalidNewPasswordFault
Description copied from interface: Soap
Set a user's password

Specified by:
setPassword in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidIdFault
InvalidNewPasswordFault

resetPassword

public ResetPasswordResult resetPassword(java.lang.String userId)
                                  throws java.rmi.RemoteException,
                                         UnexpectedErrorFault,
                                         InvalidIdFault
Description copied from interface: Soap
Reset a user's password

Specified by:
resetPassword in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault
InvalidIdFault

getUserInfo

public GetUserInfoResult getUserInfo()
                              throws java.rmi.RemoteException,
                                     UnexpectedErrorFault
Description copied from interface: Soap
Returns standard information relevant to the current user

Specified by:
getUserInfo in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault

sendEmail

public SendEmailResult[] sendEmail(Email[] messages)
                            throws java.rmi.RemoteException,
                                   UnexpectedErrorFault
Description copied from interface: Soap
Send outbound email

Specified by:
sendEmail in interface Soap
Throws:
java.rmi.RemoteException
UnexpectedErrorFault


Copyright © 2009. All Rights Reserved.