com.ibm.commerce.membergroup.commands

Class UpdateMemberGroupCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, UpdateMemberGroupCmd, 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 UpdateMemberGroupCmdImpl
    extends TaskCommandImpl
    implements UpdateMemberGroupCmd
    This class implements the UpdateMemberGroupCmd interface to provide the task command that updates a member group. AccessBean used within the implementation:MemberGroupAccessBean.
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • UpdateMemberGroupCmdImpl

        public UpdateMemberGroupCmdImpl()
    • Method Detail

      • enableContentManagement

        public void enableContentManagement(boolean enabled)
        Indicates whether Content Management flow should be used for the command
        Specified by:
        enableContentManagement in interface UpdateMemberGroupCmd
        Parameters:
        enabled - true will use the Content Management flow
      • setMemberGroupId

        public void setMemberGroupId(java.lang.Long id)
        Sets the member group ID.
        Specified by:
        setMemberGroupId in interface UpdateMemberGroupCmd
        Parameters:
        id - The member group ID.
      • setMemberGroupName

        public void setMemberGroupName(java.lang.String name)
        Sets the member group name.
        Specified by:
        setMemberGroupName in interface UpdateMemberGroupCmd
        Parameters:
        name - The member group name.
      • setMemberGroupOwnerId

        public void setMemberGroupOwnerId(java.lang.Long ownerId)
        Sets the member group owner ID.
        Specified by:
        setMemberGroupOwnerId in interface UpdateMemberGroupCmd
        Parameters:
        ownerId - The member group owner ID.
      • setMemberGroupDescription

        public void setMemberGroupDescription(java.lang.String description)
        Sets the member group description.
        Specified by:
        setMemberGroupDescription in interface UpdateMemberGroupCmd
        Parameters:
        description - The member group description.
      • setMemberGroupConditions

        public void setMemberGroupConditions(java.lang.String conditions)
        Sets the member group conditions.
        Specified by:
        setMemberGroupConditions in interface UpdateMemberGroupCmd
        Parameters:
        conditions - The member group conditions.
      • setMemberGroupDN

        public void setMemberGroupDN(java.lang.String dn)
        Sets the member group distinguished name.
        Specified by:
        setMemberGroupDN in interface UpdateMemberGroupCmd
        Parameters:
        dn - The member group distinguished name.
      • setMemberGroupField1

        public void setMemberGroupField1(java.lang.String field1)
        Sets the member group custom field 1.
        Specified by:
        setMemberGroupField1 in interface UpdateMemberGroupCmd
        Parameters:
        field1 - The member group custom field 1.
      • setMemberGroupField2

        public void setMemberGroupField2(java.lang.String field2)
        Sets the member group custom field 2.
        Specified by:
        setMemberGroupField2 in interface UpdateMemberGroupCmd
        Parameters:
        field2 - The member group custom field 2.
      • setMemberGroupField3

        public void setMemberGroupField3(java.lang.String field3)
        Sets the member group custom field 3.
        Specified by:
        setMemberGroupField3 in interface UpdateMemberGroupCmd
        Parameters:
        field3 - The member group custom field 3.
      • setMemberGroupOID

        public void setMemberGroupOID(java.lang.String oid)
        Sets the member group OID.
        Specified by:
        setMemberGroupOID in interface UpdateMemberGroupCmd
        Parameters:
        oid - The member group OID.
      • getMemberGroupId

        public java.lang.Long getMemberGroupId()
        Gets the ID of this member group.
        Specified by:
        getMemberGroupId in interface UpdateMemberGroupCmd
        Returns:
        ID of this member group.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks to see if the command is ready to call. This method will return false if the member group ID is null.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        true if the command is ready to go.
      • setMemberGroupDisplayName

        public void setMemberGroupDisplayName(java.lang.String _memberGroupDisplayName)
        Sets the _memberGroupDisplayName.
        Parameters:
        _memberGroupDisplayName - The _memberGroupDisplayName to set
      • setMemberGroupUsageTypeId

        public void setMemberGroupUsageTypeId(java.lang.String usageTypeId)
        Sets the _memberGroupUsageTypeId.
        Specified by:
        setMemberGroupUsageTypeId in interface UpdateMemberGroupCmd
        Parameters:
        _memberGroupUsageTypeId - The _memberGroupUsageTypeId to set