Interface SettingsFacetGroupRepository<D extends com.broadleafcommerce.data.tracking.core.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>
All Known Subinterfaces:
JpaSettingsFacetGroupRepository<D>

@NoRepositoryBean public interface SettingsFacetGroupRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.common.extension.DomainTypeAware
Repository for persistent counter-parts of SettingsFacetGroup
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    existsBySearchSettingsContextIdAndGroupIndexableType(String searchSettingsContextId, String groupIndexableType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Returns whether there is a relationship for the given facet group type and search settings in the data store.
    findAllBySearchSettingsContextIdAndGroupIndexableType(String searchSettingsContextId, String groupIndexableType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Returns all SettingsFacetGroups by indexable type and search settings id.
    org.springframework.data.domain.Page<D>
    findBySearchSettingsContextId(String searchSettingsContextId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Retrieves a paged list of settings facet groups by search settings ID.

    Methods inherited from interface com.broadleafcommerce.common.messaging.notification.NotificationStateRepository

    findNotificationReadyMembers, setFailedNotificationAttempt, setNotificationAcknowledged

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.TrackableRepository

    archive, existsByContextId, findAll, findAll, findAll, findAll, findAll, findAll, findAllByContextId, findByContextId, findByContextIdAndCatalog, findByNativeId, findDeployable, findMaxSortMember, findMinSortMember, findOriginal, findPromotable, findPromoteOrientedItems, findRebasable, findRejectable, findRevertable, findTarget, getDomainType, getEntityInformation, getTrackableBehaviorUtil, getTypesToRegisterInMappingContext, pruneChangeDetails, pruneRestingNotificationStates, purgeObsoleteSandboxData, save, saveAll, setTrackableBehaviorUtil
  • Method Details

    • findBySearchSettingsContextId

      @Policy(operationTypes=READ) @NonNull org.springframework.data.domain.Page<D> findBySearchSettingsContextId(@NonNull String searchSettingsContextId, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Retrieves a paged list of settings facet groups by search settings ID.
      Parameters:
      searchSettingsContextId - the search settings ID to filter on
      filters - additional filters to apply in the query. Should be EmptyNode if no additional filters should be applied.
      page - the requested page of results from the database
      contextInfo - context information around sandbox and multitenant state
      Returns:
      a paged list of settings facet groups by search settings ID
    • existsBySearchSettingsContextIdAndGroupIndexableType

      @Policy(operationTypes=READ) boolean existsBySearchSettingsContextIdAndGroupIndexableType(@NonNull String searchSettingsContextId, @NonNull String groupIndexableType, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Returns whether there is a relationship for the given facet group type and search settings in the data store.
      Parameters:
      searchSettingsContextId - the search settings context ID
      groupIndexableType - the indexable type of the facet group
      contextInfo - context surrounding sandboxing and multitenant state
      Returns:
      true if a relationship was found between the facet group type and search settings, false otherwise
    • findAllBySearchSettingsContextIdAndGroupIndexableType

      @Policy(operationTypes=READ) List<D> findAllBySearchSettingsContextIdAndGroupIndexableType(@NonNull String searchSettingsContextId, @NonNull String groupIndexableType, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Returns all SettingsFacetGroups by indexable type and search settings id.
      Parameters:
      searchSettingsContextId - the search settings context ID
      groupIndexableType - the indexable type of the facet group
      contextInfo - context surrounding sandboxing and multitenant state
      Returns:
      All SettingsFacetGroups by indexable type and search settings id.