public class ContractNewVersionCmdImpl extends ControllerCommandImpl implements ContractNewVersionCmd
Name | Description |
---|---|
contractId | The contract ID. It is mandatory. |
majorVersion | The major version of a contract. It is mandatory. |
minorVersion | The minor version of a contract.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 |
---|
ContractNewVersionCmdImpl() |
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 | setContractId(java.lang.Long contractId)
Sets the ID of the contract to be copied from.
|
void | setNewContractMajorVersion(java.lang.Integer majorVersion)
Sets the major version number of the new contract.
|
void | setNewContractMinorVersion(java.lang.Integer minorVersion)
Sets the minor version number 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 setNewContractMajorVersion(java.lang.Integer majorVersion)
public void setNewContractMinorVersion(java.lang.Integer minorVersion)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void validateParameters() throws ECException