public class ContractTCDeployCmdImpl extends AsyncControllerCommandImpl implements ContractTCDeployCmd
Name | Description |
---|---|
contractId | The ID of term and condition. It is mandatory. |
tcIds | The XML string contains the terms and conditions. |
url | The redirect URL. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ContractTCDeployCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | doJobUpdateFailed(java.lang.String errorLog) |
protected void | doJobUpdateSuccessful() |
java.lang.Long | getContractId()
Gets the ID of the contract to be updated.
|
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 updated.
|
void | setRedirectURL(java.lang.String url)
Sets the redirect URL.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
void | setTCIds(java.lang.String[] tcIds)
Sets the IDs of the terms and conditions to be deployed.
|
void | validateParameters()
Validates if the contracts are in either Active or Suspended state.
|
public static final java.lang.String COPYRIGHT
protected void doJobUpdateFailed(java.lang.String errorLog)
protected void doJobUpdateSuccessful() throws ECSystemException
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
public java.lang.Long getContractId()
public void setContractId(java.lang.Long contractId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setTCIds(java.lang.String[] tcIds)
public void setRedirectURL(java.lang.String url)
public void validateParameters() throws ECException