com.ibm.commerce.usermanagement.commands
Class UserRegistrationAddPreApprovalCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.usermanagement.commands.UserRegistrationCmdImpl
              |
              +--com.ibm.commerce.usermanagement.commands.UserRegistrationAddCmdImpl
                    |
                    +--com.ibm.commerce.usermanagement.commands.UserRegistrationAddPreApprovalCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, UserRegistrationAddCmd, UserRegistrationAddPreApprovalCmd, UserRegistrationCmd

public class UserRegistrationAddPreApprovalCmdImpl
extends UserRegistrationAddCmdImpl
implements UserRegistrationAddPreApprovalCmd

Implementation for the RegisterBase command which is the base for RegisterNew and RegisterUpdate command.


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
protected  java.lang.String flowContext
           
protected  java.lang.Integer stateIdentifier
           
protected  com.ibm.commerce.usermanagement.commands.UserFlowEntityBean userFlowEntityBean
           
 
Fields inherited from class com.ibm.commerce.usermanagement.commands.UserRegistrationCmdImpl
abUser, abUserRegistry, bToolsFramework, iabParentOrgEntity, imbUser, inAge, inChildren, inDemographicsField6, inHousehold, inIncome, inOrganizationId, inOrganizationUnitId, inPackageSuppression, inPasswordExpired, inPreferredLanguage, inPrimary, inPublishPhone1, inPublishPhone2, inUserStatus, istrAddress1, istrAddress2, istrAddress3, istrAddressField1, istrAddressField2, istrAddressField3, istrAddressType, istrAge, istrAlternateId, istrAuthenticateMode, istrBestCallingTime, istrBillingCode, istrBillingCodeType, istrBusinessTitle, istrChallengeAnswer, istrChallengeQuestion, istrChildren, istrCity, istrCompanyName, istrCountry, istrDemographicsField1, istrDemographicsField2, istrDemographicsField3, istrDemographicsField4, istrDemographicsField5, istrDemographicsField6, istrDemographicsField7, istrDepartmentNumber, istrDescription, istrDisplayName, istrDistinguishedName, istrEmail1, istrEmail2, istrEmployeeId, istrEmployeeType, istrEncipheredMerchantKey, istrFax1, istrFax2, istrFirstName, istrGender, istrHobbies, istrHousehold, istrIncome, istrIncomeCurrency, istrLastName, istrLogonId, istrLogonPassword, istrLogonPasswordVerify, istrManager, istrMaritalStatus, istrMerchantKey, istrMiddleName, istrNickName, istrOfficeAddress, istrOldLogonId, istrOrderBefore, istrOrganizationId, istrOrganizationName, istrOrganizationUnitId, istrOrganizationUnitName, istrPackageSuppression, istrPasswordExpired, istrPersonTitle, istrPhone1, istrPhone1Type, istrPhone2, istrPhone2Type, istrPhoto, istrPreferredCommunication, istrPreferredCurrency, istrPreferredDelivery, istrPreferredLanguage, istrPreferredMeasure, istrPrimary, istrProfileType, istrPublishPhone1, istrPublishPhone2, istrRegisterType, istrSecretary, istrSelfAddress, istrShippingGeoCode, istrState, istrStatus, istrTaxGeoCode, istrTaxPayerId, istrTimeZone, istrURL, istrUserField1, istrUserField2, istrUserField3, istrUserProfileField1, istrUserProfileField2, istrUserStatus, istrWorkingUserId, istrZipCode, itmCreatedTimestamp, itmLastLogon, itmLastOrder, itmRegistration, itmRegistrationCancel, itmRegistrationUpdate
 
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands.UserRegistrationAddPreApprovalCmd
NAME
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands.UserRegistrationAddCmd
NAME
 
Constructor Summary
UserRegistrationAddPreApprovalCmdImpl()
           
 
Method Summary
 java.lang.Long getEntityId()
           
 com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
           
 java.lang.String getFlowContext()
           
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void reset()
          Reset all instance variables of the command to initial state so it can be used again.
 void setFlowContext(java.lang.String newFlowContext)
           
 void setStateIdentifier(java.lang.Integer aStateIdentifier)
           
 
Methods inherited from class com.ibm.commerce.usermanagement.commands.UserRegistrationAddCmdImpl
setRequestProperties, validateParameters
 
