public class ProcessMemberGroupAddActionCmdImpl extends AbstractProcessNounActionCmdImpl implements ProcessMemberGroupActionCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ProcessMemberGroupAddActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
The method calls the
AddMemberGroupCmd to create the member group. |
void |
validate()
This method validate the input before creating the member group.
|
getActionExpression, getNoun, isGeneric, isReadyToCallExecute, reset, setActionExpression, setNoun, setPersistentObjects
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isGeneric, setActionExpression, setNoun, setPersistentObjects
public static final java.lang.String COPYRIGHT
public void performExecute() throws java.lang.Exception
AddMemberGroupCmd
to create the member group.performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
- an exception will be throws when the create operation fails.public void validate() throws AbstractApplicationException
validate
in interface AbstractProcessNounActionCmd
AbstractApplicationException
- The application exception from validating the MemberGroup noun
The following errors conditions exists for this command:-
When the member group external identifier provided for the member group already exists for the given owner or store.
When the external identifier is missing.
When the member group name passed in from the external identifier is missing or the length exceeds 254 characters.