| ICustomerAuthorityRoleManager Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Netadmin.Management.Customer
public interface ICustomerAuthorityRoleManager : IManager<ICustomerAuthorityRole>, ICruddableBatch<ICustomerAuthorityRole>, ICreateableBatch<ICustomerAuthorityRole>, IDetailsableBatch<ICustomerAuthorityRole>, IUpdateableBatch<ICustomerAuthorityRole>, IDeletableBatch<ICustomerAuthorityRole>, IGetAllable<ICustomerAuthorityRole>, IUniqeueNames<ICustomerAuthorityRole>, IFilterable<ICustomerAuthorityRole, ICustomerAuthorityRoleFilter>, IFilterable<ICustomerAuthorityAuthorization, ICustomerAuthorityAuthorizationFilter>
The ICustomerAuthorityRoleManager type exposes the following members.
| Name | Description | ||
|---|---|---|---|
| void | Authorize(Int64, Int64, Int64) |
Create an authorization for the authorized representative to act on behalf of the delegating customer as a specific role.
If the specific role already exists it will not be added again
| |
| IEnumerableT | Create(IEnumerableT) |
Creates multiple entities in one operation
(Inherited from ICreateableBatchT.) | |
| void | Delete(IEnumerableInt64) |
Deletes multiple entities in one operation
(Inherited from IDeletableBatchT.) | |
| IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAny(IEnumerableInt64) |
Attempts to get details on multiple ids. If an id is not found, it will not be included in the returned dictionary
(Inherited from IDetailsableBatchT.) | |
| IPaginationT | Filter(TFilterDtoInterface, PaginationRequestTDToInterface) |
Searches for entities using a filter and returnes a pagination based on the supplied request
(Inherited from IFilterableTDToInterface, TFilterDtoInterface.) | |
| IEnumerableT | GetAll |
Retrieves every entity
(Inherited from IGetAllableT.) | |
| IEnumerableT, T: String | GetAllLabels |
Retrieves all existing labels for customer authority roles
| |
| IReadOnlyDictionaryTKey, TValue, T: String | GetAnyByNames(IEnumerableString) |
Attempts to get enties by their names
(Inherited from IUniqeueNamesT.) | |
| IEnumerableT, T: ICustomerAuthorityAuthorization | GetCustomerAuthorizations(Int64) |
Retrieves all authorizations involving a customer, either as a Delegating Customer or an Authorized Representative
| |
| IEnumerableT, T: String | GetDuplicateNames(IEnumerableKeyValuePairInt64, String) |
Checks for duplicates for ids and names
(Inherited from IUniqeueNamesT.) | |
| void | SetLabels(Int64, IEnumerableString) |
Sets labels for a specific customer authority role
| |
| void | Unauthorize(Int64, Int64, NullableInt64) |
Removes the an authorization for an authorized representative to act on behalf of the delegating customer for a specific/all role(s).
No exception will be thrown if the role did not exist
| |
| void | Update(IEnumerableT) |
Updates multiple entities in one operation
(Inherited from IUpdateableBatchT.) |
| Name | Description | ||
|---|---|---|---|
| ICustomerAuthorityRole | CreateICustomerAuthorityRole(ICustomerAuthorityRole) | (Defined by CreateableBatchExtensions.) | |
| void | DeleteICustomerAuthorityRole(Int64) | (Defined by DeletableBatchExtensions.) | |
| ICustomerAuthorityRole | DetailsAllICustomerAuthorityRole(Int64) | Overloaded. (Defined by DetailsableBatchExtensions.) | |
| IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAllICustomerAuthorityRole(IEnumerableInt64) | Overloaded. (Defined by DetailsableBatchExtensions.) | |
| ICustomerAuthorityRole | DetailsAnyICustomerAuthorityRole(Int64) | IDetailsableBatchT
Returns details of entity with id 'id', or null if not found
Thrown if any id zero or less. (Defined by DetailsableBatchExtensions.) | |
| IReadOnlyDictionaryTKey, TValue, T: String | GetAnyByNamesICustomerAuthorityRole(String) | (Defined by UniqueNamesExtensions.) | |
| void | UpdateICustomerAuthorityRole(ICustomerAuthorityRole) | (Defined by UpdateableBatchExtensions.) |