public class ContractTCUpdateCmdImpl extends ControllerCommandImpl implements ContractTCUpdateCmd
Name | Description |
---|---|
contractId | The contract ID. It is mandatory. |
XMLString | The XML string contains the terms and conditions . It is mandatory. |
path | The path where it can find the DTD or XML Schema file(s). It is optional. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this command.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ContractTCUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element | getElement()
Returns the term condition element.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
void | parseXMLElement(org.w3c.dom.Element element)
Parses the term and condition element and gets the long description and the short description of the term and condition.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setElement(org.w3c.dom.Element newElement)
Sets term and condition Element object.
|
void | setLanguageId(java.lang.Integer langId)
Sets the language ID.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
void | setTcLongDescription(java.lang.String newTcLongDescription)
Sets the long description of the term and condition.
|
void | setTcShortDescription(java.lang.String newTcShortDescription)
Sets the short description of the term and condition.
|
void | setTermConditionId(java.lang.Long tcId)
Sets the ID of the term and condition.
|
void | setXMLEntityPath(java.lang.String path)
Sets the XML entity path.
|
void | validateParameters()
Checks if the contract object exists.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public org.w3c.dom.Element getElement()
public AccessVector getResources() throws ECException
public void parseXMLElement(org.w3c.dom.Element element)
public void performExecute() throws ECException
public void setElement(org.w3c.dom.Element newElement)
public void setLanguageId(java.lang.Integer langId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setTcLongDescription(java.lang.String newTcLongDescription)
public void setTcShortDescription(java.lang.String newTcShortDescription)
public void setTermConditionId(java.lang.Long tcId)
public void setXMLEntityPath(java.lang.String path)
public void validateParameters() throws ECException