com.ibm.commerce.membergroup.commands
Class DeleteMemberGroupCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.membergroup.commands.DeleteMemberGroupCmdImpl
- All Implemented Interfaces:
- DeleteMemberGroupCmd, ECCommand, TaskCommand
- public class DeleteMemberGroupCmdImpl
- extends TaskCommandImpl
- implements DeleteMemberGroupCmd
This class implements the DeleteMemberGroupCmd interface to
provide the task command that deletes a member group.
Field Summary |
protected java.lang.Long |
_memberGroupId
Member group ID. |
static java.lang.String |
COPYRIGHT
Copyright. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
_memberGroupId
protected java.lang.Long _memberGroupId
- Member group ID.
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
DeleteMemberGroupCmdImpl
public DeleteMemberGroupCmdImpl()
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Checks to see if the command is ready to call. This method will return
false if the member group ID is null.
- Overrides:
isReadyToCallExecute
in class AbstractECCommand
- 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 AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setMemberGroupId
public void setMemberGroupId(java.lang.Long memberGroupId)
- Description copied from interface:
DeleteMemberGroupCmd
- Sets the member group ID. This parameter is required.
- Specified by:
setMemberGroupId
in interface DeleteMemberGroupCmd
- Following copied from interface:
com.ibm.commerce.membergroup.commands.DeleteMemberGroupCmd
- Parameters:
memberGroupId
- The ID of the member group.