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

Class ChangeInventoryRequirementBasePartMediator

    • Constructor Detail

      • ChangeInventoryRequirementBasePartMediator

        public ChangeInventoryRequirementBasePartMediator()
    • Method Detail

      • getNounPartXPaths

        public java.lang.String[] getNounPartXPaths()
        This method gets the xpath for the main noun part.
        Returns:
        The xpath for the main 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 the ChangeInventoryRequirementMediator .
        Parameters:
        aNoun - The logical InventoryRequirementType SDO business object.
        aNounPart - The logical InventoryRequirementType 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 InventoryRequirementType noun can be updated. It checks that the noun exists in the physical data container 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 InventoryRequirementType SDO business object to validate.
        aNounPart - The logical InventoryRequirementType 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 ChangeInventoryRequirementMediator .
        Parameters:
        aNoun - The logical InventoryRequirementType SDO business object.
        aNounPart - The logical InventoryRequirementType 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 Inventoryrequirement physical SDO from the PhysicalDataContainer that was created in the ChangeInventoryRequirementMediator mediator.
        Parameters:
        aNoun - The logical InventoryRequirementType SDO.
        aNounPart - The logical InventoryRequirementType SDO.
        Returns:
        This method returns the Inventoryrequirement object if it is found, otherwise it returns null.
        Throws:
        DataMediatorException