Class DirectoryRoleCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.customerdirectoryroles.DirectoryRoleCollectionOperations
- All Implemented Interfaces:
IDirectoryRoleCollection,IEntireEntityCollectionRetrievalOperations<DirectoryRole,ResourceCollection<DirectoryRole>>,IEntitySelector<String,IDirectoryRole>,IPartnerComponent<String>,IPartnerComponentString
public class DirectoryRoleCollectionOperations extends BasePartnerComponentString implements IDirectoryRoleCollection
DirectoryRoleCollectionOperations
-
Constructor Summary
Constructors Constructor Description DirectoryRoleCollectionOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the DirectoryRoleCollectionOperations class. -
Method Summary
Modifier and Type Method Description IDirectoryRolebyId(String roleId)Gets a directory role operations object.ResourceCollection<DirectoryRole>get()Retrieves all customer directory roles.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
-
DirectoryRoleCollectionOperations
Initializes a new instance of the DirectoryRoleCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.
-
-
Method Details
-
byId
Gets a directory role operations object.- Specified by:
byIdin interfaceIDirectoryRoleCollection- Specified by:
byIdin interfaceIEntitySelector<String,IDirectoryRole>- Parameters:
roleId- The directory role id.- Returns:
- The directory role operations object.
-
get
Retrieves all customer directory roles.- Specified by:
getin interfaceIDirectoryRoleCollection- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<DirectoryRole,ResourceCollection<DirectoryRole>>- Returns:
- All the customer directory roles.
-