com.ibm.commerce.inventory.facade.server.commands
Class AbstractComposeInventoryAvailabilityCmdImpl
- java.lang.Object
-
- com.ibm.commerce.inventory.facade.server.commands.AbstractComposeInventoryAvailabilityCmdImpl
-
- All Implemented Interfaces:
- ComposeInventoryAvailabilityCmd, com.ibm.websphere.command.Command, java.io.Serializable
- Direct Known Subclasses:
- com.ibm.commerce.inventory.facade.server.commands.ComposeATPInventoryAvailabilityCmdImpl, ComposeDOMInventoryAvailabilityCmdImpl
public abstract class AbstractComposeInventoryAvailabilityCmdImpl extends java.lang.Object implements ComposeInventoryAvailabilityCmd
This abstract class implements theComposeInventoryAvailabilityCmd
interface. It supplies the default implementation of the methods for the interface. All the classes which is used to composeInventoryAvailabilityType
should be extended from this class.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM Copyright notice field.
-
Constructor Summary
Constructors Constructor and Description AbstractComposeInventoryAvailabilityCmdImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods 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 ofInventoryAvailabilityType
.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 componentId)
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 ofInventoryAvailabilityType
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 toPhysicalStoreType
into the command.void
setSearchExpression(SearchExpression searchExpression)
Sets aSearchExpression
.
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractComposeInventoryAvailabilityCmdImpl
public AbstractComposeInventoryAvailabilityCmdImpl()
-
-
Method Detail
-
setNouns
public void setNouns(java.util.List alistNouns)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the nouns ofInventoryAvailabilityType
- Specified by:
setNouns
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
alistNouns
- A list ofInventoryAvailabilityType
to set.
-
getNouns
public java.util.List getNouns()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the nouns ofInventoryAvailabilityType
.- Specified by:
getNouns
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- A list of
InventoryAvailabilityType
.
-
setPhysicalStoreIdentifiers
public void setPhysicalStoreIdentifiers(java.lang.String[] astrPhysicalStoreIdentifiers)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the physical store external identifiers.- Specified by:
setPhysicalStoreIdentifiers
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
astrPhysicalStoreIdentifiers
- A String array of the physical store external identifiers to be set.
-
setPhysicalStoreIds
public void setPhysicalStoreIds(java.lang.String[] astrPhysicalStoreIds)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the physical store Ids.- Specified by:
setPhysicalStoreIds
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
astrPhysicalStoreIds
- an String array of the physical store Ids to be set.
-
setPartNumbers
public void setPartNumbers(java.lang.String[] astrPartNumbers)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the catalog entry part numbers.- Specified by:
setPartNumbers
in interfaceComposeInventoryAvailabilityCmd
-
setOnlineStoreIdentifiers
public void setOnlineStoreIdentifiers(java.lang.String[] astrOnlineStoreIdentifiers)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the online store name identifiers.- Specified by:
setOnlineStoreIdentifiers
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
astrOnlineStoreIdentifiers
- A String array of the online store name identifiers to be set.
-
setOnlineStoreIds
public void setOnlineStoreIds(java.lang.Integer[] anOnlineStoreIds)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the online store Ids.- Specified by:
setOnlineStoreIds
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
anOnlineStoreIds
- an integer array of the online store Ids to be set.
-
setCatalogEntryIds
public void setCatalogEntryIds(java.lang.Long[] anCatalogEntryIds)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the catalog entry Ids.- Specified by:
setCatalogEntryIds
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
anCatalogEntryIds
- an array of the catalog entry Ids to be set.
-
getPhysicalStoreIds
public java.lang.String[] getPhysicalStoreIds()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the physical store Ids.- Specified by:
getPhysicalStoreIds
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- an String array of the physical store Ids.
-
getPhysicalStoreIdentifiers
public java.lang.String[] getPhysicalStoreIdentifiers()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the physical store external identifiers.- Specified by:
getPhysicalStoreIdentifiers
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- A String array of the physical store external identifiers.
-
getPartNumbers
public java.lang.String[] getPartNumbers()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the part numbers of the catalog entries.- Specified by:
getPartNumbers
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- a String array of the catalog entry part numbers.
-
getOnlineStoreIds
public java.lang.Integer[] getOnlineStoreIds()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the online store Ids.- Specified by:
getOnlineStoreIds
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- an Integer array of the online store Ids.
-
getOnlineStoreIdentifiers
public java.lang.String[] getOnlineStoreIdentifiers()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the online store name identifiers.- Specified by:
getOnlineStoreIdentifiers
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- A String array of the online store name identifiers.
-
getCatalogEntryIds
public java.lang.Long[] getCatalogEntryIds()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get all the catalog entry Ids for the command.- Specified by:
getCatalogEntryIds
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- an array of the catalog entry Ids.
-
getBaseItem
public BaseItemAccessBean getBaseItem(java.lang.Long anCatalogEntryId)
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the baseitem access bean of an catalog entry.- Specified by:
getBaseItem
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
anCatalogEntryId
- The catalog entry Id.- Returns:
- The baseitem access bean.
-
getCatalogEntry
public CatalogEntryAccessBean getCatalogEntry(java.lang.Long anCatalogEntryId)
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the catalog entry access bean from the catalog entry Id.- Specified by:
getCatalogEntry
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
anCatalogEntryId
- The catalog entry Id.- Returns:
- The catalog entry access bean.
-
getComponentId
public java.lang.String getComponentId()
Description copied from interface:ComposeInventoryAvailabilityCmd
Get the component id of inventory component.- Specified by:
getComponentId
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- Returns the iComponentId.
-
setComponentId
public void setComponentId(java.lang.String componentId)
Description copied from interface:ComposeInventoryAvailabilityCmd
Set the inventory component id.- Specified by:
setComponentId
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
componentId
- The iComponentId to set.
-
getSearchExpression
public SearchExpression getSearchExpression()
- Specified by:
getSearchExpression
in interfaceComposeInventoryAvailabilityCmd
- Returns:
- Returns the iSearchExpression.
-
setSearchExpression
public void setSearchExpression(SearchExpression searchExpression)
Description copied from interface:ComposeInventoryAvailabilityCmd
Sets aSearchExpression
.- Specified by:
setSearchExpression
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
searchExpression
- The iSearchExpression to set.
-
setCatalogEntryAccessBeans
public void setCatalogEntryAccessBeans(java.util.Map amapCatalogEntries)
Description copied from interface:ComposeInventoryAvailabilityCmd
Sets a map which contains the catalog entry id as the key and catalog entry access bean as the value into the command.- Specified by:
setCatalogEntryAccessBeans
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
amapCatalogEntries
- A map contains the catalog entry id as the key and catalog entry access bean as the value.
-
setBaseItems
public void setBaseItems(java.util.Map amapBaseItems)
Description copied from interface:ComposeInventoryAvailabilityCmd
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.- Specified by:
setBaseItems
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
amapBaseItems
- A map contains the catalog entry id as the key and the catalog entry base item access bean as the value.
-
setPhysicalStores
public void setPhysicalStores(java.util.Map amapPhysicalStores)
Description copied from interface:ComposeInventoryAvailabilityCmd
Sets a map which contains the mapping from physical store id toPhysicalStoreType
into the command.- Specified by:
setPhysicalStores
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
amapPhysicalStores
- A map which contains the mapping from physical store id toPhysicalStoreType
.
-
setFulfillmentCenterIds
public void setFulfillmentCenterIds(java.lang.Integer[] ainFulfillmentCenterIds)
Description copied from interface:ComposeInventoryAvailabilityCmd
Sets an array of the fulfillment center ids into the command.- Specified by:
setFulfillmentCenterIds
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
ainFulfillmentCenterIds
- An integer array of fulfillment center ids.
-
setOnlineStoreFulfillmentCenterIds
public void setOnlineStoreFulfillmentCenterIds(java.util.Map amapOnlineStoreFulfillmentCenterIds)
Sets a map which contains the mapping from online store id to fulfillment center ids array.- Specified by:
setOnlineStoreFulfillmentCenterIds
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
amapOnlineStoreFulfillmentCenterIds
- A map which contains the mapping from online store id to fulfillment center ids array
-
setPhysicalStoreFulfillmentCenterIds
public void setPhysicalStoreFulfillmentCenterIds(java.util.Map amapPhysicalStoreFulfillmentCenterIds)
Sets a map which contains the mapping from physical store id to fulfillment center ids array.- Specified by:
setPhysicalStoreFulfillmentCenterIds
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
amapPhysicalStoreFulfillmentCenterIds
- A map which contains the mapping from physical store id to fulfillment center ids array
-
setFulfillmentCenterIdList
public 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.- Specified by:
setFulfillmentCenterIdList
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
astrFulfillmentCenterIdList
- A string of comma seperated fulfillment center ids.
-
setOnlineStores
public void setOnlineStores(java.util.Map amapOnlineStores)
Sets the map which contains the mapping from online store id to online store access bean.- Specified by:
setOnlineStores
in interfaceComposeInventoryAvailabilityCmd
- Parameters:
amapOnlineStores
- A map which contains the mapping from online store id to online store access bean.
-
-