com.ibm.commerce.component.giftregistry.commands

Class GenerateGiftRegistryExternalIdCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The class name of this class
    • Constructor Detail

      • GenerateGiftRegistryExternalIdCmdImpl

        public GenerateGiftRegistryExternalIdCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECApplicationException
        It is used to generate a unique external key for this registry. Current implementation is that the external key will be the same as the gift registry id. Override this method to generate your own external key. Since this external key is used for multi-channels, you may override this method. Then, it can generate a key based on your external system's requirement for the other channels.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECApplicationException