Interface TmaSubscriptionAccessService
-
- All Known Implementing Classes:
DefaultTmaSubscriptionAccessService
public interface TmaSubscriptionAccessServiceService for operations related to theTmaSubscriptionAccessModel.- Since:
- 6.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TmaSubscriptionAccessModelcreateSubscriptionAccessModel(java.lang.String principalUid, java.lang.String billingSystemId, TmaSubscriptionBaseModel subscriptionBase, TmaAccessType accessType)Create aTmaSubscriptionAccessModelfor a givenTmaSubscriptionBaseModel.TmaSubscriptionAccessModelcreateSubscriptionAccessModel(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.String subscriberIdentity, TmaAccessType accessType)Deprecated, for removal: This API element is subject to removal in a future version.since 1810 Please useTmaCustomerInventoryService.createNewSubscriptionHierarchy(String, TmaAccessType)voiddeleteSubscriptionAccess(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.String subscriberIdentity)Delete theTmaSubscriptionAccessModelwith the id given.TmaSubscriptionAccessModelgetSubscriptionAccessByPrincipalAndSubscriptionBase(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.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.java.util.List<TmaSubscriptionAccessModel>getSubscriptionAccessesByPrincipalUid(java.lang.String principalUid)Search for allTmaSubscriptionAccessModels belonging to the principal with the given uidjava.util.List<TmaSubscriptionAccessModel>getSubscriptionAccessesBySubscriberIdentity(java.lang.String billingSystemId, java.lang.String subscriberIdentity)Search for allTmaSubscriptionAccessModels belonging to the subscriber with the id given from the given billing system.java.util.List<TmaSubscriptionAccessModel>getSubscriptionAccessesByType(java.lang.String principalUid, TmaAccessType accessType)Search for allTmaSubscriptionAccessModels belonging to the principal with the uid given, filtered by given access type.TmaSubscriptionAccessModelupdateSubscriptionAccess(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.String subscriberIdentity, TmaAccessType accessType)Update theTmaAccessTypeof theTmaSubscriptionAccessModelwith the id given.
-
-
-
Method Detail
-
createSubscriptionAccessModel
@Deprecated(since="1810", forRemoval=true) TmaSubscriptionAccessModel createSubscriptionAccessModel(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.String subscriberIdentity, TmaAccessType accessType)Deprecated, for removal: This API element is subject to removal in a future version.since 1810 Please useTmaCustomerInventoryService.createNewSubscriptionHierarchy(String, TmaAccessType)Create aTmaSubscriptionAccessModel.- Parameters:
principalUid- unique identifier of thePrincipalModelbillingSystemId- unique identifier of the billing systemsubscriberIdentity- unique identifier of theTmaSubscriptionBaseModelaccessType-TmaAccessTypethePrincipalModelhas on theTmaSubscriptionBaseModel- Returns:
- the newly created
TmaSubscriptionAccessModel
-
createSubscriptionAccessModel
TmaSubscriptionAccessModel createSubscriptionAccessModel(java.lang.String principalUid, java.lang.String billingSystemId, TmaSubscriptionBaseModel subscriptionBase, TmaAccessType accessType)
Create aTmaSubscriptionAccessModelfor a givenTmaSubscriptionBaseModel.- Parameters:
principalUid- unique identifier of thePrincipalModelbillingSystemId- unique identifier of the billing systemsubscriptionBase- subscription base for which the access type is createdaccessType-TmaAccessTypethePrincipalModelhas on theTmaSubscriptionBaseModel- Returns:
- the newly created
TmaSubscriptionAccessModel
-
getSubscriptionAccessesByPrincipalUid
java.util.List<TmaSubscriptionAccessModel> getSubscriptionAccessesByPrincipalUid(java.lang.String principalUid)
Search for allTmaSubscriptionAccessModels belonging to the principal with the given uid- Parameters:
principalUid- uid of the principal- Returns:
- a
ListofTmaSubscriptionAccessModelbelonging to the identified principal
-
getSubscriptionAccessByPrincipalAndSubscriptionBase
TmaSubscriptionAccessModel getSubscriptionAccessByPrincipalAndSubscriptionBase(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.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
-
getSubscriptionAccessesBySubscriberIdentity
java.util.List<TmaSubscriptionAccessModel> getSubscriptionAccessesBySubscriberIdentity(java.lang.String billingSystemId, java.lang.String subscriberIdentity)
Search for allTmaSubscriptionAccessModels belonging to the subscriber with the id given from the given billing system.- Parameters:
billingSystemId- unique identifier of the billing systemsubscriberIdentity- id of the subscriber for which theTmaSubscriptionAccessModelshould be retrieved- Returns:
- a
ListofTmaSubscriptionAccessModels belonging to the same subscriber
-
getSubscriptionAccessesByType
java.util.List<TmaSubscriptionAccessModel> getSubscriptionAccessesByType(java.lang.String principalUid, TmaAccessType accessType)
Search for allTmaSubscriptionAccessModels belonging to the principal with the uid given, filtered by 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
-
updateSubscriptionAccess
TmaSubscriptionAccessModel updateSubscriptionAccess(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.String subscriberIdentity, TmaAccessType accessType)
Update theTmaAccessTypeof theTmaSubscriptionAccessModelwith the id given.- Parameters:
principalUid- unique identifier of theTmaSubscriptionAccessModelto be updatedbillingSystemId- unique identifier of the billing systemsubscriberIdentity- unique identifier of the subscriber from the billing systemaccessType- the new value of theTmaAccessType- Returns:
- the newly updated
TmaSubscriptionAccessModel
-
deleteSubscriptionAccess
void deleteSubscriptionAccess(java.lang.String principalUid, java.lang.String billingSystemId, java.lang.String subscriberIdentity)Delete theTmaSubscriptionAccessModelwith the id given.- Parameters:
principalUid- the unique identifier of theTmaSubscriptionAccessModelto be deletedbillingSystemId- unique identifier of the billing systemsubscriberIdentity- unique identifier of the subscriber from the billing system
-
-