Class CustomerApplicationConsentCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.applicationconsents.CustomerApplicationConsentCollectionOperations
- All Implemented Interfaces:
ICustomerApplicationConsentCollection,IEntityCreateOperations<ApplicationConsent,ApplicationConsent>,IEntitySelector<String,IApplicationConsent>,IPartnerComponent<String>,IPartnerComponentString
public class CustomerApplicationConsentCollectionOperations extends BasePartnerComponent<String> implements ICustomerApplicationConsentCollection
Implements the operations on an Application consent collection.
-
Constructor Summary
Constructors Constructor Description CustomerApplicationConsentCollectionOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the CustomerApplicationConsentCollectionOperations class. -
Method Summary
Modifier and Type Method Description IApplicationConsentbyId(String applicationId)Get a single application consent operations object.ApplicationConsentcreate(ApplicationConsent newApplicationConsent)Adds application consents.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
CustomerApplicationConsentCollectionOperations
public CustomerApplicationConsentCollectionOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the CustomerApplicationConsentCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.
-
-
Method Details
-
byId
Get a single application consent operations object.- Specified by:
byIdin interfaceICustomerApplicationConsentCollection- Specified by:
byIdin interfaceIEntitySelector<String,IApplicationConsent>- Parameters:
applicationId- The application identifier.- Returns:
- The application consents operations instance.
-
create
Adds application consents.- Specified by:
createin interfaceICustomerApplicationConsentCollection- Specified by:
createin interfaceIEntityCreateOperations<ApplicationConsent,ApplicationConsent>- Parameters:
newApplicationConsent- ApplicationConsent to add.- Returns:
- ApplicationConsent entity.
-