|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShippingGroupPropertyContainer
By implementing this interface, the implementing class defines a list of shipping group properties to be used in the following operations.
Operations that use the shipping group property list are:
HardgoodShippingGroup
,
ElectronicShippingGroup
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
boolean |
arePropertiesEmpty()
This method is used to check the emptiness of the current ShippingGroup instance. |
void |
copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer)
This method is used to copy the information from the source ShippingGroup to the self destination. |
boolean |
doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer)
Do i match with the ShippingGroupPropertyContainer that is passed in? |
java.util.List<java.lang.String> |
getPropertyContainerPropertyNames()
This method returns the list of properties that is used in the methods implemented using this interface. |
java.util.List<java.lang.String> |
initializePropertyContainerPropertyNames()
This method initializes the properties which are used to find a match, copy information from source shipping group to self and find emptiness of the shipping group. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
boolean doPropertiesMatch(ShippingGroupPropertyContainer pShippingGroupPropertyContainer) throws CommerceException
ShippingGroupPropertyContainer
that is passed in?
This method uses propertyContainerPropertyNames
property list to find whether
the shipping group matches with the current shipping group instance
pShippingGroupPropertyContainer
- -- The object to be matched against
CommerceException
void copyProperties(ShippingGroupPropertyContainer pSrcShippingGroupPropertyContainer) throws CommerceException
This method uses propertyContainerPropertyNames
property list to copy from
source object to the self destination.
pSrcShippingGroupPropertyContainer
- -- The information to be copied from
CommerceException
boolean arePropertiesEmpty() throws CommerceException
propertyContainerPropertyNames
list.
If any of the properties are not empty this returns false.
CommerceException
java.util.List<java.lang.String> getPropertyContainerPropertyNames()
java.util.List<java.lang.String> initializePropertyContainerPropertyNames()
This method should be used for the initializing the property names and most probably this method will be called only once per shipping group instance unless if someone wants to reinitialize .
If you want to include any additional properties, you need to extend this method to add any additional properties.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |