public interface AuditAddressCmd extends AuditBaseCmd
... lastName.Label=Last Name lastName.Displayed=yes lastName.Required=yes firstName.Label=First Name firstName.Displayed=yes firstName.Required=no... Following is a sample of the Address property file of new format:
... 40.Name=lastName 40.Label=Last Name 40.Displayed=yes 40.Required=yes 40.Size=20 45.Name=firstName 45.Label=First Name 45.Displayed=yes 45.Required=no 45.Size=20... Last name parameter will be checked as the 'Required' attribute for lastName equals 'yes'. If the lastName parameter were missing or its length equaled 0, the AuditAddressCmd will throw an exception.
If all parameters checks pass successfully, the getAuditResult() method will return true; otherwise it will return false.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
void |
setAddress1(java.lang.String astrAddressLine1)
Sets the first line of the address.
|
void |
setCity(java.lang.String astrCity)
Sets the city name.
|
void |
setCountry(java.lang.String astrCountry)
Sets the country name.
|
void |
setLastName(java.lang.String astrLastName)
Sets the last name of the individual.
|
void |
setRequestProperties(TypedProperty requestProperties)
Sets the request properties.
|
void |
setState(java.lang.String astrState)
Sets the name of the state, province, or equivalent where the individual resides.
|
void |
setZipCode(java.lang.String astrZipCode)
Sets the zip code or equivalent postal code of the individual's address.
|
getRequestProperties, setErrorViewName, setPropertyFileName
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setAddress1(java.lang.String astrAddressLine1)
astrAddressLine1
- The first line of the addressvoid setCity(java.lang.String astrCity)
astrCity
- The city name.void setCountry(java.lang.String astrCountry)
astrCountry
- The country name.void setLastName(java.lang.String astrLastName)
astrLastName
- The last name.void setRequestProperties(TypedProperty requestProperties) throws ECApplicationException
setRequestProperties
in interface AuditBaseCmd
requestProperties
- the parameters passed to the command.ECApplicationException
- if there is a problem processing the command parameters.void setState(java.lang.String astrState)
astrState
- The name of the state.void setZipCode(java.lang.String astrZipCode)
astrZipCode
- The zip code.