public class RepresentativeAssignCustomerCmdImpl extends ToolsControllerCommandImpl implements RepresentativeAssignCustomerCmd
Behavior
Parameters
Response Parameters:
defaultCommandClassName, NAME| Constructor and Description |
|---|
RepresentativeAssignCustomerCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getCustomerIds()
Gets the customers to set up relationships for.
|
java.lang.Long |
getRepresentativeId()
Gets the CSR or CSR group ID.
|
AccessVector |
getResources()
Gets the resources that this command will touch.
|
java.util.Vector |
getSequences()
Gets the sequence numbers for the relationships.
|
void |
performExecute()
Creates or deletes the relationships for the CSR or CSR group.
|
void |
setCustomerIds(java.util.Vector inCustomerIds)
Sets the customer IDs.
|
void |
setRepresentativeId(java.lang.Long inRepId)
Sets the CSR or CSR group ID.
|
void |
setSequences(java.util.Vector inSequences)
Sets the sequence numbers for the relationships.
|
void |
validateParameters()
Gathers all the parameters expected by this command from the request.
|
getViewInputProperties, setRequestPropertiescheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic java.util.Vector getCustomerIds()
public java.lang.Long getRepresentativeId()
public java.util.Vector getSequences()
public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void validateParameters()
throws ECApplicationException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - thrown if mandatory parameters are missingpublic void setCustomerIds(java.util.Vector inCustomerIds)
inCustomerIds - list of customer IDs (each of type Long)public void setRepresentativeId(java.lang.Long inRepId)
inRepId - CSR or CSR group IDpublic void setSequences(java.util.Vector inSequences)
inSequences - list of relationship sequence numbers (each of type Double)