TRONIX Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Tronix.Business.Services.ProductService Class Reference
Inheritance diagram for Tronix.Business.Services.ProductService:
Inheritance graph
[legend]
Collaboration diagram for Tronix.Business.Services.ProductService:
Collaboration graph
[legend]

Public Member Functions

 ProductService (IRepository< CasActivatedContract > casActivatedContractRepository, IRepository< DealerIndustryProduct > dealerIndustryProductRepository, IRepository< DealerAdhocProduct > dealerAdhocProductRepository, IRepository< TermOption > termOptionRepository, IRepository< Dealer > dealerRepository, IRepository< Tpa > tpaRepository, IRepository< ContractAdminSystemIndustryProductType > contractAdminSystemIndustryProductTypeRepository, IRepository< ContractAdminSystem > contractAdminSystemRepository, IRepository< IndustryProductType > industryProductTypeRepository, IRepository< ContractAdminSystemCoverageType > contractAdminSystemCoverageTypeRepository, IRepository< PriceOverrideReason > priceOverrideReasonRepository, IMenuTemplateService menuTemplateService, ISessionProviderService sessionProviderService, ILoggerService logger)
 
IEnumerable< ContractAdminSystemIndustryProductTypeGetSystemProductTypes ()
 
IEnumerable< ContractAdminSystemCoverageTypeGetSystemCoverageTypes ()
 
List< TermOptionGetAdhocTerms ()
 
List< TermOptionGetTermOptions ()
 
List< IndustryProductTypeGetIndustryProductTypes ()
 
IndustryProductType GetIndustryProductType (string productTypeName)
 
IndustryProductType GetIndustryProductTypeById (int id)
 
List< MenuTemplateProductDTOGetActiveProductsForMenuTemplate (int dealerCode, int? menuTemplateId)
 
List< ProductDTOGetAvailableDealerProducts (int dealerCode)
 
List< ProductDTOSearchDealerProducts (int dealerCode, Status? status=null)
 
IndustryProductType InsertIndustryProductType (IndustryProductType industryProductType)
 
List< PriceOverrideReasonDTOGetPriceOverrideReasons ()
 
List< KeyValuePairDTO< int, string > > GetProductTypesForDropDown ()
 
decimal GetDealerTaxRate (int dealerCode)
 
DealerAdhocProduct GetAdhocById (int id)
 
void CreateDealerIndustryProduct (DealerIndustryProduct dealerIndustryProduct, bool saveChanges=true)
 
DealerIndustryProduct GetDealerIndustryProductById (int id)
 
List< DealerIndustryProductGetDealerIndustryProductsByIds (List< int > ids)
 
List< DealerAdhocProductGetAdhocsByIds (List< int > ids)
 
void ChangeIndustryProductStatus (int id, bool active)
 
void ChangeAdhocProductStatus (int id, bool active)
 
void UpdateDealerAdhocProduct (DealerAdhocProduct dealerAdhocProduct)
 
void UpdateDealerIndustryProduct (DealerIndustryProduct dealerIndustryProduct)
 
List< IndustryProductTypeGetIndustryProductTypes (int ownerGroup, int dealerCode, int producer, int agency, int tpa)
 
List< ContractAdminSystemIndustryProductTypeGetDealerCasProductTypes (int ownerGroup, int dealerCode, int industryProductType)
 
string GetMenuDescription (Dealer dealer, TpaDealRatesCache tpaDealRatesCache, List< ContractAdminSystemIndustryProductType > productTypes, List< ContractAdminSystemCoverageType > coverageTypes)
 
List< KeyValuePairDTO< int, string > > GetByTpaId (int tpaId)
 
List< KeyValuePairDTO< int, string > > GetUnusedIndustryProductTypesByTpaAndDealer (int tpaId, int dealerCode)
 
void CreateDealerAdhocProduct (DealerAdhocProduct dealerAdhocProduct, bool saveChanges=true)
 
DealerIndustryProduct FindDealerIntegratedProductByTpaAndProductType (int dealerCode, int tpaId, int iptId)
 
IEnumerable< Models.ContractAdminSystemIndustryProductTypeGetSystemProductTypes ()
 
IEnumerable< ContractAdminSystemCoverageTypeGetSystemCoverageTypes ()
 
List< IndustryProductTypeGetIndustryProductTypes ()
 
List< TermOptionGetTermOptions ()
 
List< PriceOverrideReasonDTOGetPriceOverrideReasons ()
 
