public class ItemCreateImpl extends ToolsControllerCommandImpl implements ItemCreate
{ XML= { storeId=10101 fulfillmentCenterId=10101 XMLFile=catalog.itemWizard productrfnbr=14751 details= { lastOrderMonth= endOfServiceDay= endDay= endOfServiceMonth= lastOrderYear= lastOrderDay= discontinueYear= discontinueDay= endYear= availabilityYear= buyable=true startDay= sku=prod111_SKU_required endOfServiceYear= availabilityDay= startYear= endMonth= oldSKU= startMonth= published=true availabilityMonth= memberid=7000000000000000101 discontinueMonth= name=prod111 name required } attribute= { size=1 attribute= { attr0= { formatValue= isEmptyValueList=NO attrvalue=value0 attrid=11451 attrname=definingAttribute1_required_updated attrtype=AttributeStringValueBean } } langid=-1 } description= { auxDesc2= auxDesc1= shortDesc= longDesc= } langId=-1 } }
defaultCommandClassName, NAME
NAME
Constructor and Description |
---|
ItemCreateImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogEntryId()
Gets the catalog entry id of the created SKU.
|
void |
performExecute()
This method implements the business logic for the ItemCreate 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
is retrieved from the request properties.
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
public java.lang.String getCatalogEntryId()