java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.contract.commands.CreateFulfillmentCenterCmdImpl
The default implementation of CreateFulfillmentCenter command.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this class is "com.ibm.commerce.contract.commands.CreateFulfillmentCenterCmdImpl". |
static java.lang.String |
COPYRIGHT The internal copyright field. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.contract.commands. CreateFulfillmentCenterCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CreateFulfillmentCenterCmdImpl() |
Method Summary | |
---|---|
java.lang.String |
getStore_Id() Gets the store ID. |
void |
performExecute() Creates the FFC and maps the FFC to the store. |
void |
setFFCDefaultLanguageId(java.lang.Integer id) Sets the store default language ID. |
void |
setFFCDefaultLanguageId(java.lang.String id) Sets the store default language ID. |
void |
setStore_Id(java.lang.Integer id) Sets the store ID. |
void |
setStore_Id(java.lang.String id) Sets the store ID. |
void |
setStoreXML(java.lang.String s) Sets the store XML |
void |
validateParameters() Validates the parameters. |
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
public static final java.lang.String CLASSNAME
Constructor Detail |
---|
public CreateFulfillmentCenterCmdImpl()
Method Detail |
---|
public void setStoreXML(java.lang.String s)
setStoreXML
in interface
CreateFulfillmentCenterCmd
s
- Store XMLpublic java.lang.String getStore_Id()
getStore_Id
in interface
CreateFulfillmentCenterCmd
public void setStore_Id(java.lang.String id)
setStore_Id
in interface
CreateFulfillmentCenterCmd
id
- store idpublic void setStore_Id(java.lang.Integer id)
setStore_Id
in interface
CreateFulfillmentCenterCmd
id
- store IDpublic void setFFCDefaultLanguageId(java.lang.String id)
setFFCDefaultLanguageId
in interface
CreateFulfillmentCenterCmd
id
- store default language IDpublic void setFFCDefaultLanguageId(java.lang.Integer id)
setFFCDefaultLanguageId
in interface
CreateFulfillmentCenterCmd
id
- store default language IDpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
ECSystemException
- Raised with message _ERR_MISSING_PARAMETER if
the store XML or store Id or default language Id is not specified.AbstractECTargetableCommand.validateParameters()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
ECSystemException
- Raised with message _ERR_FINDER_EXCEPTION if a
FinderException is occured Raised with message _ERR_REMOTE_EXCEPTION if a
RemoteException is occured Raised with message _ERR_NAMING_EXCEPTION if a
NamingException is occured Raised with message _ERR_CREATE_EXCEPTION if a
CreateException is occured Raised with message _ERR_SQL_EXCEPTION if a SQL
Exception is occured Raised with message _ERR_REMOVE_EXCEPTION if a
RemoteException is occured Raised with message _ERR_PARSE_XML if price list xml
cannot be parsed Raised with message _ERR_CONTRACT_CMD_EXEC whenever other
errors are occured