com.ibm.commerce.membergroup.commands

Interface DuplicateMemberGroupCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    DuplicateMemberGroupCmdImpl


    public interface DuplicateMemberGroupCmd
    extends TaskCommand
    This interface must be implemented to provide a task command that adds a member to a member group. Different implementations of this interface can be provided for different stores.
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The name of the default implementation of this interface.
        See Also:
        Constant Field Values
    • Method Detail

      • setMemberGroupId

        void setMemberGroupId(java.lang.Long memberGroupId)
        Sets the member group ID to be duplicated. This parameter is required.
        Parameters:
        memberGroupId - The ID of the member group.
      • setMbrGrpName

        void setMbrGrpName(java.lang.String name)
        Sets new member group name. This parameter is required.
        Parameters:
        name - The name of new member group.
      • setMbrGrpDescription

        void setMbrGrpDescription(java.lang.String description)
        Sets new member group description. This parameter is optional.
        Parameters:
        description - The description of new member group.
      • getOrigMemberGroupId

        java.lang.Long getOrigMemberGroupId()
        Return the member group ID to be duplicated.
        Returns:
        The ID of the member group to be duplicated.
      • getMemberGroupId

        java.lang.Long getMemberGroupId()
        Return the member group ID of the member group that is duplicated.
        Returns:
        memberGroupId The ID of the member group.
      • enableContentManagement

        void enableContentManagement(boolean enabled)
        Indicates whether Content Management flow should be used for the command
        Parameters:
        enabled - true will use the Content Management flow