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

Public Member Functions

 DealerGroupService (IRepository< OwnerGroup > ownerGroupRepository, IOwnerGroupCreationRepository ownerGroupCreationRepository, IRepository< Dealer > dealerRepository, IRepository< OwnerGroupSellingStyle > ownerGroupSellingStyleRepository, IRepository< AgencyDealer > agencyDealerRepository, IRepository< AgentDealer > agentDealerRepository, IRepository< UserDealer > userDealerRepository, IRepository< DealerIndustryProduct > dealerIndustryProductRepository, ISessionProviderService sessionProviderService, IRepository< DealerSellingStyle > dealerSellingStyleRepository)
 
OwnerGroup GetByOwnerCode (int ownerCode)
 
OwnerGroup AddDealerGroup (OwnerGroup ownerGroup, IEnumerable< SellingStyleSerializableDTO > sellingStyles=null)
 
DealerGroup SearchDealerGroups (int id)
 
List< DealerGetAssociatedDealerships (int id)
 
IEnumerable< DealerGroupGetDealerGroups ()
 
IEnumerable< DealerGroupGetDealerGroupsByTpaIds (List< int > tpaIds)
 
bool EditDealerGroup (OwnerGroup model, IEnumerable< SellingStyleSerializableDTO > sellingStyles=null)
 
IEnumerable< OwnerGroupGetOwnerGroups ()
 
IEnumerable< OwnerGroupGetOwnerGroupsForDealerAdd ()
 
IEnumerable< GetUserOwnerGroupsDTOGetUserOwnerGroupsForDropDown (int? selectedAgentId=null)
 Gets a list of

See also
GetUserOwnerGroupsDTO, UserRoleEnum.TronixAdmin

based on the user. If the user is a retrieve all owner groups.

 
List< OwnerGroupGetDealerGroupsForTypeAhead (string dealerGroupName)
 
List< OwnerGroupGetDealerGroupsByTpaName (string tpaName)
 
List< OwnerGroupGetDealerGroupsByAgencyName (string agencyName)
 
List< OwnerGroupGetDealerGroupsByDealerName (string dealerName)
 
void RetireDealerGroup (int ownerCode)
 
void ActivateDealerGroup (int ownerCode)
 
IQueryable< OwnerGroupAdminSearch (DealerGroupSearchCriteriaDTO criteria)
 
List< GetUserOwnerGroupsDTOGetForDropDown ()
 
bool AlreadyExists (string name, int? id=null)
 
IEnumerable< DealerGroupGetDealerGroups ()
 
IEnumerable< DealerGroupGetDealerGroupsByTpaIds (List< int > tpaIds)
 
OwnerGroup GetByOwnerCode (int ownerCode)
 
OwnerGroup AddDealerGroup (OwnerGroup ownerGroup, IEnumerable< SellingStyleSerializableDTO > sellingStyles=null)
 
DealerGroup SearchDealerGroups (int id)
 
List< DealerGetAssociatedDealerships (int id)
 
bool EditDealerGroup (OwnerGroup model, IEnumerable< SellingStyleSerializableDTO > sellingStyles=null)
 
IEnumerable< OwnerGroupGetOwnerGroups ()
 
IEnumerable< OwnerGroupGetOwnerGroupsForDealerAdd ()
 
List< OwnerGroupGetDealerGroupsForTypeAhead (string dealerGroupName)
 
List< OwnerGroupGetDealerGroupsByTpaName (string tpaName)
 
List< OwnerGroupGetDealerGroupsByAgencyName (string agencyName)
 
List< OwnerGroupGetDealerGroupsByDealerName (string dealerName)
 
void RetireDealerGroup (int ownerCode)
 
void ActivateDealerGroup (int ownerCode)
 
IQueryable< OwnerGroupAdminSearch (DealerGroupSearchCriteriaDTO criteria)
 
List< GetUserOwnerGroupsDTOGetForDropDown ()
 
bool AlreadyExists (string name, int? id=null)
 
IEnumerable< GetUserOwnerGroupsDTOGetUserOwnerGroupsForDropDown (int? selectedAgentId=null)
 

Constructor & Destructor Documentation

◆ DealerGroupService()

