Interface MarketplaceApplicationCatalogRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>

Type Parameters:
D - General domain type that derives from Trackable
All Superinterfaces:
com.broadleafcommerce.common.extension.DomainTypeAware, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository, org.springframework.data.repository.Repository<D,String>, com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
All Known Subinterfaces:
JpaMarketplaceApplicationCatalogRepository<D>

@NoRepositoryBean public interface MarketplaceApplicationCatalogRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
Repository agnostic interface. Generally extended by another interface that is declared against a specific repository domain type.
  • Method Details

    • findAllByApplication

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByApplication(@NonNull String applicationId, @NonNull cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable pageable, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Parameters:
      applicationId - the application ID to filter results by
      filters - the RSQL Node used to restrict result, must not be null
      pageable - may be Pageable.unpaged(), must not be null.
      contextInfo - Request context information around sandbox and multitenant state
      Returns:
      The subset (page) of narrowed entities
    • findByContextIdAndApplication

      @Policy(operationTypes=READ) @NonNull Optional<D> findByContextIdAndApplication(@NonNull String contextId, @NonNull String applicationId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Parameters:
      contextId - An identifying id
      applicationId - the application ID to filter the result by
      contextInfo - Request context information around sandbox and multitenant state
      Returns:
      If nothing found, an empty Optional. Otherwise, an Optional containing the narrowed entity.
    • findByCatalogAndApplication

      @Policy(operationTypes=READ) @NonNull Optional<D> findByCatalogAndApplication(@NonNull String catalog, @NonNull String applicationId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Parameters:
      catalog - the catalog ID to filter the result by
      applicationId - the application ID to filter the result by
      contextInfo - Request context information around sandbox and multitenant state
      Returns:
      If nothing found, an empty Optional. Otherwise, an Optional containing the narrowed entity.