public class ShowStore extends Store implements IShowStore
This class can be extended by any sub-class to override or extend the base features.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Class Name.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field
|
Constructor and Description |
---|
ShowStore() |
Modifier and Type | Method and Description |
---|---|
protected void | buildDataArea()
Builds the Data Area subsection of the reply BOD.
|
org.w3c.dom.Element | buildStoreElementBaseInfo(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnStoreSearchResult)
Builds the Store element from the specified store search result bean.
|
org.w3c.dom.Element | buildStoreElementDetailInfo(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnStoreSearchResult)
Builds the Store element from the specified store data bean.
|
protected org.w3c.dom.Element | createAvailShippingModesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult)
Creates the AvailShippingModes element.
|
protected org.w3c.dom.Element | createBlockReasonCodeElement(com.ibm.commerce.ordermanagement.beans.BlockReasonCodeDataBean blockReasonCodeDB, org.w3c.dom.Element iBlockReasonCodesElement)
Builds the BlockReasonCode element from the specified block reason code data bean.
|
protected org.w3c.dom.Element | createBlockReasonCodesElement(org.w3c.dom.Element iBlockReasonCodesElement)
Builds the BlockReasonCodes element.
|
protected org.w3c.dom.Element | createChargeTypeElement(org.w3c.dom.Element aParentElement, PolicyDataBean abnPolicy)
Builds the ChargeType element.
|
protected org.w3c.dom.Element | createChargeTypesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult)
Creates the ChargeTypes element.
|
protected void | createCurrencyElement(org.w3c.dom.Element parentElement, java.lang.String currencyCode)
Builds the Currency element for the specified currency.
|
protected org.w3c.dom.Element | createOrderChangeReasonsElement(org.w3c.dom.Element parentElement, java.lang.String storeId)
Creates the OrderChangeReasons element.
|
protected org.w3c.dom.Element | createOverrideReasonCodeElement(org.w3c.dom.Element aParentElement, PriceOverrideReasonDataBean abnReason)
This method creates the OverrideReasonCode element and its subelements.
|
protected org.w3c.dom.Element | createOverrideReasonCodesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult)
This method creates OverrideReasonCodes elements.
|
protected org.w3c.dom.Element | createOwnerElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult)
This method creates the Owner element.
|
protected PolicyListDataBean | createPolicyDataBean()
This method create an instance of the PolicyDataBean to retrieve the supported Policies for Shipping Charges
|
protected PriceOverrideReasonListDataBean | createPriceOverrideReasonListDataBean()
This method creates an instance of the PriceOverrideReasonListDataBean to retrieve all of the available price-override reasons.
|
protected org.w3c.dom.Element | createReturnReasonsElement(org.w3c.dom.Element parentElement, java.lang.String storeentId, java.lang.String storeGroupId)
Create the return reasons element.
|
protected org.w3c.dom.Element | createRoleElement(org.w3c.dom.Element aParentElement, java.lang.String astrRole)
Builds the Role element for the specified member role.
|
protected org.w3c.dom.Element | createRolesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult)
Creates the Roles element.
|
protected org.w3c.dom.Element | createShippingModeElement(org.w3c.dom.Element aParentElement, ShippingModeAccessBean abnShippingMode)
Builds the ShippingMode element.
|
org.w3c.dom.Element | createStoreElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnStoreSearchResult)
Builds the Store element from the specified store search result data bean.
|
protected com.ibm.commerce.tools.common.ui.StoreLanguageBean | createStoreLanguageBean()
This method creates an instance of the StoreLanguageBean to do the store search.
|
protected org.w3c.dom.Element | createSupportedCurrenciesElement(org.w3c.dom.Element parentElement, java.lang.String storeId)
Builds the SupportedCurrencies element.
|
protected org.w3c.dom.Element | createSupportedLanguagesElement(org.w3c.dom.Element parentElement, java.lang.Integer[] langIds)
Creates the SupportedLanguages element.
|
protected org.w3c.dom.Element | createTicklerActionCodeElement(org.w3c.dom.Element aParentElement, TicklerActionAccessBean abnTicklerActionCode)
Builds the TicklerActionCode element.
|
protected org.w3c.dom.Element | createTicklerCodesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearhResult)
Creates the TicklerCodes element.
|
protected org.w3c.dom.Element | createTicklerReasonCodeElement(org.w3c.dom.Element aParentElement, TicklerReasonAccessBean abnTicklerReasonCode)
Builds the TicklerReasonCode element.
|
protected org.w3c.dom.Element | createUserdataInBlockReasonCodeElement(com.ibm.commerce.ordermanagement.beans.BlockReasonCodeDataBean blockReasonCodeDB, org.w3c.dom.Element iBlockReasonCodeElement)
This is an empty method to create the UserData element for BlockReasonCode.
|
protected org.w3c.dom.Element | createUserdataInChargeTypeElement(PolicyDataBean abnPolicy, org.w3c.dom.Element chargeTypeElement)
This is an empty method to create the UserData element for ChargeType.
|
protected org.w3c.dom.Element | createUserdataInCurrencyElement(java.lang.String currencyCode, org.w3c.dom.Element currencyElement)
This is an empty method to create the UserData element for Currency.
|
protected org.w3c.dom.Element | createUserdataInOrderChangeReasonElement(OrderChangeReasonDataBean ordChangeReasonDB, java.lang.String storeId, org.w3c.dom.Element orderChangeReasonsElement)
This is an empty method to create the UserData element for OrderChangeReason.
|
protected org.w3c.dom.Element | createUserdataInOverrideReasonCodeElement(PriceOverrideReasonDataBean abnReason, org.w3c.dom.Element overrideReasonCodeElement)
This is an empty method to create the UserData element for OverrideReasonCode.
|
protected org.w3c.dom.Element | createUserdataInReturnReasonElement(ReturnReasonDataBean returnReasonDB, java.lang.String storeentId, org.w3c.dom.Element reasonElement)
This is an empty method to create the UserData element for ReturnReason.
|
protected org.w3c.dom.Element | createUserdataInRoleElement(RoleAccessBean roleAccessBean, org.w3c.dom.Element roleElement)
This is an empty method to create the UserData element for Role.
|
protected org.w3c.dom.Element | createUserdataInShippingModeElement(ShippingModeAccessBean abnShippingMode, org.w3c.dom.Element shippingModeElement)
This is an empty method to create the UserData element for ShippingMode.
|
protected org.w3c.dom.Element | createUserdataInTicklerActionCodeElement(TicklerActionAccessBean abnTicklerActionCode, org.w3c.dom.Element ticklerActionCodeElement)
This is an empty method to create the UserData element for TicklerActionCode.
|
protected org.w3c.dom.Element | createUserdataInTicklerReasonCodeElement(TicklerReasonAccessBean abnTicklerReasonCode, org.w3c.dom.Element ticklerReasonCodeElement)
This is an empty method to create the UserData element for TicklerReasonCode.
|
java.util.ArrayList | executeGetStore(SearchCriteria aSearchCriteria)
Gets the list of stores that meets the given search criteria.
|
java.util.ArrayList | executeGetStoreIds(SearchCriteria aSearchCriteria)
Gets the list of store IDs that meets the given search criteria.
|
ITelesalesResponseCacheableCommand | getCacheableCommand()
Returns an initialized cacheable command.
|
protected java.lang.String | getResultSetSize()
Gets the result set size of the search
|
protected java.lang.String | getRootElementName()
Gets the root element name of the response document.
|
protected java.lang.Integer | getSelectedStoreId()
This method gets the selected store Id.
|
void | init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
Initialize the necessary parameters before starting building the response Business Object Document.
|
protected void | initializedPolicyListDataBean(PolicyListDataBean abnPolicyList, java.lang.String astrStoreId)
This method initializes the PolicyListDataBean with the given store Id and sets the policy types to PolicyListDataBean.TYPE_SHIPPINHG_CHARGE.
|
protected void | initializedPriceOverrideReasonListDataBean(PriceOverrideReasonListDataBean reasonListDataBean, java.lang.String storeId)
This method initializes the PriceOverrideReasonListDataBean with the given storeId.
|
protected void | initializeStoreSearch(com.ibm.commerce.tools.common.ui.StoreLanguageBean abnSearch, SearchCriteria aSearchCriteria)
Initialize the search bean with the given search criteria.
|
WhereClauseCondition | initializeStoreSearchQuery(SearchCriteria aSearchCriteria)
Generates a WhereClauseCondition representing the given search criteria in this method.
|
boolean | isPickupInStore(ShippingModeAccessBean mode)
This method verifies the PickupInStore shipping code in a given shipping mode
|
protected StoreSearchResultBean | populateSearchResult(java.lang.String astrStoreId, StoreSearchResultBean abnSearchResult, boolean aboolGetDetails)
Populates the search result for the given store.
|
protected void | setResultSetSize(java.lang.String resultSetSize)
Sets the result set size of the search.
|
protected void | setSelectedStoreId(java.lang.Integer selectedStoreId)
This method sets the selected store Id.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public void init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
This method first calls the init method from the parent class.
It will then calls the initializeSearchTypeMapping to initialize the mappings between the search type obtained from the SelectExpression element in the request Business Object Document to the actual value set to the search bean.
protected void buildDataArea() throws ECException
This method will do the following:
protected StoreSearchResultBean populateSearchResult(java.lang.String astrStoreId, StoreSearchResultBean abnSearchResult, boolean aboolGetDetails) throws ECException
This method also sets the boolean to indicate that whether a detailed store information need to be returned.
public org.w3c.dom.Element createStoreElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnStoreSearchResult) throws ECException
If the store detailed information is needed ( abnStoreSearchResult.getRetrieveDetailsFlag returns true. ), this method calls the buildStoreElementDetailInfo method to build the elements. Otherwise, this method calls the buildStoreElementBaseInfo method to build the elements.
public org.w3c.dom.Element buildStoreElementBaseInfo(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnStoreSearchResult) throws ECException
The following sample indicates the structure of the Store element and how it is constructed.
<wc:Store> <wc:StoreId>11251</wc:Store> <wc:Description>B2BDirect</wc:Description> <wc:Type>B2C</wc:Type; <wc:LanguageId>-1</wc:LanguageId> <wc:Owner> <-- createOwnerElement() --> . . </wc:Owner> </wc:Store>
public org.w3c.dom.Element buildStoreElementDetailInfo(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnStoreSearchResult) throws ECException
The following sample indicates the structure of the Store element and how it is constructed.
<wc:Store> <wc:StoreId>11251</wc:Store> <wc:Description>B2BDirect</wc:Description> <wc:Type>B2C</wc:Type; <wc:LanguageId>-1</wc:LanguageId> <wc:SupportedLanguages> <-- createSupportedLanguagesElement() --> . . </wc:SupportedLanguages> <wc:AvailShippingModes> <-- createAvailShippingModesElement() --> . . </wc:AvailShippingModes> <wc:ChargeTypes> <-- createChargeTypesElement() --> . . </wc:ChargeTypes> <wc:TicklerCodes> <-- createTicklerCodesElement() --> . . </wc:TicklerCodes> <wc:OverrideReasonCodes> <-- createOverrideReasonCodesElement() --> . . </wc:OverrideReasonCodes> <wc:Roles> <-- createRolesElement() --> . . </wc:Roles> <wc:AllowOrderBlockingInd>true</wc:AllowOrderBlockingInd; <wc:Owner> <-- createOwnerElement() --> . . </wc:Owner> <wc:SupportedCurrency> <-- createStoreCurrencyElement() --> . . </wc:SupportedCurrency> </wc:Store>
protected org.w3c.dom.Element createAvailShippingModesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult) throws ECException
The following sample indicates the structure of the AvailShippingModes element and how it is constructed.
<wc:AvailShippingModes> <wc:ShippingMode> <-- createShippingModeElement() --> . . </wc:ShippingMode> <wc:ShippingMode> <-- createShippingModeElement() --> . . </wc:ShippingMode> </wc:AvailShippingModes>
public boolean isPickupInStore(ShippingModeAccessBean mode) throws ECSystemException
protected org.w3c.dom.Element createRolesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult) throws ECException
The following sample indicates the structure of the Roles element and how it is constructed.
<wc:Roles> <wc:Role> <-- createRoleElement() --> . . </wc:Role> <wc:Role> <-- createRoleElement() --> . . </wc:Role> </wc:Roles>
protected org.w3c.dom.Element createRoleElement(org.w3c.dom.Element aParentElement, java.lang.String astrRole) throws ECException
The following sample indicates the structure of the Role element and how it is constructed.
<wc:Role> <wc:Id>-1</wc:Id> <wc:Description/> <wc:Display>Site Administrator</wc:Display> <UserData> <!-- createUserdataInRoleElement(RoleAccessBean, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/> </wc:Role>
protected org.w3c.dom.Element createUserdataInRoleElement(RoleAccessBean roleAccessBean, org.w3c.dom.Element roleElement) throws ECException
... Element userDataElement = createWCDocumentElement(roleElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createShippingModeElement(org.w3c.dom.Element aParentElement, ShippingModeAccessBean abnShippingMode) throws ECException
The following sample indicates the structure of the ShippingMode element and how it is constructed.
<wc:ShippingMode> <wc:ModeId>10601</wc:ModeId> <wc:ModeDescription>International mail</wc:ModeDescription> <UserData> <!-- createUserdataInShippingModeElement(ShippingModeAccessBean, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/> </wc:ShippingMode>
protected org.w3c.dom.Element createUserdataInShippingModeElement(ShippingModeAccessBean abnShippingMode, org.w3c.dom.Element shippingModeElement) throws ECException
... Element userDataElement = createWCDocumentElement(shippingModeElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createChargeTypesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult) throws ECException
The following sample indicates the structure of the ChargeTypes element and how it is constructed.
<wc:ChargeTypes> <wc:ChargeType> <-- createChargeTypeElement() --> . . </wc:ChargeType> <wc:ChargeType> <-- createChargeTypeElement() --> . . </wc:ChargeType> </wc:ChargeTypes>
protected org.w3c.dom.Element createChargeTypeElement(org.w3c.dom.Element aParentElement, PolicyDataBean abnPolicy) throws ECException
The following sample indicates the structure of the ChargeType element and how it is constructed.
<wc:ChargeType> <wc:ChargeTypeId>-7005</wc:ChargeTypeId> <wc:Description>Shipping charged by carrier</wc:Description> <UserData> <!-- createUserdataInChargeTypeElement(PolicyDataBean, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/> </wc:ChargeType>
protected org.w3c.dom.Element createUserdataInChargeTypeElement(PolicyDataBean abnPolicy, org.w3c.dom.Element chargeTypeElement) throws ECException
... Element userDataElement = createWCDocumentElement(chargeTypeElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createTicklerCodesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearhResult) throws ECException
The following sample indicates the structure of the TicklerCodes element and how it is constructed.
<wc:TicklerCodes> <wc:AvailTicklerReasons> <wc:TicklerReasonCode> <-- createTicklerReasonCodeElement() --> . . </wc:TicklerReasonCode> <wc:TicklerReasonCode> <-- createTicklerReasonCodeElement() --> . . </wc:TicklerReasonCode> </wc:AvailTicklerReasons> <wc:AvailTicklerActions> <wc:TicklerActionCode> <-- createTicklerActionCodeElement() --> . . </wc:TicklerActionCode> <wc:TicklerActionCode> <-- createTicklerActionCodeElement() --> . . </wc:TicklerActionCode> </wc:AvailTicklerActions> </wc:TicklerCodes>
protected org.w3c.dom.Element createTicklerActionCodeElement(org.w3c.dom.Element aParentElement, TicklerActionAccessBean abnTicklerActionCode) throws ECSystemException
The following sample indicates the structure of the TicklerActionCode element and how it is constructed.
<wc:TicklerActionCode> <wc:TicklerActionCodeId>-1005</wc:TicklerActionCodeId> <wc:ActionCode>ConcernResolve</wc:ActionCode> <wc:Description>Resolve concern</wc:Description> <wc:ClosingActionInd>true</wc:ClosingActionInd> <UserData> <!-- createUserdataInTicklerActionCodeElement(TicklerActionAccessBean, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/> </wc:TicklerActionCode>
protected org.w3c.dom.Element createUserdataInTicklerActionCodeElement(TicklerActionAccessBean abnTicklerActionCode, org.w3c.dom.Element ticklerActionCodeElement) throws ECException
... Element userDataElement = createWCDocumentElement(ticklerActionCodeElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createTicklerReasonCodeElement(org.w3c.dom.Element aParentElement, TicklerReasonAccessBean abnTicklerReasonCode) throws ECSystemException
The following sample indicates the structure of the TicklerReasonCode element and how it is constructed.
<wc:TicklerReasonCode> <wc:TicklerReasonId>-1010</wc:TicklerReasonId> <wc:ReasonCode>Concern</wc:ReasonCode> <wc:Description>Concern</wc:Description> <wc:SystemDefinedInd>false</wc:SystemDefinedInd> <UserData> <!-- createUserdataInTicklerReasonCodeElement(TicklerReasonAccessBean, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/> </wc:TicklerReasonCode>
protected org.w3c.dom.Element createUserdataInTicklerReasonCodeElement(TicklerReasonAccessBean abnTicklerReasonCode, org.w3c.dom.Element ticklerReasonCodeElement) throws ECException
... Element userDataElement = createWCDocumentElement(ticklerReasonCodeElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createOverrideReasonCodeElement(org.w3c.dom.Element aParentElement, PriceOverrideReasonDataBean abnReason) throws ECException
<UserData> <!-- createUserdataInOverrideReasonCodeElement(PriceOverrideReasonDataBean, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/>
protected org.w3c.dom.Element createUserdataInOverrideReasonCodeElement(PriceOverrideReasonDataBean abnReason, org.w3c.dom.Element overrideReasonCodeElement) throws ECException
... Element userDataElement = createWCDocumentElement(overrideReasonCodeElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createOverrideReasonCodesElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult) throws ECException
protected org.w3c.dom.Element createOwnerElement(org.w3c.dom.Element aParentElement, StoreSearchResultBean abnSearchResult) throws ECException
The following sample indicates the structure of the Owner element and how it is constructed.
<oa:Business> <oa:Function>O</oa:Function> <oa:Name></oa:Name> <oa:RelatedUnit> <oa:Relationship>Parent</oa:Relationship> <oa:Unit> <oa:Id>-2000</oa:Id> <oa:Name>Default Organization</oa:Name> </oa:Unit> </oa:RelatedUnit> </oa:Business>
public java.util.ArrayList executeGetStore(SearchCriteria aSearchCriteria) throws ECException
public WhereClauseCondition initializeStoreSearchQuery(SearchCriteria aSearchCriteria)
public java.util.ArrayList executeGetStoreIds(SearchCriteria aSearchCriteria) throws ECException
protected com.ibm.commerce.tools.common.ui.StoreLanguageBean createStoreLanguageBean()
protected void initializeStoreSearch(com.ibm.commerce.tools.common.ui.StoreLanguageBean abnSearch, SearchCriteria aSearchCriteria)
protected java.lang.String getRootElementName()
protected void initializedPolicyListDataBean(PolicyListDataBean abnPolicyList, java.lang.String astrStoreId)
protected PolicyListDataBean createPolicyDataBean()
protected PriceOverrideReasonListDataBean createPriceOverrideReasonListDataBean()
protected void initializedPriceOverrideReasonListDataBean(PriceOverrideReasonListDataBean reasonListDataBean, java.lang.String storeId)
protected java.lang.String getResultSetSize()
protected void setResultSetSize(java.lang.String resultSetSize)
protected org.w3c.dom.Element createSupportedCurrenciesElement(org.w3c.dom.Element parentElement, java.lang.String storeId) throws ECException
The following sample indicates the structure of the SupportedCurrencies element.
<wc:SupportedCurrencies> <wc:Currency> <-- createCurrencyElement() --> . . </wc:Currency> <wc:Currency> <-- createCurrencyElement() --> . . </wc:Currency> </wc:SupportedCurrencies>
protected void createCurrencyElement(org.w3c.dom.Element parentElement, java.lang.String currencyCode) throws ECException
The following sample indicates the structure of the Currency element and how it is constructed.
<wc:Currency> <wc:CurrencyCode>USD</wc:CurrencyCode> <UserData> <!-- createUserdataInCurrencyElement(String, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/> </wc:Currency>
protected org.w3c.dom.Element createUserdataInCurrencyElement(java.lang.String currencyCode, org.w3c.dom.Element currencyElement) throws ECException
... Element userDataElement = createWCDocumentElement(currencyElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createSupportedLanguagesElement(org.w3c.dom.Element parentElement, java.lang.Integer[] langIds) throws ECException
The following sample indicates the structure of the SupportedLanguages element and how it is constructed.
<wc:SupportedLanguages> <wc:SupportedLanguage>-1</wc:SupportedLanguage> <wc:SupportedLanguage>-2</wc:SupportedLanguage> . . </wc:SupportedLanguages>
protected org.w3c.dom.Element createReturnReasonsElement(org.w3c.dom.Element parentElement, java.lang.String storeentId, java.lang.String storeGroupId) throws ECException
protected org.w3c.dom.Element createUserdataInReturnReasonElement(ReturnReasonDataBean returnReasonDB, java.lang.String storeentId, org.w3c.dom.Element reasonElement) throws ECException
... Element userDataElement = createWCDocumentElement(reasonElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createOrderChangeReasonsElement(org.w3c.dom.Element parentElement, java.lang.String storeId) throws ECException
protected org.w3c.dom.Element createUserdataInOrderChangeReasonElement(OrderChangeReasonDataBean ordChangeReasonDB, java.lang.String storeId, org.w3c.dom.Element orderChangeReasonsElement) throws ECException
... Element userDataElement = createWCDocumentElement(orderChangeReasonsElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected org.w3c.dom.Element createBlockReasonCodesElement(org.w3c.dom.Element iBlockReasonCodesElement) throws ECException
The following sample indicates the structure of the BlockReasonCodes element and how it is constructed.
<BlockReasonCodes> <BlockReasonCode> <!-- createBlockReasonCodeElement --> . . </BlockReasonCode> <BlockReasonCode> <!-- createBlockReasonCodeElement --> . . </BlockReasonCode> </BlockReasonCodes>
protected org.w3c.dom.Element createBlockReasonCodeElement(com.ibm.commerce.ordermanagement.beans.BlockReasonCodeDataBean blockReasonCodeDB, org.w3c.dom.Element iBlockReasonCodesElement) throws ECException
The following sample indicates the structure of the BlockReasonCode element and how it is constructed.
<BlockReasonCode> <BlockReasonCode>5010</BlockReasonCode> <!-- blockReasonCodeDB.getBlockReasonCodeId() --> <Description>Buyer fraud suspected</Description> <!-- blockReasonCodeDB.getDescription() --> <ManualBlockInd>false</ManualBlockInd> <!-- blockReasonCodeDB.getManualBlock().intValue() == 1 --> <UserData> <!-- createUserdataInBlockReasonCodeElement(BlockReasonCodeDataBean, Element) --> <UserDataField name="Name">"Value"</UserDataField> <UserData/> </BlockReasonCode>
protected org.w3c.dom.Element createUserdataInBlockReasonCodeElement(com.ibm.commerce.ordermanagement.beans.BlockReasonCodeDataBean blockReasonCodeDB, org.w3c.dom.Element iBlockReasonCodeElement) throws ECException
... Element userDataElement = createWCDocumentElement(iBlockReasonCodeElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
public ITelesalesResponseCacheableCommand getCacheableCommand() throws ECException
protected java.lang.Integer getSelectedStoreId()
protected void setSelectedStoreId(java.lang.Integer selectedStoreId)