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

Class ChangePageSEOPropertiesPartMediator

    • Field Detail

      • COPYRIGHT

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

      • ChangePageSEOPropertiesPartMediator

        public ChangePageSEOPropertiesPartMediator()
    • Method Detail

      • create

        public void create(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method populates the physical data container with the SEO Properties physical SDO to create. physical SDO object.
        Parameters:
        aNoun - The logical PageType SDO business object.
        aNounPart - The logical SEOPropertiesType SDO business object.
        Throws:
        AbstractApplicationException - exception could be thrown if any error occurs
      • update

        public void update(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method updates the physical data container with the modified SEO Page Definition physical SDO object.
        Parameters:
        aNoun - The logical PageType SDO business object to update.
        aNounPart - The logical SEOPropertiesType SDO business object to update.
        Throws:
        AbstractApplicationException - exception could be thrown if any error occurs
      • delete

        public void delete(java.lang.Object aNoun,
                           java.lang.Object aNounPart)
                    throws AbstractApplicationException
        This method removes the SEO Page Definition physical SDO from the physical data container.
        Parameters:
        aNoun - The logical PageType SDO business object.
        aNounPart - The logical SEOPropertiesType SDO business object.
        Throws:
        AbstractApplicationException - exception could be thrown if any error occurs
      • getNounPartXPaths

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

        public java.util.List validateCreate(java.lang.Object noun,
                                             java.lang.Object nounPart)
                                      throws DataMediatorException
        This method checks if the SEOProperties 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:
        noun - The logical PageType SDO. Cannot be null.
        nounPart - The logical SEOPropertiesType SDO. Cannot be null.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty. Cannot be null.
        Throws:
        DataMediatorException
      • validateDelete

        public java.util.List validateDelete(java.lang.Object noun,
                                             java.lang.Object nounPart)
                                      throws DataMediatorException
        This method checks if the SEOProperties 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:
        noun - The logical PageType SDO.Cannot be null.
        nounPart - The logical SEOPropertiesType SDO.Cannot be null.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty.Cannot be null.
        Throws:
        DataMediatorException
      • validateChange

        public java.util.List validateChange(java.lang.Object noun,
                                             java.lang.Object nounPart)
                                      throws DataMediatorException
        This method checks if the SEO properties noun part can be changed. If the noun part cannot be changed, the appropriate error exception is added to the list of exceptions and returned to the caller.
        Parameters:
        noun - The logical LayoutType SDO to validate. Cannot be null.
        nounPart - The logical PageLocationType SDO. Cannot be null.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty. Cannot be null.
        Throws:
        DataMediatorException
      • findPhysicalEntity

        public java.lang.Object findPhysicalEntity(java.lang.Object aNoun,
                                                   java.lang.Object aNounPart)
                                            throws DataMediatorException
        This method performs no action.
        Parameters:
        aNoun - The logical PageType SDO.
        aNounPart - The logical SEOPropertiesType SDO.
        Returns:
        This method returns the PhysicalPage object if it is found, otherwise it returns null.
        Throws:
        DataMediatorException - exception could be thrown if any error occurs