Interface TmaSubscriptionAccessDao
- All Known Implementing Classes:
DefaultTmaSubscriptionAccessDao
public interface TmaSubscriptionAccessDao
Data Access Object for the
TmaSubscriptionAccessModel.- Since:
- 6.6
-
Method Summary
Modifier and TypeMethodDescriptionfindSubscriptionAccessByPrincipalAndSubscriptionBase(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.findSubscriptionAccessByPrincipalUid(String principalUid) Search for the subscription access objects associated with the given principal uidfindSubscriptionAccessesBySubscriberIdentity(String subscriberIdentity, String billingSystemId) Search for the subscription access objects with the subscriber identity given from a given billing system id.findSubscriptionAccessesByType(String principalUid, TmaAccessType accessType) Search for the subscription access objects associated with the given principal uid, filtered by the given access type.
-
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 entitybillingSystemId- unique identifier of the billing systemsubscriberIdentity- unique identifier of the subscriber from the billing system- Returns:
TmaSubscriptionAccessModelidentified 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 systembillingSystemId- unique identifier of the billing system- Returns:
- a
ListofTmaSubscriptionAccessModelbelonging 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 principalaccessType- access type level for subscription access- Returns:
- a
ListofTmaSubscriptionAccessModelbelonging to the identified principal, having the given access type
-
findSubscriptionAccessByPrincipalUid
Search for the subscription access objects associated with the given principal uid- Parameters:
principalUid- uid of the principal- Returns:
- a
ListofTmaSubscriptionAccessModelbelonging to the identified principal
-