public class FilterPhysicalStoreOutsideDistanceCmdImpl extends AbstractInsertMoreNounDataCmdImpl implements InsertMorePhysicalStoreDataCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
protected PhysicalStoreGeoCodeType | iGeoCode
the goe code
|
Constructor and Description |
---|
FilterPhysicalStoreOutsideDistanceCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List | calculateDistance(java.util.List physicalStores, java.lang.String fromStoreUniqueId, java.lang.String fromStoreExternalIdentifier, PhysicalStoreGeoCodeType fromGeoCode, double radius, java.lang.String radiusUOM, int maxStores)
This methods calculate the distances between the starting location and the result locations.
|
java.util.List | getPhysicalStores()
This method returns a list of PhysicalStores that result because of the fetch operation.
|
void | performExecute()
This method sorts the result nouns according to the distance from the starting point.
|
protected void | retrieveGetPhysicalStoresParameters(java.lang.String xPathKey, java.util.Map mapQueryParameters)
This method retrieves the parameters 'latitude' and 'longitude' or 'uniqueId' or 'externalIdentifier' without doing validation.
|
protected void | retrieveGetPhysicalStoresSearchConditions(java.util.Map mapQueryParameters)
This method retrieves the values set for radius, radius unit of measure and maximum number of stores to return.
|
void | setPhysicalStores(java.util.List physicalstores)
This method sets the list of PhysicalStores that result from executing the fetch operation.
|
public static final java.lang.String COPYRIGHT
protected PhysicalStoreGeoCodeType iGeoCode
public FilterPhysicalStoreOutsideDistanceCmdImpl()
public java.util.List getPhysicalStores()
public void setPhysicalStores(java.util.List physicalstores)
public void performExecute() throws java.lang.Exception
protected java.util.List calculateDistance(java.util.List physicalStores, java.lang.String fromStoreUniqueId, java.lang.String fromStoreExternalIdentifier, PhysicalStoreGeoCodeType fromGeoCode, double radius, java.lang.String radiusUOM, int maxStores)
protected void retrieveGetPhysicalStoresParameters(java.lang.String xPathKey, java.util.Map mapQueryParameters)
protected void retrieveGetPhysicalStoresSearchConditions(java.util.Map mapQueryParameters)