Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

inboud intgration with CXF

  • Loading branch information...
commit 26613845eac91a6649afa0f55e7374d63387cdd8 1 parent cfb1e30
Barry authored
Showing with 20,889 additions and 7,508 deletions.
  1. +83 −6 SpringXfc/src/main/java/com/barryku/cloud/controller/SforceController.java
  2. +28 −0 SpringXfc/src/main/java/com/barryku/cloud/model/SpringProperties.java
  3. +54 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/AllOrNoneHeader.java
  4. +54 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/AllowFieldTruncationHeader.java
  5. +99 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ApiFault.java
  6. +80 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ApiQueryFault.java
  7. +92 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/AssignmentRuleHeader.java
  8. +92 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/CallOptions.java
  9. +155 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ChildRelationship.java
  10. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ConvertLead.java
  11. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ConvertLeadResponse.java
  12. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Create.java
  13. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/CreateResponse.java
  14. +124 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DataCategory.java
  15. +90 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DataCategoryGroupSobjectTypePair.java
  16. +54 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DebugLevel.java
  17. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DebuggingHeader.java
  18. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DebuggingInfo.java
  19. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Delete.java
  20. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DeleteResponse.java
  21. +116 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DeleteResult.java
  22. +93 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DeletedRecord.java
  23. +165 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupResult.java
  24. +180 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupStructureResult.java
  25. +88 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupStructures.java
  26. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupStructuresResponse.java
  27. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroups.java
  28. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupsResponse.java
  29. +34 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeGlobal.java
  30. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeGlobalResponse.java
  31. +115 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeGlobalResult.java
  32. +450 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeGlobalSObjectResult.java
  33. +187 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayout.java
  34. +98 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayout2.java
  35. +109 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutButton.java
  36. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutButtonSection.java
  37. +128 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutComponent.java
  38. +153 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutItem.java
  39. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutResponse.java
  40. +120 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutResult.java
  41. +88 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutRow.java
  42. +173 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeLayoutSection.java
  43. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSObject.java
  44. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSObjectResponse.java
  45. +641 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSObjectResult.java
  46. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSObjects.java
  47. +71 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSObjectsResponse.java
  48. +34 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneLayout.java
  49. +188 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneLayoutCallType.java
  50. +62 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneLayoutInfoField.java
  51. +62 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneLayoutItem.java
  52. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneLayoutResponse.java
  53. +125 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneLayoutResult.java
  54. +97 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneLayoutSection.java
  55. +118 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeSoftphoneScreenPopOption.java
  56. +193 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeTab.java
  57. +170 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeTabSetResult.java
  58. +34 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeTabs.java
  59. +71 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeTabsResponse.java
  60. +54 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DisableFeedTrackingHeader.java
  61. +235 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Email.java
  62. +147 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/EmailFileAttachment.java
  63. +92 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/EmailHeader.java
  64. +60 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/EmailPriority.java
  65. +71 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/EmptyRecycleBin.java
  66. +71 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/EmptyRecycleBinResponse.java
  67. +115 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/EmptyRecycleBinResult.java
  68. +125 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Error.java
  69. +214 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ExceptionCode.java
  70. +918 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Field.java
  71. +111 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/FieldType.java
  72. +124 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetDeleted.java
  73. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetDeletedResponse.java
  74. +155 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetDeletedResult.java
  75. +34 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetServerTimestamp.java
  76. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetServerTimestampResponse.java
  77. +65 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetServerTimestampResult.java
  78. +124 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetUpdated.java
  79. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetUpdatedResponse.java
  80. +126 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetUpdatedResult.java
  81. +34 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetUserInfo.java
  82. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetUserInfoResponse.java
  83. +596 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/GetUserInfoResult.java
  84. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidFieldFault.java
  85. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidFieldFault_Exception.java
  86. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidIdFault.java
  87. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidIdFault_Exception.java
  88. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidNewPasswordFault.java
  89. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidNewPasswordFault_Exception.java
  90. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidQueryLocatorFault.java
  91. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidQueryLocatorFault_Exception.java
  92. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidSObjectFault.java
  93. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidSObjectFault_Exception.java
  94. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidateSessions.java
  95. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidateSessionsResponse.java
  96. +86 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/InvalidateSessionsResult.java
  97. +57 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LayoutComponentType.java
  98. +259 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LeadConvert.java
  99. +199 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LeadConvertResult.java
  100. +62 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LocaleOptions.java
  101. +92 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Login.java
  102. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LoginFault.java
  103. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LoginFault_Exception.java
  104. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LoginResponse.java
  105. +211 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LoginResult.java
  106. +91 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LoginScopeHeader.java
  107. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Logout.java
  108. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/LogoutResponse.java
  109. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MalformedQueryFault.java
  110. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MalformedQueryFault_Exception.java
  111. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MalformedSearchFault.java
  112. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MalformedSearchFault_Exception.java
  113. +158 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MassEmailMessage.java
  114. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Merge.java
  115. +97 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MergeRequest.java
  116. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MergeResponse.java
  117. +179 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MergeResult.java
  118. +54 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/MruHeader.java
  119. +1,433 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ObjectFactory.java
  120. +100 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/PackageVersion.java
  121. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/PackageVersionHeader.java
  122. +153 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/PicklistEntry.java
  123. +97 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/PicklistForRecordType.java
  124. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Process.java
  125. +102 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ProcessRequest.java
  126. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ProcessResponse.java
  127. +236 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ProcessResult.java
  128. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ProcessSubmitRequest.java
  129. +92 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ProcessWorkitemRequest.java
  130. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Query.java
  131. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/QueryAll.java
  132. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/QueryAllResponse.java
  133. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/QueryMore.java
  134. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/QueryMoreResponse.java
  135. +62 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/QueryOptions.java
  136. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/QueryResponse.java
  137. +135 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/QueryResult.java
  138. +128 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/RecordTypeInfo.java
  139. +191 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/RecordTypeMapping.java
  140. +251 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/RelatedList.java
  141. +146 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/RelatedListColumn.java
  142. +81 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/RelatedListSort.java
  143. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ResetPassword.java
  144. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ResetPasswordResponse.java
  145. +62 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ResetPasswordResult.java
  146. +126 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Retrieve.java
  147. +71 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/RetrieveResponse.java
  148. +161 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SObject.java
  149. +115 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SaveResult.java
  150. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Search.java
  151. +62 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SearchRecord.java
  152. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SearchResponse.java
  153. +94 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SearchResult.java
  154. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SendEmail.java
  155. +153 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SendEmailError.java
  156. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SendEmailResponse.java
  157. +86 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SendEmailResult.java
  158. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SessionHeader.java
  159. +92 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SetPassword.java
  160. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SetPasswordResponse.java
  161. +30 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SetPasswordResult.java
  162. +76 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SforceService.java
  163. +455 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SingleEmailMessage.java
  164. +405 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Soap.java
  165. +75 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/SoapType.java
  166. +579 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Soap_Soap_Client.java
  167. +364 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/StatusCode.java
  168. +71 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Undelete.java
  169. +71 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UndeleteResponse.java
  170. +115 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UndeleteResult.java
  171. +32 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UnexpectedErrorFault.java
  172. +43 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UnexpectedErrorFault_Exception.java
  173. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Update.java
  174. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UpdateResponse.java
  175. +98 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Upsert.java
  176. +69 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UpsertResponse.java
  177. +134 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UpsertResult.java
  178. +64 −0 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/UserTerritoryDeleteHeader.java
  179. +2 −0  SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/package-info.java
  180. +0 −7,500 SpringXfc/src/main/resources/enterprise.xml
  181. +7 −1 SpringXfc/src/main/webapp/WEB-INF/mvc-servlet.xml
  182. +1 −1  SpringXfc/src/main/webapp/WEB-INF/spring-config.xml
  183. +3 −0  SpringXfc/src/main/webapp/WEB-INF/spring.properties
