public class AddressBaseCmdImpl extends ControllerCommandImpl implements AddressBaseCmd
Modifier and Type | Field and Description |
---|---|
protected AddressAccessBean | abAddress
AccessBean for accessing address information
|
protected AddressAccessBean | abOldAddress
AccessBean for accessing address information
|
protected boolean | bAddressUpdate
Indicate weather the command is being executed for updating an existing address
|
protected boolean | bRegisterAddress
Indicate weather this command is being executed for adding a new address
|
protected boolean | bToolsFramework
Whether the command is called by the tools framework.
|
static java.lang.String | CLASSNAME
The name of the command.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
protected MemberAccessBean | iabMember
Deprecated.
in version 6.0. This variable is not used.
|
protected java.lang.Long | inAddressId
Address Identifier
|
protected java.lang.Integer | inPackageSuppression
Whether or not to include package inserts when the order is shipped (1=include, 0=do not include)
|
protected java.lang.Integer | inPrimary
Indicate weather this address is the primary address (1 - primary or default address; 0 - not primary address)
|
protected java.lang.Integer | inPublishPhone1
An Integer to indicate whether or not publish phone1.
|
protected java.lang.Integer | inPublishPhone2
An Integer to indicate whether or not publish phone2 (1 - phone1 can be published , 0 - phone1 can not be published)
|
protected java.lang.Long | inUserId
User Id in number format
|
protected java.lang.String | istrAddress1
The first address line of the individual's street address.
|
protected java.lang.String | istrAddress2
The second address line of the individual's street address.
|
protected java.lang.String | istrAddress3
The third address line of the individual's street address.
|
protected java.lang.String | istrAddressField1
Customizable field 1.
|
protected java.lang.String | istrAddressField2
Customizable field 2.
|
protected java.lang.String | istrAddressField3
Customizable field 3.
|
protected java.lang.String | istrAddressId
Indicate weather this operation is to add a new address or to update an existing address
|
protected java.lang.String | istrAddressType
The company that the individual represents.
|
protected java.lang.String | istrAuthenticateMode
String constant for Authentication mode
|
protected java.lang.String | istrBestCallingTime
When is the best time to call
|
protected java.lang.String | istrBillingCode
Code to identify shipping/billing address..
|
protected java.lang.String | istrBillingCodeType
Code designating the system/method of code structure used for.
|
protected java.lang.String | istrBusinessTitle
The business title of the individual.
|
protected java.lang.String | istrCity
The name of the city where the individual resides.
|
protected java.lang.String | istrCountry
The name of the country where the individual resides.
|
protected java.lang.String | istrEmail1
The main e-mail address of the individual.
|
protected java.lang.String | istrEmail2
The additional e-mail address of the individual.
|
protected java.lang.String | istrFax1
The main facsimile number of the individual.
|
protected java.lang.String | istrFax2
The additional facsimile number of the individual.
|
protected java.lang.String | istrFirstName
The first name of the individual.
|
protected java.lang.String | istrLastName
The last name of the individual.
|
protected java.lang.String | istrMiddleName
The middle name or initial of the individual.
|
protected java.lang.String | istrMobilePhone1
The main mobile phone of the individual.
|
protected java.lang.String | istrMobilePhone1Country
The main mobile phone country of the individual.
|
protected java.lang.String | istrNickName
The nickname that represents the new entry.
|
protected java.lang.String | istrOfficeAddress
The individual's office address.
|
protected java.lang.String | istrOrganizationName
Name of the Organization to which this address information applies
|
protected java.lang.String | istrOrganizationUnitName
Name of the organization unit to which this contact infor applies
|
protected java.lang.String | istrOutAddressName
If outAddressName=s is specified (where s is any string), then s= will be put as one of the the response properties after the command is executed, where is the ID of the address being added or updated.
|
protected java.lang.String | istrOwnerMemberId
MemberId of the owner of the address
|
protected java.lang.String | istrPackageSuppression
Whether or not to include package inserts when the order is shipped (1=include, 0=do not include)
|
protected java.lang.String | istrPersonTitle
The person title of the individual.
|
protected java.lang.String | istrPhone1
The main phone number of the individual.
|
protected java.lang.String | istrPhone1Type
The type of phone1.
|
protected java.lang.String | istrPhone2
The additional phone number of the individual.
|
protected java.lang.String | istrPhone2Type
The type of phone2.( PHN: a standard phone, TTY: a teletypewriter for people who have a hearing impairment)
|
protected java.lang.String | istrPrimary
Indicate weather this address is the primary address( 1 - primary or default address; 0 - not primary address)
|
protected java.lang.String | istrPublishPhone1
A String to indicatewhether or not publish phone1.
|
protected java.lang.String | istrPublishPhone2
A String to indicate whether or not publish phone2 (1 - phone1 can be published , 0 - phone1 can not be published)
|
protected java.lang.String | istrSelfAddress
Self Address
|
protected java.lang.String | istrShippingGeoCode
Shipping geography code
|
protected java.lang.String | istrState
The name of the state, province, or equivalent where the individual resides.
|
protected java.lang.String | istrStatus
The address status - P for permanent, T for temporary
|
protected java.lang.String | istrTaxGeoCode
Taxation geography code.
|
protected java.lang.String | istrTimeZone
The time zone where the individual resides.
|
protected java.lang.String | istrURL
The name of a name-value pair that the AddressAdd/Update command should add to the redirection specified URL by the url parameter
|
protected java.lang.String | istrUserId
User Id in string format
|
protected java.lang.String | istrZipCode
The zip code or equivalent postal code of the individual's address.
|
protected java.sql.Timestamp | itmCreatedTimestamp
Timestamp of when the address entry was created.
|
protected java.lang.String | strUserLogonId
LogonId of the user
|
Constructor and Description |
---|
AddressBaseCmdImpl()
Creates the AddressBase command.
|
Modifier and Type | Method and Description |
---|---|
protected void | copyFromOldAddress()
Copies the values from the old address.
|
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.
|
protected void | setUserId(java.lang.Long anUserId)
Sets the user identifier.
|
protected void | setUserId(java.lang.String astrUserId)
Sets the user identifier.
|
void | setZipCode(java.lang.String astrZipCode)
Sets the zip/postal code.
|
protected void | updateLotusConnectionProfile()
Invoke LotusConnectionProfile task command to update the user profile in Lotus Connection database if the self address of a user is being updated.
|
void | validateParameters()
Validates the parameters passed to the command.
|
protected void | validateStringLength(java.lang.String propertyName, int maxLength)
Checks that the string length of the value of the specified property is less than the maximum length.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected boolean bToolsFramework
protected boolean bAddressUpdate
protected java.lang.String istrAddressId
protected java.lang.String istrOwnerMemberId
protected MemberAccessBean iabMember
protected java.lang.String istrAuthenticateMode
protected java.lang.String strUserLogonId
protected boolean bRegisterAddress
protected AddressAccessBean abOldAddress
protected AddressAccessBean abAddress
protected java.lang.String istrUserId
protected java.lang.Long inUserId
protected java.lang.Long inAddressId
protected java.lang.String istrSelfAddress
protected java.lang.String istrBillingCode
protected java.lang.String istrBillingCodeType
protected java.lang.String istrOrganizationName
protected java.lang.String istrOrganizationUnitName
protected java.lang.Integer inPrimary
protected java.lang.String istrPrimary
protected java.lang.String istrAddress1
protected java.lang.String istrAddress2
protected java.lang.String istrAddress3
protected java.lang.String istrAddressType
protected java.lang.String istrStatus
protected java.lang.String istrNickName
protected java.lang.String istrPersonTitle
protected java.lang.String istrBusinessTitle
protected java.lang.String istrLastName
protected java.lang.String istrFirstName
protected java.lang.String istrMiddleName
protected java.lang.String istrOfficeAddress
protected java.lang.String istrCity
protected java.lang.String istrState
protected java.lang.String istrCountry
protected java.lang.String istrZipCode
protected java.lang.String istrPhone1
protected java.lang.String istrPhone2
protected java.lang.String istrFax1
protected java.lang.String istrFax2
protected java.lang.String istrMobilePhone1
protected java.lang.String istrMobilePhone1Country
protected java.lang.String istrEmail1
protected java.lang.String istrEmail2
protected java.lang.String istrPhone1Type
protected java.lang.String istrPhone2Type
protected java.lang.String istrPublishPhone1
protected java.lang.Integer inPublishPhone1
protected java.lang.Integer inPublishPhone2
protected java.lang.String istrPublishPhone2
protected java.lang.String istrBestCallingTime
protected java.lang.String istrTimeZone
protected java.lang.Integer inPackageSuppression
protected java.lang.String istrPackageSuppression
protected java.sql.Timestamp itmCreatedTimestamp
protected java.lang.String istrShippingGeoCode
protected java.lang.String istrTaxGeoCode
protected java.lang.String istrAddressField1
protected java.lang.String istrAddressField2
protected java.lang.String istrAddressField3
protected java.lang.String istrURL
protected java.lang.String istrOutAddressName
protected void copyFromOldAddress() throws ECException
public java.lang.String getAddress1()
public java.lang.String getAddress2()
public java.lang.String getAddress3()
public java.lang.String getAddressId()
public java.lang.String getAddressType()
public java.lang.String getAuthenticateMode()
public java.lang.String getBestCallingTime()
public java.lang.String getBillingCode()
public java.lang.String getBillingCodeType()
public java.lang.String getBusinessTitle()
public java.lang.String getCity()
public java.lang.String getCountry()
public java.sql.Timestamp getCreatedTimestamp()
public java.lang.String getEmail1()
public java.lang.String getEmail2()
public java.lang.String getFax1()
public java.lang.String getFax2()
public java.lang.String getMobilePhone1()
public java.lang.String getMobilePhone1Country()
public java.lang.String getFirstName()
public java.lang.String getLastName()
public java.lang.String getMiddleName()
public java.lang.String getNickName()
public java.lang.String getOfficeAddress()
public java.lang.String getOrganizationName()
public java.lang.String getOrganizationUnitName()
public java.lang.String getOutAddressName()
public java.lang.Integer getPackageSuppression()
public java.lang.String getPersonTitle()
public java.lang.String getPhone1()
public java.lang.String getPhone1Type()
public java.lang.String getPhone2()
public java.lang.String getPhone2Type()
public java.lang.Integer getPrimary()
public java.lang.Integer getPublishPhone1()
public java.lang.Integer getPublishPhone2()
public AccessVector getResources() throws ECException
public java.lang.String getState()
public java.lang.String getStatus()
public java.lang.String getURL()
public TypedProperty getViewInputProperties()
public java.lang.String getZipCode()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void reset()
public void setAddress1(java.lang.String astrAddress1)
public void setAddress2(java.lang.String astrAddress2)
public void setAddress3(java.lang.String astrAddress3)
public void setAddressField1(java.lang.String astrAddressField1)
public void setAddressField2(java.lang.String astrAddressField2)
public void setAddressField3(java.lang.String astrAddressField3)
public void setAddressId(java.lang.Long anAddressId)
public void setAddressId(java.lang.String astrAddressId)
public void setAddressType(java.lang.String astrAddressType)
public void setAuthenticateMode(java.lang.String astrAuthenticateMode)
public void setBestCallingTime(java.lang.String astrBestCallingTime)
public void setBillingCode(java.lang.String astrBillingCode)
public void setBillingCodeType(java.lang.String astrBillingCodeType)
public void setBillingCodeTypeType(java.lang.String astrBillingCodeType)
public void setBusinessTitle(java.lang.String astrBusinessTitle)
public void setCity(java.lang.String astrCity)
public void setCountry(java.lang.String astrCountry)
public void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
public void setEmail1(java.lang.String astrEmail1)
public void setEmail2(java.lang.String astrEmail2)
public void setFax1(java.lang.String astrFax1)
public void setFax2(java.lang.String astrFax2)
public void setMobilePhone1(java.lang.String astrMobilePhone1)
public void setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
public void setFirstName(java.lang.String astrFirstName)
public void setLastName(java.lang.String astrLastName)
public void setMemberId(java.lang.Long anMemberId)
public void setMemberId(java.lang.String astrMemberId)
public void setMiddleName(java.lang.String astrMiddleName)
public void setNickName(java.lang.String astrNickName)
public void setOfficeAddress(java.lang.String astrOfficeAddress)
public void setOrganizationName(java.lang.String astrOrganizationName)
public void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
public void setOutAddressName(java.lang.String astrOutAddressName)
public void setPackageSuppression(java.lang.Integer anPackageSuppression)
public void setPackageSuppression(java.lang.String astrPackageSuppression)
public void setPersonTitle(java.lang.String astrPersonTitle)
public void setPhone1(java.lang.String astrPhone1)
public void setPhone1Type(java.lang.String astrPhone1Type)
public void setPhone2(java.lang.String astrPhone2)
public void setPhone2Type(java.lang.String astrPhone2Type)
public void setPrimary(java.lang.Integer anPrimary)
public void setPrimary(java.lang.String astrPrimary)
public void setPublishPhone1(java.lang.Integer anPublishPhone1)
public void setPublishPhone1(java.lang.String astrPublishPhone1)
public void setPublishPhone2(java.lang.Integer anPublishPhone2)
public void setPublishPhone2(java.lang.String astrPublishPhone2)
public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
public void setSelfAddress(java.lang.String astrSelfAddress)
public void setShippingGeoCode(java.lang.String astrShippingGeoCode)
public void setState(java.lang.String astrState)
public void setStatus(java.lang.String astrStatus)
public void setTaxGeoCode(java.lang.String astrTaxGeoCode)
public void setURL(java.lang.String astrURL)
protected void setUserId(java.lang.Long anUserId)
protected void setUserId(java.lang.String astrUserId)
public void setZipCode(java.lang.String astrZipCode)
public void validateParameters() throws ECException
protected void validateStringLength(java.lang.String propertyName, int maxLength) throws ECException
protected void updateLotusConnectionProfile() throws ECException