Interface ProductCustomPersistenceHandlerExtensionHandler

All Superinterfaces:
org.broadleafcommerce.common.extension.ExtensionHandler
All Known Implementing Classes:
AbstractProductCustomPersistenceHandlerExtensionHandler

public interface ProductCustomPersistenceHandlerExtensionHandler extends org.broadleafcommerce.common.extension.ExtensionHandler
Extension handler for ProductCustomPersistenceHandler
Author:
Jeff Fischer
  • Method Summary

    Modifier and Type
    Method
    Description
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    Cleanup any special state started by initiateFetchState()
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    Setup any special state to influence the fetch results
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    Perform any special filtering for the fetch
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    manageFields(PersistencePackage persistencePackage, Product product)
    Perform any special handling for field on the product
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    Perform any special metadata handling for the inspect
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    Perform any special handling for the parent category of a product during a product add
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    Perform any special handling for the parent category of a product during a product update
    org.broadleafcommerce.common.extension.ExtensionResultStatusType
    manageRemove(PersistencePackage persistencePackage, Product product)
    Perform any special handling for the remove

    Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler

    getPriority, isEnabled
  • Method Details

    • manageParentCategoryForAdd

      org.broadleafcommerce.common.extension.ExtensionResultStatusType manageParentCategoryForAdd(PersistencePackage persistencePackage, Product product) throws org.broadleafcommerce.common.exception.ServiceException
      Perform any special handling for the parent category of a product during a product add
      Parameters:
      product -
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException
    • manageParentCategoryForUpdate

      org.broadleafcommerce.common.extension.ExtensionResultStatusType manageParentCategoryForUpdate(PersistencePackage persistencePackage, Product product) throws org.broadleafcommerce.common.exception.ServiceException
      Perform any special handling for the parent category of a product during a product update
      Parameters:
      product -
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException
    • manageRemove

      org.broadleafcommerce.common.extension.ExtensionResultStatusType manageRemove(PersistencePackage persistencePackage, Product product) throws org.broadleafcommerce.common.exception.ServiceException
      Perform any special handling for the remove
      Parameters:
      product -
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException
    • manageInspect

      org.broadleafcommerce.common.extension.ExtensionResultStatusType manageInspect(Map<String,FieldMetadata> metadata) throws org.broadleafcommerce.common.exception.ServiceException
      Perform any special metadata handling for the inspect
      Parameters:
      metadata -
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException
    • manageFields

      org.broadleafcommerce.common.extension.ExtensionResultStatusType manageFields(PersistencePackage persistencePackage, Product product) throws org.broadleafcommerce.common.exception.ServiceException
      Perform any special handling for field on the product
      Parameters:
      persistencePackage -
      product -
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException
    • initiateFetchState

      org.broadleafcommerce.common.extension.ExtensionResultStatusType initiateFetchState() throws org.broadleafcommerce.common.exception.ServiceException
      Setup any special state to influence the fetch results
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException
    • endFetchState

      org.broadleafcommerce.common.extension.ExtensionResultStatusType endFetchState() throws org.broadleafcommerce.common.exception.ServiceException
      Cleanup any special state started by initiateFetchState()
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException
    • manageAdditionalFilterMappings

      org.broadleafcommerce.common.extension.ExtensionResultStatusType manageAdditionalFilterMappings(CriteriaTransferObject cto) throws org.broadleafcommerce.common.exception.ServiceException
      Perform any special filtering for the fetch
      Parameters:
      cto -
      Returns:
      Throws:
      org.broadleafcommerce.common.exception.ServiceException