com.ibm.commerce.giftcenter.commands

Class GenerateGiftListExternalIdCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, GenerateGiftListExternalIdCmd, 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 GenerateGiftListExternalIdCmdImpl
    extends TaskCommandImpl
    implements GenerateGiftListExternalIdCmd
    The default implementation of the GenerateGiftListExternalIdCmd task command interface. The GiftListType noun should be set before invoking the performExecute method. The command sets the external identifier property of the GiftListType noun which is passed as the input. The default implementation uses the gift list unique identifier itself as the gift list external identifier. You can override this implementation to generate the external identifier in a different way. GenerateGiftListExternalIdCmd.setGiftListType(GiftListType)
    See Also:
    Serialized Form
    • 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
        Constants for logging and tracing.
    • Constructor Detail

      • GenerateGiftListExternalIdCmdImpl

        public GenerateGiftListExternalIdCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Performs the business logic to set the gift list external identifier The value of the XPath expression DataArea/GiftList/GIftListIdentifier/UniqueId would be set to DataArea/GiftList/GIftListIdentifier/GiftListExternalIdentifier/ExternalIdentifier
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException
        See Also:
        super.performExecute()