com.ibm.commerce.component.giftregistry.objimpl

Class GiftRegistryServiceBeanBase

    • Field Detail

    • Constructor Detail

      • GiftRegistryServiceBeanBase

        public GiftRegistryServiceBeanBase()
    • Method Detail

      • updateGiftRegistry

        public ConfirmGiftRegistryBOD updateGiftRegistry(UpdateGiftRegistryBOD input)
                                                  throws ServiceException
        This method adds or changes a gift registry. It updates the GiftRegistryVO graph.
        Delegates work to com.ibm.commerce.component.giftregistry.commands.UpdateGiftRegistryCmd.
        The input UpdateGiftRegistryBOD has:
        • Verb: UpdateVerb
        • Possible verb actions: 1) 'Update' - Updates/Cancels a GiftRegistryVO, 2) 'Add' - Creates a GiftRegistryVO
        • Noun: GiftRegistryVO
        Parameters:
        UpdateGiftRegistryBOD -
        Returns:
        ConfirmGiftRegistryBOD on error
        Throws:
        ServiceException
        EJBException
      • cancelGiftRegistry

        public ConfirmGiftRegistryBOD cancelGiftRegistry(CancelGiftRegistryBOD input)
                                                  throws ServiceException
        This method cancels a gift registry. The gift registry will not be searchable once canceled.
        Delegates work to com.ibm.commerce.component.giftregistry.commands.CancelGiftRegistryCmd.
        The input UpdateGiftRegistryBOD has:
        • Verb: CancelVerb
        • Possible verb actions: 'Cancel' - Cancels the specified gift registry
        • Noun: GiftRegistryVO
        Parameters:
        UpdateGiftRegistryBOD -
        Returns:
        ConfirmGiftRegistryBOD on error
        Throws:
        ServiceException
        EJBException
      • postGiftRegistryAnnouncement

        public ConfirmGiftRegistryAnnouncementBOD postGiftRegistryAnnouncement(PostGiftRegistryAnnouncementBOD input)
                                                                        throws ServiceException
        This method sends out an announcement email to the addresses specified in the GiftRegistryAnnouncementVO.
        It also records that the announcement history as a reminder for the registrant.
        Delegates work to com.ibm.commerce.component.giftregistry.commands.PostGiftRegistryAnnouncementCmd.
        The input PostGiftRegistryBOD has:
        • Verb: PostVerb
        • Possible verb actions: 'Post' - Default action
        • Noun: GiftRegistryAnnouncementVO
        Parameters:
        PostGiftRegistryBOD -
        Returns:
        ConfirmGiftRegistryAnnouncementBOD on error
        Throws:
        ServiceException
        EJBException
      • updateGiftRegistryPurchaseRecord

        public ConfirmGiftRegistryPurchaseRecordBOD updateGiftRegistryPurchaseRecord(UpdateGiftRegistryPurchaseRecordBOD input)
                                                                              throws ServiceException
        This method adds, changes and deletes purchase records for a given gift registry.
        Delegates work to com.ibm.commerce.component.giftregistry.commands.UpdateGiftRegistryPurchaseRecordCmd.
        The input UpdateGiftRegistryPurchaseRecordBOD has:
        • Verb: UpdateVerb
        • Possible verb actions per noun:
          • 1) 'Update' - When specified, a purchase record noun is updated
          • 2) 'Add' - When specified, a purchase record noun is added;
          • 3) 'Cancel' - When specified, a purchase record noun is deleted.
        • Noun: GiftRegistryPurchaseRecordVO
        Parameters:
        UpdateGiftRegistryPurchaseRecordBOD -
        Returns:
        ConfirmGiftRegistryPurchaseRecordBOD on error
        Throws:
        ServiceException
        EJBException
      • authenticateGiftRegistry

        public ConfirmAuthenticationGiftRegistryBOD authenticateGiftRegistry(AuthenticationGiftRegistryBOD input)
                                                                      throws ServiceException
        This method authenticates a shopper and creates a context for this shopper to act under. Delegates work to com.ibm.commerce.component.giftregistry.commands.ProcessGiftRegistryAuthenticationCmd. The input AuthenticateGiftRegistryBOD has:
        • Verb: PostVerb
        • Possible verb actions: 1) 'Post' - Default action
        • Noun: GiftRegistryAuthenticationVO
        Parameters:
        AuthenticateGiftRegistryBOD -
        Returns:
        ConfirmAuthenticationGiftRegistryBOD on error
        Throws:
        ServiceException
        EJBException
      • syncGiftRegistry

        public ConfirmGiftRegistryBOD syncGiftRegistry(UpdateGiftRegistryBOD input)
                                                throws ServiceException
        This method is used to synchronize gift registry data on 2 systems. Delegates work to com.ibm.commerce.component.giftregistry.commands.SyncGiftRegistryCmd. The input UpdateGiftRegistryBOD has:
        • Verb: SyncVerb
        • Possible verb actions: 1) 'Update' - Updates/Creates/Cancels a GiftRegistryVO
        • Noun: GiftRegistryVO
        Parameters:
        UpdateGiftRegistryBOD -
        Returns:
        ConfirmGiftRegistryBOD on error
        Throws:
        ServiceException
        EJBException