Interface TmaSubscriptionAccessFacade

All Known Implementing Classes:
DefaultTmaSubscriptionAccessFacade

public interface TmaSubscriptionAccessFacade
Facade gathering TmaSubscriptionAccessData related operations.
Since:
6.6
  • Method Details

    • findSubscriptionAccessesByPrincipal

      List<TmaSubscriptionAccessData> findSubscriptionAccessesByPrincipal(String principalUid)
      Get an existing subscription access object for user
      Parameters:
      principalUid - the unique identifier of the object which is intended to be updated
      Returns:
      a List of TmaSubscriptionAccessData belonging to the identified principal
    • getSubscriptionAccessByPrincipalAndSubscriptionBase

      TmaSubscriptionAccessModel getSubscriptionAccessByPrincipalAndSubscriptionBase(String principalUid, String billingSystemId, String subscriberIdentity)
      Returns accessType of current user's TmaSubscriptionBaseModel.
      Parameters:
      principalUid - the unique identifier of the object which is intended to be updated
      billingSystemId - unique identifier of the billing system
      subscriberIdentity - unique identifier of the subscriber from the billing system
      Returns:
      TmaSubscriptionAccessModel containing accessType related data of current user
    • getSubscriptionAccessesBySubscriberIdentity

      List<TmaSubscriptionAccessData> getSubscriptionAccessesBySubscriberIdentity(String subscriberIdentity, String billingSystemId)
      Get List of TmaSubscriptionAccessData for given Subscriber identity and billing system id
      Parameters:
      subscriberIdentity - unique identifier of a SubscriptionAccess.
      billingSystemId - String instance for related Billing system
      Returns:
      LIST<TmaSubscriptionAccessData> Subscription Access data for given subscriber identity and Billing system