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

Class ChangeLayoutWidgetChildSlotPartMediator

    • Constructor Detail

      • ChangeLayoutWidgetChildSlotPartMediator

        public ChangeLayoutWidgetChildSlotPartMediator()
    • Method Detail

      • create

        public void create(java.lang.Object noun,
                           java.lang.Object nounPart)
                    throws AbstractApplicationException
        This method performs WidgetChildSlot creation.
        Parameters:
        noun - The logical LayoutType SDO business object.
        nounPart - The logical LayoutSlotType SDO business object.
        Throws:
        AbstractApplicationException
      • delete

        public void delete(java.lang.Object noun,
                           java.lang.Object nounPart)
                    throws AbstractApplicationException
        This method performs PageLayoutWidgetSlot deletion.
        Parameters:
        noun - The logical LayoutType SDO business object.
        nounPart - The logical LayoutSlotType SDO business object.
        Throws:
        AbstractApplicationException
      • findPhysicalEntity

        public java.lang.Object findPhysicalEntity(java.lang.Object noun,
                                                   java.lang.Object nounPart)
                                            throws AbstractApplicationException
        This method finds Layout in the physical data container that matches with the LayoutSlot noun part.
        Parameters:
        noun - The LayoutType logic noun.
        nounPart - The LayoutSlotType logic noun part.
        Returns:
        The physical object of LayoutSlot.
        Throws:
        AbstractApplicationException
      • getNounPartXPaths

        public java.lang.String[] getNounPartXPaths()
        This method is to get the noun part XPath.
        Returns:
        The XPath.
      • update

        public void update(java.lang.Object noun,
                           java.lang.Object nounPart)
                    throws AbstractApplicationException
        This method updates the physical data container with the modified physical SDO object. It is to update the PageLayoutWidgetSlot.
        Parameters:
        noun - The logical LayoutType SDO business object to update.
        nounPart - The logical LayoutSlotType SDO business object to update.
        Throws:
        AbstractApplicationException
      • validateChange

        public java.util.List validateChange(java.lang.Object noun,
                                             java.lang.Object nounPart)
                                      throws AbstractApplicationException
        This method checks if the logical LayoutSlot noun part 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:
        noun - The logical LayoutType SDO business object to validate.
        nounPart - The logical LayoutSlotType SDO business object.
        Returns:
        This method returns a list of ApplicationError if there are any errors, otherwise the list will be empty.
        Throws:
        AbstractApplicationException
      • validateCreate

        public java.util.List validateCreate(java.lang.Object noun,
                                             java.lang.Object nounPart)
                                      throws AbstractApplicationException
        This method checks if the logical widget child slot noun part 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.
        Parameters:
        noun - The logical LayoutType SDO business object to validate.
        nounPart - The logical LayoutSlotType 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:
        AbstractApplicationException
      • validateDelete

        public java.util.List validateDelete(java.lang.Object noun,
                                             java.lang.Object nounPart)
                                      throws AbstractApplicationException
        This method checks whether this LayoutSlotType object can be deleted or not.
        Parameters:
        noun - The logical LayoutType SDO business object.
        nounPart - The logical LayoutSlotType SDO business object.
        Returns:
        This method returns the error list.
        Throws:
        AbstractApplicationException