public class AccountSaveCmdImpl extends TradingAgreementImportBaseCmdImpl implements AccountSaveCmd
Name | Description |
---|---|
XMLString | The xml string of this account. It is mandatory. |
lastUpdatedTime | The last update time of an account. It is optional. |
validate | validate flag to indicate if validation a importing xml file against a xml schema.It is optional. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
AccountSaveCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getAccountId()
Gets the id of the account.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
TypedProperty | getViewInputProperties()
This method is called by the web controller to retrieve the request properties set by the setRequestProperties() method.
|
boolean | isUpdate()
Returns the action of this command based on the information inside the xml string.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setLastUpdatedTime(java.lang.String lastUpdatedTime)
Sets the last update time of the contract.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
void | setXML(java.lang.String xmlString)
Sets the input xml string.
|
void | setXSDValidation(boolean bValidation)
Sets the XSD validation flag.
|
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 java.lang.Long getAccountId()
public AccessVector getResources() throws ECException
public TypedProperty getViewInputProperties()
public boolean isUpdate()
public void performExecute() throws ECException
public void setLastUpdatedTime(java.lang.String lastUpdatedTime)
public void setXML(java.lang.String xmlString)
public void setXSDValidation(boolean bValidation)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void validateParameters() throws ECException