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

Class ChangeSearchTermAssociationMediator

    • Field Detail

      • COPYRIGHT

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

      • ChangeSearchTermAssociationMediator

        public ChangeSearchTermAssociationMediator()
    • Method Detail

      • create

        public void create(java.lang.Object aNoun)
                    throws AbstractApplicationException
        This method populates the physical data container with the physical SDO object to create. It sets all the SearchTermAssociation data, including any provided user data, from the logical SearchTermAssociation noun.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object to create.
        Throws:
        AbstractApplicationException
      • delete

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

        public java.lang.Object findPhysicalEntity(java.lang.Object aNoun)
                                            throws DataMediatorException
        This method returns the physical SDO from the PhysicalDataContainer that was created in the initializePhysicalDataContainer method that matches the provided noun.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO.
        Returns:
        This method returns the physical SDO object if it is found, otherwise it returns null.
        Throws:
        DataMediatorException
      • validateCreate

        public java.util.List validateCreate(java.lang.Object aNoun)
                                      throws DataMediatorException
        This method checks if the logical SearchTermAssociation noun can be created. If the noun cannot be created, the appropriate error exception is added to the list of exceptions to be returned to the caller. By default this method does nothing because the check for a duplicate record is done in the create() method.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object to validate.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty.
        Throws:
        DataMediatorException
      • validateChange

        public java.util.List validateChange(java.lang.Object aNoun)
                                      throws DataMediatorException
        This method checks if the logical SearchTermAssociationnoun 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.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object to validate.
        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)
                                      throws DataMediatorException
        This method checks if the logical SearchTermAssociation noun can be deleted. If the noun cannot be deleted, the appropriate error exception is added to the list of exceptions to be returned to the caller.
        Parameters:
        aNoun - The logical SearchTermAssociationType SDO business object to validate.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty.
        Throws:
        DataMediatorException