89 SpringXfc/src/main/java/com/barryku/cloud/controller/SforceController.java
View
@@ -1,25 +1,102 @@
package com.barryku.cloud.controller;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.JAXBException;
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+
+import org.apache.cxf.headers.Header;
+import org.apache.cxf.jaxb.JAXBDataBinding;
+import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
+import org.w3c.dom.Element;
-import com.sforce.soap.partner.*;
-import com.sforce.soap.partner.sobject.*;
-import com.sforce.ws.*;
+import com.barryku.cloud.model.SpringProperties;
+import com.barryku.cloud.sforce.partner.QueryResult;
+import com.barryku.cloud.sforce.partner.SessionHeader;
+import com.barryku.cloud.sforce.partner.SforceService;
+import com.barryku.cloud.sforce.partner.Soap;
+import com.sforce.soap.partner.Connector;
+import com.sforce.soap.partner.PartnerConnection;
+import com.sforce.soap.partner.sobject.SObject;
+import com.sforce.ws.ConnectorConfig;
@Controller
public class SforceController {
+ @Autowired
+ private SpringProperties springProperties;
+
@RequestMapping("/sforcetest")
public void createAccount() throws Exception {
ConnectorConfig config = new ConnectorConfig();
- config.setUsername("mypixo@yahoo.com");
- config.setPassword("MwP8lbh1NsGUYqdbZJH4" + "9KgF9GYiDr0dQcdo7pwlckG8");
+ config.setUsername(springProperties.getUserName());
+ config.setPassword(springProperties.getPassword() + springProperties.getSecurityToken());
PartnerConnection connection = Connector.newConnection(config);
SObject account = new SObject();
account.setType("Book__c");
- account.setField("Name", "It works with cutom objects");
+ account.setField("Name", "It works with cutom objects");
connection.create(new SObject[]{account});
}
+
+ @RequestMapping("/sforcetest2")
+ public void createAccount2() throws Exception {
+ SforceService service = new SforceService();
+ Soap port = service.getSoap();
+
+ com.barryku.cloud.sforce.partner.LoginResult login = port.login(springProperties.getUserName(),
+ springProperties.getPassword() + springProperties.getSecurityToken());
+ String url = login.getServerUrl();
+ String sessionId = login.getSessionId();
+
+ Soap soapPort = setServerUrlAndSessionId(port, url, sessionId);
+ QueryResult result = soapPort.queryAll("SELECT Id, Name, Type__c FROM Book__c");
+ System.out.println("url:" + url);
+ System.out.println("sessionID:" + sessionId);
+ com.barryku.cloud.sforce.partner.SObject newSobj = null;
+ for (com.barryku.cloud.sforce.partner.SObject sobj:result.getRecords()) {
+
+ for (Object o : sobj.getAny()) {
+ Element element = (Element) o;
+ System.out.println(element.getLocalName() + "-----" +
+ (element.getFirstChild()== null ? "nothing here" : element.getFirstChild().getNodeValue()));
+ }
+ newSobj = sobj;
+
+ }
+
+ //set ID to null, so it can be created as new object
+ newSobj.setId(null);
+ newSobj.setType("Book__c");
+ for (Object o:newSobj.getAny()) {
+
+ Element element = (Element) o;
+ if ("Name".equals(element.getLocalName())) {
+ System.out.println("...." + o);
+ element.getFirstChild().setNodeValue("test book " + Math.random());
+ } else if ("Type__c".equals(element.getLocalName())) {
+ System.out.println("...." + o);
+ element.getFirstChild().setNodeValue("Novel");
+ }
+ }
+ List<com.barryku.cloud.sforce.partner.SObject> objs = new ArrayList<com.barryku.cloud.sforce.partner.SObject>();
+ objs.add(newSobj);
+ port.create(objs);
+
+ }
+
+ private Soap setServerUrlAndSessionId(Soap port, String url, String sessionId) throws JAXBException {
+ BindingProvider bp = (BindingProvider) port;
+ bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url);
+ SessionHeader header = new SessionHeader();
+ header.setSessionId(sessionId);
+ List<Header> headers = new ArrayList<Header>();
+ headers.add(new Header(new QName("urn:partner.soap.sforce.com", "SessionHeader"), header, new JAXBDataBinding(SessionHeader.class)));
+ bp.getRequestContext().put(Header.HEADER_LIST, headers);
+ return (Soap) bp;
+ }
}
28 SpringXfc/src/main/java/com/barryku/cloud/model/SpringProperties.java
View
@@ -0,0 +1,28 @@
+package com.barryku.cloud.model;
+
+public class SpringProperties {
+ private String userName;
+ private String password;
+ private String securityToken;
+ public String getUserName() {
+ return userName;
+ }
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+ public String getPassword() {
+ return password;
+ }
+ public void setPassword(String password) {
+ this.password = password;
+ }
+ public String getSecurityToken() {
+ System.out.println("security:" + securityToken);
+ return securityToken;
+ }
+ public void setSecurityToken(String securityToken) {
+ this.securityToken = securityToken;
+ }
+
+
+}
54 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/AllOrNoneHeader.java
View
@@ -0,0 +1,54 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="allOrNone" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "allOrNone"
+})
+@XmlRootElement(name = "AllOrNoneHeader")
+public class AllOrNoneHeader {
+
+ protected boolean allOrNone;
+
+ /**
+ * Gets the value of the allOrNone property.
+ *
+ */
+ public boolean isAllOrNone() {
+ return allOrNone;
+ }
+
+ /**
+ * Sets the value of the allOrNone property.
+ *
+ */
+ public void setAllOrNone(boolean value) {
+ this.allOrNone = value;
+ }
+
+}
54 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/AllowFieldTruncationHeader.java
View
@@ -0,0 +1,54 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="allowFieldTruncation" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "allowFieldTruncation"
+})
+@XmlRootElement(name = "AllowFieldTruncationHeader")
+public class AllowFieldTruncationHeader {
+
+ protected boolean allowFieldTruncation;
+
+ /**
+ * Gets the value of the allowFieldTruncation property.
+ *
+ */
+ public boolean isAllowFieldTruncation() {
+ return allowFieldTruncation;
+ }
+
+ /**
+ * Sets the value of the allowFieldTruncation property.
+ *
+ */
+ public void setAllowFieldTruncation(boolean value) {
+ this.allowFieldTruncation = value;
+ }
+
+}
99 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ApiFault.java
View
@@ -0,0 +1,99 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ApiFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="ApiFault">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="exceptionCode" type="{urn:fault.partner.soap.sforce.com}ExceptionCode"/>
+ * &lt;element name="exceptionMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ApiFault", namespace = "urn:fault.partner.soap.sforce.com", propOrder = {
+ "exceptionCode",
+ "exceptionMessage"
+})
+@XmlSeeAlso({
+ InvalidIdFault.class,
+ UnexpectedErrorFault.class,
+ InvalidQueryLocatorFault.class,
+ LoginFault.class,
+ InvalidNewPasswordFault.class,
+ ApiQueryFault.class
+})
+public class ApiFault {
+
+ @XmlElement(required = true)
+ protected ExceptionCode exceptionCode;
+ @XmlElement(required = true)
+ protected String exceptionMessage;
+
+ /**
+ * Gets the value of the exceptionCode property.
+ *
+ * @return
+ * possible object is
+ * {@link ExceptionCode }
+ *
+ */
+ public ExceptionCode getExceptionCode() {
+ return exceptionCode;
+ }
+
+ /**
+ * Sets the value of the exceptionCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExceptionCode }
+ *
+ */
+ public void setExceptionCode(ExceptionCode value) {
+ this.exceptionCode = value;
+ }
+
+ /**
+ * Gets the value of the exceptionMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExceptionMessage() {
+ return exceptionMessage;
+ }
+
+ /**
+ * Sets the value of the exceptionMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExceptionMessage(String value) {
+ this.exceptionMessage = value;
+ }
+
+}
80 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ApiQueryFault.java
View
@@ -0,0 +1,80 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ApiQueryFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="ApiQueryFault">
+ * &lt;complexContent>
+ * &lt;extension base="{urn:fault.partner.soap.sforce.com}ApiFault">
+ * &lt;sequence>
+ * &lt;element name="row" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * &lt;element name="column" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * &lt;/sequence>
+ * &lt;/extension>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ApiQueryFault", namespace = "urn:fault.partner.soap.sforce.com", propOrder = {
+ "row",
+ "column"
+})
+@XmlSeeAlso({
+ InvalidSObjectFault.class,
+ MalformedQueryFault.class,
+ MalformedSearchFault.class,
+ InvalidFieldFault.class
+})
+public class ApiQueryFault
+ extends ApiFault
+{
+
+ protected int row;
+ protected int column;
+
+ /**
+ * Gets the value of the row property.
+ *
+ */
+ public int getRow() {
+ return row;
+ }
+
+ /**
+ * Sets the value of the row property.
+ *
+ */
+ public void setRow(int value) {
+ this.row = value;
+ }
+
+ /**
+ * Gets the value of the column property.
+ *
+ */
+ public int getColumn() {
+ return column;
+ }
+
+ /**
+ * Sets the value of the column property.
+ *
+ */
+ public void setColumn(int value) {
+ this.column = value;
+ }
+
+}
92 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/AssignmentRuleHeader.java
View
@@ -0,0 +1,92 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="assignmentRuleId" type="{urn:partner.soap.sforce.com}ID"/>
+ * &lt;element name="useDefaultRule" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "assignmentRuleId",
+ "useDefaultRule"
+})
+@XmlRootElement(name = "AssignmentRuleHeader")
+public class AssignmentRuleHeader {
+
+ @XmlElement(required = true, nillable = true)
+ protected String assignmentRuleId;
+ @XmlElement(required = true, type = Boolean.class, nillable = true)
+ protected Boolean useDefaultRule;
+
+ /**
+ * Gets the value of the assignmentRuleId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAssignmentRuleId() {
+ return assignmentRuleId;
+ }
+
+ /**
+ * Sets the value of the assignmentRuleId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAssignmentRuleId(String value) {
+ this.assignmentRuleId = value;
+ }
+
+ /**
+ * Gets the value of the useDefaultRule property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUseDefaultRule() {
+ return useDefaultRule;
+ }
+
+ /**
+ * Sets the value of the useDefaultRule property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUseDefaultRule(Boolean value) {
+ this.useDefaultRule = value;
+ }
+
+}
92 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/CallOptions.java
View
@@ -0,0 +1,92 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="client" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="defaultNamespace" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "client",
+ "defaultNamespace"
+})
+@XmlRootElement(name = "CallOptions")
+public class CallOptions {
+
+ @XmlElement(required = true, nillable = true)
+ protected String client;
+ @XmlElement(required = true, nillable = true)
+ protected String defaultNamespace;
+
+ /**
+ * Gets the value of the client property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getClient() {
+ return client;
+ }
+
+ /**
+ * Sets the value of the client property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setClient(String value) {
+ this.client = value;
+ }
+
+ /**
+ * Gets the value of the defaultNamespace property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultNamespace() {
+ return defaultNamespace;
+ }
+
+ /**
+ * Sets the value of the defaultNamespace property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultNamespace(String value) {
+ this.defaultNamespace = value;
+ }
+
+}
155 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ChildRelationship.java
View
@@ -0,0 +1,155 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ChildRelationship complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="ChildRelationship">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="cascadeDelete" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;element name="childSObject" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="deprecatedAndHidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="relationshipName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ChildRelationship", propOrder = {
+ "cascadeDelete",
+ "childSObject",
+ "deprecatedAndHidden",
+ "field",
+ "relationshipName"
+})
+public class ChildRelationship {
+
+ protected boolean cascadeDelete;
+ @XmlElement(required = true)
+ protected String childSObject;
+ protected boolean deprecatedAndHidden;
+ @XmlElement(required = true)
+ protected String field;
+ protected String relationshipName;
+
+ /**
+ * Gets the value of the cascadeDelete property.
+ *
+ */
+ public boolean isCascadeDelete() {
+ return cascadeDelete;
+ }
+
+ /**
+ * Sets the value of the cascadeDelete property.
+ *
+ */
+ public void setCascadeDelete(boolean value) {
+ this.cascadeDelete = value;
+ }
+
+ /**
+ * Gets the value of the childSObject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getChildSObject() {
+ return childSObject;
+ }
+
+ /**
+ * Sets the value of the childSObject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setChildSObject(String value) {
+ this.childSObject = value;
+ }
+
+ /**
+ * Gets the value of the deprecatedAndHidden property.
+ *
+ */
+ public boolean isDeprecatedAndHidden() {
+ return deprecatedAndHidden;
+ }
+
+ /**
+ * Sets the value of the deprecatedAndHidden property.
+ *
+ */
+ public void setDeprecatedAndHidden(boolean value) {
+ this.deprecatedAndHidden = value;
+ }
+
+ /**
+ * Gets the value of the field property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getField() {
+ return field;
+ }
+
+ /**
+ * Sets the value of the field property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setField(String value) {
+ this.field = value;
+ }
+
+ /**
+ * Gets the value of the relationshipName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRelationshipName() {
+ return relationshipName;
+ }
+
+ /**
+ * Sets the value of the relationshipName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRelationshipName(String value) {
+ this.relationshipName = value;
+ }
+
+}
69 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ConvertLead.java
View
@@ -0,0 +1,69 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="leadConverts" type="{urn:partner.soap.sforce.com}LeadConvert" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "leadConverts"
+})
+@XmlRootElement(name = "convertLead")
+public class ConvertLead {
+
+ protected List<LeadConvert> leadConverts;
+
+ /**
+ * Gets the value of the leadConverts property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the leadConverts property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLeadConverts().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LeadConvert }
+ *
+ *
+ */
+ public List<LeadConvert> getLeadConverts() {
+ if (leadConverts == null) {
+ leadConverts = new ArrayList<LeadConvert>();
+ }
+ return this.leadConverts;
+ }
+
+}
69 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/ConvertLeadResponse.java
View
@@ -0,0 +1,69 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="result" type="{urn:partner.soap.sforce.com}LeadConvertResult" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "convertLeadResponse")
+public class ConvertLeadResponse {
+
+ protected List<LeadConvertResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LeadConvertResult }
+ *
+ *
+ */
+ public List<LeadConvertResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<LeadConvertResult>();
+ }
+ return this.result;
+ }
+
+}
69 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Create.java
View
@@ -0,0 +1,69 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="sObjects" type="{urn:sobject.partner.soap.sforce.com}sObject" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjects"
+})
+@XmlRootElement(name = "create")
+public class Create {
+
+ protected List<SObject> sObjects;
+
+ /**
+ * Gets the value of the sObjects property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sObjects property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSObjects().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SObject }
+ *
+ *
+ */
+ public List<SObject> getSObjects() {
+ if (sObjects == null) {
+ sObjects = new ArrayList<SObject>();
+ }
+ return this.sObjects;
+ }
+
+}
69 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/CreateResponse.java
View
@@ -0,0 +1,69 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="result" type="{urn:partner.soap.sforce.com}SaveResult" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "createResponse")
+public class CreateResponse {
+
+ protected List<SaveResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SaveResult }
+ *
+ *
+ */
+ public List<SaveResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<SaveResult>();
+ }
+ return this.result;
+ }
+
+}
124 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DataCategory.java
View
@@ -0,0 +1,124 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DataCategory complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="DataCategory">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="childCategories" type="{urn:partner.soap.sforce.com}DataCategory" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DataCategory", propOrder = {
+ "childCategories",
+ "label",
+ "name"
+})
+public class DataCategory {
+
+ protected List<DataCategory> childCategories;
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the childCategories property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the childCategories property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getChildCategories().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DataCategory }
+ *
+ *
+ */
+ public List<DataCategory> getChildCategories() {
+ if (childCategories == null) {
+ childCategories = new ArrayList<DataCategory>();
+ }
+ return this.childCategories;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
90 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DataCategoryGroupSobjectTypePair.java
View
@@ -0,0 +1,90 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DataCategoryGroupSobjectTypePair complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="DataCategoryGroupSobjectTypePair">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="dataCategoryGroupName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="sobject" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DataCategoryGroupSobjectTypePair", propOrder = {
+ "dataCategoryGroupName",
+ "sobject"
+})
+public class DataCategoryGroupSobjectTypePair {
+
+ @XmlElement(required = true)
+ protected String dataCategoryGroupName;
+ @XmlElement(required = true)
+ protected String sobject;
+
+ /**
+ * Gets the value of the dataCategoryGroupName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDataCategoryGroupName() {
+ return dataCategoryGroupName;
+ }
+
+ /**
+ * Sets the value of the dataCategoryGroupName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDataCategoryGroupName(String value) {
+ this.dataCategoryGroupName = value;
+ }
+
+ /**
+ * Gets the value of the sobject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSobject() {
+ return sobject;
+ }
+
+ /**
+ * Sets the value of the sobject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSobject(String value) {
+ this.sobject = value;
+ }
+
+}
54 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DebugLevel.java
View
@@ -0,0 +1,54 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DebugLevel.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="DebugLevel">
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * &lt;enumeration value="None"/>
+ * &lt;enumeration value="DebugOnly"/>
+ * &lt;enumeration value="Db"/>
+ * &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "DebugLevel")
+@XmlEnum
+public enum DebugLevel {
+
+ @XmlEnumValue("None")
+ NONE("None"),
+ @XmlEnumValue("DebugOnly")
+ DEBUG_ONLY("DebugOnly"),
+ @XmlEnumValue("Db")
+ DB("Db");
+ private final String value;
+
+ DebugLevel(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static DebugLevel fromValue(String v) {
+ for (DebugLevel c: DebugLevel.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
64 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DebuggingHeader.java
View
@@ -0,0 +1,64 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="debugLevel" type="{urn:partner.soap.sforce.com}DebugLevel"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "debugLevel"
+})
+@XmlRootElement(name = "DebuggingHeader")
+public class DebuggingHeader {
+
+ @XmlElement(required = true)
+ protected DebugLevel debugLevel;
+
+ /**
+ * Gets the value of the debugLevel property.
+ *
+ * @return
+ * possible object is
+ * {@link DebugLevel }
+ *
+ */
+ public DebugLevel getDebugLevel() {
+ return debugLevel;
+ }
+
+ /**
+ * Sets the value of the debugLevel property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DebugLevel }
+ *
+ */
+ public void setDebugLevel(DebugLevel value) {
+ this.debugLevel = value;
+ }
+
+}
64 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DebuggingInfo.java
View
@@ -0,0 +1,64 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="debugLog" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "debugLog"
+})
+@XmlRootElement(name = "DebuggingInfo")
+public class DebuggingInfo {
+
+ @XmlElement(required = true)
+ protected String debugLog;
+
+ /**
+ * Gets the value of the debugLog property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDebugLog() {
+ return debugLog;
+ }
+
+ /**
+ * Sets the value of the debugLog property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDebugLog(String value) {
+ this.debugLog = value;
+ }
+
+}
69 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/Delete.java
View
@@ -0,0 +1,69 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="ids" type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "ids"
+})
+@XmlRootElement(name = "delete")
+public class Delete {
+
+ protected List<String> ids;
+
+ /**
+ * Gets the value of the ids property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ids property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIds() {
+ if (ids == null) {
+ ids = new ArrayList<String>();
+ }
+ return this.ids;
+ }
+
+}
69 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DeleteResponse.java
View
@@ -0,0 +1,69 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="result" type="{urn:partner.soap.sforce.com}DeleteResult" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "deleteResponse")
+public class DeleteResponse {
+
+ protected List<DeleteResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DeleteResult }
+ *
+ *
+ */
+ public List<DeleteResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<DeleteResult>();
+ }
+ return this.result;
+ }
+
+}
116 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DeleteResult.java
View
@@ -0,0 +1,116 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DeleteResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="DeleteResult">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="errors" type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;element name="id" type="{urn:partner.soap.sforce.com}ID"/>
+ * &lt;element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DeleteResult", propOrder = {
+ "errors",
+ "id",
+ "success"
+})
+public class DeleteResult {
+
+ @XmlElement(nillable = true)
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String id;
+ protected boolean success;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
93 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DeletedRecord.java
View
@@ -0,0 +1,93 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for DeletedRecord complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="DeletedRecord">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="deletedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * &lt;element name="id" type="{urn:partner.soap.sforce.com}ID"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DeletedRecord", propOrder = {
+ "deletedDate",
+ "id"
+})
+public class DeletedRecord {
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar deletedDate;
+ @XmlElement(required = true)
+ protected String id;
+
+ /**
+ * Gets the value of the deletedDate property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getDeletedDate() {
+ return deletedDate;
+ }
+
+ /**
+ * Sets the value of the deletedDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setDeletedDate(XMLGregorianCalendar value) {
+ this.deletedDate = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
165 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupResult.java
View
@@ -0,0 +1,165 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeDataCategoryGroupResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="DescribeDataCategoryGroupResult">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="categoryCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="sobject" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeDataCategoryGroupResult", propOrder = {
+ "categoryCount",
+ "description",
+ "label",
+ "name",
+ "sobject"
+})
+public class DescribeDataCategoryGroupResult {
+
+ protected int categoryCount;
+ @XmlElement(required = true)
+ protected String description;
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String sobject;
+
+ /**
+ * Gets the value of the categoryCount property.
+ *
+ */
+ public int getCategoryCount() {
+ return categoryCount;
+ }
+
+ /**
+ * Sets the value of the categoryCount property.
+ *
+ */
+ public void setCategoryCount(int value) {
+ this.categoryCount = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the sobject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSobject() {
+ return sobject;
+ }
+
+ /**
+ * Sets the value of the sobject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSobject(String value) {
+ this.sobject = value;
+ }
+
+}
180 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupStructureResult.java
View
@@ -0,0 +1,180 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeDataCategoryGroupStructureResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="DescribeDataCategoryGroupStructureResult">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="sobject" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="topCategories" type="{urn:partner.soap.sforce.com}DataCategory" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeDataCategoryGroupStructureResult", propOrder = {
+ "description",
+ "label",
+ "name",
+ "sobject",
+ "topCategories"
+})
+public class DescribeDataCategoryGroupStructureResult {
+
+ @XmlElement(required = true)
+ protected String description;
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String sobject;
+ protected List<DataCategory> topCategories;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the sobject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSobject() {
+ return sobject;
+ }
+
+ /**
+ * Sets the value of the sobject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSobject(String value) {
+ this.sobject = value;
+ }
+
+ /**
+ * Gets the value of the topCategories property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the topCategories property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTopCategories().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DataCategory }
+ *
+ *
+ */
+ public List<DataCategory> getTopCategories() {
+ if (topCategories == null) {
+ topCategories = new ArrayList<DataCategory>();
+ }
+ return this.topCategories;
+ }
+
+}
88 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupStructures.java
View
@@ -0,0 +1,88 @@
+
+package com.barryku.cloud.sforce.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="pairs" type="{urn:partner.soap.sforce.com}DataCategoryGroupSobjectTypePair" maxOccurs="100" minOccurs="0"/>
+ * &lt;element name="topCategoriesOnly" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "pairs",
+ "topCategoriesOnly"
+})
+@XmlRootElement(name = "describeDataCategoryGroupStructures")
+public class DescribeDataCategoryGroupStructures {
+
+ protected List<DataCategoryGroupSobjectTypePair> pairs;
+ protected boolean topCategoriesOnly;
+
+ /**
+ * Gets the value of the pairs property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the pairs property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPairs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DataCategoryGroupSobjectTypePair }
+ *
+ *
+ */
+ public List<DataCategoryGroupSobjectTypePair> getPairs() {
+ if (pairs == null) {
+ pairs = new ArrayList<DataCategoryGroupSobjectTypePair>();
+ }
+ return this.pairs;
+ }
+
+ /**
+ * Gets the value of the topCategoriesOnly property.
+ *
+ */
+ public boolean isTopCategoriesOnly() {
+ return topCategoriesOnly;
+ }
+
+ /**
+ * Sets the value of the topCategoriesOnly property.
+ *
+ */
+ public void setTopCategoriesOnly(boolean value) {
+ this.topCategoriesOnly = value;
+ }
+
+}
69 SpringXfc/src/main/java/com/barryku/cloud/sforce/partner/DescribeDataCategoryGroupStructuresResponse.java
View