com.ibm.commerce.member.facade.server.commands

Class ProcessMemberGroupAddActionCmdImpl

  • All Implemented Interfaces:
    AbstractProcessNounActionCmd, ProcessMemberGroupActionCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ProcessMemberGroupAddActionCmdImpl
    extends AbstractProcessNounActionCmdImpl
    implements ProcessMemberGroupActionCmd
    This command will create a member group based on the following MemberGroup noun top level elements passed in from the request: MemberGroupIdentifier Usage 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.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

        LOCAL
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl

        getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.websphere.command.Command

        execute, isReadyToCallExecute, reset
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProcessMemberGroupAddActionCmdImpl

        public ProcessMemberGroupAddActionCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        The method calls the AddMemberGroupCmd to create the member group.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Specified by:
        performExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Throws:
        java.lang.Exception - an exception will be throws when the create operation fails.
      • validate

        public void validate()
                      throws AbstractApplicationException
        This method validate the input before creating the member group.
        Specified by:
        validate in interface AbstractProcessNounActionCmd
        Throws:
        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.