java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.membergroup.commands.AddMemberGroupMembersCmdImpl
This class implements the AddMemberGroupMembersCmd interface to provide the task command that adds a list of members to a member group. AccessBean used within the implementation:MemberGroupMemberAccessBean.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.membergroup.commands. AddMemberGroupMembersCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
AddMemberGroupMembersCmdImpl() |
Method Summary | |
---|---|
java.lang.Long |
getMemberGroupId() Gets the ID of this member group. |
boolean |
isReadyToCallExecute() Checks to see if the command is ready to call. |
void |
performExecute() Performs the execution of the command. |
void |
setCustomerId(java.lang.String customerId) Sets the customer ID. |
void |
setExclude(java.lang.String exclude) Sets the exclude flag. |
void |
setField1(java.lang.String field1) Sets the custom field 1 value. |
void |
setMemberGroupId(java.lang.Long memberGroupId) Sets the member group ID. |
void |
setMemberIds(java.lang.Long[] memberIds) Sets the member IDs. |
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,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public AddMemberGroupMembersCmdImpl()
Method Detail |
---|
public void setMemberGroupId(java.lang.Long memberGroupId)
setMemberGroupId
in interface
AddMemberGroupMembersCmd
memberGroupId
- the Id of the membergroup.public void setMemberIds(java.lang.Long[] memberIds)
setMemberIds
in interface
AddMemberGroupMembersCmd
memberIds
- the IDs of the members to be
added.public void setExclude(java.lang.String exclude)
setExclude
in interface
AddMemberGroupMembersCmd
exclude
- exclude flag of the memberspublic void setField1(java.lang.String field1)
setField1
in interface
AddMemberGroupMembersCmd
field1
- custom field 1public void setCustomerId(java.lang.String customerId)
setCustomerId
in interface
AddMemberGroupMembersCmd
customerId
- the customer Id of mbrgrpmbr
table.public java.lang.Long getMemberGroupId()
getMemberGroupId
in interface
AddMemberGroupMembersCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
true
if the command is ready to gopublic void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- Thrown when the AddMemberGroupMembersCmd
implementation can not
execute successfully.