public class CategoryCreateImpl extends ToolsControllerCommandImpl implements CategoryCreate
defaultCommandClassName, NAME
NAME
Constructor and Description |
---|
CategoryCreateImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method implements the business logic for the CategoryCreate 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
setRequestProperties
are persisted to the database.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
RequestProperties
for the controller command.
A vector for parameter 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 category wizard.
A sample of the hashtable (string representation) used by this command is as follows: { XML= { XMLFile=catalog.categoryWizard, bCreate=true, categoryparent= { parent_path=10101:owner=7000000000000000101, catalog_id=10101, parent_category_name=, category_id=, old_parent_category_id=, parent_category_id=, path=10101:owner=7000000000000000101 }, categorygeneral= { contracts=false, ps_id=, name=cat10001namerequired, code=cat1001required, longdescription=, keyword=, published=1, description=, catalog_id=10101 }, categoryId=, path=10101:owner=7000000000000000101 } }
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