public class ItemUpdateImpl extends ToolsControllerCommandImpl implements ItemUpdate
{ XML= { details= { lastOrderMonth=10, endOfServiceDay=25, endDay=20, endOfServiceMonth=10, lastOrderYear=2006, lastOrderDay=31, discontinueYear=2006, discontinueDay=31, endYear=2006, availabilityYear=2006, buyable=true, startDay=05, sku=prod111_SKU_required, endOfServiceYear=2006, availabilityDay=10, startYear=2006, endMonth=10, oldSKU=prod111_SKU_required, startMonth=10, published=true, availabilityMonth=10, memberid=7000000000000000101, discontinueMonth=10, name=prod111 name required }, image= { fullimage=/dir/image1, thumbnail=/dir/image2 }, itemrfnbr=14752, XMLFile=catalog.itemNotebook, notValidStartEndDate=, catentship= { quantitymultiple=3, weightmeasure=KGM, quantitymeasure=KGM, weight=56, langid=-1, nominalquantity=6 }, salestax= { default_salestax= , selected_salestax= { st0= { name=Sales Tax, id=10101 } }, availableSize=1, selectedSize=1, available_salestax= { st0= { name=Default, id=10103 } }, defaultSize=0 }, langId=-1, shippingtax={ available_shippingtax= , default_shippingtax=, availableSize=0, selectedSize=1, selected_shippingtax= { st0= { name=Shipping Tax, id=10102 } }, defaultSize=0 }, manufacturer= { mftname=manufacturer_name, mftnum=manufacturer_partnumber }, productrfnbr=14751, fulfillmentCenterId=10101, description= { auxDesc2=long description 3, auxDesc1=long description2, shortDesc=short description, longDesc=long description1 }, advanced= { aurl=/myUrl/ }, storeId=10101 } }
defaultCommandClassName, NAME
NAME
Constructor and Description |
---|
ItemUpdateImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method implements the business logic for the ItemUpdate controller command.
|
void |
reset()
This method resets all instance variables to null.
|
void |
setRequestProperties(TypedProperty reqParams)
This method accepts input parameters from RequestProperties for the controller command.
|
void |
validateParameters()
This method validates input parameters for the controller command.
|
getViewInputProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRequestProperties(TypedProperty reqParams) throws ECApplicationException
ECToolsConstants.EC_XMLOBJECT
.
The first element of the vector is the hashtable representation of the XML object created by the Item Wizard.setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ToolsControllerCommandImpl
reqParams
- com.ibm.commerce.datatype.TypedPropertyECApplicationException.
ECApplicationException
- if the request properties can't be processedpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException.
ECException