Interface ContentFieldRepository<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>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
All Known Subinterfaces:
JpaContentFieldRepository<D>

@NoRepositoryBean public interface ContentFieldRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
Author:
Julia Lopez-Pozas (jlopezpozas)
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByContentModelContextId(String contentModelId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Finds the Fields belonging to the ContentModel by its id.
    findAllByContentModelContextIdIn(Collection<String> contentModelIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Finds the Fields belonging to multiple Models by their ids.
    findAllByContextIdIn(Iterable<String> contextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Finds the Fields by their ids.

    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

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

    exists, findAll, findAll, findAll, findAll
  • Method Details

    • findAllByContextIdIn

      @Policy(operationTypes=READ) List<D> findAllByContextIdIn(@NonNull Iterable<String> contextIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Finds the Fields by their ids.
      Parameters:
      contextIds - The ids of the fields
      contextInfo - Additional sandbox and multitenant info.
      Returns:
      The fields.
    • findAllByContentModelContextId

      @Policy(operationTypes=READ) List<D> findAllByContentModelContextId(String contentModelId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Finds the Fields belonging to the ContentModel by its id.
      Parameters:
      contentModelId - The id of the model
      contextInfo - Additional sandbox and multitenant info.
      Returns:
      The fields.
    • findAllByContentModelContextIdIn

      @Policy(operationTypes=READ) List<D> findAllByContentModelContextIdIn(Collection<String> contentModelIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Finds the Fields belonging to multiple Models by their ids.
      Parameters:
      contentModelIds - The ids of the models
      contextInfo - Additional sandbox and multitenant info.
      Returns:
      The fields.