Class BasePartnerComponent<TContext>
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<TContext>
- All Implemented Interfaces:
IPartnerComponent<TContext>
- Direct Known Subclasses:
ApplicationConsentOperations,AvailabilityCollectionByTargetSegmentByReservationScopeOperations,AvailabilityCollectionByTargetSegmentOperations,AvailabilityCollectionOperations,AvailabilityOperations,AzureUtilizationCollectionOperations,BasePartnerComponentString,BatchJobStatusOperations,CartOperations,CategoryOffersCollectionOperations,ConfigurationPolicyOperations,CustomerApplicationConsentCollectionOperations,CustomerAvailabilityCollectionByTargetSegmentByReservationScopeOperations,CustomerAvailabilityCollectionByTargetSegmentOperations,CustomerAvailabilityCollectionOperations,CustomerAvailabilityOperations,CustomerProductCollectionByTargetViewByReservationScopeOperations,CustomerProductCollectionByTargetViewByTargetSegmentByReservationScopeOperations,CustomerProductCollectionByTargetViewByTargetSegmentOperations,CustomerProductCollectionByTargetViewOperations,CustomerProductOperations,CustomerServiceRequestOperations,CustomerSkuCollectionByTargetSegmentOperations,CustomerSkuCollectionOperations,CustomerSkuOperations,CustomerSubscribedSkuCollectionOperations,CustomerUserLicenseCollectionOperations,CustomerUserLicenseUpdateOperations,CustomerUserOperations,CustomerUserRoleCollectionOperations,CustomerUsersCollectionOperations,DeviceCollectionOperations,DeviceOperations,DevicesBatchOperations,DirectoryRoleOperations,EntitlementCollectionByEntitlementTypeOperations,OfferAddOnsOperations,OfferOperations,OrderCollectionByBillingCycleTypeOperations,OrderLineItemActivationLinkOperations,OrderLineItemCollectionOperations,OrderLineItemOperations,OrderOperations,OrderProvisioningStatusOperations,OrderSubscriptionCollectionOperations,PartnerServiceRequestOperations,PartnerSubscriptionCollectionOperations,ProductCollectionByCountryByTargetViewByTargetSegmentOperations,ProductCollectionByCountryByTargetViewOperations,ProductOperations,ReceiptDocumentsOperations,ReceiptOperations,ReceiptStatementOperations,ReconciliationLineItemCollectionOperations,ResourceUsageRecordCollectionOperations,ServiceCostLineItemsOperations,ServiceCostsCollectionOperations,ServiceCostSummaryOperations,SkuCollectionByTargetSegmentOperations,SkuCollectionOperations,SkuOperations,SubscriptionActivationLinksOperations,SubscriptionAddOnCollectionOperations,SubscriptionConversionCollectionOperations,SubscriptionOperations,SubscriptionProvisioningStatusOperations,SubscriptionRegistrationOperations,SubscriptionRegistrationStatusOperations,SubscriptionSupportContactOperations,SubscriptionUpgradeCollectionOperations,SubscriptionUsageRecordCollectionOperations,SubscriptionUsageSummaryOperations,UsageRecordByMeterCollectionOperations,UsageRecordByResourceCollectionOperations,UserMemberCollectionOperations,UserMemberOperations,UtilizationCollectionOperations
public abstract class BasePartnerComponent<TContext> extends Object implements IPartnerComponent<TContext>
Holds common partner component properties and behavior. All components should inherit from this class. The context
object type.
-
Constructor Summary
Constructors Modifier Constructor Description protectedBasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)Initializes a new instance of the BasePartnerComponent class. -
Method Summary
Modifier and Type Method Description TContextgetContext()Gets the component context object.IPartnergetPartner()Gets a reference to the partner operations instance that generated this component.
-
Constructor Details
-
BasePartnerComponent
Initializes a new instance of the BasePartnerComponent class.- Parameters:
rootPartnerOperations- The root partner operations that created this component.componentContext- A component context object to work with.
-
-
Method Details
-
getPartner
Description copied from interface:IPartnerComponentGets a reference to the partner operations instance that generated this component.- Specified by:
getPartnerin interfaceIPartnerComponent<TContext>- Returns:
- A reference to the partner operations instance that generated this component.
-
getContext
Description copied from interface:IPartnerComponentGets the component context object.- Specified by:
getContextin interfaceIPartnerComponent<TContext>- Returns:
- The component context object.
-