Class UpdateGiftRegistryPurchaseRecordCmdImpl

  • All Implemented Interfaces:
    BusinessObjectDocumentCmd,, ECCommand, ECTargetableCommand, TaskCommand, UpdateGiftRegistryCmd,,,,,,

    public class UpdateGiftRegistryPurchaseRecordCmdImpl
    extends BusinessObjectDocumentCmdImpl
    implements UpdateGiftRegistryCmd
    Create or update the purchase record for the gift item

    • execute CheckGiftRegistryPurchaseRecordEligibilityCmd, to validate the inputs
    • execute PersistGiftRegistryItemPurchaseRecordCmd, to store the purchase record to the database

    On error, an ECException is thrown from descendant classes.
    See Also:
    Serialized Form
    • Field Detail


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

      • UpdateGiftRegistryPurchaseRecordCmdImpl

        public UpdateGiftRegistryPurchaseRecordCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        This command checks if a given gift registry purchase record is eligible to be updated or created. Then, this command persists the gift registry purchase record.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand