Interface TmaSubscriptionAccessDao

All Known Implementing Classes:
DefaultTmaSubscriptionAccessDao

public interface TmaSubscriptionAccessDao
Data Access Object for the TmaSubscriptionAccessModel.
Since:
6.6
  • Method Details

    • findSubscriptionAccessByPrincipalAndSubscriptionBase

      TmaSubscriptionAccessModel findSubscriptionAccessByPrincipalAndSubscriptionBase(String principalUid, String billingSystemId, String subscriberIdentity)
      Search for the subscription access object uniquely identified by the principal unique identifier, and the billing system id and subscriber identity unique combination.
      Parameters:
      principalUid - unique identifier of the Principal entity
      billingSystemId - unique identifier of the billing system
      subscriberIdentity - unique identifier of the subscriber from the billing system
      Returns:
      TmaSubscriptionAccessModel identified by the above parameters
    • findSubscriptionAccessesBySubscriberIdentity

      List<TmaSubscriptionAccessModel> findSubscriptionAccessesBySubscriberIdentity(String subscriberIdentity, String billingSystemId)
      Search for the subscription access objects with the subscriber identity given from a given billing system id.
      Parameters:
      subscriberIdentity - unique identifier of the subscriber from the given billing system
      billingSystemId - unique identifier of the billing system
      Returns:
      a List of TmaSubscriptionAccessModel belonging to the same subscriber
    • findSubscriptionAccessesByType

      List<TmaSubscriptionAccessModel> findSubscriptionAccessesByType(String principalUid, TmaAccessType accessType)
      Search for the subscription access objects associated with the given principal uid, filtered by the given access type.
      Parameters:
      principalUid - uid of the principal
      accessType - access type level for subscription access
      Returns:
      a List of TmaSubscriptionAccessModel belonging to the identified principal, having the given access type
    • findSubscriptionAccessByPrincipalUid

      List<TmaSubscriptionAccessModel> findSubscriptionAccessByPrincipalUid(String principalUid)
      Search for the subscription access objects associated with the given principal uid
      Parameters:
      principalUid - uid of the principal
      Returns:
      a List of TmaSubscriptionAccessModel belonging to the identified principal