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.
|
NAME
defaultCommandClassName
NAME
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, setZipCode
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setMemberId
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public boolean getAddressCheck()
getAddressCheck
in interface AddressCheckCmd
true
if a permanent address exists, otherwise false
.public java.lang.String getAddressNoURL()
getAddressNoURL
in interface AddressCheckCmd
public java.lang.String getAddressYesURL()
getAddressYesURL
in interface AddressCheckCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AddressBaseCmdImpl
ECException
- if there is a problem with finding the addresses for the specified member or executing the PostAddressCheck command.public void reset()
reset
in interface AddressBaseCmd
reset
in interface AddressCheckCmd
reset
in interface com.ibm.websphere.command.Command
reset
in class AddressBaseCmdImpl
public void setAddressNoURL(java.lang.String astrAddressNoURL)
setAddressNoURL
in interface AddressCheckCmd
url
- the URL to go to after the command is executed.public void setAddressYesURL(java.lang.String astrAddressYesURL)
setAddressYesURL
in interface AddressCheckCmd
url
- the URL to go to after the command is executed.public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class AddressBaseCmdImpl
reqProperties
- 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 ECCommand
validateParameters
in class AddressBaseCmdImpl
ECException
- if a require parameter is missing or a given parameter has an invalid value.