Class JpaCustomizedMarketplaceApplicationCatalogRepository<D extends JpaTenantMarketplaceApplicationCatalog>

java.lang.Object
com.broadleafcommerce.tenant.provider.jpa.repository.JpaCustomizedMarketplaceApplicationCatalogRepository<D>

public class JpaCustomizedMarketplaceApplicationCatalogRepository<D extends JpaTenantMarketplaceApplicationCatalog> extends Object
Fragment repository for handling specialized persistence behavior for marketplace application catalog relationships
Author:
Jeff Fischer
  • Constructor Summary

    Constructors
    Constructor
    Description
    JpaCustomizedMarketplaceApplicationCatalogRepository(JpaCatalogRepository<? super JpaTenantCatalog> catalogRepository, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    buildApplicableMarketplaceImplicitCatalog(com.broadleafcommerce.data.tracking.core.Trackable marketplaceApplicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Establish implicit catalogs for the marketplace associations
    protected void
    Send a message covering the changed catalog state via the PersistenceProducer channel.
    com.broadleafcommerce.data.tracking.core.Trackable
    save(com.broadleafcommerce.data.tracking.core.Trackable marketplaceApplicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
     
    void
    setNotificationManager(com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JpaCustomizedMarketplaceApplicationCatalogRepository

      public JpaCustomizedMarketplaceApplicationCatalogRepository(JpaCatalogRepository<? super JpaTenantCatalog> catalogRepository, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.common.messaging.notification.NotificationStateService notificationStateService)
  • Method Details

    • setNotificationManager

      @Autowired public void setNotificationManager(@Nullable com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager)
    • save

      public com.broadleafcommerce.data.tracking.core.Trackable save(com.broadleafcommerce.data.tracking.core.Trackable marketplaceApplicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • buildApplicableMarketplaceImplicitCatalog

      protected void buildApplicableMarketplaceImplicitCatalog(com.broadleafcommerce.data.tracking.core.Trackable marketplaceApplicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Establish implicit catalogs for the marketplace associations
      Parameters:
      marketplaceApplicationCatalog - The association between the marketplace application and the catalog
      contextInfo - The request context
    • notify

      protected void notify(JpaTenantCatalog catalog)
      Send a message covering the changed catalog state via the PersistenceProducer channel.
      Parameters:
      catalog - The changed catalog instance