|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Update the vendor.
This command requires to have the store entity id and language id set in the command context.
Parameters
Example xml_string for vendor:
Exceptions
When the required fields are missing or not in the right data type, this command will throw exception to indicate which field is missing or bad.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
The default implementation class name. |
static java.lang.String |
NAME
|
Method Summary | |
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 businerss 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 |
setDescription(java.lang.String newDescription)
Set the description of the vendor. |
void |
setEmail1(java.lang.String newEmail1)
Set the primary e-mail address. |
void |
setFax1(java.lang.String newFax1)
Set the primary fax number. |
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 |
setMiddleName(java.lang.String newMiddleName)
Set the middle name for the contact person. |
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 |
setState(java.lang.String newState)
Set the state within this address. |
void |
setStoreAddressId(java.lang.String newStoreAddressId)
Set the store address identifier. |
void |
setVendorId(java.lang.String newVendorId)
Set the vendor identifier. |
void |
setVendorName(java.lang.String newVendorName)
Set the vendor name. |
void |
setZipCode(java.lang.String newZipCode)
Set the ZIP code within this address. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public void setAddress1(java.lang.String newAddress1)
newAddress1
- java.lang.Stringpublic void setAddress2(java.lang.String newAddress2)
newAddress2
- java.lang.Stringpublic void setAddress3(java.lang.String newAddress3)
newAddress3
- java.lang.Stringpublic void setBusinessTitle(java.lang.String newBusinessTitle)
newBusinessTitle
- java.lang.Stringpublic void setCity(java.lang.String newCity)
newCity
- java.lang.Stringpublic void setCountry(java.lang.String newCountry)
newCountry
- java.lang.Stringpublic void setDescription(java.lang.String newDescription)
newDescription
- java.lang.Stringpublic void setEmail1(java.lang.String newEmail1)
newEmail1
- java.lang.Stringpublic void setFax1(java.lang.String newFax1)
newFax1
- java.lang.Stringpublic void setFirstName(java.lang.String newFirstName)
newFirstName
- java.lang.Stringpublic void setLastName(java.lang.String newLastName)
newLastName
- java.lang.Stringpublic void setMiddleName(java.lang.String newMiddleName)
newMiddleName
- java.lang.Stringpublic void setPersonTitle(java.lang.String newPersonTitle)
newPersonTitle
- java.lang.Stringpublic void setPhone1(java.lang.String newPhone1)
newPhone1
- java.lang.Stringpublic void setState(java.lang.String newState)
newState
- java.lang.Stringpublic void setStoreAddressId(java.lang.String newStoreAddressId)
newStoreAddressId
- java.lang.Stringpublic void setVendorId(java.lang.String newVendorId)
newVendorId
- java.lang.Stringpublic void setVendorName(java.lang.String newVendorName)
newVendorName
- java.lang.Stringpublic void setZipCode(java.lang.String newZipCode)
newZipCode
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |