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.
|
NAME
defaultCommandClassName
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, 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, 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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.String getAddress1()
getAddress1
in interface AddressBaseCmd
public java.lang.String getAddress2()
getAddress2
in interface AddressBaseCmd
public java.lang.String getAddress3()
getAddress3
in interface AddressBaseCmd
public java.lang.String getAddressId()
getAddressId
in interface AddressBaseCmd
public java.lang.String getAddressType()
getAddressType
in interface AddressBaseCmd
public java.lang.String getAuthenticateMode()
getAuthenticateMode
in interface AddressBaseCmd
public java.lang.String getBestCallingTime()
getBestCallingTime
in interface AddressBaseCmd
public java.lang.String getBillingCode()
getBillingCode
in interface AddressBaseCmd
public java.lang.String getBillingCodeType()
getBillingCodeType
in interface AddressBaseCmd
public java.lang.String getBusinessTitle()
getBusinessTitle
in interface AddressBaseCmd
public java.lang.String getCity()
getCity
in interface AddressBaseCmd
public java.lang.String getCountry()
getCountry
in interface AddressBaseCmd
public java.sql.Timestamp getCreatedTimestamp()
getCreatedTimestamp
in interface AddressBaseCmd
public java.lang.String getEmail1()
getEmail1
in interface AddressBaseCmd
public java.lang.String getEmail2()
getEmail2
in interface AddressBaseCmd
public java.lang.String getFax1()
getFax1
in interface AddressBaseCmd
public java.lang.String getFax2()
getFax2
in interface AddressBaseCmd
public java.lang.String getMobilePhone1()
getMobilePhone1
in interface AddressBaseCmd
public java.lang.String getMobilePhone1Country()
getMobilePhone1Country
in interface AddressBaseCmd
public java.lang.String getFirstName()
getFirstName
in interface AddressBaseCmd
public java.lang.String getLastName()
getLastName
in interface AddressBaseCmd
public java.lang.String getMiddleName()
getMiddleName
in interface AddressBaseCmd
public java.lang.String getNickName()
getNickName
in interface AddressBaseCmd
public java.lang.String getOfficeAddress()
getOfficeAddress
in interface AddressBaseCmd
public java.lang.String getOrganizationName()
getOrganizationName
in interface AddressBaseCmd
public java.lang.String getOrganizationUnitName()
getOrganizationUnitName
in interface AddressBaseCmd
public java.lang.String getOutAddressName()
getOutAddressName
in interface AddressBaseCmd
public java.lang.Integer getPackageSuppression()
getPackageSuppression
in interface AddressBaseCmd
public java.lang.String getPersonTitle()
getPersonTitle
in interface AddressBaseCmd
public java.lang.String getPhone1()
getPhone1
in interface AddressBaseCmd
public java.lang.String getPhone1Type()
getPhone1Type
in interface AddressBaseCmd
public java.lang.String getPhone2()
getPhone2
in interface AddressBaseCmd
public java.lang.String getPhone2Type()
getPhone2Type
in interface AddressBaseCmd
public java.lang.Integer getPrimary()
getPrimary
in interface AddressBaseCmd
public java.lang.Integer getPublishPhone1()
getPublishPhone1
in interface AddressBaseCmd
public java.lang.Integer getPublishPhone2()
getPublishPhone2
in interface AddressBaseCmd
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public java.lang.String getState()
getState
in interface AddressBaseCmd
public java.lang.String getStatus()
getStatus
in interface AddressBaseCmd
public java.lang.String getURL()
public TypedProperty getViewInputProperties()
getViewInputProperties
in interface ControllerCommand
getViewInputProperties
in class ControllerCommandImpl
public java.lang.String getZipCode()
getZipCode
in interface AddressBaseCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if there was a problem creating or updating the address.public void reset()
reset
in interface AddressBaseCmd
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAddress1(java.lang.String astrAddress1)
setAddress1
in interface AddressBaseCmd
astrAddress1
- The first line of the address.public void setAddress2(java.lang.String astrAddress2)
setAddress2
in interface AddressBaseCmd
astrAddress2
- the second line of the address.public void setAddress3(java.lang.String astrAddress3)
setAddress3
in interface AddressBaseCmd
astrAddress3
- the third line of the address.public void setAddressField1(java.lang.String astrAddressField1)
setAddressField1
in interface AddressBaseCmd
astrAddressField1
- the first line of the address field.public void setAddressField2(java.lang.String astrAddressField2)
setAddressField2
in interface AddressBaseCmd
astrAddressField2
- the second line of the address field.public void setAddressField3(java.lang.String astrAddressField3)
setAddressField3
in interface AddressBaseCmd
astrAddressField3
- the third line of the address field.public void setAddressId(java.lang.Long anAddressId)
setAddressId
in interface AddressBaseCmd
anAddressId
- the address identifier.public void setAddressId(java.lang.String astrAddressId)
setAddressId
in interface AddressBaseCmd
astrAddressId
- the address identifier.public void setAddressType(java.lang.String astrAddressType)
setAddressType
in interface AddressBaseCmd
astrAddressType
- the address type.public void setAuthenticateMode(java.lang.String astrAuthenticateMode)
setAuthenticateMode
in interface AddressBaseCmd
astrAuthenticateMode
- the authentication mode.public void setBestCallingTime(java.lang.String astrBestCallingTime)
setBestCallingTime
in interface AddressBaseCmd
astrBestCallingTime
- the best time to call.public void setBillingCode(java.lang.String astrBillingCode)
setBillingCode
in interface AddressBaseCmd
astrBillingCode
- the billing code.public void setBillingCodeType(java.lang.String astrBillingCodeType)
setBillingCodeType
in interface AddressBaseCmd
astrBillingCodeType
- 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 AddressBaseCmd
astrBusinessTitle
- the business title.public void setCity(java.lang.String astrCity)
setCity
in interface AddressBaseCmd
astrCity
- the name of the city.public void setCountry(java.lang.String astrCountry)
setCountry
in interface AddressBaseCmd
astrCountry
- the name of the country.public void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
setCreatedTimestamp
in interface AddressBaseCmd
atmCreatedTimestamp
- when the address entry was created.public void setEmail1(java.lang.String astrEmail1)
setEmail1
in interface AddressBaseCmd
astrEmail1
- the primary email address.public void setEmail2(java.lang.String astrEmail2)
setEmail2
in interface AddressBaseCmd
astrEmail2
- the secondary email address.public void setFax1(java.lang.String astrFax1)
setFax1
in interface AddressBaseCmd
astrFax1
- the primary fax number.public void setFax2(java.lang.String astrFax2)
setFax2
in interface AddressBaseCmd
astrFax2
- the secondary fax number.public void setMobilePhone1(java.lang.String astrMobilePhone1)
setMobilePhone1
in interface AddressBaseCmd
astrMobilePhone1
- the primary mobile phone.public void setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
setMobilePhone1Country
in interface AddressBaseCmd
astrMobilePhone1Country
- the primary mobile phone country.public void setFirstName(java.lang.String astrFirstName)
setFirstName
in interface AddressBaseCmd
astrFirstName
- the first name.public void setLastName(java.lang.String astrLastName)
setLastName
in interface AddressBaseCmd
astrLastName
- 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 AddressBaseCmd
astrMiddleName
- the middle name.public void setNickName(java.lang.String astrNickName)
setNickName
in interface AddressBaseCmd
astrNickName
- the nick name.public void setOfficeAddress(java.lang.String astrOfficeAddress)
setOfficeAddress
in interface AddressBaseCmd
astrOfficeAddress
- the office address.public void setOrganizationName(java.lang.String astrOrganizationName)
setOrganizationName
in interface AddressBaseCmd
astrOrganizationName
- the organization name.public void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
setOrganizationUnitName
in interface AddressBaseCmd
astrOrganizationUnitName
- the organizational unit name.public void setOutAddressName(java.lang.String astrOutAddressName)
setOutAddressName
in interface AddressBaseCmd
astrOutAddressName
- the out address name.public void setPackageSuppression(java.lang.Integer anPackageSuppression)
setPackageSuppression
in interface AddressBaseCmd
anPackageSuppression
- the package suppression.public void setPackageSuppression(java.lang.String astrPackageSuppression)
setPackageSuppression
in interface AddressBaseCmd
astrPackageSuppression
- the package suppression.public void setPersonTitle(java.lang.String astrPersonTitle)
setPersonTitle
in interface AddressBaseCmd
astrPersonTitle
- the title of the person.public void setPhone1(java.lang.String astrPhone1)
setPhone1
in interface AddressBaseCmd
astrPhone1
- the primary phone number.public void setPhone1Type(java.lang.String astrPhone1Type)
setPhone1Type
in interface AddressBaseCmd
astrPhone1Type
- the phone type.public void setPhone2(java.lang.String astrPhone2)
setPhone2
in interface AddressBaseCmd
astrPhone2
- the secondary phone number.public void setPhone2Type(java.lang.String astrPhone2Type)
setPhone2Type
in interface AddressBaseCmd
astrPhone2Type
- the phone type.public void setPrimary(java.lang.Integer anPrimary)
setPrimary
in interface AddressBaseCmd
anPrimary
- 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 AddressBaseCmd
astrPrimary
- 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 AddressBaseCmd
anPublishPhone1
- where to publish the phone number.public void setPublishPhone1(java.lang.String astrPublishPhone1)
setPublishPhone1
in interface AddressBaseCmd
astrPublishPhone1
- where to publish the phone number.public void setPublishPhone2(java.lang.Integer anPublishPhone2)
setPublishPhone2
in interface AddressBaseCmd
anPublishPhone2
- Whether to publish the phone 2 number.public void setPublishPhone2(java.lang.String astrPublishPhone2)
setPublishPhone2
in interface AddressBaseCmd
astrPublishPhone2
- Whether to publish the phone 2 number.public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- 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 AddressBaseCmd
astrSelfAddress
- the self address.public void setShippingGeoCode(java.lang.String astrShippingGeoCode)
setShippingGeoCode
in interface AddressBaseCmd
astrShippingGeoCode
- the shipping geography code.public void setState(java.lang.String astrState)
setState
in interface AddressBaseCmd
astrState
- the state of the address.public void setStatus(java.lang.String astrStatus)
setStatus
in interface AddressBaseCmd
astrStatus
- the status of the address.public void setTaxGeoCode(java.lang.String astrTaxGeoCode)
setTaxGeoCode
in interface AddressBaseCmd
astrTaxGeoCode
- the taxation geography code.public void setURL(java.lang.String astrURL)
setURL
in interface AddressBaseCmd
astrURL
- The URL to return to after successful completion of the command.public void setZipCode(java.lang.String astrZipCode)
setZipCode
in interface AddressBaseCmd
astrZipCode
- the zip/postal code.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- if the specified parameters are invalid data types or the required parameters are missing.