Interface FieldDefinitionRepository<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:
JpaFieldDefinitionRepository<D>

@NoRepositoryBean public interface FieldDefinitionRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.common.extension.DomainTypeAware
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByIndexableType(String indexableType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Retrieve all fields whose type matches the given indexableType.
    org.springframework.data.domain.Page<D>
    findAllByLabelContainingIgnoreCase(String query, 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 fields by label

    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

    • findAllByLabelContainingIgnoreCase

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByLabelContainingIgnoreCase(String query, 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 fields by label
      Parameters:
      query - the query to apply to the label field
      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 fields from the underlying repository
    • findAllByIndexableType

      @Deprecated List<D> findAllByIndexableType(String indexableType)
      Retrieve all fields whose type matches the given indexableType.
      Parameters:
      indexableType - the type to query for
      Returns:
      list of fields matching the given type
    • findAllByIndexableType

      List<D> findAllByIndexableType(String indexableType, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Retrieve all fields whose type matches the given indexableType.
      Parameters:
      indexableType - the type to query for
      contextInfo - the contextInfo
      Returns:
      list of fields matching the given type