com.ibm.commerce.wallet.facade.server.services.dataaccess.bom.mediator

Class ChangeWalletItemBasePartMediator

    • Field Detail

      • COPYRIGHT

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

      • ChangeWalletItemBasePartMediator

        public ChangeWalletItemBasePartMediator()
    • Method Detail

      • getNounPartXPaths

        public java.lang.String[] getNounPartXPaths()
        Returns the XPath of the noun part.
        Returns:
        XPath of the noun part.
      • validateCreate

        public java.util.List validateCreate(java.lang.Object aNoun,
                                             java.lang.Object aNounPart)
        Does nothing.
        Parameters:
        aNoun - The noun.
        aNounPart - The noun part.
        Returns:
        null.
      • validateChange

        public java.util.List validateChange(java.lang.Object aNoun,
                                             java.lang.Object aNounPart)
                                      throws DataMediatorException
        Validates that the physical entity corresponding to a noun can be updated using information from the noun.
        Parameters:
        aNoun - The noun.
        aNounPart - The noun part.
        Returns:
        the list of validation errors.
        Throws:
        DataMediatorException
      • validateDelete

        public java.util.List validateDelete(java.lang.Object aNoun,
                                             java.lang.Object aNounPart)
        Does nothing.
        Parameters:
        aNoun - The noun.
        aNounPart - The noun part.
        Returns:
        null.
      • create

        public void create(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
        Does nothing.
        Parameters:
        aNoun - The noun.
        aNounPart - The noun part.
      • update

        public void update(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        Updates the physical entity corresponding to the noun using information from the noun.
        Parameters:
        aNoun - The noun.
        aNounPart - The noun part.
        Throws:
        AbstractApplicationException
      • delete

        public void delete(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
        Does nothing.
        Parameters:
        aNoun - The noun.
        aNounPart - The noun part.
      • findPhysicalEntity

        public java.lang.Object findPhysicalEntity(java.lang.Object aNoun,
                                                   java.lang.Object aNounPart)
                                            throws DataMediatorException
        Finds the physical entity corresponding to the noun in the parent physical data container.
        Parameters:
        aNoun - The noun.
        aNounPart - The noun part.
        Returns:
        the physical entity, if found.
        Throws:
        DataMediatorException