public class CreateStoreAddressCmdImpl extends TaskCommandImpl implements CreateStoreAddressCmd, com.ibm.commerce.inventory.commands.InventoryConstants
Requires to have the store id set in the command context. Uses StoreAddressAccessBean.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
CreateStoreAddressCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getAddress1()
Return vendor address line 1.
|
java.lang.String | getAddress2()
Return vendor address line 2.
|
java.lang.String | getAddress3()
Return vendor address line 3.
|
java.lang.String | getBusinessTitle()
Return the vendor business title.
|
java.lang.String | getCity()
Return the city within this address.
|
java.lang.String | getCountry()
Return the country or region within this address.
|
java.lang.String | getEmail1()
Return the primary e-mail address.
|
java.lang.String | getEmail2()
Return the secondary e-mail address.
|
java.lang.String | getFax1()
Return the primary fax number.
|
java.lang.String | getFax2()
Return the secondary fax number.
|
java.lang.String | getField1()
Return the value of field1.
|
java.lang.String | getField2()
Return the value of field2.
|
java.lang.String | getField3()
Return the value of field3.
|
java.lang.String | getFirstName()
Return the first name for the contact person.
|
java.lang.String | getLastName()
Return the last name for the contact person.
|
java.lang.String | getMemberId()
Return owner identifier.
|
java.lang.String | getMiddleName()
Return the middle name for the contact person.
|
java.lang.String | getNickname()
Return the nickname for the address.
|
java.lang.String | getPersonTitle()
Return the business title for the contact person.
|
java.lang.String | getPhone1()
Return the primary phone number.
|
java.lang.String | getPhone2()
Return the secondary phone number.
|
java.lang.String | getShippingGeoCode()
Return the shipping geographic code.
|
java.lang.String | getState()
Return the state within this address.
|
java.lang.String | getStoreAddressId()
Return the store address identifier.
|
java.lang.String | getTaxGeoCode()
Return the tax geographic code.
|
java.lang.String | getZipCode()
Return the ZIP code within this address.
|
protected void | handleException(java.lang.Exception e, java.lang.String methodName)
Formats an ECException based on the input exception value.
|
void | performExecute()
Performs the execution of creating the address.
|
void | setAddress1(java.lang.String newAddress1)
Set vendor address line 1.
|
void | setAddress2(java.lang.String newAddress2)
Set vendor address line 2.
|
void | setAddress3(java.lang.String newAddress3)
Set vendor address line 3.
|
void | setBusinessTitle(java.lang.String newBusinessTitle)
Set the business title.
|
void | setCity(java.lang.String newCity)
Set the city within this address.
|
void | setCountry(java.lang.String newCountry)
Set the country or region within this address.
|
void | setEmail1(java.lang.String newEmail1)
Set the primary e-mail address.
|
void | setEmail2(java.lang.String newEmail2)
Set the secondary e-mail address.
|
void | setFax1(java.lang.String newFax1)
Set the primary fax number.
|
void | setFax2(java.lang.String newFax2)
Set the secondary fax number.
|
void | setField1(java.lang.String newField1)
Set the value of field1.
|
void | setField2(java.lang.String newField2)
Set the value of field2.
|
void | setField3(java.lang.String newField3)
Set the value of field3.
|
void | setFirstName(java.lang.String newFirstName)
Set the first name for the contact person.
|
void | setLastName(java.lang.String newLastName)
Set the last name for the contact person.
|
void | setMemberId(java.lang.String newMemberId)
Set the owner identifier.
|
void | setMiddleName(java.lang.String newMiddleName)
Set the middle name for the contact person.
|
void | setNickname(java.lang.String newNickname)
Set the nickname for the address.
|
void | setPersonTitle(java.lang.String newPersonTitle)
Set the business title for the contact person.
|
void | setPhone1(java.lang.String newPhone1)
Set the primary phone number.
|
void | setPhone2(java.lang.String newPhone2)
Set the secondary phone number.
|
void | setRequestProperties(TypedProperty reqParms)
Sets request properties.
|
void | setShippingGeoCode(java.lang.String newShippingGeoCode)
Set the shipping geographic code.
|
void | setState(java.lang.String newState)
Set the state within this address.
|
void | setStoreAddressId(java.lang.String newStoreAddressId)
Sets the store address identifier.
|
void | setTaxGeoCode(java.lang.String newTaxGeoCode)
Set the tax geographic code.
|
void | setZipCode(java.lang.String newZipCode)
Set the ZIP code within this address.
|
void | validateParameters()
Checks the information of address to be created.
|
public static final java.lang.String COPYRIGHT
public java.lang.String getAddress1()
public java.lang.String getAddress2()
public java.lang.String getAddress3()
public java.lang.String getBusinessTitle()
public java.lang.String getCity()
public java.lang.String getCountry()
public java.lang.String getEmail1()
public java.lang.String getEmail2()
public java.lang.String getFax1()
public java.lang.String getFax2()
public java.lang.String getField1()
public java.lang.String getField2()
public java.lang.String getField3()
public java.lang.String getFirstName()
public java.lang.String getLastName()
public java.lang.String getMemberId()
public java.lang.String getMiddleName()
public java.lang.String getNickname()
public java.lang.String getPersonTitle()
public java.lang.String getPhone1()
public java.lang.String getPhone2()
public java.lang.String getShippingGeoCode()
public java.lang.String getState()
public java.lang.String getStoreAddressId()
public java.lang.String getTaxGeoCode()
public java.lang.String getZipCode()
public void setAddress1(java.lang.String newAddress1)
public void setAddress2(java.lang.String newAddress2)
public void setAddress3(java.lang.String newAddress3)
public void setBusinessTitle(java.lang.String newBusinessTitle)
public void setCity(java.lang.String newCity)
public void setCountry(java.lang.String newCountry)
public void setEmail1(java.lang.String newEmail1)
public void setEmail2(java.lang.String newEmail2)
public void setFax1(java.lang.String newFax1)
public void setFax2(java.lang.String newFax2)
public void setField1(java.lang.String newField1)
public void setField2(java.lang.String newField2)
public void setField3(java.lang.String newField3)
public void setFirstName(java.lang.String newFirstName)
public void setLastName(java.lang.String newLastName)
public void setMemberId(java.lang.String newMemberId)
public void setMiddleName(java.lang.String newMiddleName)
public void setNickname(java.lang.String newNickname)
public void setPersonTitle(java.lang.String newPersonTitle)
public void setPhone1(java.lang.String newPhone1)
public void setPhone2(java.lang.String newPhone2)
public void setShippingGeoCode(java.lang.String newShippingGeoCode)
public void setState(java.lang.String newState)
public void setStoreAddressId(java.lang.String newStoreAddressId)
public void setTaxGeoCode(java.lang.String newTaxGeoCode)
public void setZipCode(java.lang.String newZipCode)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void validateParameters() throws ECException
public void performExecute() throws ECException
This method sets the StoreAddressDataBean.
Uses StoreAddressAccessBean.
protected void handleException(java.lang.Exception e, java.lang.String methodName) throws ECException