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

Class ChangeSearchTermAssociationBasePartMediator

    • Field Detail

      • COPYRIGHT

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

      • ChangeSearchTermAssociationBasePartMediator

        public ChangeSearchTermAssociationBasePartMediator()
    • Method Detail

      • create

        public void create(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method performs no actions as SearchTermAssociation creation is done by the change SearchTermAssociation mediator.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object.
        aNounPart - The logical SearchTermAssociationType SDO business object.
        Throws:
        AbstractApplicationException
      • update

        public void update(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method updates the physical data container with the modified physical SDO object.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object to update.
        aNounPart - The logical SearchTermAssociationType SDO business object to update.
        Throws:
        AbstractApplicationException
      • delete

        public void delete(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method performs no actions as SearchTermAssociation deletion is done by the change SearchTermAssociation mediator.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object.
        aNounPart - The logical SearchTermAssociationType SDO business object.
        Throws:
        AbstractApplicationException
      • getNounPartXPaths

        public java.lang.String[] getNounPartXPaths()
        This method gets the XPath for the main SearchTermAssociation noun part.
        Returns:
        The XPath for the main SearchTermAssociation noun part.
      • validateCreate

        public java.util.List validateCreate(java.lang.Object aNoun,
                                             java.lang.Object aNounPart)
                                      throws DataMediatorException
        This method performs no checking as the validation is done by ChangeSearchTermAssociationMediator.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object.
        aNounPart - The logical SearchTermAssociationType SDO business object.
        Returns:
        This method returns null.
        Throws:
        DataMediatorException
      • validateChange

        public java.util.List validateChange(java.lang.Object aNoun,
                                             java.lang.Object aNounPart)
                                      throws DataMediatorException
        This method checks if the logical SearchTermAssociation noun can be updated. If the noun cannot be updated, the appropriate error exception is added to the list of exceptions to be returned to the caller. By default, nothing is done here since ChangeSearchTermAssociationMediator.validateChange(Object) has the logic to ensure that the noun exists.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object to validate.
        aNounPart - The logical SearchTermAssociationType SDO business object.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty.
        Throws:
        DataMediatorException
      • validateDelete

        public java.util.List validateDelete(java.lang.Object aNoun,
                                             java.lang.Object aNounPart)
                                      throws DataMediatorException
        This method performs no checking as the validation is done by the Change SearchTermAssociation mediator.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object.
        aNounPart - The logical SearchTermAssociationType SDO business object.
        Returns:
        This method returns null.
        Throws:
        DataMediatorException
      • findPhysicalEntity

        public java.lang.Object findPhysicalEntity(java.lang.Object aNoun,
                                                   java.lang.Object aNounPart)
                                            throws DataMediatorException
        This method returns the physical SDO from the PhysicalDataContainer that was created in the ChangeSearchTermAssociationMediator mediator.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO.
        aNounPart - The logical SearchTermAssociationType SDO.
        Returns:
        This method returns the PhysicalSearchTermAssociation object if it is found, otherwise it returns null.
        Throws:
        DataMediatorException