public class AddressBaseCmdImpl extends ControllerCommandImpl implements AddressBaseCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of the command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
NAMEdefaultCommandClassName| Constructor and Description |
|---|
AddressBaseCmdImpl()
Creates the AddressBase command.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress1()
Returns the first line of the address.
|
java.lang.String |
getAddress2()
Returns the second line of the address.
|
java.lang.String |
getAddress3()
Returns the third line of the address.
|
java.lang.String |
getAddressId()
Returns the address identifier.
|
java.lang.String |
getAddressType()
Return the address type.
|
java.lang.String |
getAuthenticateMode()
Returns the authentication mode.
|
java.lang.String |
getBestCallingTime()
Returns the best time for calling.
|
java.lang.String |
getBillingCode()
Returns the billing code.
|
java.lang.String |
getBillingCodeType()
Returns the billing code type.
|
java.lang.String |
getBusinessTitle()
Returns the business title.
|
java.lang.String |
getCity()
Returns the name of the city.
|
java.lang.String |
getCountry()
Returns the name of the country.
|
java.sql.Timestamp |
getCreatedTimestamp()
Returns the timestamp of when the address was created.
|
java.lang.String |
getEmail1()
Return the primary email address.
|
java.lang.String |
getEmail2()
Return the secondary email address.
|
java.lang.String |
getFax1()
Return the primary fax number.
|
java.lang.String |
getFax2()
Return the secondary fax number.
|
java.lang.String |
getFirstName()
Return the first name.
|
java.lang.String |
getLastName()
Return the last name.
|
java.lang.String |
getMiddleName()
Return the middle name.
|
java.lang.String |
getMobilePhone1()
Return the primary mobile phone.
|
java.lang.String |
getMobilePhone1Country()
Return the primary mobile phone country.
|
java.lang.String |
getNickName()
Return the nick name.
|
java.lang.String |
getOfficeAddress()
Return the office address.
|
java.lang.String |
getOrganizationName()
Return the name of the organization.
|
java.lang.String |
getOrganizationUnitName()
Return the name of the organizational unit.
|
java.lang.String |
getOutAddressName()
Return the Out address name.
|
java.lang.Integer |
getPackageSuppression()
Return the package suppression.
|
java.lang.String |
getPersonTitle()
Return the person's title.
|
java.lang.String |
getPhone1()
Return the primary phone number.
|
java.lang.String |
getPhone1Type()
Return the primary phone type.
|
java.lang.String |
getPhone2()
Return the secondary phone number.
|
java.lang.String |
getPhone2Type()
Return the secondary phone type.
|
java.lang.Integer |
getPrimary()
Return the primary address identifier.
|
java.lang.Integer |
getPublishPhone1()
Returns whether the primary phone number should be published.
|
java.lang.Integer |
getPublishPhone2()
Returns whether the secondary phone number should be published.
|
AccessVector |
getResources()
Returns the member that owns the address.
|
java.lang.String |
getState()
Returns the current state of the address entry.
|
java.lang.String |
getStatus()
Returns the status of the address entry.
|
java.lang.String |
getURL()
Gets the URL to be called when the command successfully completes.
|
TypedProperty |
getViewInputProperties()
Returns the input properties passed to the command.
|
java.lang.String |
getZipCode()
Returns the zip/postal code.
|
boolean |
isReadyToCallExecute()
Indicates whether the command is ready to be executed.
|
void |
performExecute()
Creates or updates the address or creates the address by calling the SyncBean.
|
void |
reset()
Resets the current address command by setting all the values to null.
|
void |
setAddress1(java.lang.String astrAddress1)
Sets the first line of the address.
|
void |
setAddress2(java.lang.String astrAddress2)
Sets the second line of the address.
|
void |
setAddress3(java.lang.String astrAddress3)
Sets the third line of the address.
|
void |
setAddressField1(java.lang.String astrAddressField1)
Sets the first line of the address field.
|
void |
setAddressField2(java.lang.String astrAddressField2)
Sets the second line of the address field.
|
void |
setAddressField3(java.lang.String astrAddressField3)
Sets the third line of the address field.
|
void |
setAddressId(java.lang.Long anAddressId)
Sets the address identifier.
|
void |
setAddressId(java.lang.String astrAddressId)
Sets the address identifier.
|
void |
setAddressType(java.lang.String astrAddressType)
Sets the address type.
|
void |
setAuthenticateMode(java.lang.String astrAuthenticateMode)
Sets the authentication mode.
|
void |
setBestCallingTime(java.lang.String astrBestCallingTime)
Sets the best time to call.
|
void |
setBillingCode(java.lang.String astrBillingCode)
Sets the billing code.
|
void |
setBillingCodeType(java.lang.String astrBillingCodeType)
Sets the billing code type to the instance variable istrBillingCodeType only, without setting it to the requestProperty
|
void |
setBillingCodeTypeType(java.lang.String astrBillingCodeType)
Deprecated.
in version 6.0. Use
setBillingCodeType() instead. |
void |
setBusinessTitle(java.lang.String astrBusinessTitle)
Sets the business title.
|
void |
setCity(java.lang.String astrCity)
Sets the name of the city.
|
void |
setCountry(java.lang.String astrCountry)
Sets the name of the country.
|
void |
setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
Sets the timestamp of when the address entry was created.
|
void |
setEmail1(java.lang.String astrEmail1)
Sets the primary email address.
|
void |
setEmail2(java.lang.String astrEmail2)
Sets the secondary email address.
|
void |
setFax1(java.lang.String astrFax1)
Sets the primary fax number.
|
void |
setFax2(java.lang.String astrFax2)
Sets the secondary fax number.
|
void |
setFirstName(java.lang.String astrFirstName)
Sets the first name.
|
void |
setLastName(java.lang.String astrLastName)
Sets the last name.
|
void |
setMemberId(java.lang.Long anMemberId)
Sets the member identifier.
|
void |
setMemberId(java.lang.String astrMemberId)
Sets the member identifier.
|
void |
setMiddleName(java.lang.String astrMiddleName)
Sets the middle name.
|
void |
setMobilePhone1(java.lang.String astrMobilePhone1)
Sets the primary mobile phone.
|
void |
setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
Sets the primary mobile phone.
|
void |
setNickName(java.lang.String astrNickName)
Sets the nick name.
|
void |
setOfficeAddress(java.lang.String astrOfficeAddress)
Sets the office address.
|
void |
setOrganizationName(java.lang.String astrOrganizationName)
Sets the name of the organization.
|
void |
setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
Sets the name of the organizational unit.
|
void |
setOutAddressName(java.lang.String astrOutAddressName)
Sets the out address name.
|
void |
setPackageSuppression(java.lang.Integer anPackageSuppression)
Sets the package suppression.
|
void |
setPackageSuppression(java.lang.String astrPackageSuppression)
Sets the package suppression.
|
void |
setPersonTitle(java.lang.String astrPersonTitle)
Sets the title of the person.
|
void |
setPhone1(java.lang.String astrPhone1)
Sets the primary phone number.
|
void |
setPhone1Type(java.lang.String astrPhone1Type)
Sets the primary phone type.
|
void |
setPhone2(java.lang.String astrPhone2)
Sets the secondary phone number.
|
void |
setPhone2Type(java.lang.String astrPhone2Type)
Sets the secondary phone type.
|
void |
setPrimary(java.lang.Integer anPrimary)
Sets whether this is a primary address.
|
void |
setPrimary(java.lang.String astrPrimary)
Sets whether this is a primary address.
|
void |
setPublishPhone1(java.lang.Integer anPublishPhone1)
Sets whether the primary phone number should be published.
|
void |
setPublishPhone1(java.lang.String astrPublishPhone1)
Sets whether the primary phone number should be published.
|
void |
setPublishPhone2(java.lang.Integer anPublishPhone2)
Sets whether the secondary phone number should be published.
|
void |
setPublishPhone2(java.lang.String astrPublishPhone2)
Sets whether the secondary phone number should be published.
|
void |
setRequestProperties(TypedProperty reqProperties)
Sets the request properties by calling ProcessRequestProperties command.
|
void |
setSelfAddress(java.lang.String astrSelfAddress)
Sets the self address.
|
void |
setShippingGeoCode(java.lang.String astrShippingGeoCode)
Sets the shipping geography code.
|
void |
setState(java.lang.String astrState)
Sets the state of the address entry.
|
void |
setStatus(java.lang.String astrStatus)
Sets the status of the address entry.
|
void |
setTaxGeoCode(java.lang.String astrTaxGeoCode)
Sets the taxation geography code.
|
void |
setURL(java.lang.String astrURL)
Sets the URL to return to after the command finishes executing.
|
void |
setZipCode(java.lang.String astrZipCode)
Sets the zip/postal code.
|
void |
validateParameters()
Validates the parameters passed to the command.
|
checkPermission, 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, 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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.String getAddress1()
getAddress1 in interface AddressBaseCmdpublic java.lang.String getAddress2()
getAddress2 in interface AddressBaseCmdpublic java.lang.String getAddress3()
getAddress3 in interface AddressBaseCmdpublic java.lang.String getAddressId()
getAddressId in interface AddressBaseCmdpublic java.lang.String getAddressType()
getAddressType in interface AddressBaseCmdpublic java.lang.String getAuthenticateMode()
getAuthenticateMode in interface AddressBaseCmdpublic java.lang.String getBestCallingTime()
getBestCallingTime in interface AddressBaseCmdpublic java.lang.String getBillingCode()
getBillingCode in interface AddressBaseCmdpublic java.lang.String getBillingCodeType()
getBillingCodeType in interface AddressBaseCmdpublic java.lang.String getBusinessTitle()
getBusinessTitle in interface AddressBaseCmdpublic java.lang.String getCity()
getCity in interface AddressBaseCmdpublic java.lang.String getCountry()
getCountry in interface AddressBaseCmdpublic java.sql.Timestamp getCreatedTimestamp()
getCreatedTimestamp in interface AddressBaseCmdpublic java.lang.String getEmail1()
getEmail1 in interface AddressBaseCmdpublic java.lang.String getEmail2()
getEmail2 in interface AddressBaseCmdpublic java.lang.String getFax1()
getFax1 in interface AddressBaseCmdpublic java.lang.String getFax2()
getFax2 in interface AddressBaseCmdpublic java.lang.String getMobilePhone1()
getMobilePhone1 in interface AddressBaseCmdpublic java.lang.String getMobilePhone1Country()
getMobilePhone1Country in interface AddressBaseCmdpublic java.lang.String getFirstName()
getFirstName in interface AddressBaseCmdpublic java.lang.String getLastName()
getLastName in interface AddressBaseCmdpublic java.lang.String getMiddleName()
getMiddleName in interface AddressBaseCmdpublic java.lang.String getNickName()
getNickName in interface AddressBaseCmdpublic java.lang.String getOfficeAddress()
getOfficeAddress in interface AddressBaseCmdpublic java.lang.String getOrganizationName()
getOrganizationName in interface AddressBaseCmdpublic java.lang.String getOrganizationUnitName()
getOrganizationUnitName in interface AddressBaseCmdpublic java.lang.String getOutAddressName()
getOutAddressName in interface AddressBaseCmdpublic java.lang.Integer getPackageSuppression()
getPackageSuppression in interface AddressBaseCmdpublic java.lang.String getPersonTitle()
getPersonTitle in interface AddressBaseCmdpublic java.lang.String getPhone1()
getPhone1 in interface AddressBaseCmdpublic java.lang.String getPhone1Type()
getPhone1Type in interface AddressBaseCmdpublic java.lang.String getPhone2()
getPhone2 in interface AddressBaseCmdpublic java.lang.String getPhone2Type()
getPhone2Type in interface AddressBaseCmdpublic java.lang.Integer getPrimary()
getPrimary in interface AddressBaseCmdpublic java.lang.Integer getPublishPhone1()
getPublishPhone1 in interface AddressBaseCmdpublic java.lang.Integer getPublishPhone2()
getPublishPhone2 in interface AddressBaseCmdpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic java.lang.String getState()
getState in interface AddressBaseCmdpublic java.lang.String getStatus()
getStatus in interface AddressBaseCmdpublic java.lang.String getURL()
public TypedProperty getViewInputProperties()
getViewInputProperties in interface ControllerCommandgetViewInputProperties in class ControllerCommandImplpublic java.lang.String getZipCode()
getZipCode in interface AddressBaseCmdpublic boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - if there was a problem creating or updating the address.public void reset()
reset in interface AddressBaseCmdreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setAddress1(java.lang.String astrAddress1)
setAddress1 in interface AddressBaseCmdastrAddress1 - The first line of the address.public void setAddress2(java.lang.String astrAddress2)
setAddress2 in interface AddressBaseCmdastrAddress2 - the second line of the address.public void setAddress3(java.lang.String astrAddress3)
setAddress3 in interface AddressBaseCmdastrAddress3 - the third line of the address.public void setAddressField1(java.lang.String astrAddressField1)
setAddressField1 in interface AddressBaseCmdastrAddressField1 - the first line of the address field.public void setAddressField2(java.lang.String astrAddressField2)
setAddressField2 in interface AddressBaseCmdastrAddressField2 - the second line of the address field.public void setAddressField3(java.lang.String astrAddressField3)
setAddressField3 in interface AddressBaseCmdastrAddressField3 - the third line of the address field.public void setAddressId(java.lang.Long anAddressId)
setAddressId in interface AddressBaseCmdanAddressId - the address identifier.public void setAddressId(java.lang.String astrAddressId)
setAddressId in interface AddressBaseCmdastrAddressId - the address identifier.public void setAddressType(java.lang.String astrAddressType)
setAddressType in interface AddressBaseCmdastrAddressType - the address type.public void setAuthenticateMode(java.lang.String astrAuthenticateMode)
setAuthenticateMode in interface AddressBaseCmdastrAuthenticateMode - the authentication mode.public void setBestCallingTime(java.lang.String astrBestCallingTime)
setBestCallingTime in interface AddressBaseCmdastrBestCallingTime - the best time to call.public void setBillingCode(java.lang.String astrBillingCode)
setBillingCode in interface AddressBaseCmdastrBillingCode - the billing code.public void setBillingCodeType(java.lang.String astrBillingCodeType)
setBillingCodeType in interface AddressBaseCmdastrBillingCodeType - the billing code type.public void setBillingCodeTypeType(java.lang.String astrBillingCodeType)
setBillingCodeType() instead.astrBillingCodeType - the billing code type.public void setBusinessTitle(java.lang.String astrBusinessTitle)
setBusinessTitle in interface AddressBaseCmdastrBusinessTitle - the business title.public void setCity(java.lang.String astrCity)
setCity in interface AddressBaseCmdastrCity - the name of the city.public void setCountry(java.lang.String astrCountry)
setCountry in interface AddressBaseCmdastrCountry - the name of the country.public void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
setCreatedTimestamp in interface AddressBaseCmdatmCreatedTimestamp - when the address entry was created.public void setEmail1(java.lang.String astrEmail1)
setEmail1 in interface AddressBaseCmdastrEmail1 - the primary email address.public void setEmail2(java.lang.String astrEmail2)
setEmail2 in interface AddressBaseCmdastrEmail2 - the secondary email address.public void setFax1(java.lang.String astrFax1)
setFax1 in interface AddressBaseCmdastrFax1 - the primary fax number.public void setFax2(java.lang.String astrFax2)
setFax2 in interface AddressBaseCmdastrFax2 - the secondary fax number.public void setMobilePhone1(java.lang.String astrMobilePhone1)
setMobilePhone1 in interface AddressBaseCmdastrMobilePhone1 - the primary mobile phone.public void setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
setMobilePhone1Country in interface AddressBaseCmdastrMobilePhone1Country - the primary mobile phone country.public void setFirstName(java.lang.String astrFirstName)
setFirstName in interface AddressBaseCmdastrFirstName - the first name.public void setLastName(java.lang.String astrLastName)
setLastName in interface AddressBaseCmdastrLastName - the last name.public void setMemberId(java.lang.Long anMemberId)
anMemberId - the member identifier.public void setMemberId(java.lang.String astrMemberId)
astrMemberId - the member identifier.public void setMiddleName(java.lang.String astrMiddleName)
setMiddleName in interface AddressBaseCmdastrMiddleName - the middle name.public void setNickName(java.lang.String astrNickName)
setNickName in interface AddressBaseCmdastrNickName - the nick name.public void setOfficeAddress(java.lang.String astrOfficeAddress)
setOfficeAddress in interface AddressBaseCmdastrOfficeAddress - the office address.public void setOrganizationName(java.lang.String astrOrganizationName)
setOrganizationName in interface AddressBaseCmdastrOrganizationName - the organization name.public void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
setOrganizationUnitName in interface AddressBaseCmdastrOrganizationUnitName - the organizational unit name.public void setOutAddressName(java.lang.String astrOutAddressName)
setOutAddressName in interface AddressBaseCmdastrOutAddressName - the out address name.public void setPackageSuppression(java.lang.Integer anPackageSuppression)
setPackageSuppression in interface AddressBaseCmdanPackageSuppression - the package suppression.public void setPackageSuppression(java.lang.String astrPackageSuppression)
setPackageSuppression in interface AddressBaseCmdastrPackageSuppression - the package suppression.public void setPersonTitle(java.lang.String astrPersonTitle)
setPersonTitle in interface AddressBaseCmdastrPersonTitle - the title of the person.public void setPhone1(java.lang.String astrPhone1)
setPhone1 in interface AddressBaseCmdastrPhone1 - the primary phone number.public void setPhone1Type(java.lang.String astrPhone1Type)
setPhone1Type in interface AddressBaseCmdastrPhone1Type - the phone type.public void setPhone2(java.lang.String astrPhone2)
setPhone2 in interface AddressBaseCmdastrPhone2 - the secondary phone number.public void setPhone2Type(java.lang.String astrPhone2Type)
setPhone2Type in interface AddressBaseCmdastrPhone2Type - the phone type.public void setPrimary(java.lang.Integer anPrimary)
setPrimary in interface AddressBaseCmdanPrimary - whether this address is a primary address. 1 specifies a primary address
and 0 specifies an address that is not primary.public void setPrimary(java.lang.String astrPrimary)
setPrimary in interface AddressBaseCmdastrPrimary - whether this address is a primary address. 1 specifies a primary address
and 0 specifies an address that is not primary.public void setPublishPhone1(java.lang.Integer anPublishPhone1)
setPublishPhone1 in interface AddressBaseCmdanPublishPhone1 - where to publish the phone number.public void setPublishPhone1(java.lang.String astrPublishPhone1)
setPublishPhone1 in interface AddressBaseCmdastrPublishPhone1 - where to publish the phone number.public void setPublishPhone2(java.lang.Integer anPublishPhone2)
setPublishPhone2 in interface AddressBaseCmdanPublishPhone2 - Whether to publish the phone 2 number.public void setPublishPhone2(java.lang.String astrPublishPhone2)
setPublishPhone2 in interface AddressBaseCmdastrPublishPhone2 - Whether to publish the phone 2 number.public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqProperties - the parameters passed ot the command.ECApplicationException - if there was a problem calling the ProcessRequestProperties
command.public void setSelfAddress(java.lang.String astrSelfAddress)
setSelfAddress in interface AddressBaseCmdastrSelfAddress - the self address.public void setShippingGeoCode(java.lang.String astrShippingGeoCode)
setShippingGeoCode in interface AddressBaseCmdastrShippingGeoCode - the shipping geography code.public void setState(java.lang.String astrState)
setState in interface AddressBaseCmdastrState - the state of the address.public void setStatus(java.lang.String astrStatus)
setStatus in interface AddressBaseCmdastrStatus - the status of the address.public void setTaxGeoCode(java.lang.String astrTaxGeoCode)
setTaxGeoCode in interface AddressBaseCmdastrTaxGeoCode - the taxation geography code.public void setURL(java.lang.String astrURL)
setURL in interface AddressBaseCmdastrURL - The URL to return to after successful completion of the command.public void setZipCode(java.lang.String astrZipCode)
setZipCode in interface AddressBaseCmdastrZipCode - the zip/postal code.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - if the specified parameters are invalid data types or the required parameters are missing.