public class SyncTicklerRequest extends TicklerRequest
Constructor and Description |
---|
SyncTicklerRequest()
Creates a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createDataAreaElement()
This method builds the DataArea element and adds it as a child of rootElement_.
|
protected org.w3c.dom.Element | createSenderElement()
This method builds the Sender element and adds it as a child of applicationAreaElement_.
|
protected org.w3c.dom.Element | createSyncCriteriaElement()
This method builds the SyncCriteria element.
|
protected org.w3c.dom.Element | createSyncElement()
This method builds the Sync element and adds it as a child of dataAreaElement_.
|
protected org.w3c.dom.Element | createSyncExpressionElement()
This method builds the SyncExpression element.
|
protected org.w3c.dom.Document | getRequestBod()
This method constructs the request document.
|
protected Session | getResponseData()
This method returns the unmarshalled response data in the form of a com.ibm.commerce.telesales.model.Tickler object.
|
protected java.lang.String | getXSDFileName()
This method returns the name of the schema file for the request BOD (business object document).
|
protected Session getResponseData()
protected java.lang.String getXSDFileName()
protected org.w3c.dom.Document getRequestBod()
<SyncTickler> <!-- created by the createWCRootElement method --> . . </SyncTickler>
protected org.w3c.dom.Element createDataAreaElement()
The following outline shows the structure of the DataArea element and its construction:
<DataArea> <oa:Sync> <!-- constructed by createSyncElement() --> . . </oa:Sync> <Tickler> <!-- constructed by createTicklerElement() --> . . </Tickler> </DataArea>
protected org.w3c.dom.Element createSenderElement()
The following sample Sender element shows how the element is constructed:
<oa:Sender> <oa:LogicalId>TSCLIENT</oa:LogicalId> <oa:Component>Tickler</oa:Component> <oa:Task>UpdateTickler</oa:Task> <oa:ReferenceId>-1680589954192190044</oa:ReferenceId> <!-- value of getActionCtx --> <oa:Confirmation>2</oa:Confirmation> <oa:AuthorizationId>LOGON_TOKEN_ID_SCAFFOLDING</oa:AuthorizationId> <!-- value of ContextManager.getInstance().getSessionCtx() --> </oa:Sender>
protected org.w3c.dom.Element createSyncElement()
The following outline shows the structure of the DataArea element and its construction:
<oa:Sync confirm="Always"> <oa:SyncCriteria> <!-- constructed by createSyncCriteriaElement() --> . . </oa:SyncCriteria> </oa:Sync>
protected org.w3c.dom.Element createSyncCriteriaElement()
The following sample shows the structure of the SyncCriteria element and its construction:
<oa:SyncCriteria expressionLanguage="XPath"> <oa:SyncExpression/> <!-- createSyncExpressionElement() --> </oa:SyncCriteria>
protected org.w3c.dom.Element createSyncExpressionElement()
The following outline shows the structure of the SyncExpression element and its construction:
If the request handler id is "com.ibm.commerce.telesales.assignTicklers", then the SyncExpression element has the following form.
<SyncExpression action="Assign">Tickler<SyncExpression>
If the request handler id is "com.ibm.commerce.telesales.lockTickler", then the SyncExpression element has the following form.
<SyncExpression action="Lock">Tickler<SyncExpression>
If the request handler id is "com.ibm.commerce.telesales.unlockTickler", then the SyncExpression element has the following form.
<SyncExpression action="Unlock">Tickler<SyncExpression>
If the request handler id is "com.ibm.commerce.telesales.recordTicklerAction", then the SyncExpression element has the following form.
<SyncExpression action="RecordAction">Tickler<SyncExpression>