public class FetchExternalPriceEntryCmdImpl
extends com.ibm.commerce.price.facade.server.commands.AbstractFetchPriceListCmdImpl
The fetched result list contains PriceEntryType
objects populated with all the available data.
The following XPath keys can be processed by this command:
PriceList[PriceEntry[(CatalogEntryIdentifier[ExternalIdentifier[PartNumber=]] and Price[(Quantity= and
Quantity[@uom=]) and Price[@currency=]])]]
.Constructor and Description |
---|
FetchExternalPriceEntryCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getResultList()
This method, inherited from the parent class, is not supported for integration with an external price management
system.
|
void |
performExecute()
This method will firstly checks the authority based on current store ID and user ID in
command context . |
getGetPriceListType, getNouns, getPagingPrameter, getResult, getSelectionCriteria, getShow, getShowPriceListDataArea, isReadyToCallExecute, reset, setGet, setGetPriceList, setPagingPrameter, setSelectionCriteria
setSearchExpression
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSearchExpression
public void performExecute() throws java.lang.Exception
command context
.
If the user has authority, the XPath
expression will be parsed to get
query parameters and those parameters will be checked to see if those parameters are valid.
If all search parameters are valid, those parameters will be composed into a
new get verb
to get entitled price from the external service.
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.commerce.price.facade.server.commands.AbstractFetchPriceListCmdImpl
java.lang.Exception
AbstractFetchPriceListCmdImpl.performExecute()
public java.util.List getResultList()
getResultList
in class com.ibm.commerce.price.facade.server.commands.AbstractFetchPriceListCmdImpl
AbstractFetchPriceListCmdImpl.getResultList()