com.ibm.commerce.contract.commands
Interface ParticipantAddCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- ParticipantAddCmdImpl
- public interface ParticipantAddCmd
- extends ControllerCommand
Add a participant to either a trading agreement or terms and conditions (WebSphere Commerce Business Edition only).
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.ParticipantAddCmdImpl". |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.contract.commands.ParticipantAddCmd". |
Method Summary |
void |
setInfo(java.lang.String info)
Set information of the participant |
void |
setMemberId(java.lang.Long memberId)
Set member id of the participant |
void |
setRole(java.lang.String role)
Set type of the participant role |
void |
setTcId(java.lang.Long tcId)
Set id of the term and condition to which the participant will be added |
void |
setTradingId(java.lang.Long tradingId)
Set id of the trading agreement to which the participant will be added |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class is "com.ibm.commerce.contract.commands.ParticipantAddCmdImpl".
NAME
public static final java.lang.String NAME
- The name of this interface is "com.ibm.commerce.contract.commands.ParticipantAddCmd".
setInfo
public void setInfo(java.lang.String info)
- Set information of the participant
- Parameters:
info
- java.lang.String
setMemberId
public void setMemberId(java.lang.Long memberId)
- Set member id of the participant
- Parameters:
memberId
- java.lang.Long
setRole
public void setRole(java.lang.String role)
- Set type of the participant role
- Parameters:
role
- java.lang.String
setTcId
public void setTcId(java.lang.Long tcId)
- Set id of the term and condition to which the participant will be added
- Parameters:
tcId
- java.lang.Long
setTradingId
public void setTradingId(java.lang.Long tradingId)
- Set id of the trading agreement to which the participant will be added
- Parameters:
tradingId
- java.lang.Long