java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.membergroup.commands.DuplicateMemberGroupCmdImpl
This class implements the DuplicateMemberGroupCmd interface to provide the task command that duplicate a member group. AccessBean used within the implementation:MemberGroupMemberAccessBean,MemberGroupAccessBean, RecognizedMemberGroupAccessBean,MemberGroupUsageAccessBean.
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. DuplicateMemberGroupCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
DuplicateMemberGroupCmdImpl() |
Method Summary | |
---|---|
java.lang.Long |
getMemberGroupId() get the member group Id. |
java.lang.Long |
getOrigMemberGroupId() get the member group Id to be duplicated. |
boolean |
isReadyToCallExecute() Checks to see if the command is ready to call. |
void |
performExecute() Performs the execution of the command. |
void |
setMbrGrpDescription(java.lang.String description) set the member group description. |
void |
setMbrGrpName(java.lang.String name) set the member group name. |
void |
setMemberGroupDisplayName(java.lang.String _newMemberGroupDisplayName) Sets the _newMemberGroupDisplayName. |
void |
setMemberGroupId(java.lang.Long memberGroupId) set the member group 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
Constructor Detail |
---|
public DuplicateMemberGroupCmdImpl()
Method Detail |
---|
public void setMemberGroupId(java.lang.Long memberGroupId)
setMemberGroupId
in interface
DuplicateMemberGroupCmd
memberGroupId
- the Id of the membergroup.public void setMbrGrpName(java.lang.String name)
setMbrGrpName
in interface
DuplicateMemberGroupCmd
name
- the name of the membergroup.public void setMbrGrpDescription(java.lang.String description)
setMbrGrpDescription
in interface
DuplicateMemberGroupCmd
description
- the description of the
membergroup.public java.lang.Long getOrigMemberGroupId()
getOrigMemberGroupId
in interface
DuplicateMemberGroupCmd
public java.lang.Long getMemberGroupId()
getMemberGroupId
in interface
DuplicateMemberGroupCmd
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 DuplicateMemberGroupCmd
implementation can not
execute successfully.public void setMemberGroupDisplayName(java.lang.String _newMemberGroupDisplayName)
_newMemberGroupDisplayName
- The _newMemberGroupDisplayName to
set