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

Class ComposeMemberGroupFromDataBeanSummaryCmdImpl

  • All Implemented Interfaces:
    ComposeMemberGroupFromDataBeanCmd, com.ibm.websphere.command.Command, java.io.Serializable


    public class ComposeMemberGroupFromDataBeanSummaryCmdImpl
    extends ComposeMemberGroupFromDataBeanBaseCmdImpl
    implements ComposeMemberGroupFromDataBeanCmd
    Populates the Member Group SDO with the following summary information:
  • /MemberGroup/MemberGroupIdentifier/UniqueID
  • /MemberGroup/MemberGroupIdentifier/ExternalIdentifier/Name
  • /MemberGroup/MemberGroupIdentifier/ExternalIdentifier/@ownerID
  • /MemberGroup/MemberGroupIdentifier/ExternalIdentifier/StoreIdentifier/UniqueID
  • /MemberGroup/MemberGroupDescription
See Also:
Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • ComposeMemberGroupFromDataBeanSummaryCmdImpl

        public ComposeMemberGroupFromDataBeanSummaryCmdImpl()
        Constructor
    • Method Detail

      • execute

        public void execute()
                     throws com.ibm.websphere.command.CommandException
        Populates the Member Group SDO with the following summary information:
      • /MemberGroup/MemberGroupIdentifier
      • /MemberGroup/MemberGroupDescription This methods creates the MemberGroup object by calling the createMemberGroupSummary() method and adds the member group description(s) returned by calling the createMemberGroupDescription() method.
Specified by:
execute in interface com.ibm.websphere.command.Command
Throws:
com.ibm.websphere.command.CommandException - if an error occurs
  • isReadyToCallExecute

    public boolean isReadyToCallExecute()
    Checks if the command is ready to execute.
    Specified by:
    isReadyToCallExecute in interface com.ibm.websphere.command.Command
    Returns:
    true if the member group data bean is not null; false otherwise
    See Also:
    Command.isReadyToCallExecute()
  • reset

    public void reset()
    Sets the instance variables to null.
    Specified by:
    reset in interface com.ibm.websphere.command.Command