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

Class ECSAXUserRegistrationComponentMessageFlattener

  • java.lang.Object
    • com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXMemberRegistrationMessageFlattener
      • com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXUserRegistrationMessageFlattener
        • com.ibm.commerce.member.facade.server.commands.ECSAXUserRegistrationComponentMessageFlattener
  • All Implemented Interfaces:
    com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXMessageFlattener


    public class ECSAXUserRegistrationComponentMessageFlattener
    extends com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXUserRegistrationMessageFlattener
    implements com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXMessageFlattener
    Processes parameter values that are going to be sent to a command to ensure that they are in a format that the command can handle.

    1. Converts parameters like addressType from long form (Shipping) to short form (S)

    2. Appends userId parameter if logonId is specified.

    3. Appends logonPasswordVerify parameter (with same vale as logonPassword) if logonPasswordVerify value does not exist.

    4. Extracts custom member attributes and formats as follows: attributeName_storeName_action_number=value

    5. Converts boolean parameters to 1 or 0.

    • Constructor Detail

      • ECSAXUserRegistrationComponentMessageFlattener

        public ECSAXUserRegistrationComponentMessageFlattener()
        Constructor.
    • Method Detail

      • flattenMessage

        public CommandProperty flattenMessage(CommandProperty commandProperty)
        1. Converts parameters like addressType from long form (Shipping) to short form (S)

        2. Appends userId parameter if logonId is specified.

        3. Appends logonPasswordVerify parameter (with same vale as logonPassword) if logonPasswordVerify value does not exist.

        4. Extracts custom member attributes and formats as follows: attributeName_storeName_action_number=value

        5. Converts boolean parameters to 1 or 0.

        Specified by:
        flattenMessage in interface com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXMessageFlattener
        Overrides:
        flattenMessage in class com.ibm.commerce.messaging.programadapter.messagemapper.ecsax.ECSAXUserRegistrationMessageFlattener
        Parameters:
        commandProperty - Name value pairs to be processed
        Returns:
        Name value pairs after processing has been done