public class UserRegistrationAddPreApprovalCmdImpl extends UserRegistrationAddCmdImpl implements UserRegistrationAddPreApprovalCmd
This command replaces UserRegistrationAddCmd in WCS V5.1. After the user is registered, the user automatically logs on.
A B2B user can be created by specified profileType equals to 'B'. B2B users may need to be approved. To register a user under an organization or organizational unit, specify the parameter parentMember.
The information of the new user is stored in the MEMBER, USERS, USERREG, MBRREL, USERPROF, BUSPROF, USERDEMO and ADDRESS tables.
Use this command with SSL (Secure Sockets Layer) to ensure that the information are encrypted. To do so type the command with the HTTPS secure protocol.
The parameter URL, logonId, logonPassword and logonPasswordVerify are mandatory. The rest of the parameters are all optional.
Behavior
Exception Conditions
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.
|
protected java.lang.String | flowContext
The flow context.
|
protected java.lang.Integer | stateIdentifier
The state identifier.
|
protected com.ibm.commerce.member.helpers.UserFlowEntityBean | userFlowEntityBean
The user flow entity bean.
|
Constructor and Description |
---|
UserRegistrationAddPreApprovalCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getEntityId()
Returns the entity identifier.
|
com.ibm.commerce.ubf.beans.BusinessFlowEntityBean | getEntityObject()
Returns the entity object.
|
java.lang.String | getFlowContext()
Returns the flow context.
|
void | performExecute()
Sets the user registration state to pre-approved and then sets the roles for the member in the organization.
|
void | reset()
Resets the command so it can be reused for another call.
|
void | setFlowContext(java.lang.String newFlowContext)
Sets the flow context.
|
void | setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected com.ibm.commerce.member.helpers.UserFlowEntityBean userFlowEntityBean
protected java.lang.Integer stateIdentifier
protected java.lang.String flowContext
public UserRegistrationAddPreApprovalCmdImpl()
public java.lang.Long getEntityId()
public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
public java.lang.String getFlowContext()
public void performExecute() throws ECException
public void reset()
public void setFlowContext(java.lang.String newFlowContext)
public void setStateIdentifier(java.lang.Integer aStateIdentifier)