Copy a specified contract to a new contract (WebSphere Commerce Business Edition only). Calling commands: ContractCopy, ContractNewVersion
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The name of the default implementation class. |
static java.lang.String |
NAME The name of this interface. |
Method Summary | |
---|---|
java.lang.Long |
getNewContractId() Returns ID of the new contract. |
void |
setContractId(java.lang.Long contractId) Sets ID of the contract which will be copied from. |
void |
setContractMajorVersion(java.lang.Integer majorVersion) Sets the major version of the new contract. |
void |
setContractMinorVersion(java.lang.Integer minorVersion) Sets the minor version of the new contract. |
void |
setContractName(java.lang.String contractName)
Sets the name of the new contract. |
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 java.lang.Long getNewContractId()
public void setContractId(java.lang.Long contractId)
contractId
- the ID of the original
contractpublic void setContractMajorVersion(java.lang.Integer majorVersion)
majorVersion
- the major version of the new
contractpublic void setContractMinorVersion(java.lang.Integer minorVersion)
minorVersion
- the minor version of the new
contractpublic void setContractName(java.lang.String contractName)
contractName
- the name of the new
contract