java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.inventory.commands.UpdateStoreAddressCmdImpl
Update the fulfillment or vendor address.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.inventory.commands. UpdateStoreAddressCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
UpdateStoreAddressCmdImpl() |
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 businerss 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 updating 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 updated. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public UpdateStoreAddressCmdImpl()
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
UpdateStoreAddressCmd
public java.lang.String getTaxGeoCode()
public java.lang.String getZipCode()
public void setAddress1(java.lang.String newAddress1)
setAddress1
in interface
UpdateStoreAddressCmd
newAddress1
- java.lang.Stringpublic void setAddress2(java.lang.String newAddress2)
setAddress2
in interface
UpdateStoreAddressCmd
newAddress2
- java.lang.Stringpublic void setAddress3(java.lang.String newAddress3)
setAddress3
in interface
UpdateStoreAddressCmd
newAddress3
- java.lang.Stringpublic void setBusinessTitle(java.lang.String newBusinessTitle)
setBusinessTitle
in interface
UpdateStoreAddressCmd
newBusinessTitle
- java.lang.Stringpublic void setCity(java.lang.String newCity)
setCity
in interface
UpdateStoreAddressCmd
newCity
- java.lang.Stringpublic void setCountry(java.lang.String newCountry)
setCountry
in interface
UpdateStoreAddressCmd
newCountry
- java.lang.Stringpublic void setEmail1(java.lang.String newEmail1)
setEmail1
in interface
UpdateStoreAddressCmd
newEmail1
- java.lang.Stringpublic void setEmail2(java.lang.String newEmail2)
setEmail2
in interface
UpdateStoreAddressCmd
newEmail2
- java.lang.Stringpublic void setFax1(java.lang.String newFax1)
setFax1
in interface
UpdateStoreAddressCmd
newFax1
- java.lang.Stringpublic void setFax2(java.lang.String newFax2)
setFax2
in interface
UpdateStoreAddressCmd
newFax2
- java.lang.Stringpublic void setField1(java.lang.String newField1)
setField1
in interface
UpdateStoreAddressCmd
newField1
- java.lang.Stringpublic void setField2(java.lang.String newField2)
setField2
in interface
UpdateStoreAddressCmd
newField2
- java.lang.Stringpublic void setField3(java.lang.String newField3)
setField3
in interface
UpdateStoreAddressCmd
newField3
- java.lang.Stringpublic void setFirstName(java.lang.String newFirstName)
setFirstName
in interface
UpdateStoreAddressCmd
newFirstName
- java.lang.Stringpublic void setLastName(java.lang.String newLastName)
setLastName
in interface
UpdateStoreAddressCmd
newLastName
- java.lang.Stringpublic void setMemberId(java.lang.String newMemberId)
newMemberId
- java.lang.Stringpublic void setMiddleName(java.lang.String newMiddleName)
setMiddleName
in interface
UpdateStoreAddressCmd
newMiddleName
- java.lang.Stringpublic void setNickname(java.lang.String newNickname)
setNickname
in interface
UpdateStoreAddressCmd
newNickname
- java.lang.Stringpublic void setPersonTitle(java.lang.String newPersonTitle)
setPersonTitle
in interface
UpdateStoreAddressCmd
newPersonTitle
- java.lang.Stringpublic void setPhone1(java.lang.String newPhone1)
setPhone1
in interface
UpdateStoreAddressCmd
newPhone1
- java.lang.Stringpublic void setPhone2(java.lang.String newPhone2)
setPhone2
in interface
UpdateStoreAddressCmd
newPhone2
- java.lang.Stringpublic void setShippingGeoCode(java.lang.String newShippingGeoCode)
setShippingGeoCode
in interface
UpdateStoreAddressCmd
newShippingGeoCode
- java.lang.Stringpublic void setState(java.lang.String newState)
setState
in interface
UpdateStoreAddressCmd
newState
- java.lang.Stringpublic void setStoreAddressId(java.lang.String newStoreAddressId)
setStoreAddressId
in interface
UpdateStoreAddressCmd
newStoreAddressId
- java.lang.Stringpublic void setTaxGeoCode(java.lang.String newTaxGeoCode)
setTaxGeoCode
in interface
UpdateStoreAddressCmd
newTaxGeoCode
- java.lang.Stringpublic void setZipCode(java.lang.String newZipCode)
setZipCode
in interface
UpdateStoreAddressCmd
newZipCode
- java.lang.Stringpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface
UpdateStoreAddressCmd
reqParms
- com.ibm.commerce.datatype.TypedProperty
Exception:
ECApplicationException
public void validateParameters() throws ECException
Exception:
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
com.ibm.commerce.exception.ECApplicationException.
- If
mandatory parameters are not passed in, throw ECApplicationException.ECException
public void performExecute() throws ECException
This method uses the following AccessBean:
Exception:
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
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.
Exception:
ECException
- - could be one of many different exceptions: ECApplicationException.
RemoteException, CreateException, FinderException, or
NamingException.