DealerIndustryProduct FindDealerIntegratedProductByTpaAndProductType (int dealerCode, int tpaId, int iptId)
 
List< TermOptionGetAdhocTerms ()
 
decimal GetDealerTaxRate (int dealerCode)
 
DealerAdhocProduct GetAdhocById (int id)
 
List< DealerAdhocProductGetAdhocsByIds (List< int > ids)
 
void CreateDealerIndustryProduct (DealerIndustryProduct dealerIndustryProduct, bool saveChanges=true)
 
DealerIndustryProduct GetDealerIndustryProductById (int id)
 
List< DealerIndustryProductGetDealerIndustryProductsByIds (List< int > ids)
 
void ChangeIndustryProductStatus (int id, bool active)
 
void ChangeAdhocProductStatus (int id, bool active)
 
void UpdateDealerAdhocProduct (DealerAdhocProduct dealerAdhocProduct)
 
void UpdateDealerIndustryProduct (DealerIndustryProduct dealerIndustryProduct)
 
List< IndustryProductTypeGetIndustryProductTypes (int ownerGroup, int dealerCode, int producer, int agency, int tpa)
 
List< ContractAdminSystemIndustryProductTypeGetDealerCasProductTypes (int ownerGroup, int dealerCode, int industryProductType)
 
string GetMenuDescription (Dealer dealer, TpaDealRatesCache tpaDealRatesCache, List< ContractAdminSystemIndustryProductType > productTypes, List< ContractAdminSystemCoverageType > coverageTypes)
 
List< KeyValuePairDTO< int, string > > GetByTpaId (int tpaId)
 
List< KeyValuePairDTO< int, string > > GetUnusedIndustryProductTypesByTpaAndDealer (int tpaId, int dealerCode)
 
List< KeyValuePairDTO< int, string > > GetProductTypesForDropDown ()
 
void CreateDealerAdhocProduct (DealerAdhocProduct dealerAdhocProduct, bool saveChanges=true)
 
IndustryProductType GetIndustryProductType (string productTypeName)
 
IndustryProductType GetIndustryProductTypeById (int id)
 
IndustryProductType InsertIndustryProductType (IndustryProductType industryProductType)
 
List< MenuTemplateProductDTOGetActiveProductsForMenuTemplate (int dealerCode, int? menuTemplateId=null)
 
List< ProductDTOSearchDealerProducts (int dealerCode, Models.Enums.Status? status)
 
List< ProductDTOGetAvailableDealerProducts (int dealerCode)
 

Constructor & Destructor Documentation

◆ ProductService()

Tronix.Business.Services.ProductService.ProductService ( IRepository< CasActivatedContract casActivatedContractRepository,
IRepository< DealerIndustryProduct dealerIndustryProductRepository,
IRepository< DealerAdhocProduct dealerAdhocProductRepository,
IRepository< TermOption termOptionRepository,
IRepository< Dealer dealerRepository,
IRepository< Tpa tpaRepository,
IRepository< ContractAdminSystemIndustryProductType contractAdminSystemIndustryProductTypeRepository,
IRepository< ContractAdminSystem contractAdminSystemRepository,
IRepository< IndustryProductType industryProductTypeRepository,
IRepository< ContractAdminSystemCoverageType contractAdminSystemCoverageTypeRepository,
IRepository< PriceOverrideReason priceOverrideReasonRepository,
IMenuTemplateService  menuTemplateService,
ISessionProviderService  sessionProviderService,
ILoggerService  logger 
)

Member Function Documentation

◆ ChangeAdhocProductStatus()

void Tronix.Business.Services.ProductService.ChangeAdhocProductStatus ( int  id,
bool  active 
)

◆ ChangeIndustryProductStatus()

void Tronix.Business.Services.ProductService.ChangeIndustryProductStatus ( int  id,
bool  active 
)

◆ CreateDealerAdhocProduct()

void Tronix.Business.Services.ProductService.CreateDealerAdhocProduct ( DealerAdhocProduct  dealerAdhocProduct,
bool  saveChanges = true 
)

◆ CreateDealerIndustryProduct()

void Tronix.Business.Services.ProductService.CreateDealerIndustryProduct ( DealerIndustryProduct  dealerIndustryProduct,
bool  saveChanges = true 
)

◆ FindDealerIntegratedProductByTpaAndProductType()

DealerIndustryProduct Tronix.Business.Services.ProductService.FindDealerIntegratedProductByTpaAndProductType ( int  dealerCode,
int  tpaId,
int  iptId 
)

◆ GetActiveProductsForMenuTemplate()

