com.ibm.commerce.contract.tc.commands
Interface ContractTCSaveCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
ContractTCSaveCmdImpl

public interface ContractTCSaveCmd
extends ControllerCommand

Saves the specified terms and conditions (WebSphere Commerce Business Edition only).


Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
static java.lang.String defaultCommandClassName
The default implementation class name of this interface.
Method Summary
void setContractId(java.lang.Long contractId)
Sets the ID of the contract to be updated.
void setLastUpdatedTime(java.lang.String lastUpdatedTime)
Sets the last updated time of the term.
void setXML(java.lang.String xmlString)
Sets XML string of the terms and conditions 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
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name of this interface.
See Also:
Constant Field Values
Method Detail

setContractId

public void setContractId(java.lang.Long contractId)
Sets the ID of the contract to be updated.
Parameters:
contractId - the contract ID

setLastUpdatedTime

public void setLastUpdatedTime(java.lang.String lastUpdatedTime)
Sets the last updated time of the term.
Parameters:
lastUpdatedTime - last update time of the specified contract

setXML

public void setXML(java.lang.String xmlString)
Sets XML string of the terms and conditions to save.
Parameters:
xmlString - the XML string contains the terms and conditions

setXSDValidation

public void setXSDValidation(boolean bValidation)
Sets the XSD validation flag. If the flag is set to true, the XML parser will validate the XML instance against the specified XSD file.
Parameters:
bValidation - the validation flag, true: validate, false: do not validate.

Feedback