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

All Superinterfaces:
CustomizedSavedPaymentMethodRepository<D>, 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:
JpaSavedPaymentMethodRepository<D>

@NoRepositoryBean public interface SavedPaymentMethodRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, CustomizedSavedPaymentMethodRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
Author:
Sunny Yu
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByOriginatingPaymentIdIn(List<String> originatingPaymentIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find a list of saved payments by a list of originating payment ids.
    org.springframework.data.domain.Page<D>
    findAllByOwningUserTypeAndOwningUserId(String owningUserType, String owningUserId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find a page of saved payments for the given owning user type and owning user id.
    org.springframework.data.domain.Page<D>
    findAllByOwningUserTypeAndOwningUserId(String owningUserType, String owningUserId, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find a page of saved payments for the given owning user type and owning user id.
    org.springframework.data.domain.Page<D>
    findAllByOwningUserTypeAndOwningUserIdAndStatus(String owningUserType, String owningUserId, String status, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find a page of saved payments for the given owning user type and owning user id.
    org.springframework.data.domain.Page<D>
    findAllByOwningUserTypeAndOwningUserIdIn(String owningUserType, Set<String> owningUserIds, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find a page of saved payments for the given owning user type and owning user id.
    org.springframework.data.domain.Page<D>
    findAllByOwningUserTypeAndOwningUserIdInAndStatus(String owningUserType, Set<String> owningUserIds, String status, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find a page of saved payments for the given owning user type and owning user id.
    findByGatewayReferenceId(String gatewayReferenceId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find a saved payment method for the specified gateway reference id.

    Methods inherited from interface com.broadleafcommerce.paymenttransaction.repository.CustomizedSavedPaymentMethodRepository

    findByIdForAccount, findByOwningUserTypeAndOwningUserIdAndTenantId, findPageForAccount

    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

    • findAllByOwningUserTypeAndOwningUserId

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByOwningUserTypeAndOwningUserId(String owningUserType, String owningUserId, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find a page of saved payments for the given owning user type and owning user id.
      Parameters:
      owningUserType - the type of the saved payment's owning user
      owningUserId - the id of the saved payment's owning user
      page - the requested page of results from the database
      contextInfo - context information related to multitenancy
      Returns:
      a page of saved payments for the given owner type and id
    • findAllByOwningUserTypeAndOwningUserId

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByOwningUserTypeAndOwningUserId(String owningUserType, String owningUserId, cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find a page of saved payments for the given owning user type and owning user id.
      Parameters:
      owningUserType - the type of the saved payment's owning user
      owningUserId - the id of the saved payment's owning user
      filters - additional RSQL filters
      page - the requested page of results from the database
      contextInfo - context information related to multitenancy
      Returns:
      a page of saved payments for the given owner type and id
    • findAllByOwningUserTypeAndOwningUserIdIn

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByOwningUserTypeAndOwningUserIdIn(String owningUserType, Set<String> owningUserIds, cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find a page of saved payments for the given owning user type and owning user id.
      Parameters:
      owningUserType - the type of the saved payment's owning user
      owningUserIds - the ids of the saved payment's owning users
      filters - additional RSQL filters
      page - the requested page of results from the database
      contextInfo - context information related to multitenancy
      Returns:
      a page of saved payments for the given owner type and id
      Since:
      PaymentTransactionServices 2.1.0, Release Train 2.3.0
    • findAllByOwningUserTypeAndOwningUserIdAndStatus

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByOwningUserTypeAndOwningUserIdAndStatus(String owningUserType, String owningUserId, String status, cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find a page of saved payments for the given owning user type and owning user id. This method also returns the payment methods whose status is equal to the specified status.
      Parameters:
      owningUserType - the type of the saved payment's owning user
      owningUserId - the id of the saved payment's owning user
      status - the status of the saved payment method
      filters - additional RSQL filters
      page - the requested page of results from the database
      contextInfo - context information related to multitenancy
      Returns:
      a page of saved payments for the given owner type and id
    • findAllByOwningUserTypeAndOwningUserIdInAndStatus

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByOwningUserTypeAndOwningUserIdInAndStatus(String owningUserType, Set<String> owningUserIds, String status, cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find a page of saved payments for the given owning user type and owning user id. This method also returns the payment methods whose status is equal to the specified status.
      Parameters:
      owningUserType - the type of the saved payment's owning user
      owningUserIds - the ids of the saved payment's owning users
      status - the status of the saved payment method
      filters - additional RSQL filters
      page - the requested page of results from the database
      contextInfo - context information related to multitenancy
      Returns:
      a page of saved payments for the given owner type and id
      Since:
      PaymentTransactionServices 2.1.0, Release Train 2.3.0
    • findAllByOriginatingPaymentIdIn

      @Policy(operationTypes=READ) List<D> findAllByOriginatingPaymentIdIn(List<String> originatingPaymentIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find a list of saved payments by a list of originating payment ids.
      Parameters:
      originatingPaymentIds - the payment IDs to query the saved payments against
      contextInfo - context information regarding sandboxing and multitenant state
      Returns:
      a list of saved payments matching the list of originating payment ids.
    • findByGatewayReferenceId

      @Policy(operationTypes=READ) Optional<D> findByGatewayReferenceId(String gatewayReferenceId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find a saved payment method for the specified gateway reference id.
      Parameters:
      gatewayReferenceId - the gateway reference id
      contextInfo - context information regarding sandboxing and multitenant state
      Returns:
      a list of saved payments matching the list of originating payment ids.