List< MenuTemplateProductDTO > Tronix.Business.Services.ProductService.GetActiveProductsForMenuTemplate ( int  dealerCode,
int?  menuTemplateId 
)

◆ GetAdhocById()

DealerAdhocProduct Tronix.Business.Services.ProductService.GetAdhocById ( int  id)

◆ GetAdhocsByIds()

List< DealerAdhocProduct > Tronix.Business.Services.ProductService.GetAdhocsByIds ( List< int >  ids)

◆ GetAdhocTerms()

List< TermOption > Tronix.Business.Services.ProductService.GetAdhocTerms ( )

◆ GetAvailableDealerProducts()

List< ProductDTO > Tronix.Business.Services.ProductService.GetAvailableDealerProducts ( int  dealerCode)

◆ GetByTpaId()

List< KeyValuePairDTO< int, string > > Tronix.Business.Services.ProductService.GetByTpaId ( int  tpaId)

◆ GetDealerCasProductTypes()

List< ContractAdminSystemIndustryProductType > Tronix.Business.Services.ProductService.GetDealerCasProductTypes ( int  ownerGroup,
int  dealerCode,
int  industryProductType 
)

◆ GetDealerIndustryProductById()

DealerIndustryProduct Tronix.Business.Services.ProductService.GetDealerIndustryProductById ( int  id)

◆ GetDealerIndustryProductsByIds()

List< DealerIndustryProduct > Tronix.Business.Services.ProductService.GetDealerIndustryProductsByIds ( List< int >  ids)

◆ GetDealerTaxRate()

decimal Tronix.Business.Services.ProductService.GetDealerTaxRate ( int  dealerCode)

◆ GetIndustryProductType()

IndustryProductType Tronix.Business.Services.ProductService.GetIndustryProductType ( string  productTypeName)

◆ GetIndustryProductTypeById()

IndustryProductType Tronix.Business.Services.ProductService.GetIndustryProductTypeById ( int  id)

◆ GetIndustryProductTypes() [1/2]

List< IndustryProductType > Tronix.Business.Services.ProductService.GetIndustryProductTypes ( )

◆ GetIndustryProductTypes() [2/2]

List< IndustryProductType > Tronix.Business.Services.ProductService.GetIndustryProductTypes ( int  ownerGroup,
int  dealerCode,
int  producer,
int  agency,
int  tpa 
)

◆ GetMenuDescription()

string Tronix.Business.Services.ProductService.GetMenuDescription ( Dealer  dealer,
TpaDealRatesCache  tpaDealRatesCache,
List< ContractAdminSystemIndustryProductType productTypes,
List< ContractAdminSystemCoverageType coverageTypes 
)

◆ GetPriceOverrideReasons()

List< PriceOverrideReasonDTO > Tronix.Business.Services.ProductService.GetPriceOverrideReasons ( )

◆ GetProductTypesForDropDown()

List< KeyValuePairDTO< int, string > > Tronix.Business.Services.ProductService.GetProductTypesForDropDown ( )

◆ GetSystemCoverageTypes()

IEnumerable< ContractAdminSystemCoverageType > Tronix.Business.Services.ProductService.GetSystemCoverageTypes ( )

◆ GetSystemProductTypes()

IEnumerable< ContractAdminSystemIndustryProductType > Tronix.Business.Services.ProductService.GetSystemProductTypes ( )

◆ GetTermOptions()

List< TermOption > Tronix.Business.Services.ProductService.GetTermOptions ( )

◆ GetUnusedIndustryProductTypesByTpaAndDealer()

List< KeyValuePairDTO< int, string > > Tronix.Business.Services.ProductService.GetUnusedIndustryProductTypesByTpaAndDealer ( int  tpaId,
int  dealerCode 
)

◆ InsertIndustryProductType()

IndustryProductType Tronix.Business.Services.ProductService.InsertIndustryProductType ( IndustryProductType  industryProductType)

◆ SearchDealerProducts()

List< ProductDTO > Tronix.Business.Services.ProductService.SearchDealerProducts ( int  dealerCode,
Status status = null 
)

◆ UpdateDealerAdhocProduct()

void Tronix.Business.Services.ProductService.UpdateDealerAdhocProduct ( DealerAdhocProduct  dealerAdhocProduct)

◆ UpdateDealerIndustryProduct()

void Tronix.Business.Services.ProductService.UpdateDealerIndustryProduct ( DealerIndustryProduct  dealerIndustryProduct)

The documentation for this class was generated from the following file: