com.ibm.commerce.messaging.commands

Class GetRecipientsCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, GetRecipientsCmd, 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 GetRecipientsCmdImpl
    extends TaskCommandImpl
    implements GetRecipientsCmd
    This is the default implementation of GetRecipientsCmd.
    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

      • GetRecipientsCmdImpl

        public GetRecipientsCmdImpl()
    • Method Detail

      • getMemberIds

        public java.lang.Long[] getMemberIds()
        Gets the message recipients.
        Specified by:
        getMemberIds in interface GetRecipientsCmd
        Returns:
        The array of message recipients
      • setCatalogEntryId

        public void setCatalogEntryId(java.lang.Long anCatalogEntryId)
        Sets The catalog entry (for targeted broadcast).
        Specified by:
        setCatalogEntryId in interface GetRecipientsCmd
        Parameters:
        anCatalogEntryId - The catalog entry Id to set
      • setContractId

        public void setContractId(java.lang.Long anContractId)
        Sets The contract (for targeted broadcast).
        Specified by:
        setContractId in interface GetRecipientsCmd
        Parameters:
        anContractId - The contract Id to set.
      • setMode

        public void setMode(java.lang.Integer anMode)
        Sets The broadcast mode.
        Specified by:
        setMode in interface GetRecipientsCmd
        Parameters:
        anMode - The broadcast mode to set. 0 - broadcast to all customers.
        2 - broadcast to targeted customers.
        3 - broadcast to all registered users.
      • setOfferId

        public void setOfferId(java.lang.Long anOfferId)
        Sets The offer (for targeted broadcast).
        Specified by:
        setOfferId in interface GetRecipientsCmd
        Parameters:
        anOfferId - The offer Id to set.
      • setPartNumber

        public void setPartNumber(java.lang.String astrPartNumber)
        Sets The part number (for targeted broadcast).
        Specified by:
        setPartNumber in interface GetRecipientsCmd
        Parameters:
        astrPartNumber - The part number to set.