ICustomerManager Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Netadmin.Management.Customer
public interface ICustomerManager : IManager<ICustomer>, ICreateableBatch<ICustomer>, IUpdateableBatch<ICustomer>, IDetailsableBatch<ICustomer>, IDeletableBatch<ICustomer>, ICreateableBatch_v2<ICustomer>, IUniqueName<ISubUserCustomer>, IDropdownableMultipleCompanies, IDropdownable, IFilterable<ICustomer, ICustomerFilter>, ITop100ForCompany<ICustomer>, ITop100ForCompanyAndProvider<ICustomer>
The ICustomerManager type exposes the following members.
Name | Description | ||
---|---|---|---|
![]() | void | BlockCustomerFromPortal(Int64) |
Blocks the specified customer from logging into the customer portal
|
![]() | IReadOnlyDictionaryTKey, TValue, T: Guid | Create(IReadOnlyDictionaryGuid, T) |
Creates multiple entities in one operation
(Inherited from ICreateableBatch_v2T.) |
![]() | IEnumerableT | Create(IEnumerableT) |
Creates multiple entities in one operation
(Inherited from ICreateableBatchT.) |
![]() | void | CreateServiceProviderCustomerInstances(IEnumerableInt64, IEnumerableInt64) | Obsolete.
Creates service provider instances of customers
|
![]() | Int64 | CreateSubUserCustomer(ISubUserCustomer) |
Creates a sub user for a customer
|
![]() | void | Delete(IEnumerableInt64) |
Deletes multiple entities in one operation
(Inherited from IDeletableBatchT.) |
![]() | void | DeleteSubUserCustomer(Int64) |
Deletes a sub user
|
![]() | ICustomer | Details(Int64, Int64) | Obsolete.
Retrieves details on a customer
|
![]() | 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, T: IArchivedSubscription | GetArchivedSubscriptions(Int64) |
Retrieves archived subscriptions for a customer
|
![]() | IEnumerableT, T: IArchivedSubscription | GetArchivedSubscriptionsForCustomer(Int64, Int64) | Obsolete.
Retrieves archived subscriptions for a customer
|
![]() | IEnumerableT, T: ICustomerDevice | GetCustomerEquipments(Int64) |
Retrieves customer devices
|
![]() | IReadOnlyDictionaryTKey, TValue, T: Int64 | GetCustomersByAddressIds(IEnumerableInt64) |
Retrieves all customers on the specified addresses
|
![]() | IEnumerableT, T: ICustomer | GetCustomersToActivateOnAddress(Int64, Int64) |
Get existing customers in the system that is not activated for the specified service provider
|
![]() | IEnumerableT, T: ICustomer | GetCustomersWithDuplicateInvoiceNumbers(IEnumerableICustomer) |
Retrieves customers whom has duplicate customer numbers, depending on company settings
|
![]() | IReadOnlyDictionaryTKey, TValue, T: Int64 | GetMessageCategories(IEnumerableInt64) |
Retrieves message categories for customers
|
![]() | IEnumerableT, T: INameable | GetNames(IEnumerableInt64) |
Retrieves names for specified ids
(Inherited from IDropdownable.) |
![]() | ISubUserCustomer | GetSubUserCustomerDetails(Int64) |
Retrieves details on a customer sub user
|
![]() | IEnumerableT, T: ISubUserCustomer | GetSubUsersForCustomer(Int64) |
Retrives sub users for a customer
|
![]() | IReadOnlyDictionaryTKey, TValue, T: String | GetTop100(ExpressionFuncT, String, String, IEnumerableInt64) |
Retrieves the first 100 matches of the search string. For each string, a maximum of 100 ids are returned. Please see the interface for the manager for documentation on supported properties and additional information
(Inherited from ITop100ForCompanyT.) |
![]() | IReadOnlyDictionaryTKey, TValue, T: String | GetTop100(ExpressionFuncT, String, String, IEnumerableInt64, NullableInt64) |
Retrieves the first 100 matches of the search string. For each string, a maximum of 100 ids are returned. Please see the interface for the manager for documentation on supported properties and additional information
(Inherited from ITop100ForCompanyAndProviderT.) |
![]() | IEnumerableT, T: ICustomer | GetUserNameDuplicates(IEnumerableICustomer) |
Retrieves customers whom has duplicate usernames (not case sensitive)
|
![]() | Boolean | IsCustomerBlocked(Int64) |
Checks if the customer is blocked from the customer portal
|
![]() | Boolean | IsNameUnique(T) |
Checks if the name of a dto is unique
(Inherited from IUniqueNameT.) |
![]() | IReadOnlyDictionaryTKey, TValue, T: ICustomerSSnPair | IsSsnUnique(IEnumerableICustomerSSnPair, Boolean) |
Validates that SSn is Unique
|
![]() | IReadOnlyDictionaryTKey, TValue, T: ICustomerSSnPair | IsSsnValid(IEnumerableISSnValidationInput) |
Validates SSn using SSn validation assembly
|
![]() | IEnumerableT, T: INameable | ListTop100ByName(Int64, String) |
Lists the first 100 results starting with a partialname in an undefined order.
(Inherited from IDropdownable.) |
![]() | IEnumerableT, T: INameable | ListTop100ByName(IEnumerableInt64, String) |
Lists the first 100 results starting with a partialname in an undefined order.
(Inherited from IDropdownableMultipleCompanies.) |
![]() | void | MarkForDeletion(IEnumerableInt64) |
Marks customers for deletion to be will be deleted by maintenance plugin
|
![]() | void | SetMessageCategories(IReadOnlyDictionaryInt64, IEnumerableICustomerMessageCategoryRelation) |
Sets message categories for customers. Note that this will remove any prior configuration for the customer
|
![]() | void | UnblockCustomerFromPortal(Int64) |
Removes the block from the specified customer so he/she may log in to the customer portal
|
![]() | void | Update(IEnumerableT) |
Updates multiple entities in one operation
(Inherited from IUpdateableBatchT.) |
![]() | void | UpdateCustomerFromAddress(Int64, Int64, Boolean, Boolean) |
Updates a customer's address details based on an address
|
![]() | void | UpdateServiceProviderCustomer(ICustomer, Int64) | Obsolete.
Update a service provider instance of a customer
|
![]() | void | UpdateSubUserCustomer(ISubUserCustomer) |
Updates an existing sub user
|
Name | Description | ||
---|---|---|---|
![]() | ICustomer | CreateICustomer(ICustomer) | (Defined by CreateableBatchExtensions.) |
![]() | void | DeleteICustomer(Int64) | (Defined by DeletableBatchExtensions.) |
![]() | ICustomer | DetailsAllICustomer(Int64) | Overloaded. (Defined by DetailsableBatchExtensions.) |
![]() | IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAllICustomer(IEnumerableInt64) | Overloaded. (Defined by DetailsableBatchExtensions.) |
![]() | ICustomer | DetailsAnyICustomer(Int64) | IDetailsableBatchT
Returns details of entity with id 'id', or null if not found
Thrown if any id zero or less. (Defined by DetailsableBatchExtensions.) |
![]() | void | UpdateICustomer(ICustomer) | (Defined by UpdateableBatchExtensions.) |