Class SalesforceResource
java.lang.Object
org.apache.camel.quarkus.component.salesforce.SalesforceResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ConsumerTemplate(package private) org.apache.camel.CamelContext(package private) org.apache.camel.FluentProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.json.JsonObjectcreateAccount(String accountName) jakarta.json.JsonObjectjakarta.ws.rs.core.ResponsedeleteAccount(String accountId) jakarta.ws.rs.core.ResponsedeleteTopic(String topicId) jakarta.json.JsonObjectjakarta.json.JsonObjectgetAccountById(String accountId) jakarta.json.JsonObjectgetAccountByQueryRecords(String accountId) getDocument(String id) jakarta.ws.rs.core.ResponsemodifyCdcConsumerState(String action)
-
Field Details
-
template
@Inject org.apache.camel.FluentProducerTemplate template -
consumerTemplate
@Inject org.apache.camel.ConsumerTemplate consumerTemplate -
context
@Inject org.apache.camel.CamelContext context
-
-
Constructor Details
-
SalesforceResource
public SalesforceResource()
-
-
Method Details
-
getDocument
-
getAccountByQueryRecords
@Path("/account/query/{id}") @GET @Produces("application/json") public jakarta.json.JsonObject getAccountByQueryRecords(@PathParam("id") String accountId) -
createAccount
-
deleteAccount
@Path("/account/{id}") @DELETE public jakarta.ws.rs.core.Response deleteAccount(@PathParam("id") String accountId) -
getAccountById
@Path("/account/{id}") @GET @Produces("application/json") public jakarta.json.JsonObject getAccountById(@PathParam("id") String accountId) -
createJob
@Path("/bulk") @POST @Produces("application/json") public jakarta.json.JsonObject createJob() -
abortJob
@Path("/bulk") @DELETE @Produces("application/json") public jakarta.json.JsonObject abortJob(@QueryParam("jobId") String jobId) -
modifyCdcConsumerState
@Path("/cdc/{action}") @POST public jakarta.ws.rs.core.Response modifyCdcConsumerState(@PathParam("action") String action) throws Exception - Throws:
Exception
-
getCdcEvents
-
getSObjectsWithForceLimitInfo
@Path("sobjects/force-limit") @GET @Produces("application/json") public String getSObjectsWithForceLimitInfo() -
getListVersions
-
getListResources
-
getAccountBasicInfo
@Path("basic-info/account") @GET public jakarta.json.JsonObject getAccountBasicInfo() -
getAccountDescription
-
getLimits
-
getSubscribedObjects
-
getRawSubscribedObjects
-
deleteTopic
@Path("/topic/{id}") @DELETE public jakarta.ws.rs.core.Response deleteTopic(@PathParam("id") String topicId) -
getTopicId
-
getPlatformEvent
-