public class UserRegistrationCmdImpl extends ControllerCommandImpl implements UserRegistrationCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this implementation of the command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
NAME
defaultCommandClassName
Constructor and Description |
---|
UserRegistrationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
checkAddParameters()
Checks the parameters specified if the user is being added.
|
void |
checkCommonParameters()
Checks the common parameter which are the same no matter whether the user is being updated or added.
|
void |
checkSelfRegistrationParameters()
Checks the parameters specified if the user is registering him/her self.
|
void |
checkUpdateParameters()
Check the parameters specified when the user is being updated.
|
void |
formulateDN(TypedProperty aProperties)
Create the Distinguish name of the member based on the information specified.
|
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 |
getAddressType()
Returns the type of the address.
|
java.lang.String |
getAuthenticateMode()
The authentication mode.
|
java.lang.String |
getBestCallingTime()
Returns the best calling time.
|
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 city.
|
java.lang.String |
getCountry()
Returns the country.
|
java.sql.Timestamp |
getCreatedTimestamp()
Deprecated.
LASTCREATETIMESTAMP handling moved to the EJB. |
java.lang.String |
getEmail1()
Returns the primary email address of the user.
|
java.lang.String |
getEmail2()
Returns the secondary email address of the user.
|
java.lang.String |
getFax1()
Returns the primary fax number.
|
java.lang.String |
getFax2()
Returns the secondary fax number.
|
java.lang.String |
getFirstName()
Returns the first name.
|
java.lang.String |
getLastName()
Returns the last name.
|
java.lang.String |
getMiddleName()
Returns the middle name.
|
java.lang.String |
getMobilePhone1()
Returns the primary mobile phone.
|
java.lang.String |
getMobilePhone1Country()
Returns the primary mobile phone country.
|
java.lang.String |
getOfficeAddress()
Returns the office address.
|
java.lang.String |
getOrganizationName()
Returns the organization name.
|
java.lang.String |
getOrganizationUnitName()
Returns the organizational unit name.
|
java.lang.Integer |
getPackageSuppression()
Returns the package suppression field.
|
java.lang.String |
getPersonTitle()
Returns the person's title.
|
java.lang.String |
getPhone1()
Returns the primary phone number.
|
java.lang.String |
getPhone1Type()
Returns the primary phone type.
|
java.lang.String |
getPhone2()
Returns the secondary phone number.
|
java.lang.String |
getPhone2Type()
Returns the secondary phone type.
|
java.lang.Integer |
getPrimary()
Returns the primary address.
|
java.lang.String |
getProfileType()
Returns the profile type.
|
java.lang.Integer |
getPublishPhone1()
Returns whether the primary phone number can be published.
|
java.lang.Integer |
getPublishPhone2()
Returns whether the secondary phone number can be published.
|
TypedProperty |
getRequestProperties()
Returns the request properties.
|
AccessVector |
getResources()
Returns the resources effected by this command.
|
java.lang.String |
getState()
Returns the current state of the user.
|
java.lang.String |
getStatus()
Returns the status of the user.
|
java.lang.String |
getURL()
Returns the URL to go to after the command executes.
|
TypedProperty |
getViewInputProperties()
Returns the request properties without the tools framework objects.
|
java.lang.String |
getWorkingUserId()
Get the user identifier of the user being created or updated.
|
java.lang.String |
getZipCode()
Returns the zip/postal code.
|
boolean |
isLogonIdExist(java.lang.String astrLogonId)
This method check if the logon id already exists in the database or LDAP server
|
boolean |
isLogonIdExist(java.lang.String astrLogonId,
java.lang.String astrAuthenticateMode)
This method check if the logon id already exists in the database or LDAP server
|
boolean |
isLogonIdUnique(java.lang.String astrLogonId)
Determines whether the specified logon id is unique.
|
boolean |
isReadyToCallExecute()
Indicates whether the command is ready to be executed.
|
void |
performExecute()
Either adds or updates the user's registration.
|
void |
reset()
Resets the state of the command so it can be reused to add/update another user.
|
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 address field.
|
void |
setAddressField2(java.lang.String astrAddressField2)
Sets address field 2.
|
void |
setAddressField3(java.lang.String astrAddressField3)
Sets address field 3.
|
void |
setAddressType(java.lang.String astrAddressType)
Sets the address type.
|
void |
setAge(java.lang.Integer anAge)
Sets the age.
|
void |
setAge(java.lang.String astrAge)
Sets the age.
|
void |
setAlternateId(java.lang.String astrAlternateId)
Sets the alternate identifier of the user.
|
void |
setAuthenticateMode(java.lang.String astrAuthenticateMode)
Sets the authentication mode.
|
void |
setBestCallingTime(java.lang.String astrBestCallingTime)
Sets the best calling time.
|
void |
setBillingCode(java.lang.String astrBillingCode)
Sets the billing code.
|
void |
setBillingCodeType(java.lang.String astrBillingCodeType)
Sets the billing code type.
|
void |
setBillingCodeTypeType(java.lang.String astrBillingCodeType)
Sets the billing code type.
|
void |
setBusinessTitle(java.lang.String astrBusinessTitle)
Sets the business title.
|
void |
setChallengeAnswer(java.lang.String astrChallengeAnswer)
Sets the challenge answer.
|
void |
setChallengeQuestion(java.lang.String astrChallengeQuestion)
Sets the challenge question.
|
void |
setChildren(java.lang.Integer anChildren)
Sets the number of children.
|
void |
setChildren(java.lang.String astrChildren)
Sets the number of children.
|
void |
setCity(java.lang.String astrCity)
Sets the name of the city.
|
void |
setCompanyName(java.lang.String astrCompanyName)
Sets the name of the company.
|
void |
setCountry(java.lang.String astrCountry)
Sets the name of the country.
|
void |
setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
Deprecated.
LASTCREATETIMESTAMP handling moved to the EJB. |
void |
setDateOfBirth(java.sql.Date astrDateOfBirth)
Sets the date of birth.
|
void |
setDemographicsField1(java.lang.String astrDemographicsField1)
Sets demographic field 1.
|
void |
setDemographicsField2(java.lang.String astrDemographicsField2)
Sets demographic field 2.
|
void |
setDemographicsField3(java.lang.String astrDemographicsField3)
Sets demographic field 3.
|
void |
setDemographicsField4(java.lang.String astrDemographicsField4)
Sets demographic field 4.
|
void |
setDemographicsField5(java.lang.String astrDemographicsField5)
Sets demographic field 5.
|
void |
setDemographicsField6(java.lang.Integer anDemographicsField6)
Sets demographic field 6.
|
void |
setDemographicsField6(java.lang.String astrDemographicsField6)
Sets demographic field 6.
|
void |
setDemographicsField7(java.lang.String astrDemographicsField7)
Sets demographic field 7.
|
void |
setDepartmentNumber(java.lang.String astrDepartmentNumber)
Sets the department number.
|
void |
setDescription(java.lang.String astrDescription)
Sets the description.
|
void |
setDisplayName(java.lang.String astrDisplayName)
Sets the display name.
|
void |
setDistinguishedName(java.lang.String astrDistinguishedName)
Sets the distinguished name.
|
void |
setEmail1(java.lang.String astrEmail1)
Sets the primary email address.
|
void |
setEmail2(java.lang.String astrEmail2)
Sets the secondary email address.
|
void |
setEmployeeId(java.lang.String astrEmployeeId)
Sets the employee identifier.
|
void |
setEmployeeType(java.lang.String astrEmployeeType)
Sets the employee type.
|
void |
setEncipheredMerchantKey(java.lang.String strEncipheredMerchantKey)
Deprecated.
in version 6.0. This is no longer used.
|
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 |
setGender(java.lang.String astrGender)
Sets the gender.
|
void |
setHobbies(java.lang.String astrHobbies)
Sets the hobbies.
|
void |
setHousehold(java.lang.Integer anHousehold)
Sets the number of people in the user's household.
|
void |
setHousehold(java.lang.String astrHousehold)
Sets the number of people in the user's household.
|
void |
setIncome(java.lang.Integer anIncome)
Sets the user's income.
|
void |
setIncome(java.lang.String astrIncome)
Sets the user's income.
|
void |
setIncomeCurrency(java.lang.String astrIncomeCurrency)
Sets the currency of the user's income.
|
void |
setLastName(java.lang.String astrLastName)
Sets the last name.
|
void |
setLogonId(java.lang.String astrLogonId)
Sets the logon ID.
|
void |
setLogonPassword(java.lang.String astrLogonPassword)
Sets the logon password.
|
void |
setLogonPasswordVerify(java.lang.String astrLogonPasswordVerify)
Sets the password value for verification.
|
void |
setLogonPasswordVerifyVerify(java.lang.String astrLogonPasswordVerify)
Sets the logon password for verification.
|
void |
setManager(java.lang.String astrManager)
Sets the manager.
|
void |
setMaritalStatus(java.lang.String astrMaritalStatus)
Sets the marital status.
|
void |
setMerchantKey(java.lang.String strMerchantKey)
Deprecated.
in version 6.0. This is no longer used.
|
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 country.
|
void |
setNickName(java.lang.String astrNickName)
Sets the nickname.
|
void |
setOfficeAddress(java.lang.String astrOfficeAddress)
Sets the office address.
|
void |
setOrderBefore(java.lang.String astrOrderBefore)
Sets whether the user has placed an order before.
|
void |
setOrganizationId(java.lang.Long anOrganizationId)
Sets the organization ID of the user.
|
void |
setOrganizationId(java.lang.String astrOrganizationId)
Sets the organization ID of the user.
|
void |
setOrganizationName(java.lang.String astrOrganizationName)
Sets the organization name.
|
void |
setOrganizationUnitId(java.lang.Long anOrganizationUnitId)
Sets the organizational unit.
|
void |
setOrganizationUnitId(java.lang.String astrOrganizationUnitId)
Sets the organizational unit.
|
void |
setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
Sets the name of the organizational unit.
|
void |
setPackageSuppression(java.lang.Integer anPackageSuppression)
Sets the package suppression flag.
|
void |
setPackageSuppression(java.lang.String astrPackageSuppression)
Sets the package suppression flag.
|
void |
setPasswordExpired(java.lang.Integer anPasswordExpired)
Sets whether the password expired.
|
void |
setPasswordExpired(java.lang.String astrPasswordExpired)
Sets whether the password expired.
|
void |
setPersonTitle(java.lang.String astrPersonTitle)
Sets the person's title.
|
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 |
setPhoto(java.lang.String astrPhoto)
Sets the photo.
|
void |
setPreferredCommunication(java.lang.String astrPreferredCommunication)
Sets the preferred method of communication.
|
void |
setPreferredCurrency(java.lang.String astrPreferredCurrency)
Sets the preferred currency.
|
void |
setPreferredDelivery(java.lang.String astrPreferredDelivery)
Sets the preferred delivery.
|
void |
setPreferredLanguage(java.lang.Integer anPreferredLanguage)
Sets the preferred language.
|
void |
setPreferredLanguage(java.lang.String astrPreferredLanguage)
Sets the preferred language.
|
void |
setPreferredMeasure(java.lang.String astrPreferredMeasure)
Sets the preferred unit of measurement.
|
void |
setPrimary(java.lang.Integer anPrimary)
Sets whether the address is primary: 1 for true; 0 for false.
|
void |
setPrimary(java.lang.String astrPrimary)
Sets whether the address is primary: 1 for true; 0 for false.
|
void |
setProfileType(java.lang.String astrProfileType)
Sets the profile type.
|
void |
setPublishPhone1(java.lang.Integer anPublishPhone1)
Sets whether to publish the primary phone number.
|
void |
setPublishPhone1(java.lang.String astrPublishPhone1)
Sets whether to publish the primary phone number.
|
void |
setPublishPhone2(java.lang.Integer anPublishPhone2)
Sets whether to publish the secondary phone number.
|
void |
setPublishPhone2(java.lang.String astrPublishPhone2)
Sets whether to publish the secondary phone number.
|
void |
setReceiveSMSNotification(java.lang.String astrReceiveSMSNotification)
Sets the receive SMS notification.
|
void |
setRequestProperties(TypedProperty reqProperties)
Sets the request properties.
|
void |
setSecretary(java.lang.String astrSecretary)
Sets the name of the secretary.
|
void |
setShippingGeoCode(java.lang.String astrShippingGeoCode)
Sets the shipping code.
|
void |
setState(java.lang.String astrState)
Sets the state of user.
|
void |
setStatus(java.lang.String astrStatus)
Sets the status of the user.
|
void |
setTaxGeoCode(java.lang.String astrTaxGeoCode)
Sets the tax geography code.
|
void |
setTaxPayerId(java.lang.String astrTaxPayerId)
Sets the tax payer identifier.
|
void |
setTimeZone(java.lang.String astrTimeZone)
Sets the time zone.
|
void |
setURL(java.lang.String astrURL)
Sets the URL to go to after execution.
|
void |
setUserField1(java.lang.String astrUserField1)
Sets user field 1.
|
void |
setUserField2(java.lang.String astrUserField2)
Sets user field 2.
|
void |
setUserField3(java.lang.String astrUserField3)
Sets user field 3.
|
void |
setUserProfileField1(java.lang.String astrUserProfileField1)
Sets user profile field 1.
|
void |
setUserProfileField2(java.lang.String astrUserProfileField2)
Sets user profile field 2.
|
void |
setUserStatus(java.lang.Integer anUserStatus)
Sets the user status.
|
void |
setUserStatus(java.lang.String astrUserStatus)
Sets the user status.
|
void |
setWorkingUserId(java.lang.String astrUserId)
Sets the working user identifier.
|
void |
setZipCode(java.lang.String astrZipCode)
Sets the zip/postal code.
|
void |
validateParameters()
Validates the parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, 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, 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 void checkAddParameters() throws ECException
ECException
- If there are any missing or invalid parameters.public void checkCommonParameters() throws ECException
ECException
- If there are any missing or invalid parameters.public void checkSelfRegistrationParameters() throws ECException
ECException
- If there are any invalid or missing parameters.public void checkUpdateParameters() throws ECException
ECException
- If there are invalid or missing parameters specified.public void formulateDN(TypedProperty aProperties) throws ECException
aProperties
- the parameter of the user.ECException
- If the parent member does not exist or the distinguish name is already in use.public java.lang.String getAddress1()
getAddress1
in interface UserRegistrationCmd
public java.lang.String getAddress2()
getAddress2
in interface UserRegistrationCmd
public java.lang.String getAddress3()
getAddress3
in interface UserRegistrationCmd
public java.lang.String getAddressType()
getAddressType
in interface UserRegistrationCmd
public java.lang.String getAuthenticateMode()
getAuthenticateMode
in interface UserRegistrationCmd
public java.lang.String getBestCallingTime()
getBestCallingTime
in interface UserRegistrationCmd
public java.lang.String getBillingCode()
getBillingCode
in interface UserRegistrationCmd
public java.lang.String getBillingCodeType()
getBillingCodeType
in interface UserRegistrationCmd
public java.lang.String getBusinessTitle()
getBusinessTitle
in interface UserRegistrationCmd
public java.lang.String getCity()
getCity
in interface UserRegistrationCmd
public java.lang.String getCountry()
getCountry
in interface UserRegistrationCmd
public java.sql.Timestamp getCreatedTimestamp()
LASTCREATETIMESTAMP
handling moved to the EJB.getCreatedTimestamp
in interface UserRegistrationCmd
public java.lang.String getEmail1()
getEmail1
in interface UserRegistrationCmd
public java.lang.String getEmail2()
getEmail2
in interface UserRegistrationCmd
public java.lang.String getFax1()
getFax1
in interface UserRegistrationCmd
public java.lang.String getFax2()
getFax2
in interface UserRegistrationCmd
public java.lang.String getMobilePhone1()
getMobilePhone1
in interface UserRegistrationCmd
public java.lang.String getMobilePhone1Country()
getMobilePhone1Country
in interface UserRegistrationCmd
public java.lang.String getFirstName()
getFirstName
in interface UserRegistrationCmd
public java.lang.String getLastName()
getLastName
in interface UserRegistrationCmd
public java.lang.String getMiddleName()
getMiddleName
in interface UserRegistrationCmd
public java.lang.String getOfficeAddress()
getOfficeAddress
in interface UserRegistrationCmd
public java.lang.String getOrganizationName()
getOrganizationName
in interface UserRegistrationCmd
public java.lang.String getOrganizationUnitName()
getOrganizationUnitName
in interface UserRegistrationCmd
public java.lang.Integer getPackageSuppression()
getPackageSuppression
in interface UserRegistrationCmd
public java.lang.String getPersonTitle()
getPersonTitle
in interface UserRegistrationCmd
public java.lang.String getPhone1()
getPhone1
in interface UserRegistrationCmd
public java.lang.String getPhone1Type()
getPhone1Type
in interface UserRegistrationCmd
public java.lang.String getPhone2()
getPhone2
in interface UserRegistrationCmd
public java.lang.String getPhone2Type()
getPhone2Type
in interface UserRegistrationCmd
public java.lang.Integer getPrimary()
getPrimary
in interface UserRegistrationCmd
public java.lang.String getProfileType()
getProfileType
in interface UserRegistrationCmd
public java.lang.Integer getPublishPhone1()
getPublishPhone1
in interface UserRegistrationCmd
public java.lang.Integer getPublishPhone2()
getPublishPhone2
in interface UserRegistrationCmd
public TypedProperty getRequestProperties()
getRequestProperties
in interface ControllerCommand
getRequestProperties
in class ControllerCommandImpl
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public java.lang.String getState()
getState
in interface UserRegistrationCmd
public java.lang.String getStatus()
getStatus
in interface UserRegistrationCmd
public java.lang.String getURL()
public TypedProperty getViewInputProperties()
getViewInputProperties
in interface ControllerCommand
getViewInputProperties
in class ControllerCommandImpl
public java.lang.String getWorkingUserId()
getWorkingUserId
in interface UserRegistrationCmd
public java.lang.String getZipCode()
getZipCode
in interface UserRegistrationCmd
public boolean isLogonIdExist(java.lang.String astrLogonId)
astrLogonId
- The logon id to checkpublic boolean isLogonIdExist(java.lang.String astrLogonId, java.lang.String astrAuthenticateMode)
astrLogonId
- The logon id to checkastrAuthenticateMode
- Authentication Modepublic boolean isLogonIdUnique(java.lang.String astrLogonId) throws ECException
astrLogonId
- the logon id to test.ECException
- If there was a problem checking the logon id.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 is a problem adding or updating the user.public void reset()
reset
in interface UserRegistrationCmd
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAddress1(java.lang.String astrAddress1)
setAddress1
in interface UserRegistrationCmd
astrAddress1
- the first line of the address.public void setAddress2(java.lang.String astrAddress2)
setAddress2
in interface UserRegistrationCmd
astrAddress2
- the second line of the address.public void setAddress3(java.lang.String astrAddress3)
setAddress3
in interface UserRegistrationCmd
astrAddress3
- the third line of the address.public void setAddressField1(java.lang.String astrAddressField1)
setAddressField1
in interface UserRegistrationCmd
astrAddressField1
- the address field.public void setAddressField2(java.lang.String astrAddressField2)
setAddressField2
in interface UserRegistrationCmd
astrAddressField2
- address field 2.public void setAddressField3(java.lang.String astrAddressField3)
setAddressField3
in interface UserRegistrationCmd
astrAddressField3
- address field 3.public void setAddressType(java.lang.String astrAddressType)
setAddressType
in interface UserRegistrationCmd
astrAddressType
- the address type.public void setAge(java.lang.Integer anAge)
setAge
in interface UserRegistrationCmd
anAge
- the age.public void setAge(java.lang.String astrAge)
setAge
in interface UserRegistrationCmd
astrAge
- the age.public void setAlternateId(java.lang.String astrAlternateId)
setAlternateId
in interface UserRegistrationCmd
astrAlternateId
- the alternate identifier.public void setAuthenticateMode(java.lang.String astrAuthenticateMode)
setAuthenticateMode
in interface UserRegistrationCmd
astrAuthenticateMode
- the authentication mode.public void setBestCallingTime(java.lang.String astrBestCallingTime)
setBestCallingTime
in interface UserRegistrationCmd
astrBestCallingTime
- the best calling time.public void setBillingCode(java.lang.String astrBillingCode)
setBillingCode
in interface UserRegistrationCmd
astrBillingCode
- the billing code.public void setBillingCodeType(java.lang.String astrBillingCodeType)
setBillingCodeType
in interface UserRegistrationCmd
astrBillingCodeType
- the billing code type.public void setBillingCodeTypeType(java.lang.String astrBillingCodeType)
astrBillingCodeType
- the billing code type.public void setBusinessTitle(java.lang.String astrBusinessTitle)
setBusinessTitle
in interface UserRegistrationCmd
astrBusinessTitle
- the business title.public void setChallengeAnswer(java.lang.String astrChallengeAnswer)
setChallengeAnswer
in interface UserRegistrationCmd
astrChallengeAnswer
- the challenge answer.public void setChallengeQuestion(java.lang.String astrChallengeQuestion)
setChallengeQuestion
in interface UserRegistrationCmd
astrChallengeQuestion
- the challenge question.public void setChildren(java.lang.Integer anChildren)
setChildren
in interface UserRegistrationCmd
anChildren
- the number of children.public void setChildren(java.lang.String astrChildren)
setChildren
in interface UserRegistrationCmd
astrChildren
- the number of children.public void setCity(java.lang.String astrCity)
setCity
in interface UserRegistrationCmd
astrCity
- the name of the city.public void setCompanyName(java.lang.String astrCompanyName)
setCompanyName
in interface UserRegistrationCmd
astrCompanyName
- the company name.public void setCountry(java.lang.String astrCountry)
setCountry
in interface UserRegistrationCmd
astrCountry
- the name of the country.public void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
LASTCREATETIMESTAMP
handling moved to the EJB.setCreatedTimestamp
in interface UserRegistrationCmd
atmCreatedTimestamp
- the date and time the user was created.public void setDemographicsField1(java.lang.String astrDemographicsField1)
setDemographicsField1
in interface UserRegistrationCmd
astrDemographicsField1
- demographic field 1.public void setDemographicsField2(java.lang.String astrDemographicsField2)
setDemographicsField2
in interface UserRegistrationCmd
astrDemographicsField2
- demographic field 2.public void setDemographicsField3(java.lang.String astrDemographicsField3)
setDemographicsField3
in interface UserRegistrationCmd
astrDemographicsField3
- demographic field 3.public void setDemographicsField4(java.lang.String astrDemographicsField4)
setDemographicsField4
in interface UserRegistrationCmd
astrDemographicsField4
- demographic field 4.public void setDemographicsField5(java.lang.String astrDemographicsField5)
setDemographicsField5
in interface UserRegistrationCmd
astrDemographicsField5
- demographic field 5.public void setDemographicsField6(java.lang.Integer anDemographicsField6)
setDemographicsField6
in interface UserRegistrationCmd
anDemographicsField6
- demographic field 6.public void setDemographicsField6(java.lang.String astrDemographicsField6)
setDemographicsField6
in interface UserRegistrationCmd
astrDemographicsField6
- demographic field 6.public void setDemographicsField7(java.lang.String astrDemographicsField7)
setDemographicsField7
in interface UserRegistrationCmd
astrDemographicsField7
- demographic field 7.public void setDepartmentNumber(java.lang.String astrDepartmentNumber)
setDepartmentNumber
in interface UserRegistrationCmd
astrDepartmentNumber
- the department number.public void setDescription(java.lang.String astrDescription)
setDescription
in interface UserRegistrationCmd
astrDescription
- the description.public void setDisplayName(java.lang.String astrDisplayName)
setDisplayName
in interface UserRegistrationCmd
astrDisplayName
- the display name.public void setDistinguishedName(java.lang.String astrDistinguishedName)
setDistinguishedName
in interface UserRegistrationCmd
astrDistinguishedName
- the distinguished name.public void setEmail1(java.lang.String astrEmail1)
setEmail1
in interface UserRegistrationCmd
astrEmail1
- an email address.public void setEmail2(java.lang.String astrEmail2)
setEmail2
in interface UserRegistrationCmd
astrEmail2
- an email address.public void setEmployeeId(java.lang.String astrEmployeeId)
setEmployeeId
in interface UserRegistrationCmd
astrEmployeeId
- the employee identifier.public void setEmployeeType(java.lang.String astrEmployeeType)
setEmployeeType
in interface UserRegistrationCmd
astrEmployeeType
- the employee type.public void setEncipheredMerchantKey(java.lang.String strEncipheredMerchantKey)
setEncipheredMerchantKey
in interface UserRegistrationCmd
strEncipheredMerchantKey
- the enciphered merchant key.public void setFax1(java.lang.String astrFax1)
setFax1
in interface UserRegistrationCmd
astrFax1
- a fax number.public void setFax2(java.lang.String astrFax2)
setFax2
in interface UserRegistrationCmd
astrFax2
- a fax number.public void setMobilePhone1(java.lang.String astrMobilePhone1)
setMobilePhone1
in interface UserRegistrationCmd
astrMobilePhone1
- a mobile phone.public void setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
setMobilePhone1Country
in interface UserRegistrationCmd
astrMobilePhone1Country
- a mobile phone country.public void setFirstName(java.lang.String astrFirstName)
setFirstName
in interface UserRegistrationCmd
astrFirstName
- the first name.public void setGender(java.lang.String astrGender)
setGender
in interface UserRegistrationCmd
astrGender
- the gender.public void setHobbies(java.lang.String astrHobbies)
setHobbies
in interface UserRegistrationCmd
astrHobbies
- the user's hobbies.public void setDateOfBirth(java.sql.Date astrDateOfBirth)
setDateOfBirth
in interface UserRegistrationCmd
astrDateOfBirth
- the user's date of birth.public void setHousehold(java.lang.Integer anHousehold)
setHousehold
in interface UserRegistrationCmd
anHousehold
- the number of people in the household.public void setHousehold(java.lang.String astrHousehold)
setHousehold
in interface UserRegistrationCmd
astrHousehold
- the number of people in the household.public void setIncome(java.lang.Integer anIncome)
setIncome
in interface UserRegistrationCmd
anIncome
- the user's income.public void setIncome(java.lang.String astrIncome)
setIncome
in interface UserRegistrationCmd
astrIncome
- the user's income.public void setIncomeCurrency(java.lang.String astrIncomeCurrency)
setIncomeCurrency
in interface UserRegistrationCmd
astrIncomeCurrency
- the currency.public void setLastName(java.lang.String astrLastName)
setLastName
in interface UserRegistrationCmd
astrLastName
- the last name.public void setLogonId(java.lang.String astrLogonId)
setLogonId
in interface UserRegistrationCmd
astrLogonId
- the logon ID.public void setLogonPassword(java.lang.String astrLogonPassword)
setLogonPassword
in interface UserRegistrationCmd
astrLogonPassword
- the logon password.public void setLogonPasswordVerify(java.lang.String astrLogonPasswordVerify)
setLogonPasswordVerify
in interface UserRegistrationCmd
astrLogonPasswordVerify
- the logon password.public void setLogonPasswordVerifyVerify(java.lang.String astrLogonPasswordVerify)
astrLogonPasswordVerify
- the logon password.public void setManager(java.lang.String astrManager)
setManager
in interface UserRegistrationCmd
astrManager
- the manager.public void setMaritalStatus(java.lang.String astrMaritalStatus)
setMaritalStatus
in interface UserRegistrationCmd
astrMaritalStatus
- the marital status.public void setMerchantKey(java.lang.String strMerchantKey)
setMerchantKey
in interface UserRegistrationCmd
strMerchantKey
- the merchant key.public void setMiddleName(java.lang.String astrMiddleName)
setMiddleName
in interface UserRegistrationCmd
astrMiddleName
- the middle name.public void setNickName(java.lang.String astrNickName)
astrNickName
- the nickname.public void setOfficeAddress(java.lang.String astrOfficeAddress)
setOfficeAddress
in interface UserRegistrationCmd
astrOfficeAddress
- the office address.public void setOrderBefore(java.lang.String astrOrderBefore)
setOrderBefore
in interface UserRegistrationCmd
astrOrderBefore
- whether the user has placed an order before.public void setOrganizationId(java.lang.Long anOrganizationId)
setOrganizationId
in interface UserRegistrationCmd
anOrganizationId
- an organization ID.public void setOrganizationId(java.lang.String astrOrganizationId)
setOrganizationId
in interface UserRegistrationCmd
astrOrganizationId
- an organization ID.public void setOrganizationName(java.lang.String astrOrganizationName)
setOrganizationName
in interface UserRegistrationCmd
astrOrganizationName
- the organization name.public void setOrganizationUnitId(java.lang.Long anOrganizationUnitId)
setOrganizationUnitId
in interface UserRegistrationCmd
anOrganizationUnitId
- the organizational unit.public void setOrganizationUnitId(java.lang.String astrOrganizationUnitId)
setOrganizationUnitId
in interface UserRegistrationCmd
astrOrganizationUnitId
- the organizational unit.public void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
setOrganizationUnitName
in interface UserRegistrationCmd
astrOrganizationUnitName
- the organizational unit name.public void setPackageSuppression(java.lang.Integer anPackageSuppression)
setPackageSuppression
in interface UserRegistrationCmd
anPackageSuppression
- the package suppression flag.public void setPackageSuppression(java.lang.String astrPackageSuppression)
setPackageSuppression
in interface UserRegistrationCmd
astrPackageSuppression
- the package suppression flag.public void setPasswordExpired(java.lang.Integer anPasswordExpired)
setPasswordExpired
in interface UserRegistrationCmd
anPasswordExpired
- whether the password expired.public void setPasswordExpired(java.lang.String astrPasswordExpired)
setPasswordExpired
in interface UserRegistrationCmd
astrPasswordExpired
- whether the password expired.public void setPersonTitle(java.lang.String astrPersonTitle)
setPersonTitle
in interface UserRegistrationCmd
astrPersonTitle
- the person's title.public void setPhone1(java.lang.String astrPhone1)
setPhone1
in interface UserRegistrationCmd
astrPhone1
- a phone number.public void setPhone1Type(java.lang.String astrPhone1Type)
setPhone1Type
in interface UserRegistrationCmd
astrPhone1Type
- the phone type.public void setPhone2(java.lang.String astrPhone2)
setPhone2
in interface UserRegistrationCmd
astrPhone2
- a phone number.public void setPhone2Type(java.lang.String astrPhone2Type)
setPhone2Type
in interface UserRegistrationCmd
astrPhone2Type
- a phone type.public void setPhoto(java.lang.String astrPhoto)
setPhoto
in interface UserRegistrationCmd
astrPhoto
- the photo.public void setPreferredCommunication(java.lang.String astrPreferredCommunication)
setPreferredCommunication
in interface UserRegistrationCmd
astrPreferredCommunication
- preferred method of communication.public void setPreferredCurrency(java.lang.String astrPreferredCurrency)
setPreferredCurrency
in interface UserRegistrationCmd
astrPreferredCurrency
- the preferred currency.public void setPreferredDelivery(java.lang.String astrPreferredDelivery)
setPreferredDelivery
in interface UserRegistrationCmd
astrPreferredDelivery
- the preferred delivery.public void setPreferredLanguage(java.lang.Integer anPreferredLanguage)
setPreferredLanguage
in interface UserRegistrationCmd
anPreferredLanguage
- the preferred language.public void setPreferredLanguage(java.lang.String astrPreferredLanguage)
setPreferredLanguage
in interface UserRegistrationCmd
astrPreferredLanguage
- the preferred language.public void setPreferredMeasure(java.lang.String astrPreferredMeasure)
setPreferredMeasure
in interface UserRegistrationCmd
astrPreferredMeasure
- the preferred unit of measurement.public void setPrimary(java.lang.Integer anPrimary)
setPrimary
in interface UserRegistrationCmd
anPrimary
- whether the address is primary.public void setPrimary(java.lang.String astrPrimary)
setPrimary
in interface UserRegistrationCmd
astrPrimary
- whether the address is primary.public void setProfileType(java.lang.String astrProfileType)
setProfileType
in interface UserRegistrationCmd
astrProfileType
- the profile type.public void setPublishPhone1(java.lang.Integer anPublishPhone1)
setPublishPhone1
in interface UserRegistrationCmd
anPublishPhone1
- whether to publish the phone number.public void setPublishPhone1(java.lang.String astrPublishPhone1)
setPublishPhone1
in interface UserRegistrationCmd
astrPublishPhone1
- whether to publish the phone number.public void setPublishPhone2(java.lang.Integer anPublishPhone2)
setPublishPhone2
in interface UserRegistrationCmd
anPublishPhone2
- whether to publish the phone number.public void setPublishPhone2(java.lang.String astrPublishPhone2)
setPublishPhone2
in interface UserRegistrationCmd
astrPublishPhone2
- whether to publish the phone number.public void setReceiveSMSNotification(java.lang.String astrReceiveSMSNotification)
setReceiveSMSNotification
in interface UserRegistrationCmd
astrReceiveSMSNotification
- the receive SMS notification.public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- the parameters passed to the command.ECApplicationException
- if there was a problem processing the request properties.public void setSecretary(java.lang.String astrSecretary)
setSecretary
in interface UserRegistrationCmd
astrSecretary
- the name of the secretary.public void setShippingGeoCode(java.lang.String astrShippingGeoCode)
setShippingGeoCode
in interface UserRegistrationCmd
astrShippingGeoCode
- the shipping code.public void setState(java.lang.String astrState)
setState
in interface UserRegistrationCmd
astrState
- the state of the user.public void setStatus(java.lang.String astrStatus)
setStatus
in interface UserRegistrationCmd
astrStatus
- the status of the user.public void setTaxGeoCode(java.lang.String astrTaxGeoCode)
setTaxGeoCode
in interface UserRegistrationCmd
astrTaxGeoCode
- the tax code.public void setTaxPayerId(java.lang.String astrTaxPayerId)
setTaxPayerId
in interface UserRegistrationCmd
astrTaxPayerId
- the tax payer identifier.public void setTimeZone(java.lang.String astrTimeZone)
setTimeZone
in interface UserRegistrationCmd
astrTimeZone
- the time zone.public void setURL(java.lang.String astrURL)
setURL
in interface UserRegistrationCmd
astrURL
- the URL to go to after executing.public void setUserField1(java.lang.String astrUserField1)
setUserField1
in interface UserRegistrationCmd
astrUserField1
- user field 1.public void setUserField2(java.lang.String astrUserField2)
setUserField2
in interface UserRegistrationCmd
astrUserField2
- user field 2.public void setUserField3(java.lang.String astrUserField3)
setUserField3
in interface UserRegistrationCmd
astrUserField3
- user field 3.public void setUserProfileField1(java.lang.String astrUserProfileField1)
setUserProfileField1
in interface UserRegistrationCmd
astrUserProfileField1
- user profile field 1.public void setUserProfileField2(java.lang.String astrUserProfileField2)
setUserProfileField2
in interface UserRegistrationCmd
astrUserProfileField2
- user profile field 2.public void setUserStatus(java.lang.Integer anUserStatus)
setUserStatus
in interface UserRegistrationCmd
anUserStatus
- the user status.public void setUserStatus(java.lang.String astrUserStatus)
setUserStatus
in interface UserRegistrationCmd
astrUserStatus
- the user status.public void setWorkingUserId(java.lang.String astrUserId)
setWorkingUserId
in interface UserRegistrationCmd
astrUserId
- the user identifier.public void setZipCode(java.lang.String astrZipCode)
setZipCode
in interface UserRegistrationCmd
astrZipCode
- the zip/postal code.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- If there are invalid or missing parameters.