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, wait
getAttachmentOwner, getAttachmentStream, getErrorURL, getFileName, getFileSize, getRootPath, getUrl, setErrorURL, setRefCmd, setRootPath, setUrl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, 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, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
getAttachmentOwner, getAttachmentStream, getFileName, getFileSize, getUrl
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
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
public 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.ECCommand
performExecute
in class com.ibm.commerce.command.UploadToStreamCmdImpl
com.ibm.commerce.exception.ECApplicationException
com.ibm.commerce.exception.ECException
public 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.ControllerCommand
setRequestProperties
in class com.ibm.commerce.command.UploadToStreamCmdImpl
reqParms
- The input parameters that are received by the command.com.ibm.commerce.exception.ECApplicationException
public 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.ECCommand
validateParameters
in class com.ibm.commerce.command.UploadToStreamCmdImpl
com.ibm.commerce.exception.ECException