Methods inherited from class com.ibm.commerce.usermanagement.commands.UserRegistrationCmdImpl
checkAddParameters, checkCommonParameters, checkSelfRegistrationParameters, checkUpdateParameters, formulateDN, getAddress1, getAddress2, getAddress3, getAddressType, getAuthenticateMode, getBestCallingTime, getBillingCode, getBillingCodeType, getBusinessTitle, getCity, getCountry, getCreatedTimestamp, getEmail1, getEmail2, getEncipheredMerchantKey, getFax1, getFax2, getFirstName, getLastName, getMerchantKey, getMiddleName, getOfficeAddress, getOrganizationName, getOrganizationUnitName, getPackageSuppression, getPersonTitle, getPhone1, getPhone1Type, getPhone2, getPhone2Type, getPrimary, getProfileType, getPublishPhone1, getPublishPhone2, getRequestProperties, getResources, getState, getStatus, getURL, getViewInputProperties, getWorkingUserId, getZipCode, isAlphaNumeric, isLogonIdExist, isLogonIdExist, isLogonIdUnique, isReadyToCallExecute, setAddress1, setAddress2, setAddress3, setAddressField1, setAddressField2, setAddressField3, setAddressType, setAge, setAge, setAlternateId, setAuthenticateMode, setBestCallingTime, setBillingCode, setBillingCodeType, setBillingCodeTypeType, setBusinessTitle, setChallengeAnswer, setChallengeQuestion, setChildren, setChildren, setCity, setCompanyName, setCountry, setCreatedTimestamp, setDemographicsField1, setDemographicsField2, setDemographicsField3, setDemographicsField4, setDemographicsField5, setDemographicsField6, setDemographicsField6, setDemographicsField7, setDepartmentNumber, setDescription, setDisplayName, setDistinguishedName, setEmail1, setEmail2, setEmployeeId, setEmployeeType, setEncipheredMerchantKey, setFax1, setFax2, setFirstName, setGender, setHobbies, setHousehold, setHousehold, setIncome, setIncome, setIncomeCurrency, setLastName, setLogonId, setLogonPassword, setLogonPasswordVerify, setLogonPasswordVerifyVerify, setManager, setMaritalStatus, setMerchantKey, setMiddleName, setNickName, setOfficeAddress, setOrderBefore, setOrganizationId, setOrganizationId, setOrganizationName, setOrganizationUnitId, setOrganizationUnitId, setOrganizationUnitName, setPackageSuppression, setPackageSuppression, setPasswordExpired, setPasswordExpired, setPersonTitle, setPhone1, setPhone1Type, setPhone2, setPhone2Type, setPhoto, setPreferredCommunication, setPreferredCurrency, setPreferredDelivery, setPreferredLanguage, setPreferredLanguage, setPreferredMeasure, setPrimary, setPrimary, setProfileType, setPublishPhone1, setPublishPhone1, setPublishPhone2, setPublishPhone2, setSecretary, setShippingGeoCode, setState, setStatus, setTaxGeoCode, setTaxPayerId, setTimeZone, setURL, setUserField1, setUserField2, setUserField3, setUserProfileField1, setUserProfileField2, setUserStatus, setUserStatus, setWorkingUserId, setZipCode, UpdateCredentials, UpdatePreferredCurrency, UpdatePreferredLanguage
 
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
fulfills, getForUserId, getGeneric, getOwner, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
getAddress1, getAddress2, getAddress3, getAddressType, getAuthenticateMode, getBestCallingTime, getBillingCode, getBillingCodeType, getBusinessTitle, getCity, getCountry, getCreatedTimestamp, getEmail1, getEmail2, getFax1, getFax2, getFirstName, getLastName, getMiddleName, getOfficeAddress, getOrganizationName, getOrganizationUnitName, getPackageSuppression, getPersonTitle, getPhone1, getPhone1Type, getPhone2, getPhone2Type, getPrimary, getProfileType, getPublishPhone1, getPublishPhone2, getState, getStatus, getWorkingUserId, getZipCode, setAddress1, setAddress2, setAddress3, setAddressField1, setAddressField2, setAddressField3, setAddressType, setAge, setAge, setAlternateId, setAuthenticateMode, setBestCallingTime, setBillingCode, setBillingCodeType, setBusinessTitle, setChallengeAnswer, setChallengeQuestion, setChildren, setChildren, setCity, setCompanyName, setCountry, setCreatedTimestamp, setDemographicsField1, setDemographicsField2, setDemographicsField3, setDemographicsField4, setDemographicsField5, setDemographicsField6, setDemographicsField6, setDemographicsField7, setDepartmentNumber, setDescription, setDisplayName, setDistinguishedName, setEmail1, setEmail2, setEmployeeId, setEmployeeType, setEncipheredMerchantKey, setFax1, setFax2, setFirstName, setGender, setHobbies, setHousehold, setHousehold, setIncome, setIncome, setIncomeCurrency, setLastName, setLogonId, setLogonPassword, setLogonPasswordVerify, setManager, setMaritalStatus, setMerchantKey, setMiddleName, setOfficeAddress, setOrderBefore, setOrganizationId, setOrganizationId, setOrganizationName, setOrganizationUnitId, setOrganizationUnitId, setOrganizationUnitName, setPackageSuppression, setPackageSuppression, setPasswordExpired, setPasswordExpired, setPersonTitle, setPhone1, setPhone1Type, setPhone2, setPhone2Type, setPhoto, setPreferredCommunication, setPreferredCurrency, setPreferredDelivery, setPreferredLanguage, setPreferredLanguage, setPreferredMeasure, setPrimary, setPrimary, setProfileType, setPublishPhone1, setPublishPhone1, setPublishPhone2, setPublishPhone2, setSecretary, setShippingGeoCode, setState, setStatus, setTaxGeoCode, setTaxPayerId, setTimeZone, setURL, setUserField1, setUserField2, setUserField3, setUserProfileField1, setUserProfileField2, setUserStatus, setUserStatus, setWorkingUserId, setZipCode
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT

flowContext

protected java.lang.String flowContext

stateIdentifier

protected java.lang.Integer stateIdentifier

userFlowEntityBean

protected com.ibm.commerce.usermanagement.commands.UserFlowEntityBean userFlowEntityBean
Constructor Detail

UserRegistrationAddPreApprovalCmdImpl

public UserRegistrationAddPreApprovalCmdImpl()
Method Detail

getEntityId

public java.lang.Long getEntityId()

getEntityObject

public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()

getFlowContext

public java.lang.String getFlowContext()

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class UserRegistrationAddCmdImpl
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

reset

public void reset()
Description copied from interface: UserRegistrationCmd
Reset all instance variables of the command to initial state so it can be used again.
Specified by:
reset in interface UserRegistrationCmd
Overrides:
reset in class UserRegistrationCmdImpl

setFlowContext

public void setFlowContext(java.lang.String newFlowContext)

setStateIdentifier

public void setStateIdentifier(java.lang.Integer aStateIdentifier)