public class ContractUploadCmdImpl extends com.ibm.commerce.command.UploadToStreamCmdImpl implements ContractUploadCmd
ContractUploadCmd
controller command.
| Name | Description |
|---|---|
ContractXMLFileName |
The contract XML file name. Optional. |
TargetStoreId |
The target store Id for calling import command. Mandatory. |
RequestProperties |
The Request Properties. Possible values include: TargetStoreId. Optional. |
| Name | Description |
|---|---|
ContractXMLFileName |
The contract XML file name. |
TargetStoreId |
The target store Id for calling import command. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
String CLASSNAME
|
static java.lang.String |
COPYRIGHT
String COPYRIGHT
|
DEFAULTCOMMANDCLASSNAME, NAME| Constructor and Description |
|---|
ContractUploadCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContractXMLFileName()
Gets the contract XML file name submitted by the user.
|
java.lang.String |
getTargetStoreId()
Gets the TargetStoreId parameter
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
setContractXMLFileName(java.lang.String strContractFileName)
Sets the strContractFileName parameter
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqParms)
Gets the input parameters from the requestProperties object and sets each parameter to a local variable.
|
void |
setTargetStoreId(java.lang.String strTargetStoreId)
Sets the TargetStoreId parameter
|
void |
validateParameters()
Checks the validity of the parameters.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttachmentOwner, getAttachmentStream, getErrorURL, getFileName, getFileSize, getRootPath, getUrl, setErrorURL, setRefCmd, setRootPath, setUrlcheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesgetAttachmentOwner, getAttachmentStream, getFileName, getFileSize, getUrlcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public java.lang.String getContractXMLFileName()
public java.lang.String getTargetStoreId()
public void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.UploadToStreamCmdImplcom.ibm.commerce.exception.ECApplicationExceptioncom.ibm.commerce.exception.ECExceptionpublic void setContractXMLFileName(java.lang.String strContractFileName)
strContractFileName - The contract XML file name.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty reqParms)
throws com.ibm.commerce.exception.ECApplicationException
setRequestProperties in interface com.ibm.commerce.command.ControllerCommandsetRequestProperties in class com.ibm.commerce.command.UploadToStreamCmdImplreqParms - The input parameters that are received by the command.com.ibm.commerce.exception.ECApplicationExceptionpublic void setTargetStoreId(java.lang.String strTargetStoreId)
strTargetStoreId - The target store Id for calling import commandpublic void validateParameters()
throws com.ibm.commerce.exception.ECException
validateParameters in interface com.ibm.commerce.command.ECCommandvalidateParameters in class com.ibm.commerce.command.UploadToStreamCmdImplcom.ibm.commerce.exception.ECException