java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.orderquotation.commands.GetOrgDistributorPartnerInfoCmdImpl
Get the organization distributor partner information from the user attribute OrgDistributorPartnerId and from the appropriate member group, owned by the referral store, of type = Partner Group Type.
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.orderquotation.commands. GetOrgDistributorPartnerInfoCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
GetOrgDistributorPartnerInfoCmdImpl() Constructor for GetCredentialsCmdImpl |
Method Summary | |
---|---|
java.lang.String |
getBusinessPartnerGrouping() Get the business partner grouping. |
java.lang.String |
getCustomerNo() Get the customer number. |
void |
performExecute() Execute the command. |
void |
reset() Resets the command. |
void |
setDistributor(java.lang.Integer theStoreId) Set the distributor's store id for the credentials. |
void |
setOrgId(java.lang.Long theOrgId) Set the organization id. |
void |
validateParameters() Check mandatory parameters. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Constructor Detail |
---|
public GetOrgDistributorPartnerInfoCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
EXException
- These exceptions are allowed to percolate.ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
- Raised with message
_ERR_BAD_MISSING_CMD_PARAMETER if the org id or storeId is not specified.ECException
public void setDistributor(java.lang.Integer theStoreId)
setDistributor
in interface
GetOrgDistributorPartnerInfoCmd
theStoreId
- The distributor's store
id.public void setOrgId(java.lang.Long theOrgId)
setOrgId
in interface
GetOrgDistributorPartnerInfoCmd
theOrgId
- The organization id.public java.lang.String getCustomerNo()
getCustomerNo
in interface
GetOrgDistributorPartnerInfoCmd
public java.lang.String getBusinessPartnerGrouping()
getBusinessPartnerGrouping
in interface
GetOrgDistributorPartnerInfoCmd