Package com.sforce.soap.partner
Class LeadConvert
- java.lang.Object
-
- com.sforce.soap.partner.LeadConvert
-
- All Implemented Interfaces:
ILeadConvert,XMLizable
public class LeadConvert extends Object implements XMLizable, ILeadConvert
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
-
-
Constructor Summary
Constructors Constructor Description LeadConvert()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccountId()element : accountId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringSObjectgetAccountRecord()element : accountRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObjectBooleangetBypassAccountDedupeCheck()element : bypassAccountDedupeCheck of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.BooleanBooleangetBypassContactDedupeCheck()element : bypassContactDedupeCheck of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.BooleanStringgetContactId()element : contactId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringSObjectgetContactRecord()element : contactRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObjectStringgetConvertedStatus()element : convertedStatus of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringbooleangetDoNotCreateOpportunity()element : doNotCreateOpportunity of type {http://www.w3.org/2001/XMLSchema}boolean java type: booleanStringgetLeadId()element : leadId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringStringgetOpportunityId()element : opportunityId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringStringgetOpportunityName()element : opportunityName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.StringSObjectgetOpportunityRecord()element : opportunityRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObjectbooleangetOverwriteLeadSource()element : overwriteLeadSource of type {http://www.w3.org/2001/XMLSchema}boolean java type: booleanStringgetOwnerId()element : ownerId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringStringgetRelatedPersonAccountId()element : relatedPersonAccountId of type {urn:partner.soap.sforce.com}ID java type: java.lang.StringSObjectgetRelatedPersonAccountRecord()element : relatedPersonAccountRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObjectbooleangetSendNotificationEmail()element : sendNotificationEmail of type {http://www.w3.org/2001/XMLSchema}boolean java type: booleanbooleanisDoNotCreateOpportunity()booleanisOverwriteLeadSource()booleanisSendNotificationEmail()voidload(XmlInputStream __in, TypeMapper __typeMapper)protected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetAccountId(XmlInputStream __in, TypeMapper __typeMapper)voidsetAccountId(String accountId)voidsetAccountRecord(ISObject accountRecord)protected voidsetAccountRecord(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetBypassAccountDedupeCheck(XmlInputStream __in, TypeMapper __typeMapper)voidsetBypassAccountDedupeCheck(Boolean bypassAccountDedupeCheck)protected voidsetBypassContactDedupeCheck(XmlInputStream __in, TypeMapper __typeMapper)voidsetBypassContactDedupeCheck(Boolean bypassContactDedupeCheck)protected voidsetContactId(XmlInputStream __in, TypeMapper __typeMapper)voidsetContactId(String contactId)voidsetContactRecord(ISObject contactRecord)protected voidsetContactRecord(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetConvertedStatus(XmlInputStream __in, TypeMapper __typeMapper)voidsetConvertedStatus(String convertedStatus)voidsetDoNotCreateOpportunity(boolean doNotCreateOpportunity)protected voidsetDoNotCreateOpportunity(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetLeadId(XmlInputStream __in, TypeMapper __typeMapper)voidsetLeadId(String leadId)protected voidsetOpportunityId(XmlInputStream __in, TypeMapper __typeMapper)voidsetOpportunityId(String opportunityId)protected voidsetOpportunityName(XmlInputStream __in, TypeMapper __typeMapper)voidsetOpportunityName(String opportunityName)voidsetOpportunityRecord(ISObject opportunityRecord)protected voidsetOpportunityRecord(XmlInputStream __in, TypeMapper __typeMapper)voidsetOverwriteLeadSource(boolean overwriteLeadSource)protected voidsetOverwriteLeadSource(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetOwnerId(XmlInputStream __in, TypeMapper __typeMapper)voidsetOwnerId(String ownerId)protected voidsetRelatedPersonAccountId(XmlInputStream __in, TypeMapper __typeMapper)voidsetRelatedPersonAccountId(String relatedPersonAccountId)voidsetRelatedPersonAccountRecord(ISObject relatedPersonAccountRecord)protected voidsetRelatedPersonAccountRecord(XmlInputStream __in, TypeMapper __typeMapper)voidsetSendNotificationEmail(boolean sendNotificationEmail)protected voidsetSendNotificationEmail(XmlInputStream __in, TypeMapper __typeMapper)StringtoString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
-
-
Method Detail
-
getAccountId
public String getAccountId()
Description copied from interface:ILeadConvertelement : accountId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getAccountIdin interfaceILeadConvert
-
setAccountId
public void setAccountId(String accountId)
- Specified by:
setAccountIdin interfaceILeadConvert
-
setAccountId
protected void setAccountId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getAccountRecord
public SObject getAccountRecord()
Description copied from interface:ILeadConvertelement : accountRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObject- Specified by:
getAccountRecordin interfaceILeadConvert
-
setAccountRecord
public void setAccountRecord(ISObject accountRecord)
- Specified by:
setAccountRecordin interfaceILeadConvert
-
setAccountRecord
protected void setAccountRecord(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getBypassAccountDedupeCheck
public Boolean getBypassAccountDedupeCheck()
Description copied from interface:ILeadConvertelement : bypassAccountDedupeCheck of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Boolean- Specified by:
getBypassAccountDedupeCheckin interfaceILeadConvert
-
setBypassAccountDedupeCheck
public void setBypassAccountDedupeCheck(Boolean bypassAccountDedupeCheck)
- Specified by:
setBypassAccountDedupeCheckin interfaceILeadConvert
-
setBypassAccountDedupeCheck
protected void setBypassAccountDedupeCheck(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getBypassContactDedupeCheck
public Boolean getBypassContactDedupeCheck()
Description copied from interface:ILeadConvertelement : bypassContactDedupeCheck of type {http://www.w3.org/2001/XMLSchema}boolean java type: java.lang.Boolean- Specified by:
getBypassContactDedupeCheckin interfaceILeadConvert
-
setBypassContactDedupeCheck
public void setBypassContactDedupeCheck(Boolean bypassContactDedupeCheck)
- Specified by:
setBypassContactDedupeCheckin interfaceILeadConvert
-
setBypassContactDedupeCheck
protected void setBypassContactDedupeCheck(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getContactId
public String getContactId()
Description copied from interface:ILeadConvertelement : contactId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getContactIdin interfaceILeadConvert
-
setContactId
public void setContactId(String contactId)
- Specified by:
setContactIdin interfaceILeadConvert
-
setContactId
protected void setContactId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getContactRecord
public SObject getContactRecord()
Description copied from interface:ILeadConvertelement : contactRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObject- Specified by:
getContactRecordin interfaceILeadConvert
-
setContactRecord
public void setContactRecord(ISObject contactRecord)
- Specified by:
setContactRecordin interfaceILeadConvert
-
setContactRecord
protected void setContactRecord(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getConvertedStatus
public String getConvertedStatus()
Description copied from interface:ILeadConvertelement : convertedStatus of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getConvertedStatusin interfaceILeadConvert
-
setConvertedStatus
public void setConvertedStatus(String convertedStatus)
- Specified by:
setConvertedStatusin interfaceILeadConvert
-
setConvertedStatus
protected void setConvertedStatus(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getDoNotCreateOpportunity
public boolean getDoNotCreateOpportunity()
Description copied from interface:ILeadConvertelement : doNotCreateOpportunity of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean- Specified by:
getDoNotCreateOpportunityin interfaceILeadConvert
-
isDoNotCreateOpportunity
public boolean isDoNotCreateOpportunity()
- Specified by:
isDoNotCreateOpportunityin interfaceILeadConvert
-
setDoNotCreateOpportunity
public void setDoNotCreateOpportunity(boolean doNotCreateOpportunity)
- Specified by:
setDoNotCreateOpportunityin interfaceILeadConvert
-
setDoNotCreateOpportunity
protected void setDoNotCreateOpportunity(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getLeadId
public String getLeadId()
Description copied from interface:ILeadConvertelement : leadId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getLeadIdin interfaceILeadConvert
-
setLeadId
public void setLeadId(String leadId)
- Specified by:
setLeadIdin interfaceILeadConvert
-
setLeadId
protected void setLeadId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getOpportunityId
public String getOpportunityId()
Description copied from interface:ILeadConvertelement : opportunityId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getOpportunityIdin interfaceILeadConvert
-
setOpportunityId
public void setOpportunityId(String opportunityId)
- Specified by:
setOpportunityIdin interfaceILeadConvert
-
setOpportunityId
protected void setOpportunityId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getOpportunityName
public String getOpportunityName()
Description copied from interface:ILeadConvertelement : opportunityName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String- Specified by:
getOpportunityNamein interfaceILeadConvert
-
setOpportunityName
public void setOpportunityName(String opportunityName)
- Specified by:
setOpportunityNamein interfaceILeadConvert
-
setOpportunityName
protected void setOpportunityName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getOpportunityRecord
public SObject getOpportunityRecord()
Description copied from interface:ILeadConvertelement : opportunityRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObject- Specified by:
getOpportunityRecordin interfaceILeadConvert
-
setOpportunityRecord
public void setOpportunityRecord(ISObject opportunityRecord)
- Specified by:
setOpportunityRecordin interfaceILeadConvert
-
setOpportunityRecord
protected void setOpportunityRecord(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getOverwriteLeadSource
public boolean getOverwriteLeadSource()
Description copied from interface:ILeadConvertelement : overwriteLeadSource of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean- Specified by:
getOverwriteLeadSourcein interfaceILeadConvert
-
isOverwriteLeadSource
public boolean isOverwriteLeadSource()
- Specified by:
isOverwriteLeadSourcein interfaceILeadConvert
-
setOverwriteLeadSource
public void setOverwriteLeadSource(boolean overwriteLeadSource)
- Specified by:
setOverwriteLeadSourcein interfaceILeadConvert
-
setOverwriteLeadSource
protected void setOverwriteLeadSource(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getOwnerId
public String getOwnerId()
Description copied from interface:ILeadConvertelement : ownerId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getOwnerIdin interfaceILeadConvert
-
setOwnerId
public void setOwnerId(String ownerId)
- Specified by:
setOwnerIdin interfaceILeadConvert
-
setOwnerId
protected void setOwnerId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getRelatedPersonAccountId
public String getRelatedPersonAccountId()
Description copied from interface:ILeadConvertelement : relatedPersonAccountId of type {urn:partner.soap.sforce.com}ID java type: java.lang.String- Specified by:
getRelatedPersonAccountIdin interfaceILeadConvert
-
setRelatedPersonAccountId
public void setRelatedPersonAccountId(String relatedPersonAccountId)
- Specified by:
setRelatedPersonAccountIdin interfaceILeadConvert
-
setRelatedPersonAccountId
protected void setRelatedPersonAccountId(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getRelatedPersonAccountRecord
public SObject getRelatedPersonAccountRecord()
Description copied from interface:ILeadConvertelement : relatedPersonAccountRecord of type {urn:sobject.partner.soap.sforce.com}sObject java type: com.sforce.soap.partner.sobject.SObject- Specified by:
getRelatedPersonAccountRecordin interfaceILeadConvert
-
setRelatedPersonAccountRecord
public void setRelatedPersonAccountRecord(ISObject relatedPersonAccountRecord)
- Specified by:
setRelatedPersonAccountRecordin interfaceILeadConvert
-
setRelatedPersonAccountRecord
protected void setRelatedPersonAccountRecord(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getSendNotificationEmail
public boolean getSendNotificationEmail()
Description copied from interface:ILeadConvertelement : sendNotificationEmail of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean- Specified by:
getSendNotificationEmailin interfaceILeadConvert
-
isSendNotificationEmail
public boolean isSendNotificationEmail()
- Specified by:
isSendNotificationEmailin interfaceILeadConvert
-
setSendNotificationEmail
public void setSendNotificationEmail(boolean sendNotificationEmail)
- Specified by:
setSendNotificationEmailin interfaceILeadConvert
-
setSendNotificationEmail
protected void setSendNotificationEmail(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
-