public class AuditUserRegistrationCmdImpl extends AuditAddressCmdImpl implements AuditUserRegistrationCmd
... 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 UserRegistration 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... lastName parameter will be checked as the 'Required' attribute for lastName equals 'yes'. If the lastName is missing or its length equals 0, the AuditAddressCmd will throw an exception.
If all parameters check 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 implementation.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
AuditUserRegistrationCmdImpl()
Creates an instance of the AuditUserRegistration command.
|
Modifier and Type | Method and Description |
---|---|
void | performExecute()
Executes the business function.
|
void | setChallengeAnswer(java.lang.String astrChallengeAnswer)
Sets Challenge Answer for confirmation of the user's identity.
|
void | setChallengeQuestion(java.lang.String astrChallengeQuestion)
Sets Challenge question for confirmation of the user's identity.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AuditUserRegistrationCmdImpl()
public void performExecute() throws ECException
public void setChallengeAnswer(java.lang.String astrChallengeAnswer)
public void setChallengeQuestion(java.lang.String astrChallengeQuestion)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException