public class AddressCheckCmdImpl extends AddressBaseCmdImpl implements AddressCheckCmd
Use this command with SSL (Secure Sockets Layer) to ensure that the information are encrypted. To do so, type the command with the HTTPS secure protocol.
The parameters yesURL and noURL are mandatory. The rest of the parameters are all optional.
Behavior
Exception Conditions
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of the class.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
NAMEdefaultCommandClassNameNAME| Constructor and Description |
|---|
AddressCheckCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAddressCheck()
Returns whether a permanent address exists.
|
java.lang.String |
getAddressNoURL()
Returns the URL to go to if there is no permanent address.
|
java.lang.String |
getAddressYesURL()
Returns the URL to go to if there is a permanent address.
|
void |
performExecute()
Determines whether the specified member identifier has an address associated with it.
|
void |
reset()
Reset the values in the values in the command.
|
void |
setAddressNoURL(java.lang.String astrAddressNoURL)
Sets the URL to go to if no permanent address can be found for the member.
|
void |
setAddressYesURL(java.lang.String astrAddressYesURL)
Sets the URL to go to if a permanent address can be found for the member.
|
void |
setRequestProperties(TypedProperty reqProperties)
Sets the parameters that were passed to the command.
|
void |
validateParameters()
Validates the parameters passed to the command.
|
getAddress1, getAddress2, getAddress3, getAddressId, getAddressType, getAuthenticateMode, getBestCallingTime, getBillingCode, getBillingCodeType, getBusinessTitle, getCity, getCountry, getCreatedTimestamp, getEmail1, getEmail2, getFax1, getFax2, getFirstName, getLastName, getMiddleName, getMobilePhone1, getMobilePhone1Country, getNickName, getOfficeAddress, getOrganizationName, getOrganizationUnitName, getOutAddressName, getPackageSuppression, getPersonTitle, getPhone1, getPhone1Type, getPhone2, getPhone2Type, getPrimary, getPublishPhone1, getPublishPhone2, getResources, getState, getStatus, getURL, getViewInputProperties, getZipCode, isReadyToCallExecute, setAddress1, setAddress2, setAddress3, setAddressField1, setAddressField2, setAddressField3, setAddressId, setAddressId, setAddressType, setAuthenticateMode, setBestCallingTime, setBillingCode, setBillingCodeType, setBillingCodeTypeType, setBusinessTitle, setCity, setCountry, setCreatedTimestamp, setEmail1, setEmail2, setFax1, setFax2, setFirstName, setLastName, setMemberId, setMemberId, setMiddleName, setMobilePhone1, setMobilePhone1Country, setNickName, setOfficeAddress, setOrganizationName, setOrganizationUnitName, setOutAddressName, setPackageSuppression, setPackageSuppression, setPersonTitle, setPhone1, setPhone1Type, setPhone2, setPhone2Type, setPrimary, setPrimary, setPublishPhone1, setPublishPhone1, setPublishPhone2, setPublishPhone2, setSelfAddress, setShippingGeoCode, setState, setStatus, setTaxGeoCode, setURL, setZipCodecheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetMemberIdcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public boolean getAddressCheck()
getAddressCheck in interface AddressCheckCmdtrue if a permanent address exists, otherwise false.public java.lang.String getAddressNoURL()
getAddressNoURL in interface AddressCheckCmdpublic java.lang.String getAddressYesURL()
getAddressYesURL in interface AddressCheckCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AddressBaseCmdImplECException - if there is a problem with finding the addresses for the specified member or executing the PostAddressCheck command.public void reset()
reset in interface AddressBaseCmdreset in interface AddressCheckCmdreset in interface com.ibm.websphere.command.Commandreset in class AddressBaseCmdImplpublic void setAddressNoURL(java.lang.String astrAddressNoURL)
setAddressNoURL in interface AddressCheckCmdurl - the URL to go to after the command is executed.public void setAddressYesURL(java.lang.String astrAddressYesURL)
setAddressYesURL in interface AddressCheckCmdurl - the URL to go to after the command is executed.public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class AddressBaseCmdImplreqProperties - The parameters passed to the commandECApplicationException - if there was an exception from calling the ProcessRequestProperties
and PreAddressCheck command.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AddressBaseCmdImplECException - if a require parameter is missing or a given parameter has an invalid value.