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.
|
NAME
defaultCommandClassName
NAME
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, 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
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 void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AddressBaseCmdImpl
ECException
- If there was a problem updating the status of the address or executing the PostAddressDelete
command.public void reset()
reset
in interface AddressBaseCmd
reset
in interface AddressDeleteCmd
reset
in interface com.ibm.websphere.command.Command
reset
in class AddressBaseCmdImpl
public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class AddressBaseCmdImpl
requestProperties
- 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 ECCommand
validateParameters
in class AddressBaseCmdImpl
ECException
- If there is a problem with the parameters passed.