Tronix.Business.Services.DealerGroupService.DealerGroupService ( IRepository< OwnerGroup ownerGroupRepository,
IOwnerGroupCreationRepository  ownerGroupCreationRepository,
IRepository< Dealer dealerRepository,
IRepository< OwnerGroupSellingStyle ownerGroupSellingStyleRepository,
IRepository< AgencyDealer agencyDealerRepository,
IRepository< AgentDealer agentDealerRepository,
IRepository< UserDealer userDealerRepository,
IRepository< DealerIndustryProduct dealerIndustryProductRepository,
ISessionProviderService  sessionProviderService,
IRepository< DealerSellingStyle dealerSellingStyleRepository 
)

Member Function Documentation

◆ ActivateDealerGroup()

void Tronix.Business.Services.DealerGroupService.ActivateDealerGroup ( int  ownerCode)

◆ AddDealerGroup()

OwnerGroup Tronix.Business.Services.DealerGroupService.AddDealerGroup ( OwnerGroup  ownerGroup,
IEnumerable< SellingStyleSerializableDTO sellingStyles = null 
)

◆ AdminSearch()

IQueryable< OwnerGroup > Tronix.Business.Services.DealerGroupService.AdminSearch ( DealerGroupSearchCriteriaDTO  criteria)

◆ AlreadyExists()

bool Tronix.Business.Services.DealerGroupService.AlreadyExists ( string  name,
int?  id = null 
)

◆ EditDealerGroup()

bool Tronix.Business.Services.DealerGroupService.EditDealerGroup ( OwnerGroup  model,
IEnumerable< SellingStyleSerializableDTO sellingStyles = null 
)

◆ GetAssociatedDealerships()

List< Dealer > Tronix.Business.Services.DealerGroupService.GetAssociatedDealerships ( int  id)

◆ GetByOwnerCode()

OwnerGroup Tronix.Business.Services.DealerGroupService.GetByOwnerCode ( int  ownerCode)

◆ GetDealerGroups()

IEnumerable< DealerGroup > Tronix.Business.Services.DealerGroupService.GetDealerGroups ( )

◆ GetDealerGroupsByAgencyName()

List< OwnerGroup > Tronix.Business.Services.DealerGroupService.GetDealerGroupsByAgencyName ( string  agencyName)

◆ GetDealerGroupsByDealerName()

List< OwnerGroup > Tronix.Business.Services.DealerGroupService.GetDealerGroupsByDealerName ( string  dealerName)

◆ GetDealerGroupsByTpaIds()

IEnumerable< DealerGroup > Tronix.Business.Services.DealerGroupService.GetDealerGroupsByTpaIds ( List< int >  tpaIds)

◆ GetDealerGroupsByTpaName()

List< OwnerGroup > Tronix.Business.Services.DealerGroupService.GetDealerGroupsByTpaName ( string  tpaName)

◆ GetDealerGroupsForTypeAhead()

List< OwnerGroup > Tronix.Business.Services.DealerGroupService.GetDealerGroupsForTypeAhead ( string  dealerGroupName)

◆ GetForDropDown()

List< GetUserOwnerGroupsDTO > Tronix.Business.Services.DealerGroupService.GetForDropDown ( )

◆ GetOwnerGroups()

IEnumerable< OwnerGroup > Tronix.Business.Services.DealerGroupService.GetOwnerGroups ( )

◆ GetOwnerGroupsForDealerAdd()

IEnumerable< OwnerGroup > Tronix.Business.Services.DealerGroupService.GetOwnerGroupsForDealerAdd ( )

◆ GetUserOwnerGroupsForDropDown()

IEnumerable< GetUserOwnerGroupsDTO > Tronix.Business.Services.DealerGroupService.GetUserOwnerGroupsForDropDown ( int?  selectedAgentId = null)

Gets a list of

See also
GetUserOwnerGroupsDTO, UserRoleEnum.TronixAdmin

based on the user. If the user is a retrieve all owner groups.

Parameters
selectedAgentId
Returns

Implements Tronix.Business.Services.Interfaces.IDealerGroupService.

◆ RetireDealerGroup()

void Tronix.Business.Services.DealerGroupService.RetireDealerGroup ( int  ownerCode)

◆ SearchDealerGroups()

DealerGroup Tronix.Business.Services.DealerGroupService.SearchDealerGroups ( int  id)

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