com.ibm.commerce.membergroup.commands

Class AddMemberGroupCmdImpl

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

    • Constructor Detail

      • AddMemberGroupCmdImpl

        public AddMemberGroupCmdImpl()
    • Method Detail

      • setIsCalledFromService

        public void setIsCalledFromService(boolean bService)
        Indicates whether this task command is called from a service.
        Specified by:
        setIsCalledFromService in interface AddMemberGroupCmd
        Parameters:
        bService - true the command is called from a service.
      • enableContentManagement

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

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

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

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

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

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

        public void setMemberGroupField1(java.lang.String field1)
        Sets the member group custom field 1.
        Specified by:
        setMemberGroupField1 in interface AddMemberGroupCmd
        Parameters:
        field1 - 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 AddMemberGroupCmd
        Parameters:
        field2 - 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 AddMemberGroupCmd
        Parameters:
        field3 - Member group custom field 3.
      • setMemberGroupOID

        public void setMemberGroupOID(java.lang.String oid)
        Sets the member group OID.
        Specified by:
        setMemberGroupOID in interface AddMemberGroupCmd
        Parameters:
        oid - Member group OID.
      • setMemberGroupUsageTypeId

        public void setMemberGroupUsageTypeId(java.lang.Integer usageTypeId)
        Sets the member group usage type ID.
        Specified by:
        setMemberGroupUsageTypeId in interface AddMemberGroupCmd
        Parameters:
        usageTypeId - Member group usage type ID.
      • getMemberGroupId

        public java.lang.Long getMemberGroupId()
        Gets the ID of this member group.
        Specified by:
        getMemberGroupId in interface AddMemberGroupCmd
        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 name 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 member group display name.
        Parameters:
        _memberGroupDisplayName - The _memberGroupDisplayName to set