Add a participant to either a trading agreement (Contract/Account) or a Contract terms and conditions (WebSphere Commerce Business Edition only).
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The name of the default implementation class. |
static java.lang.String |
NAME The name of this interface. |
Method Summary | |
---|---|
void |
setInfo(java.lang.String info) Sets information of the participant |
void |
setMemberId(java.lang.Long memberId) Sets member ID of the participant. |
void |
setRole(java.lang.String role) Sets the role type of the participant. |
void |
setTcId(java.lang.Long tcId) Sets ID of the term and condition to which the participant will be added |
void |
setTradingId(java.lang.Long tradingId) Sets ID of the trading agreement to which the participant will be added |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setInfo(java.lang.String info)
info
- a string of information for the
participantpublic void setMemberId(java.lang.Long memberId)
memberId
- the member ID of the
participantpublic void setRole(java.lang.String role)
role
- the type of the participant rolepublic void setTcId(java.lang.Long tcId)
tcId
- term condition IDpublic void setTradingId(java.lang.Long tradingId)
tradingId
- the trading agreement ID