public interface CopyContractCmd extends TaskCommand
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getNewContractId()
Returns ID of the new contract.
|
void | setAccountId(java.lang.Long accountId)
Sets the ID of the account to which the contract will be copied.
|
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.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
java.lang.Long getNewContractId()
void setContractId(java.lang.Long contractId)
void setContractMajorVersion(java.lang.Integer majorVersion)
void setContractMinorVersion(java.lang.Integer minorVersion)
void setContractName(java.lang.String contractName)
void setAccountId(java.lang.Long accountId)