public class ResellerRegistrationAddCmdImpl extends ControllerCommandImpl implements ResellerRegistrationAddCmd
Behavior
Exception Conditions
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ResellerRegistrationAddCmdImpl()
Constructor for ResellerRegistrationAddCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
protected void | assignRolesToMemberInOrg(java.lang.Long lMemberId, java.lang.Long lOrgEntityId, java.lang.Integer[] narrRoles)
Assign roles in an organization to a member specified by memberId.
|
protected void | createMemberGroupForApprovals(java.lang.Long lOrgentityId, java.lang.Long lUserId)
Creates the member group, UserRegistrationApprovalGroup, for approval of any user who registers under the new organization.
|
protected void | createMemberGroupForApprovals(java.lang.Long lOrgentityId, java.lang.Long lUserId, java.lang.Long lApprovalGroupType)
Creates the member group, UserRegistrationApprovalGroup, for approval of any user who registers under the new organization.
|
protected TypedProperty | executeRegisterOrganizationCommand(TypedProperty atpOrgRequestProperties, CommandContext aCommandContext)
This method is for IBM Internal Use only.
|
protected TypedProperty | executeRegisterUserCommand(TypedProperty atpUserRequestProperties, CommandContext aCommandContext)
This method is for IBM Internal Use only.
|
java.lang.Long | getUniqueUserId()
Creates a new guest user, and returns the userId of this user.
|
boolean | isGeneric()
This command can be run by a generic user.
|
boolean | isRetriable()
This method determines whether this command is retriable on transaction rollback exceptions.
|
void | performExecute()
Executes the command.
|
protected void | prepareRequestProperties()
Prepares the request properties.
|
protected TypedProperty | removeSensitiveDataFromRequestProperties()
Remove sensitive data from request properties so that they will not show up in the krypto parameter in the URL.
|
protected void | setRegisterTypeForUser(java.lang.String strUserId)
Set the register type of the user depending on whether the user is a site administrator or any other administrator.
|
void | setRequestProperties(TypedProperty reqProperties)
Sets the request properties for this command.
|
protected void | setResellerOrgParent()
Sets the reseller organization parent in the request properties, based on the values in the MemberRegistrationAttributes.xml.
|
void | setViewInputProperties(TypedProperty tpRequestProperties)
Sets the input properties to be passed to the view command.
|
void | validateParameters()
Parameters are validated by the child commands for this flow.
|
public static final java.lang.String COPYRIGHT
public ResellerRegistrationAddCmdImpl()
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public void validateParameters() throws ECException
public void performExecute() throws ECException
protected TypedProperty executeRegisterOrganizationCommand(TypedProperty atpOrgRequestProperties, CommandContext aCommandContext) throws ECException
protected TypedProperty executeRegisterUserCommand(TypedProperty atpUserRequestProperties, CommandContext aCommandContext) throws ECException
public boolean isGeneric()
public boolean isRetriable()
protected void prepareRequestProperties()
protected void assignRolesToMemberInOrg(java.lang.Long lMemberId, java.lang.Long lOrgEntityId, java.lang.Integer[] narrRoles) throws ECException
protected void setResellerOrgParent() throws ECSystemException
protected void createMemberGroupForApprovals(java.lang.Long lOrgentityId, java.lang.Long lUserId)
protected void createMemberGroupForApprovals(java.lang.Long lOrgentityId, java.lang.Long lUserId, java.lang.Long lApprovalGroupType)
protected void setRegisterTypeForUser(java.lang.String strUserId)
public void setViewInputProperties(TypedProperty tpRequestProperties) throws ECException
public java.lang.Long getUniqueUserId() throws ECException
protected TypedProperty removeSensitiveDataFromRequestProperties()