public class ContractCopyCmdImpl extends ControllerCommandImpl implements ContractCopyCmd
Name | Description |
---|---|
contractId | The contract ID. It is mandatory. |
name | The contract name. It is mandatory. |
accountId | The account ID. It is mandatory. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The full name of this class.
|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
ContractCopyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setAccountId(java.lang.Long accountId)
Sets the ID of the account to which to copy the contract.
|
void | setContractId(java.lang.Long contractId)
Sets the ID of the contract to be copied from.
|
void | setNewContractName(java.lang.String name)
Sets the name of the new contract.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties of this command implementation.
|
void | validateParameters()
Extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
public void setContractId(java.lang.Long contractId)
public void setAccountId(java.lang.Long accountId)
public void setNewContractName(java.lang.String name)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void validateParameters() throws ECException