public interface ComposeInventoryAvailabilityCmd
extends com.ibm.websphere.command.Command
InventoryAvailabilityType
.
Based on different inventory system, the default implementations are listed below:
For DOM Inventory System, the default implementation is: com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInventoryAvailabilityCmdImpl
For ATP Inventory System, the default implementation is: com.ibm.commerce.inventory.facade.server.commands.ComposeATPInventoryAvailabilityCmdImpl
For non-ATP Inventory System, the default implementation is: com.ibm.commerce.inventory.facade.server.commands.ComposeNonATPInventoryAvailabilityCmdImplModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
BaseItemAccessBean |
getBaseItem(java.lang.Long anCatalogEntryId)
Get the baseitem access bean of an catalog entry.
|
CatalogEntryAccessBean |
getCatalogEntry(java.lang.Long anCatalogEntryId)
Get the catalog entry access bean from the catalog entry Id.
|
java.lang.Long[] |
getCatalogEntryIds()
Get all the catalog entry Ids for the command.
|
java.lang.String |
getComponentId()
Get the component id of inventory component.
|
java.util.List |
getNouns()
Get the nouns of
InventoryAvailabilityType . |
java.lang.String[] |
getOnlineStoreIdentifiers()
Get the online store name identifiers.
|
java.lang.Integer[] |
getOnlineStoreIds()
Get the online store Ids.
|
java.lang.String[] |
getPartNumbers()
Get the part numbers of the catalog entries.
|
java.lang.String[] |
getPhysicalStoreIdentifiers()
Get the physical store external identifiers.
|
java.lang.String[] |
getPhysicalStoreIds()
Get the physical store Ids.
|
SearchExpression |
getSearchExpression() |
void |
setBaseItems(java.util.Map amapBaseItems)
Sets a map which contains the catalog entry id as the key and the catalog entry base item access bean as the value into the command.
|
void |
setCatalogEntryAccessBeans(java.util.Map amapCatalogEntries)
Sets a map which contains the catalog entry id as the key and catalog entry access bean as the value into the command.
|
void |
setCatalogEntryIds(java.lang.Long[] anCatalogEntryIds)
Set the catalog entry Ids.
|
void |
setComponentId(java.lang.String astrComponentId)
Set the inventory component id.
|
void |
setFulfillmentCenterIdList(java.lang.String astrFulfillmentCenterIdList)
Sets all the fulfillment center Ids lised in a string, seperated by comma, which is used to get the ATP inventories.
|
void |
setFulfillmentCenterIds(java.lang.Integer[] ainFulfillmentCenterIds)
Sets an array of the fulfillment center ids into the command.
|
void |
setNouns(java.util.List alistNouns)
Set the nouns of
InventoryAvailabilityType |
void |
setOnlineStoreFulfillmentCenterIds(java.util.Map amapOnlineStoreFulfillmentCenterIds)
Sets a map which contains the mapping from online store id to fulfillment center ids array.
|
void |
setOnlineStoreIdentifiers(java.lang.String[] astrOnlineStoreIdentifiers)
Set the online store name identifiers.
|
void |
setOnlineStoreIds(java.lang.Integer[] anOnlineStoreIds)
Set the online store Ids.
|
void |
setOnlineStores(java.util.Map amapOnlineStores)
Sets the map which contains the mapping from online store id to online store access bean.
|
void |
setPartNumbers(java.lang.String[] astrPartNumbers)
Set the catalog entry part numbers.
|
void |
setPhysicalStoreFulfillmentCenterIds(java.util.Map amapPhysicalStoreFulfillmentCenterIds)
Sets a map which contains the mapping from physical store id to fulfillment center ids array.
|
void |
setPhysicalStoreIdentifiers(java.lang.String[] astrPhysicalStoreIdentifiers)
Set the physical store external identifiers.
|
void |
setPhysicalStoreIds(java.lang.String[] astrPhysicalStoreIds)
Set the physical store Ids.
|
void |
setPhysicalStores(java.util.Map amapPhysicalStores)
Sets a map which contains the mapping from physical store id to
PhysicalStoreType into the command. |
void |
setSearchExpression(SearchExpression aSearchExpression)
Sets a
SearchExpression . |
static final java.lang.String COPYRIGHT
void setNouns(java.util.List alistNouns)
InventoryAvailabilityType
alistNouns
- A list of InventoryAvailabilityType
to set.java.util.List getNouns()
InventoryAvailabilityType
.InventoryAvailabilityType
.void setPhysicalStoreIdentifiers(java.lang.String[] astrPhysicalStoreIdentifiers)
astrPhysicalStoreIdentifiers
- A String array of the physical store external identifiers to
be set.void setPhysicalStoreIds(java.lang.String[] astrPhysicalStoreIds)
astrPhysicalStoreIds
- an String array of the physical store Ids to be set.void setPartNumbers(java.lang.String[] astrPartNumbers)
astrPartNumbers
- void setOnlineStoreIdentifiers(java.lang.String[] astrOnlineStoreIdentifiers)
astrOnlineStoreIdentifiers
- A String array of the online store name identifiers to be set.void setOnlineStoreIds(java.lang.Integer[] anOnlineStoreIds)
anOnlineStoreIds
- an integer array of the online store Ids to be set.void setCatalogEntryIds(java.lang.Long[] anCatalogEntryIds)
anCatalogEntryIds
- an array of the catalog entry Ids to be set.java.lang.String[] getPhysicalStoreIds()
java.lang.String[] getPhysicalStoreIdentifiers()
java.lang.String[] getPartNumbers()
java.lang.Integer[] getOnlineStoreIds()
java.lang.String[] getOnlineStoreIdentifiers()
java.lang.Long[] getCatalogEntryIds()
BaseItemAccessBean getBaseItem(java.lang.Long anCatalogEntryId)
anCatalogEntryId
- The catalog entry Id.CatalogEntryAccessBean getCatalogEntry(java.lang.Long anCatalogEntryId)
anCatalogEntryId
- The catalog entry Id.java.lang.String getComponentId()
void setComponentId(java.lang.String astrComponentId)
astrComponentId
- inventory component id.void setSearchExpression(SearchExpression aSearchExpression)
SearchExpression
.aSearchExpression
- The SearchExpression
.SearchExpression getSearchExpression()
SearchExpression
void setCatalogEntryAccessBeans(java.util.Map amapCatalogEntries)
amapCatalogEntries
- A map contains the catalog entry id as the key and catalog entry access bean as the value.void setBaseItems(java.util.Map amapBaseItems)
amapBaseItems
- A map contains the catalog entry id as the key and the catalog entry base item access bean as the value.void setPhysicalStores(java.util.Map amapPhysicalStores)
PhysicalStoreType
into the command.amapPhysicalStores
- A map which contains the mapping from physical store id to PhysicalStoreType
.void setFulfillmentCenterIds(java.lang.Integer[] ainFulfillmentCenterIds)
ainFulfillmentCenterIds
- An integer array of fulfillment center ids.void setOnlineStoreFulfillmentCenterIds(java.util.Map amapOnlineStoreFulfillmentCenterIds)
amapOnlineStoreFulfillmentCenterIds
- A map which contains the mapping from online store id to fulfillment center ids arrayvoid setPhysicalStoreFulfillmentCenterIds(java.util.Map amapPhysicalStoreFulfillmentCenterIds)
amapPhysicalStoreFulfillmentCenterIds
- A map which contains the mapping from physical store id to fulfillment center ids arrayvoid setFulfillmentCenterIdList(java.lang.String astrFulfillmentCenterIdList)
astrFulfillmentCenterIdList
- A string of comma seperated fulfillment center ids.void setOnlineStores(java.util.Map amapOnlineStores)
amapOnlineStores
- A map which contains the mapping from online store id to online store access bean.