|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.commerce.order.CommerceIdentifierImpl
atg.commerce.order.ShippingGroupImpl
atg.commerce.order.ElectronicShippingGroup
atg.projects.store.order.StoreElectronicShippingGroup
public class StoreElectronicShippingGroup
This class extends ElectronicShippingGroup to add a few properties.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
static java.lang.String |
PROPERTY_FROM_EMAIL_ADDRESS
From e-mail address property name. |
static java.lang.String |
PROPERTY_FROM_NAME
From name property name. |
static java.lang.String |
PROPERTY_MESSAGE
Message property name. |
static java.lang.String |
PROPERTY_SUBJECT
Subject property name. |
static java.lang.String |
PROPERTY_TO_NAME
To name property name. |
Fields inherited from class atg.commerce.order.ShippingGroupImpl |
---|
sResourceBundle |
Constructor Summary | |
---|---|
StoreElectronicShippingGroup()
Creates a new StoreElectronicShippingGroup object. |
Method Summary | |
---|---|
boolean |
doPropertiesMatch(atg.commerce.order.ShippingGroupPropertyContainer pShippingGroupPropertyContainer)
Do i match with the ShippingGroupPropertyContainer that is passed in?
This method uses getPropertyContainerPropertyNames() property list to find whether
the shipping group matches with the current shipping group instance |
java.lang.String |
getFromEmailAddress()
|
java.lang.String |
getFromName()
|
java.lang.String |
getMessage()
|
java.util.Map |
getProperties()
|
java.lang.String |
getSubject()
|
java.lang.String |
getToName()
|
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. |
void |
setFromEmailAddress(java.lang.String pFromEmailAddress)
Sets the from e-mail address. |
void |
setFromName(java.lang.String pFromName)
Sets the from name. |
void |
setMessage(java.lang.String pMessage)
Sets the message. |
void |
setProperties(java.util.Map pProperties)
Sets all the properties at once. |
void |
setSubject(java.lang.String pSubject)
Sets the subject. |
void |
setToName(java.lang.String pToName)
Sets the to name property. |
Methods inherited from class atg.commerce.order.ElectronicShippingGroup |
---|
arePropertiesEmpty, copyProperties, getEmailAddress, getPropertyContainerPropertyNames, setEmailAddress |
Methods inherited from class atg.commerce.order.ShippingGroupImpl |
---|
addChangedProperty, addCommerceItemRelationship, addCommerceItemRelationship, addHandlingInstruction, addHandlingInstruction, addPaymentGroupRelationship, addPaymentGroupRelationship, arePropertiesEmpty, clearChangedProperties, copyProperties, doPropertiesMatch, getActualShipDate, getChangedProperties, getCommerceItemRelationship, getCommerceItemRelationshipCount, getCommerceItemRelationships, getDescription, getHandlingInstruction, getHandlingInstructionCount, getHandlingInstructions, getPaymentGroupRelationship, getPaymentGroupRelationshipCount, getPaymentGroupRelationships, getPriceInfo, getPriceInfoRepositoryItem, getPropertyValue, getRepositoryItem, getSaveAllProperties, getShipOnDate, getShippingGroupClassType, getShippingMethod, getSpecialInstructions, getState, getStateAsString, getStateAsUserResource, getStateDetail, getSubmittedDate, isChanged, removeAllCommerceItemRelationships, removeAllHandlingInstructions, removeAllPaymentGroupRelationships, removeCommerceItemRelationship, removeHandlingInstruction, removePaymentGroupRelationship, setActualShipDate, setChanged, setDescription, setPriceInfo, setPriceInfoRepositoryItem, setPropertyValue, setRepositoryItem, setSaveAllProperties, setShipOnDate, setShippingGroupClassType, setShippingMethod, setSpecialInstructions, setState, setStateAsString, setStateDetail, setSubmittedDate, toString, update |
Methods inherited from class atg.commerce.order.CommerceIdentifierImpl |
---|
getId, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface atg.commerce.order.CommerceIdentifier |
---|
getId |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String PROPERTY_FROM_EMAIL_ADDRESS
public static final java.lang.String PROPERTY_FROM_NAME
public static final java.lang.String PROPERTY_MESSAGE
public static final java.lang.String PROPERTY_SUBJECT
public static final java.lang.String PROPERTY_TO_NAME
Constructor Detail |
---|
public StoreElectronicShippingGroup()
Method Detail |
---|
public java.lang.String getFromEmailAddress()
public void setFromEmailAddress(java.lang.String pFromEmailAddress)
pFromEmailAddress
- - from e-mail address.public java.lang.String getFromName()
public void setFromName(java.lang.String pFromName)
pFromName
- - from namepublic java.lang.String getMessage()
public void setMessage(java.lang.String pMessage)
pMessage
- - the messagepublic java.lang.String getSubject()
public void setSubject(java.lang.String pSubject)
pSubject
- - the subjectpublic java.lang.String getToName()
public void setToName(java.lang.String pToName)
pToName
- - to name propertypublic java.util.Map getProperties()
public void setProperties(java.util.Map pProperties)
pProperties
- - properties mappublic java.util.List<java.lang.String> initializePropertyContainerPropertyNames()
initializePropertyContainerPropertyNames
in interface atg.commerce.order.ShippingGroupPropertyContainer
initializePropertyContainerPropertyNames
in class atg.commerce.order.ElectronicShippingGroup
public boolean doPropertiesMatch(atg.commerce.order.ShippingGroupPropertyContainer pShippingGroupPropertyContainer) throws atg.commerce.CommerceException
ShippingGroupPropertyContainer
that is passed in?
This method uses getPropertyContainerPropertyNames()
property list to find whether
the shipping group matches with the current shipping group instance
doPropertiesMatch
in interface atg.commerce.order.ShippingGroupPropertyContainer
doPropertiesMatch
in class atg.commerce.order.ElectronicShippingGroup
pShippingGroupPropertyContainer
- -- The object to be matched against
atg.commerce.CommerceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |