com.ibm.commerce.membergroup.commands
Class DeleteMemberGroupAllMemberCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.membergroup.commands.DeleteMemberGroupAllMemberCmdImpl
- All Implemented Interfaces:
- DeleteMemberGroupAllMemberCmd, ECCommand, ECTargetableCommand, TaskCommand
- public class DeleteMemberGroupAllMemberCmdImpl
- extends TaskCommandImpl
- implements DeleteMemberGroupAllMemberCmd
This class implements the DeleteMemberGroupAllMemberCmd interface to provide the task command that removes all member from a member group. AccessBean used within the implementation:MemberGroupMemberAccessBean.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
- See Also:
- Constant Field Values
DeleteMemberGroupAllMemberCmdImpl
public DeleteMemberGroupAllMemberCmdImpl()
setMemberGroupId
public void setMemberGroupId(java.lang.Long memberGroupId)
- set the member group ID.
-
- Specified by:
- setMemberGroupId in interface DeleteMemberGroupAllMemberCmd
-
- Parameters:
- memberGroupId - the Id of the membergroup.
setExclusion
public void setExclusion(java.lang.String exclusion)
- set the exclude flag.
-
- Specified by:
- setExclusion in interface DeleteMemberGroupAllMemberCmd
-
- Parameters:
- exclusion - .
getMemberGroupId
public java.lang.Long getMemberGroupId()
- Gets the ID of this member group.
-
- Specified by:
- getMemberGroupId in interface DeleteMemberGroupAllMemberCmd
-
- Returns:
- ID of this member group.
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Checks to see if the command is ready to call. This method will return false if either the member group ID or the member ID are null.
-
- Overrides:
- isReadyToCallExecute in class AbstractECTargetableCommand
-
- Returns:
- true if the command is ready to go.
performExecute
public void performExecute()
throws ECException
- Performs the execution of the command.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException - Thrown when the DeleteMemberGroupAllMemberCmd implementation can not execute successfully.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.