|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.inventory.commands.CreateStoreAddressCmdImpl
Create the fulfillment or vendor address.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Fields inherited from interface com.ibm.commerce.inventory.commands.CreateStoreAddressCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
CreateStoreAddressCmdImpl()
|
Method Summary | |
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 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()
This method 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)
Set 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)
Set 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()
This method checks the information of address to be created. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CreateStoreAddressCmdImpl()
Method Detail |
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()
getStoreAddressId
in interface CreateStoreAddressCmd
public java.lang.String getTaxGeoCode()
public java.lang.String getZipCode()
protected void handleException(java.lang.Exception e, java.lang.String methodName) throws ECException
e
- Exception - The exception instance to be formatted.methodName
- String - The name of the method from which this method was called.ECException
- - could be one of many different exceptions:
ECApplicationException. RemoteException,
CreateException, FinderException, or NamingException.public void performExecute() throws ECException
performExecute
in interface ECCommand
ECException
- public void setAddress1(java.lang.String newAddress1)
setAddress1
in interface CreateStoreAddressCmd
newAddress1
- java.lang.Stringpublic void setAddress2(java.lang.String newAddress2)
setAddress2
in interface CreateStoreAddressCmd
newAddress2
- java.lang.Stringpublic void setAddress3(java.lang.String newAddress3)
setAddress3
in interface CreateStoreAddressCmd
newAddress3
- java.lang.Stringpublic void setBusinessTitle(java.lang.String newBusinessTitle)
setBusinessTitle
in interface CreateStoreAddressCmd
newBusinessTitle
- java.lang.Stringpublic void setCity(java.lang.String newCity)
setCity
in interface CreateStoreAddressCmd
newCity
- java.lang.Stringpublic void setCountry(java.lang.String newCountry)
setCountry
in interface CreateStoreAddressCmd
newCountry
- java.lang.Stringpublic void setEmail1(java.lang.String newEmail1)
setEmail1
in interface CreateStoreAddressCmd
newEmail1
- java.lang.Stringpublic void setEmail2(java.lang.String newEmail2)
setEmail2
in interface CreateStoreAddressCmd
newEmail2
- java.lang.Stringpublic void setFax1(java.lang.String newFax1)
setFax1
in interface CreateStoreAddressCmd
newFax1
- java.lang.Stringpublic void setFax2(java.lang.String newFax2)
setFax2
in interface CreateStoreAddressCmd
newFax2
- java.lang.Stringpublic void setField1(java.lang.String newField1)
setField1
in interface CreateStoreAddressCmd
newField1
- java.lang.Stringpublic void setField2(java.lang.String newField2)
setField2
in interface CreateStoreAddressCmd
newField2
- java.lang.Stringpublic void setField3(java.lang.String newField3)
setField3
in interface CreateStoreAddressCmd
newField3
- java.lang.Stringpublic void setFirstName(java.lang.String newFirstName)
setFirstName
in interface CreateStoreAddressCmd
newFirstName
- java.lang.Stringpublic void setLastName(java.lang.String newLastName)
setLastName
in interface CreateStoreAddressCmd
newLastName
- java.lang.Stringpublic void setMemberId(java.lang.String newMemberId)
setMemberId
in interface CreateStoreAddressCmd
newMemberId
- java.lang.Stringpublic void setMiddleName(java.lang.String newMiddleName)
setMiddleName
in interface CreateStoreAddressCmd
newMiddleName
- java.lang.Stringpublic void setNickname(java.lang.String newNickname)
setNickname
in interface CreateStoreAddressCmd
newNickname
- java.lang.Stringpublic void setPersonTitle(java.lang.String newPersonTitle)
setPersonTitle
in interface CreateStoreAddressCmd
newPersonTitle
- java.lang.Stringpublic void setPhone1(java.lang.String newPhone1)
setPhone1
in interface CreateStoreAddressCmd
newPhone1
- java.lang.Stringpublic void setPhone2(java.lang.String newPhone2)
setPhone2
in interface CreateStoreAddressCmd
newPhone2
- java.lang.Stringpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface CreateStoreAddressCmd
reqParms
- com.ibm.commerce.datatype.TypedPropertypublic void setShippingGeoCode(java.lang.String newShippingGeoCode)
setShippingGeoCode
in interface CreateStoreAddressCmd
newShippingGeoCode
- java.lang.Stringpublic void setState(java.lang.String newState)
setState
in interface CreateStoreAddressCmd
newState
- java.lang.Stringpublic void setStoreAddressId(java.lang.String newStoreAddressId)
newStoreAddressId
- java.lang.Stringpublic void setTaxGeoCode(java.lang.String newTaxGeoCode)
setTaxGeoCode
in interface CreateStoreAddressCmd
newTaxGeoCode
- java.lang.Stringpublic void setZipCode(java.lang.String newZipCode)
setZipCode
in interface CreateStoreAddressCmd
newZipCode
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
com.ibm.commerce.exception.ECApplicationException.
- If mandatory
parameters are not passed in, throw ECApplicationException.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |