public class ContractCreateCmdImpl extends ControllerCommandImpl implements ContractCreateCmd
Name | Description |
---|---|
XMLString | The XML string. It is mandatory. |
path | The XML entity path. It is mandatory. |
validate | The flag to indicate if validate an importing xml file against an xml schema. It is optional. |
xsd | The flag to indicate if an xml instance file based on XSD or not. It is optional. |
Name | Description |
---|---|
contractId | the ID of the newly created contract. |
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 |
---|
ContractCreateCmdImpl()
Constructor for ContractCreateCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getContractId()
Returns the ID of the newly created contract.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setLanguageId(java.lang.Integer langId)
Sets the language ID.
|
void | setRequestProperties(org.w3c.dom.Document contractXML)
Sets the contract XML instance Document object.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties of this command implementation.
|
void | setXML(java.lang.String xmlStirng)
Sets the string which includes the contract XML.
|
void | setXMLEntityPath(java.lang.String path)
Sets the XML entity path.
|
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 ContractCreateCmdImpl()
public java.lang.Long getContractId()
public void performExecute() throws ECException
public void setLanguageId(java.lang.Integer langId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setRequestProperties(org.w3c.dom.Document contractXML)
public void setXML(java.lang.String xmlStirng)
public void setXMLEntityPath(java.lang.String path)
public void validateParameters() throws ECException