public class AuditOrgEntityCmdImpl extends AuditBaseCmdImpl implements AuditOrgEntityCmd
... legalId.Label=Legal Id legalId.Displayed=yes legalId.Required=yes BusinessCategory.Label=Business Category BusinessCategory.Displayed=yes BusinessCategory.Required=no... Following is a sample of the OrgEntity property file of new format:
... 25.Name=legalId 25.Label=Legal Id 25.Displayed=yes 25.Required=yes 25.Size=40 25.LineBreak=2 30.Name=businessCategory 30.Label=Business Category 30.Displayed=yes 30.Required=yes 30.Size=40 30.LineBreak=2... Legal Id parameter will be checked as the 'Required' attribute for legalId equals 'yes'. If the legalId is missing or its length equals 0, the AuditAddressCmd will throw an exception.
If all parameters checks are passed successfully, the getAuditResult() method will return true; otherwise it will return false.
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.
|
protected java.lang.String | istrBusinessCategory
The business category.
|
protected java.lang.String | istrLegalId
The legal identifier.
|
Constructor and Description |
---|
AuditOrgEntityCmdImpl()
Creates an instance of the AUditOrgEntity command.
|
Modifier and Type | Method and Description |
---|---|
void | performExecute()
Executes the business function.
|
void | setBusinessCategory(java.lang.String astrBusinessCategory)
Sets the first line of the address.
|
void | setLegalId(java.lang.String astrLegalId)
Sets the first line of the address.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrLegalId
protected java.lang.String istrBusinessCategory
public AuditOrgEntityCmdImpl()
public void performExecute() throws ECException
public void setBusinessCategory(java.lang.String astrBusinessCategory)
public void setLegalId(java.lang.String astrLegalId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException