java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.membergroup.commands.DeleteMemberGroupMemberCmdImpl
This class implements the DeleteMemberGroupMemberCmd interface to provide the task command that removes a member from a member group. AccessBean used within the implementation:MemberGroupMemberAccessBean.
Field Summary | |
---|---|
protected
java.lang.Long |
_memberGroupId Member group ID. |
protected
java.lang.Long |
_memberId Member ID. |
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. DeleteMemberGroupMemberCmd |
defaultCommandClassName,
Name |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
DeleteMemberGroupMemberCmdImpl() |
Method Summary | |
---|---|
java.lang.String |
getMemberId() Gets the member ID. |
boolean |
isReadyToCallExecute() Checks to see if the command is ready to call. |
void |
performExecute() Performs the execution of the command. |
void |
setMemberGroupId(java.lang.Long memberGroupId) Sets the member group ID. |
void |
setMemberId(java.lang.Long memberId) Sets the member ID. |
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
protected java.lang.Long _memberGroupId
protected java.lang.Long _memberId
Constructor Detail |
---|
public DeleteMemberGroupMemberCmdImpl()
Method Detail |
---|
public java.lang.String getMemberId()
getMemberId
in interface
DeleteMemberGroupMemberCmd
public void setMemberGroupId(java.lang.Long memberGroupId)
setMemberGroupId
in interface
DeleteMemberGroupMemberCmd
memberGroupId
- Member group ID.public void setMemberId(java.lang.Long memberId)
setMemberId
in interface
DeleteMemberGroupMemberCmd
memberId
- Member ID.public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
true
if the command is ready to go.public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException