public class BuyerRegistrationAddCmdImpl extends ResellerRegistrationAddCmdImpl implements BuyerRegistrationAddCmd
org_
and usr_
. The non-prefixed names of
attributes are the same as for commands OrgEntityAddCmd and UserRegistrationAddCmd.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADDITIONAL_APPROVAL_GROUPS
Constant to indicate the KEY name used to pass additional approval group
names separated by comma (,).
|
static int |
APPROVAL_GROUPS_LENGTH
Constant to indicate the limit on the length of the approvalGroups supported.
|
static java.lang.String |
CLASSNAME
The class name
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
ORDER_PROCESS
Constant to indicate ORDER PROCESS APPROVAL group
|
static java.lang.String |
ORDER_PROCESS_DISABLE
Constant to indicate ORDER PROCESS Disapproval group
|
NAME
defaultCommandClassName
Constructor and Description |
---|
BuyerRegistrationAddCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getApprovalGroupId(java.lang.String approvalGroupName)
Given an approval group name this method returns the corresponding member
group approval Id.
|
void |
performExecute()
Delegates to super class to register new organization, new user and to
create Member group for approvals.
|
void |
setRequestProperties(TypedProperty requestProperties)
Sets the request properties.
|
getUniqueUserId, isGeneric, isRetriable, setViewInputProperties, validateParameters
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, 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, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, 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, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public static final java.lang.String ADDITIONAL_APPROVAL_GROUPS
public static final java.lang.String ORDER_PROCESS
public static final java.lang.String ORDER_PROCESS_DISABLE
public static final int APPROVAL_GROUPS_LENGTH
public void setRequestProperties(TypedProperty requestProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ResellerRegistrationAddCmdImpl
requestProperties
- the parameters passed to the command.ECException
- if there are miss parameters or parameters with invalid data specified.public void performExecute() throws ECException
ADDITIONAL_APPROVAL_GROUPS
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class ResellerRegistrationAddCmdImpl
ECException
TargetableCommand.performExecute()
public java.lang.Long getApprovalGroupId(java.lang.String approvalGroupName)
ORDER_PROCESS
and ORDER_PROCESS_DISABLE
. Override this
method to support additional approval group namesapprovalGroupName
- - Approval group name.ECMemberGroupConstants