public class AddressDeleteCmdImpl extends AddressBaseCmdImpl implements AddressDeleteCmd
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 URL and addressId 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 this command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
NAMEdefaultCommandClassNameNAME| Constructor and Description |
|---|
AddressDeleteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
Sets the address status as temporary and calls the PostAddressDelete command to perform customized
operations after the address is deleted.
|
void |
reset()
Resets all the stored values.
|
void |
setRequestProperties(TypedProperty reqProperties)
Sets the parameters passed to the command and then calls the PreAddressDelete command to preform any customized processing that
is needed before the address is deleted.
|
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, waitcheckPermission, 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 void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AddressBaseCmdImplECException - If there was a problem updating the status of the address or executing the PostAddressDelete
command.public void reset()
reset in interface AddressBaseCmdreset in interface AddressDeleteCmdreset in interface com.ibm.websphere.command.Commandreset in class AddressBaseCmdImplpublic void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class AddressBaseCmdImplrequestProperties - the parameters passed to the command.ECApplicationException - If there was a problem when executing the PreAddressDelete command.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AddressBaseCmdImplECException - If there is a problem with the parameters passed.