public interface ShippingGroupMapContainer
extends java.io.Serializable
ShippingGroupMapContainer
interface is used to represent a container
of a Map of ShippingGroup names [key] to ShippingGroups [value].Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addShippingGroup(java.lang.String pShippingGroupName,
ShippingGroup pShippingGroup)
Add a ShippingGroup to the ShippingGroupMap, the key will be its ShippingGroupName
|
java.lang.String |
addShippingGroupToMap(ShippingGroup pShippingGroup,
java.util.Collection pShippingGroupMatchers)
Adds a shipping group to the map container.
|
java.lang.String |
getDefaultShippingGroupName()
Get the default ShippingGroupName for the user's default ShippingGroup
|
java.lang.String |
getNewShippingGroupName(ShippingGroup pShippingGroup,
java.util.Collection pShippingGroupMatchers)
Returns a new name for a shipping group
|
ShippingGroup |
getShippingGroup(java.lang.String pShippingGroupName)
Get a ShippingGroup based on its ShippingGroupName
|
java.util.Map |
getShippingGroupMap()
Get a ShippingGroupMap which manages the user's ShippingGroup
|
java.lang.String |
getShippingGroupName(ShippingGroup pShippingGroup,
java.util.Collection pShippingGroupMatchers)
Returns the name that the shipping group is mapped to in the map.
|
java.util.Set |
getShippingGroupNames()
Get all the user's ShippingGroupNames
|
void |
removeAllShippingGroups()
Remove all the user's ShippingGroups from the ShippingGroupMap
|
void |
removeShippingGroup(java.lang.String pShippingGroupName)
Remove a ShippingGroup from the ShippingGroupMap based on its ShippingGroupName
|
void |
setDefaultShippingGroupName(java.lang.String pDefaultShippingGroupName)
Set a default ShippingGroupName for the user's default ShippingGroup
|
static final java.lang.String CLASS_VERSION
java.util.Map getShippingGroupMap()
Map
valueShippingGroup getShippingGroup(java.lang.String pShippingGroupName)
pShippingGroupName
- a String
valueShippingGroup
valuevoid addShippingGroup(java.lang.String pShippingGroupName, ShippingGroup pShippingGroup)
pShippingGroupName
- a String
valuepShippingGroup
- a ShippingGroup
valuevoid removeAllShippingGroups()
void removeShippingGroup(java.lang.String pShippingGroupName)
pShippingGroupName
- a String
valuevoid setDefaultShippingGroupName(java.lang.String pDefaultShippingGroupName)
pDefaultShippingGroupName
- a String
valuejava.lang.String getDefaultShippingGroupName()
String
valuejava.util.Set getShippingGroupNames()
Set
valuejava.lang.String getShippingGroupName(ShippingGroup pShippingGroup, java.util.Collection pShippingGroupMatchers)
java.lang.String getNewShippingGroupName(ShippingGroup pShippingGroup, java.util.Collection pShippingGroupMatchers)
pShippingGroup
- pShippingGroupMatchers
- java.lang.String addShippingGroupToMap(ShippingGroup pShippingGroup, java.util.Collection pShippingGroupMatchers)
pShippingGroup
-