Add a new contract or update an existing one which is in Draft state (WebSphere Commerce Business Edition only).
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
static java.lang.String |
defaultCommandClassName The default implementation class is "com.ibm.commerce.contract.commands.ContractSaveCmdImpl". |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.contract.commands.ContractSaveCmd". |
Method Summary | |
---|---|
void |
setLastUpdatedTime(java.lang.String lastUpdatedTime) Sets the last updated time of the contract. |
void |
setXML(java.lang.String xmlString) Sets the XML string of the contract to save. |
void |
setXSDValidation(boolean bValidation) Sets the XSD validation flag. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setLastUpdatedTime(java.lang.String lastUpdatedTime)
lastUpdatedTime
- last update time of the specified
contractpublic void setXML(java.lang.String xmlString)
xmlString
- the xml string which contains the contract
informationpublic void setXSDValidation(boolean bValidation)
bValidation
- the validation flag, true: validate, false: do
not validate.