Package com.sforce.async
Class BatchResult
java.lang.Object
com.sforce.async.BatchResult
- All Implemented Interfaces:
XMLizable
BatchResult --
- Since:
- 160
- Author:
- mcheenath
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResult[]booleanvoidload(XmlInputStream __in, TypeMapper __typeMapper) load the fileds/children from the specified xml streamprotected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper) voidtoString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) write this instace as xml.protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
Constructor Details
-
BatchResult
public BatchResult()Constructor
-
-
Method Details
-
isPartialResult
public boolean isPartialResult() -
getResult
-
setResult
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException Description copied from interface:XMLizablewrite this instace as xml.- Specified by:
writein interfaceXMLizable- Parameters:
__element- xml element name__out- xml output stream__typeMapper- type mapper to be used- Throws:
IOException- failed to write xml
-
writeFields
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException Description copied from interface:XMLizableload the fileds/children from the specified xml stream- Specified by:
loadin interfaceXMLizable- Parameters:
__in- xml input stream from which the data is read__typeMapper- type mapper to be used- Throws:
IOException- failed to read xmlConnectionException- failed to read/parser/bind xml
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
toString
-