public class SoapBindingStub extends org.apache.axis.client.Stub implements Soap
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
Constructor and Description |
---|
SoapBindingStub() |
SoapBindingStub(javax.xml.rpc.Service service) |
SoapBindingStub(URL endpointURL,
javax.xml.rpc.Service service) |
Modifier and Type | Method and Description |
---|---|
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(String[] ids)
Delete a set of sObjects
|
DescribeDataCategoryGroupResult[] |
describeDataCategoryGroups(String[] sObjectType)
Describe all the data category groups available for a given
set of types
|
DescribeDataCategoryGroupStructureResult[] |
describeDataCategoryGroupStructures(DataCategoryGroupSobjectTypePair[] pairs,
boolean topCategoriesOnly)
Describe the data category group structures for a given set
of pair of types and data category group name
|
DescribeGlobalResult |
describeGlobal()
Describe the Global state
|
DescribeLayoutResult |
describeLayout(String sObjectType,
String[] recordTypeIds)
Describe the layout of an sObject
|
DescribeSObjectResult |
describeSObject(String sObjectType)
Describe an sObject
|
DescribeSObjectResult[] |
describeSObjects(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(String[] ids)
Empty a set of sObjects from the recycle bin
|
GetDeletedResult |
getDeleted(String sObjectType,
Calendar startDate,
Calendar endDate)
Get the IDs for deleted sObjects
|
GetServerTimestampResult |
getServerTimestamp()
Gets server timestamp
|
GetUpdatedResult |
getUpdated(String sObjectType,
Calendar startDate,
Calendar endDate)
Get the IDs for updated sObjects
|
GetUserInfoResult |
getUserInfo()
Returns standard information relevant to the current user
|
InvalidateSessionsResult[] |
invalidateSessions(String[] sessionIds)
Logs out and invalidates session ids
|
LoginResult |
login(String username,
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(String queryString)
Create a Query Cursor
|
QueryResult |
queryAll(String queryString)
Create a Query Cursor, including deleted sObjects
|
QueryResult |
queryMore(String queryLocator)
Gets the next batch of sObjects from a query
|
ResetPasswordResult |
resetPassword(String userId)
Reset a user's password
|
SObject[] |
retrieve(String fieldList,
String sObjectType,
String[] ids)
Get a set of sObjects
|
SearchResult |
search(String searchString)
Search for sObjects
|
SendEmailResult[] |
sendEmail(Email[] messages)
Send outbound email
|
SetPasswordResult |
setPassword(String userId,
String password)
Set a user's password
|
UndeleteResult[] |
undelete(String[] ids)
Undelete a set of sObjects
|
SaveResult[] |
update(SObject[] sObjects)
Update a set of sObjects
|
UpsertResult[] |
upsert(String externalIDFieldName,
SObject[] sObjects)
Update or insert a set of sObjects based on object id
|
_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
public SoapBindingStub() throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
public SoapBindingStub(URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
public SoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
protected org.apache.axis.client.Call createCall() throws RemoteException
RemoteException
public LoginResult login(String username, String password) throws RemoteException, InvalidIdFault, UnexpectedErrorFault, LoginFault
Soap
login
in interface Soap
RemoteException
InvalidIdFault
UnexpectedErrorFault
LoginFault
public DescribeSObjectResult describeSObject(String sObjectType) throws RemoteException, InvalidSObjectFault, UnexpectedErrorFault
Soap
describeSObject
in interface Soap
RemoteException
InvalidSObjectFault
UnexpectedErrorFault
public DescribeSObjectResult[] describeSObjects(String[] sObjectType) throws RemoteException, InvalidSObjectFault, UnexpectedErrorFault
Soap
describeSObjects
in interface Soap
RemoteException
InvalidSObjectFault
UnexpectedErrorFault
public DescribeGlobalResult describeGlobal() throws RemoteException, UnexpectedErrorFault
Soap
describeGlobal
in interface Soap
RemoteException
UnexpectedErrorFault
public DescribeDataCategoryGroupResult[] describeDataCategoryGroups(String[] sObjectType) throws RemoteException, InvalidSObjectFault, UnexpectedErrorFault
Soap
describeDataCategoryGroups
in interface Soap
RemoteException
InvalidSObjectFault
UnexpectedErrorFault
public DescribeDataCategoryGroupStructureResult[] describeDataCategoryGroupStructures(DataCategoryGroupSobjectTypePair[] pairs, boolean topCategoriesOnly) throws RemoteException, InvalidSObjectFault, UnexpectedErrorFault
Soap
describeDataCategoryGroupStructures
in interface Soap
RemoteException
InvalidSObjectFault
UnexpectedErrorFault
public DescribeLayoutResult describeLayout(String sObjectType, String[] recordTypeIds) throws RemoteException, InvalidSObjectFault, InvalidIdFault, UnexpectedErrorFault
Soap
describeLayout
in interface Soap
RemoteException
InvalidSObjectFault
InvalidIdFault
UnexpectedErrorFault
public DescribeSoftphoneLayoutResult describeSoftphoneLayout() throws RemoteException, UnexpectedErrorFault
Soap
describeSoftphoneLayout
in interface Soap
RemoteException
UnexpectedErrorFault
public DescribeTabSetResult[] describeTabs() throws RemoteException, UnexpectedErrorFault
Soap
describeTabs
in interface Soap
RemoteException
UnexpectedErrorFault
public SaveResult[] create(SObject[] sObjects) throws RemoteException, InvalidSObjectFault, InvalidIdFault, InvalidFieldFault, UnexpectedErrorFault
Soap
create
in interface Soap
RemoteException
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault
UnexpectedErrorFault
public SaveResult[] update(SObject[] sObjects) throws RemoteException, InvalidSObjectFault, InvalidIdFault, InvalidFieldFault, UnexpectedErrorFault
Soap
update
in interface Soap
RemoteException
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault
UnexpectedErrorFault
public UpsertResult[] upsert(String externalIDFieldName, SObject[] sObjects) throws RemoteException, InvalidSObjectFault, InvalidIdFault, InvalidFieldFault, UnexpectedErrorFault
Soap
upsert
in interface Soap
RemoteException
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault
UnexpectedErrorFault
public MergeResult[] merge(MergeRequest[] request) throws RemoteException, InvalidSObjectFault, InvalidIdFault, InvalidFieldFault, UnexpectedErrorFault
Soap
merge
in interface Soap
RemoteException
InvalidSObjectFault
InvalidIdFault
InvalidFieldFault
UnexpectedErrorFault
public DeleteResult[] delete(String[] ids) throws RemoteException, UnexpectedErrorFault
Soap
delete
in interface Soap
RemoteException
UnexpectedErrorFault
public UndeleteResult[] undelete(String[] ids) throws RemoteException, UnexpectedErrorFault
Soap
undelete
in interface Soap
RemoteException
UnexpectedErrorFault
public EmptyRecycleBinResult[] emptyRecycleBin(String[] ids) throws RemoteException, UnexpectedErrorFault
Soap
emptyRecycleBin
in interface Soap
RemoteException
UnexpectedErrorFault
public SObject[] retrieve(String fieldList, String sObjectType, String[] ids) throws RemoteException, InvalidSObjectFault, MalformedQueryFault, InvalidIdFault, InvalidFieldFault, UnexpectedErrorFault
Soap
retrieve
in interface Soap
RemoteException
InvalidSObjectFault
MalformedQueryFault
InvalidIdFault
InvalidFieldFault
UnexpectedErrorFault
public ProcessResult[] process(ProcessRequest[] actions) throws RemoteException, InvalidIdFault, UnexpectedErrorFault
Soap
process
in interface Soap
RemoteException
InvalidIdFault
UnexpectedErrorFault
public LeadConvertResult[] convertLead(LeadConvert[] leadConverts) throws RemoteException, UnexpectedErrorFault
Soap
convertLead
in interface Soap
RemoteException
UnexpectedErrorFault
public void logout() throws RemoteException, UnexpectedErrorFault
Soap
logout
in interface Soap
RemoteException
UnexpectedErrorFault
public InvalidateSessionsResult[] invalidateSessions(String[] sessionIds) throws RemoteException, UnexpectedErrorFault
Soap
invalidateSessions
in interface Soap
RemoteException
UnexpectedErrorFault
public GetDeletedResult getDeleted(String sObjectType, Calendar startDate, Calendar endDate) throws RemoteException, InvalidSObjectFault, UnexpectedErrorFault
Soap
getDeleted
in interface Soap
RemoteException
InvalidSObjectFault
UnexpectedErrorFault
public GetUpdatedResult getUpdated(String sObjectType, Calendar startDate, Calendar endDate) throws RemoteException, InvalidSObjectFault, UnexpectedErrorFault
Soap
getUpdated
in interface Soap
RemoteException
InvalidSObjectFault
UnexpectedErrorFault
public QueryResult query(String queryString) throws RemoteException, InvalidSObjectFault, MalformedQueryFault, InvalidIdFault, InvalidFieldFault, UnexpectedErrorFault, InvalidQueryLocatorFault
Soap
query
in interface Soap
RemoteException
InvalidSObjectFault
MalformedQueryFault
InvalidIdFault
InvalidFieldFault
UnexpectedErrorFault
InvalidQueryLocatorFault
public QueryResult queryAll(String queryString) throws RemoteException, InvalidSObjectFault, MalformedQueryFault, InvalidIdFault, InvalidFieldFault, UnexpectedErrorFault, InvalidQueryLocatorFault
Soap
queryAll
in interface Soap
RemoteException
InvalidSObjectFault
MalformedQueryFault
InvalidIdFault
InvalidFieldFault
UnexpectedErrorFault
InvalidQueryLocatorFault
public QueryResult queryMore(String queryLocator) throws RemoteException, InvalidFieldFault, UnexpectedErrorFault, InvalidQueryLocatorFault
Soap
queryMore
in interface Soap
RemoteException
InvalidFieldFault
UnexpectedErrorFault
InvalidQueryLocatorFault
public SearchResult search(String searchString) throws RemoteException, InvalidSObjectFault, MalformedSearchFault, InvalidFieldFault, UnexpectedErrorFault
Soap
search
in interface Soap
RemoteException
InvalidSObjectFault
MalformedSearchFault
InvalidFieldFault
UnexpectedErrorFault
public GetServerTimestampResult getServerTimestamp() throws RemoteException, UnexpectedErrorFault
Soap
getServerTimestamp
in interface Soap
RemoteException
UnexpectedErrorFault
public SetPasswordResult setPassword(String userId, String password) throws RemoteException, InvalidIdFault, UnexpectedErrorFault, InvalidNewPasswordFault
Soap
setPassword
in interface Soap
RemoteException
InvalidIdFault
UnexpectedErrorFault
InvalidNewPasswordFault
public ResetPasswordResult resetPassword(String userId) throws RemoteException, InvalidIdFault, UnexpectedErrorFault
Soap
resetPassword
in interface Soap
RemoteException
InvalidIdFault
UnexpectedErrorFault
public GetUserInfoResult getUserInfo() throws RemoteException, UnexpectedErrorFault
Soap
getUserInfo
in interface Soap
RemoteException
UnexpectedErrorFault
public SendEmailResult[] sendEmail(Email[] messages) throws RemoteException, UnexpectedErrorFault
Soap
sendEmail
in interface Soap
RemoteException
UnexpectedErrorFault
Copyright © 2014. All rights reserved.