public class CreateContractCmdImpl extends TaskCommandImpl implements CreateContractCmd
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 |
---|
CreateContractCmdImpl()
Constructor for CreateContractCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element | getContractDescriptionElement()
Returns the contract description Element object.
|
java.lang.Long | getContractId()
Returns ID of the new created contract.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
void | parseXMLDocument()
Parses the contract XML document.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setContractDescriptionElement(org.w3c.dom.Element newContractDescriptionElement)
Sets the contract description Element object.
|
void | setContractElement(org.w3c.dom.Element contractElement)
Sets the contract Element object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public CreateContractCmdImpl()
public org.w3c.dom.Element getContractDescriptionElement()
public java.lang.Long getContractId()
public AccessVector getResources() throws ECException
public void parseXMLDocument()
public void performExecute() throws ECException
public void setContractDescriptionElement(org.w3c.dom.Element newContractDescriptionElement)
public void setContractElement(org.w3c.dom.Element contractElement)