Interface PaymentAccountRepository<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:
    JpaPaymentAccountRepository<D>

    @NoRepositoryBean
    public interface PaymentAccountRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
    extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<D> findAllByContextId​(List<String> paymentAccountIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pass all the JpaPaymentAccount IDs to find all the JpaPaymentAccount entities
      org.springframework.data.domain.Page<D> findAllByCustomerId​(String customerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pass the JpaCustomer ID to find all the active JpaPaymentAccount
      Optional<D> findByContextIdAndCustomerId​(String contextId, String customerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pass the PaymentAccount ID to find the JpaPaymentAccount entity
      • 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 Detail

      • findAllByContextId

        List<D> findAllByContextId​(List<String> paymentAccountIds,
                                   @Nullable
                                   com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Pass all the JpaPaymentAccount IDs to find all the JpaPaymentAccount entities
        Parameters:
        paymentAccountIds - the paymentAccount IDs
        contextInfo - context information regarding sandboxing and multitenant state
        Returns:
      • findAllByCustomerId

        org.springframework.data.domain.Page<D> findAllByCustomerId​(String customerId,
                                                                    @Nullable
                                                                    cz.jirutka.rsql.parser.ast.Node filters,
                                                                    @Nullable
                                                                    org.springframework.data.domain.Pageable page,
                                                                    @Nullable
                                                                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Pass the JpaCustomer ID to find all the active JpaPaymentAccount
        Parameters:
        customerId - the ID of the owning customer
        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 data source
        contextInfo - context information regarding sandboxing and multitenant state
        Returns:
      • findByContextIdAndCustomerId

        Optional<D> findByContextIdAndCustomerId​(String contextId,
                                                 String customerId,
                                                 @Nullable
                                                 com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Pass the PaymentAccount ID to find the JpaPaymentAccount entity
        Parameters:
        contextId - the ID of the paymentAccount
        customerId - the ID of the owning customer
        contextInfo - context information regarding sandboxing and multitenant state
        Returns: