Click or drag to resize
IProductManager Interface

[This is preliminary documentation and is subject to change.]

Manages Products

Namespace: Netadmin.Management.Order
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
public interface IProductManager : ICruddableBatch<IProduct>, 
	ICreateableBatch<IProduct>, IManager<IProduct>, IDetailsableBatch<IProduct>, 
	IUpdateableBatch<IProduct>, IDeletableBatch<IProduct>, IFilterable<IProduct, IProductFilter>, 
	ITop100ForProvider<IProduct>, IUniqeueNames<IProduct>, IGetAllable<IProduct>

The IProductManager type exposes the following members.

Methods
  NameDescription
Public method void AddAddressGroup(Int64, IEnumerableInt64)
Adds a relation to an address group
Public method void AddDelegations(Int64, IEnumerableInt64)
Delegates a product to a a set of service provider
Public method void AddProducts(Int64, IReadOnlyDictionaryInt64, Boolean)
Adds products to a product
Public method void AddServiceProviders(Int64, IEnumerableInt64)
Adds service providers to a CO product
Public method void AddServices(Int64, IReadOnlyDictionaryInt64, Int32)
Adds services to a product
Public methodIEnumerableTCreate(IEnumerableT)
Creates multiple entities in one operation
(Inherited from ICreateableBatchT.)
Public method void Delete(IEnumerableInt64)
Deletes multiple entities in one operation
(Inherited from IDeletableBatchT.)
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64DetailsAny(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.)
Public methodIPaginationTFilter(TFilterDtoInterface, PaginationRequestTDToInterface)
Searches for entities using a filter and returnes a pagination based on the supplied request
(Inherited from IFilterableTDToInterface, TFilterDtoInterface.)
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetAddressGroups(IEnumerableInt64)
Retrieves the address groups related to a set of products
Public methodIEnumerableTGetAll
Retrieves every entity
(Inherited from IGetAllableT.)
Public methodIReadOnlyDictionaryTKey, TValue, T: StringGetAnyByNames(IEnumerableString)
Attempts to get enties by their names
(Inherited from IUniqeueNamesT.)
Public methodIEnumerableT, T: Int64GetApplicableAddressGroups(Int64)
Retrieves applicable address groups based on a product id
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetAvailableProductsOnAddresses(IEnumerableInt64, IEnumerableInt64)
Retrieves which products are available on specified addresses according to address groups
Public methodIEnumerableT, T: IProductGetDelegatedProductsForServiceProvider(Int64)
Retrieve all products which have been delegated to a specific service provider
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetDelegations(IEnumerableInt64)
Retrieves the delegation rules for a set of products
Public methodIEnumerableT, T: StringGetDuplicateNames(IEnumerableKeyValuePairInt64, String)
Checks for duplicates for ids and names
(Inherited from IUniqeueNamesT.)
Public methodIEnumerableT, T: IAssemblyGetOrderAttributeAssemblies
Retrieve all existing order attribute validation assemblies
Public methodIEnumerableT, T: ISubscriptionProductRelationGetProductRelationsForSubscriptions(IEnumerableInt64)
Retrieves product relations for subscriptions
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetProducts(IEnumerableInt64)
Retrieves the child products of a set of products
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetServiceProviders(IEnumerableInt64)
Retrieves service providers from the given CO products
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetServices(IEnumerableInt64)
Retrieves the services associated with a set of products
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetSubscribedProductsForAddresses(IEnumerableInt64)
Retrieve all subscribed products on a set of addresses
Public methodIReadOnlyDictionaryTKey, TValue, T: Int64GetSubscribedProductsForCustomers(IEnumerableInt64)
Retrieve all subscribed products for a set of customers
Public methodIReadOnlyDictionaryTKey, TValue, T: StringGetTop100(ExpressionFuncT, String, String, 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
(Inherited from ITop100ForProviderT.)
Public method void PrioritizeProducts(IReadOnlyDictionaryInt64, Int32)
Sets the priority on a set of products
Public method void PrioritizeServices(Int64, IReadOnlyDictionaryInt64, Int32)
Sets the priority on a a set of product-service relations
Public method void RemoveAddressGroup(Int64, IEnumerableInt64)
Removes a relation to an address group
Public method void RemoveDelegations(Int64, IEnumerableInt64)
Removes a product delegations from a set of service provider
Public method void RemoveProducts(Int64, IEnumerableInt64)
Removes products from a product
Public method void RemoveServiceProviders(Int64, IEnumerableInt64)
Removes service providers from a CO product
Public method void RemoveServices(Int64, IEnumerableInt64)
Removes services from a product
Public method void Update(IEnumerableT)
Updates multiple entities in one operation
(Inherited from IUpdateableBatchT.)
Top
Extension Methods
  NameDescription
Public Extension MethodIProductCreateIProduct(IProduct) (Defined by CreateableBatchExtensions.)
Public Extension Method void DeleteIProduct(Int64) (Defined by DeletableBatchExtensions.)
Public Extension MethodIProductDetailsAllIProduct(Int64)Overloaded. (Defined by DetailsableBatchExtensions.)
Public Extension MethodIReadOnlyDictionaryTKey, TValue, T: Int64DetailsAllIProduct(IEnumerableInt64)Overloaded. (Defined by DetailsableBatchExtensions.)
Public Extension MethodIProductDetailsAnyIProduct(Int64) (Defined by DetailsableBatchExtensions.)
Public Extension MethodIReadOnlyDictionaryTKey, TValue, T: StringGetAnyByNamesIProduct(String) (Defined by UniqueNamesExtensions.)
Public Extension Method void UpdateIProduct(IProduct) (Defined by UpdateableBatchExtensions.)
Top
Remarks
Supported Top100 properties: * Name * ProductType
See Also