|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShippingGroupMapContainer
The ShippingGroupMapContainer
interface is used to represent a container
of a Map of ShippingGroup names [key] to ShippingGroups [value].
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
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 |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.util.Map getShippingGroupMap()
Map
valueShippingGroup getShippingGroup(java.lang.String pShippingGroupName)
pShippingGroupName
- a String
value
ShippingGroup
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
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |