public abstract class TicklerRequest extends TelesalesRequest
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | GMT_DATETIME_PATTERN
GMT date time format pattern.
|
static java.lang.String | GMT_TIME_ZONE
GMT time zone.
|
Constructor and Description |
---|
TicklerRequest()
Creates a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createAssgnedToTicklerIdsElement(org.w3c.dom.Element parentElement)
This method builds the DocumentIds element and adds it as a child of parentElement.
|
protected org.w3c.dom.Element | createDocumentIdElement(org.w3c.dom.Element parentElement)
This method builds the DocumentId element and adds it as a child of parentElement.
|
protected org.w3c.dom.Element | createDocumentIdsElement(org.w3c.dom.Element parentElement)
This method builds the DocumentIds element and adds it as a child of parentElement.
|
protected org.w3c.dom.Element | createTicklerActionElement(org.w3c.dom.Element parentElement)
This method builds the TicklerAction element and adds it as a child of parentElement.
|
protected void | createTicklerDetail(org.w3c.dom.Element ticklerElement)
This method builds the detail in Tickler element and adds it as a child of ticklerElement.
|
protected org.w3c.dom.Element | createTicklerElement(org.w3c.dom.Element parentElement)
This method builds the Tickler element and adds it as a child of parentElement.
|
static java.lang.String | formatGMTDateTime(java.lang.String gmtDateTime)
This method formats a GMT date into a Locale specific date string, using client locale and DateFormat.SHORT format.
|
static java.lang.String | formatGMTDateTime(java.lang.String gmtDateTime, int dateStyle, int timeStyle)
This method formats a GMT date into a Locale specific date and time string.
|
static java.lang.String | formatGMTDateTime(java.lang.String gmtDateTime, com.ibm.icu.util.ULocale locale, int dateStyle, int timeStyle, java.lang.String pattern)
This method formats a Locale specific date into a GMT date string.
|
static java.lang.String | formatToGMTDateTime(java.lang.String dateTime)
This method formats a Locale specific date into a GMT date/time string, using client locale and DateFormat.SHORT style.
|
static java.lang.String | formatToGMTDateTime(java.lang.String date, com.ibm.icu.util.ULocale locale, int dateStyle, int timeStyle, java.lang.String pattern)
This method formats a Locale specific date into a GMT date string.
|
protected Session | getResponseData()
This method returns the unmarshalled response data in the form of a com.ibm.commerce.telesales.model.Tickler object.
|
ServiceContext | getServiceContext()
This method constructs the service context that should be used to invoke the communications service.
|
protected void | setTelesalesProperties(TelesalesProperties properties)
This method sets the "tickler" TelesalesProperties property used by this request handler.
|
protected void | unmarshallBOD(org.w3c.dom.Element bodElement)
This method unmarshalls the BOD element.
|
protected void | unmarshallBODHeader(org.w3c.dom.Element bodHeaderElement)
This method unmarshalls the BODHeader element.
|
protected void | unmarshallConfirmBOD(org.w3c.dom.Element confirmBODElement)
This method unmarshalls the ConfirmBOD element.
|
protected void | unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
This method unmarshalls the DataArea element.
|
protected void | unmarshallDocumentId(org.w3c.dom.Element documentIdElement)
This method unmarshalls the DocumentId element.
|
protected void | unmarshallDocumentIds(org.w3c.dom.Element documentIdsElement)
This method unmarshalls the DocumentIds element.
|
protected void | unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
This method unmarshalls the NounOutcome element.
|
protected void | unmarshallResponseBod(org.w3c.dom.Document responseBOD)
This method unmarshalls the response BOD.
|
protected void | unmarshallTickler(Tickler tickler, org.w3c.dom.Element ticklerElement)
This method unmarshalls the Tickler element.
|
protected void | unmarshallTicklerAction(TicklerAction ticklerAction, org.w3c.dom.Element ticklerActionElement)
This method unmarshalls the TicklerAction element.
|
protected void | unmarshallTicklerStatus(Tickler tickler, org.w3c.dom.Element ticklerStatusElement)
This method unmarshalls the TicklerStatus element.
|
protected void | updateModel(java.lang.Object databean)
This method allows the request handler to update the model ( com.ibm.commerce.telesales.model.TelesalesModelManager) prior to notifying the user interface of the completion of the service request.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String GMT_DATETIME_PATTERN
public static java.lang.String GMT_TIME_ZONE
protected Session getResponseData()
public ServiceContext getServiceContext()
protected void setTelesalesProperties(TelesalesProperties properties)
protected void updateModel(java.lang.Object databean)
protected void unmarshallBOD(org.w3c.dom.Element bodElement)
<BOD> <BODHeader> <!-- unmarshalled by unmarshallBODHeader() --> . . </BODHeader> <NounOutcome> <!-- unmarshalled by unmarshallNounOutcome() --> . . </NounOutcome> </BOD>
protected void unmarshallBODHeader(org.w3c.dom.Element bodHeaderElement)
<BODHeader> <BODFailure> <!-- unmarshalled by unmarshallBODFailure() --> . . </BODFailure> </BODHeader>
protected void unmarshallConfirmBOD(org.w3c.dom.Element confirmBODElement)
<ConfirmBOD> <oa:ApplicationArea> <!-- unmarshalled by unmarshallApplicationArea() --> . . </oa:ApplicationArea> <DataArea> <!-- unmarshalled by unmarshallDataArea() --> . . </DataArea> </ConfirmBOD>
protected void unmarshallDataArea(org.w3c.dom.Element dataAreaElement)
<DataArea> <BOD> <!-- unmarshalled by unmarshallBOD() --> . . </BOD> </DataArea>
protected void unmarshallDocumentId(org.w3c.dom.Element documentIdElement)
<oa:DocumentId> <oa:Id>100</Id> <!-- tickler_.setMemberId() --> </oa:DocumentId>
protected void unmarshallDocumentIds(org.w3c.dom.Element documentIdsElement)
<oa:DocumentIds> <oa:DocumentId> <!-- unmarshalled by unmarshallDocumentId() --> . . </oa:DocumentId> </oa:DocumentIds>
protected void unmarshallNounOutcome(org.w3c.dom.Element nounOutcomeElement)
<NounOutcome> <oa:DocumentIds> <!-- unmarshalled by unmarshallDocumentIds() --> . . </oa:DocumentIds> </NounOutcome>
protected void unmarshallResponseBod(org.w3c.dom.Document responseBOD)
protected void unmarshallTickler(Tickler tickler, org.w3c.dom.Element ticklerElement)
<Tickler> <TicklerId>10051</TicklerId> <!-- tickler.setTicklerId() --> <TicklerStatus> <!-- unmarshalled by unmarshallTicklerStatus --> . . </TicklerStatus> <Description>AdvancedB2BDirect</Description> <!-- tickler.setDescription() --> <MemberId>7000000000000000051</MemberId> <!-- tickler.setMemberId() --> <Type>B2B</Type> <!-- tickler.setType() --> <TicklerAction> <!-- unmarshalled by unmarshallTicklerAction --> . . </TicklerAction> <UserData/> <!-- unmarshalled by unmarshallUserData() --> </Tickler>
protected void unmarshallTicklerStatus(Tickler tickler, org.w3c.dom.Element ticklerStatusElement)
<oa:TicklerStatus> <oa:Code>0</oa:Code> <!-- tickler.setTicklerStatus() --> <wc:IsTicklerDueInd>true</oa:IsTicklerDueInd> <!-- tickler.setIsTicklerDueInd() --> </oa:TicklerStatus>
protected void unmarshallTicklerAction(TicklerAction ticklerAction, org.w3c.dom.Element ticklerActionElement)
<TicklerAction> <TicklerId>10051</TicklerId> <!-- ticklerAction.setTicklerId() --> <Description>AdvancedB2BDirect</Description> <!-- ticklerAction.setDescription() --> <MemberId>7000000000000000051</MemberId> <!-- ticklerAction.setMemberId() --> <Type>B2B</Type> <!-- ticklerAction.setType() --> . . <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </TicklerAction>
protected org.w3c.dom.Element createDocumentIdsElement(org.w3c.dom.Element parentElement)
The following outline indicates the structure of the DocumentIds element and how it is constructed:
<oa:DocumentIds> <oa:DocumentId> <!-- createDocumentIdElement() --> . . </oa:DocumentId> </oa:DocumentIds>
protected org.w3c.dom.Element createTicklerElement(org.w3c.dom.Element parentElement)
The following outline indicates the structure of the Tickler element and how it is constructed:
<Tickler> . . </Tickler>
protected org.w3c.dom.Element createDocumentIdElement(org.w3c.dom.Element parentElement)
The following outline indicates the structure of the DocumentId element and how it is constructed:
<oa:DocumentId> <oa:Id>100</oa:Id> <!-- tickler.getTicklerId() --> </oa:DocumentId>
protected org.w3c.dom.Element createAssgnedToTicklerIdsElement(org.w3c.dom.Element parentElement)
The following outline indicates the structure of the DocumentIds element and how it is constructed:
<oa:DocumentIds> <oa:DocumentId> <!-- createDocumentIdElement() --> . . </oa:DocumentId> </oa:DocumentIds>
protected void createTicklerDetail(org.w3c.dom.Element ticklerElement)
The following outline indicates the structure of the Tickler element and how it is constructed:
<Description>Comment</Description> <TicklerReasonId>-1010</TicklerReasonId> <ActionObjectType>ORDER</ActionObjectType> <ActionObjectId>10001</ActionObjectId> <ResponsibleMemberId>10002</ResponsibleMemberId> <NextTickleDate>2006-03-27 19:12:15.535 +0000</NextTickleDate> <TicklerAction> <!-- constructed by createTicklerActionElement() --> . . </TicklerAction>
protected org.w3c.dom.Element createTicklerActionElement(org.w3c.dom.Element parentElement)
The following outline indicates the structure of the TicklerAction element and how it is constructed:
<TicklerAction> <wc:Description> <!-- optional --> ... </wc:Description> <wc:TicklerActionId> ID </wc:TicklerActionId> <!-- constructed by createUserDataElement() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </TicklerAction>
public static java.lang.String formatGMTDateTime(java.lang.String gmtDateTime)
public static java.lang.String formatGMTDateTime(java.lang.String gmtDateTime, int dateStyle, int timeStyle)
MM/DD/YY" in the US locale.
public static java.lang.String formatGMTDateTime(java.lang.String gmtDateTime, com.ibm.icu.util.ULocale locale, int dateStyle, int timeStyle, java.lang.String pattern)
MM/DD/YY" in the US locale.
public static java.lang.String formatToGMTDateTime(java.lang.String dateTime)
public static java.lang.String formatToGMTDateTime(java.lang.String date, com.ibm.icu.util.ULocale locale, int dateStyle, int timeStyle, java.lang.String pattern)
MM/DD/YY" in the US locale.