public abstract class CitizenAbstractSource extends org.mule.sdk.api.runtime.source.PollingSource<InputStream,NetsuiteSoapAttributes>
| Modifier and Type | Field and Description |
|---|---|
protected String |
recordType
The type of record that will be retrieved when created.
|
static ZoneId |
ZONE_ID |
| Constructor and Description |
|---|
CitizenAbstractSource() |
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
bodyRequest(CitizenSourceRecordEnum searchEnum,
String since,
String recordType) |
protected void |
doStart() |
protected void |
doStop() |
NetSuiteSoapConnection |
getConnection() |
protected Consumer<org.mule.sdk.api.runtime.source.PollContext.PollItem<InputStream,NetsuiteSoapAttributes>> |
getPollItemConsumer(org.mule.sdk.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> recordResult,
String field) |
protected abstract String |
getSearchField(CitizenSourceRecordEnum searchEnum) |
protected abstract String |
getWatermarkField(CitizenSourceRecordEnum searchEnum) |
protected String |
getWatermarkFieldValue(CitizenSourceRecordEnum searchEnum,
String customWatermarkFieldValue,
String standardWatermarkFieldValue) |
void |
onRejectedItem(org.mule.sdk.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> result,
org.mule.sdk.api.runtime.source.SourceCallbackContext sourceCallbackContext) |
void |
poll(org.mule.sdk.api.runtime.source.PollContext<InputStream,NetsuiteSoapAttributes> pollContext) |
protected void |
searchRecordPollCreate(org.mule.sdk.api.runtime.source.PollContext<InputStream,NetsuiteSoapAttributes> pollContext,
CitizenSourceRecordEnum searchEnum) |
protected void |
setConfig(NetSuiteSoapConfig config) |
public static final ZoneId ZONE_ID
@Parameter @Placement(order=1) @Summary(value="The type of record that will be retrieved when created.") @MetadataKeyId(value=CitizenSourceMetadataResolver.class) @DisplayName(value="Type of Record") protected String recordType
protected void doStart()
throws org.mule.runtime.api.exception.MuleException
doStart in class org.mule.sdk.api.runtime.source.PollingSource<InputStream,NetsuiteSoapAttributes>org.mule.runtime.api.exception.MuleExceptionprotected void doStop()
doStop in class org.mule.sdk.api.runtime.source.PollingSource<InputStream,NetsuiteSoapAttributes>public void poll(org.mule.sdk.api.runtime.source.PollContext<InputStream,NetsuiteSoapAttributes> pollContext)
poll in class org.mule.sdk.api.runtime.source.PollingSource<InputStream,NetsuiteSoapAttributes>public void onRejectedItem(org.mule.sdk.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> result, org.mule.sdk.api.runtime.source.SourceCallbackContext sourceCallbackContext)
onRejectedItem in class org.mule.sdk.api.runtime.source.PollingSource<InputStream,NetsuiteSoapAttributes>protected void searchRecordPollCreate(org.mule.sdk.api.runtime.source.PollContext<InputStream,NetsuiteSoapAttributes> pollContext, CitizenSourceRecordEnum searchEnum) throws TransformerException, ParserConfigurationException
protected Consumer<org.mule.sdk.api.runtime.source.PollContext.PollItem<InputStream,NetsuiteSoapAttributes>> getPollItemConsumer(org.mule.sdk.api.runtime.operation.Result<InputStream,NetsuiteSoapAttributes> recordResult, String field)
protected abstract String getSearchField(CitizenSourceRecordEnum searchEnum)
protected abstract String getWatermarkField(CitizenSourceRecordEnum searchEnum)
protected String getWatermarkFieldValue(CitizenSourceRecordEnum searchEnum, String customWatermarkFieldValue, String standardWatermarkFieldValue)
protected InputStream bodyRequest(CitizenSourceRecordEnum searchEnum, String since, String recordType) throws ParserConfigurationException, TransformerException
public NetSuiteSoapConnection getConnection()
protected void setConfig(NetSuiteSoapConfig config)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.