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

Class ChangeCatalogFilterCatalogGroupSelectionPartMediator

    • Field Detail

      • COPYRIGHT

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

      • ChangeCatalogFilterCatalogGroupSelectionPartMediator

        public ChangeCatalogFilterCatalogGroupSelectionPartMediator()
    • Method Detail

      • create

        public void create(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method creates the appropriate physical SDO and adds it to the physical data container.
        Parameters:
        aNoun - The logical CatalogFilterType SDO business object.
        aNounPart - The logical CatalogGroupSelectionType 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. It sets all the CatalogGroupConditionGroup part data, including any provided user data
        Parameters:
        aNoun - The logical CatalogFilterType SDO business object to update.
        aNounPart - The logical CatalogGroupConditionGroupType SDO business object to update.
        Throws:
        AbstractApplicationException
      • delete

        public void delete(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method removes the appropriate physical SDO from the physical data container.
        Parameters:
        aNoun - The logical CatalogFilterType SDO business object.
        aNounPart - The logical CatalogGroupSelectionType SDO business object.
        Throws:
        AbstractApplicationException
      • getNounPartXPaths

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

        public java.util.List validateCreate(java.lang.Object aNoun,
                                             java.lang.Object aNounPart)
                                      throws DataMediatorException
        This method checks if the noun part can be created. If the noun part cannot be created, the appropriate error exception is added to the list of exceptions and returned to the caller.
        Parameters:
        aNoun - The logical CatalogFilterType SDO business object.
        aNounPart - The logical CatalogGroupConditionGroupType SDO business object.
        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,
                                             java.lang.Object aNounPart)
                                      throws DataMediatorException
        This method checks if the noun part can be updated. If the noun part cannot be updated, the appropriate error exception is added to the list of exceptions to be returned to the caller.
        Parameters:
        aNoun - The logical CatalogFilterType SDO business object to validate.
        aNounPart - The logical CatalogGroupConditionGroupType 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 checks if the noun part can be deleted. If the noun part cannot be deleted, the appropriate error exception is added to the list of exceptions and returned to the caller.
        Parameters:
        aNoun - The logical CatalogFilterType SDO business object.
        aNounPart - The logical CatalogGroupConditionGroupType SDO business object.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty.
        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 matches the CatalogGroupSelectionType noun part.
        Parameters:
        aNoun - The logical CatalogFilterType SDO.
        aNounPart - The logical CatalogGroupSelectionType SDO.
        Returns:
        This method returns the physical SDO object if it is found, otherwise it returns null.
        Throws:
        DataMediatorException