Exemple #1
0
 public JobAdController(IEmployerJobAdsCommand employerJobAdsCommand, IAnonymousJobAdsCommand anonymousJobAdsCommand, IEmployerLogosCommand employerLogosCommand, IJobAdsCommand jobAdsCommand, IJobAdsQuery jobAdsQuery, IJobPostersQuery jobPostersQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, ICreditsQuery creditsQuery, IProductsQuery productsQuery, ICouponsQuery couponsQuery, IOrdersCommand ordersCommand, IOrdersQuery ordersQuery, IEmployerAllocationsCommand employerAllocationsCommand, IEmployerCreditsQuery employerCreditsQuery, IEmployerOrdersCommand employerOrdersCommand, IEmployerOrdersQuery employerOrdersQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, ILoginAuthenticationCommand loginAuthenticationCommand, IAuthenticationManager authenticationManager)
 {
     _employerJobAdsCommand      = employerJobAdsCommand;
     _anonymousJobAdsCommand     = anonymousJobAdsCommand;
     _employerLogosCommand       = employerLogosCommand;
     _jobAdsCommand              = jobAdsCommand;
     _jobAdsQuery                = jobAdsQuery;
     _jobPostersQuery            = jobPostersQuery;
     _memberJobAdViewsQuery      = memberJobAdViewsQuery;
     _creditsQuery               = creditsQuery;
     _productsQuery              = productsQuery;
     _couponsQuery               = couponsQuery;
     _ordersCommand              = ordersCommand;
     _ordersQuery                = ordersQuery;
     _employerAllocationsCommand = employerAllocationsCommand;
     _employerCreditsQuery       = employerCreditsQuery;
     _employerOrdersCommand      = employerOrdersCommand;
     _employerOrdersQuery        = employerOrdersQuery;
     _locationQuery              = locationQuery;
     _industriesQuery            = industriesQuery;
     _accountsManager            = accountsManager;
     _loginCredentialsQuery      = loginCredentialsQuery;
     _loginAuthenticationCommand = loginAuthenticationCommand;
     _authenticationManager      = authenticationManager;
 }
 public EmailResumeSearchAlertsTask(IExecuteMemberSearchCommand executeMemberSearchCommand, IMemberSearchesQuery memberSearchesQuery, IMemberSearchAlertsCommand memberSearchAlertsCommand, IMemberSearchAlertsQuery memberSearchAlertsQuery, IEmployersQuery employersQuery, IEmailsCommand emailsCommand, IIndustriesQuery industriesQuery, IEmployerMemberViewsQuery employerMemberViewsQuery)
     : base(executeMemberSearchCommand, memberSearchesQuery, memberSearchAlertsCommand, memberSearchAlertsQuery, employersQuery, AlertType.Email)
 {
     _emailsCommand            = emailsCommand;
     _industriesQuery          = industriesQuery;
     _employerMemberViewsQuery = employerMemberViewsQuery;
 }
Exemple #3
0
 public JoinController(IPageflowEngine pageflowEngine, IAccountsManager accountsManager, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand, IMembersQuery membersQuery, ICandidatesCommand candidatesCommand, ICandidatesQuery candidatesQuery, ICandidateResumesCommand candidateResumesCommand, IResumesQuery resumesQuery, IAffiliationItemsFactory affiliationItemsFactory, IMemberAffiliationsCommand memberAffiliationsCommand, IMemberAffiliationsQuery memberAffiliationsQuery, IMemberStatusQuery memberStatusQuery, IFilesQuery filesQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IReferralsCommand referralsCommand, IReferralsQuery referralsQuery, IMemberFriendsCommand memberFriendsCommand, IMemberFriendsQuery memberFriendsQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
     : base(Routes, pageflowEngine)
 {
     _membersQuery                = membersQuery;
     _memberAccountsCommand       = memberAccountsCommand;
     _accountVerificationsCommand = accountVerificationsCommand;
     _accountsManager             = accountsManager;
     _candidatesQuery             = candidatesQuery;
     _candidatesCommand           = candidatesCommand;
     _candidateResumesCommand     = candidateResumesCommand;
     _resumesQuery                = resumesQuery;
     _filesQuery = filesQuery;
     _affiliationItemsFactory   = affiliationItemsFactory;
     _memberAffiliationsCommand = memberAffiliationsCommand;
     _memberAffiliationsQuery   = memberAffiliationsQuery;
     _memberStatusQuery         = memberStatusQuery;
     _locationQuery             = locationQuery;
     _industriesQuery           = industriesQuery;
     _referralsCommand          = referralsCommand;
     _referralsQuery            = referralsQuery;
     _memberFriendsCommand      = memberFriendsCommand;
     _memberFriendsQuery        = memberFriendsQuery;
     _settingsQuery             = settingsQuery;
     _settingsCommand           = settingsCommand;
 }
Exemple #4
0
        public static Candidate Map(this CandidateEntity entity, Guid?resumeId, IIndustriesQuery industriesQuery)
        {
            return(new Candidate
            {
                Id = entity.id,
                LastUpdatedTime = entity.lastEditedTime,
                Status = (CandidateStatus)entity.status,

                DesiredJobTitle = entity.desiredJobTitle,
                DesiredJobTypes = (JobTypes)entity.desiredJobTypes,
                DesiredSalary = (entity.desiredSalaryLower == null && entity.desiredSalaryUpper == null)
                    ? null
                    : new Salary {
                    LowerBound = entity.desiredSalaryLower, UpperBound = entity.desiredSalaryUpper, Rate = (SalaryRate)entity.desiredSalaryRateType, Currency = Currency.AUD
                },

                RelocationPreference = (RelocationPreference)entity.relocationPreference,

                HighestEducationLevel = (EducationLevel?)entity.highestEducationLevel,
                RecentSeniority = (Seniority?)entity.recentSeniority,
                RecentProfession = (Profession?)entity.recentProfession,
                VisaStatus = (VisaStatus?)entity.visaStatus,

                ResumeId = resumeId,
            });
        }
Exemple #5
0
 public JobAdMapper(ILocationQuery locationQuery, IIndustriesQuery industriesQuery, string[] ignoredCompanies)
 {
     _locationQuery    = locationQuery;
     _ignoredCompanies = ignoredCompanies;
     _australia        = _locationQuery.GetCountry("Australia");
     _industryMap      = CreateIndustryMap(industriesQuery);
 }
Exemple #6
0
 public JobAdsPollerTask(IJobAdsCommand jobAdsCommand, IJobAdsQuery jobAdsQuery, IJobAdIntegrationQuery jobAdIntegrationQuery, IExternalJobAdsCommand externalJobAdsCommand, IExternalJobAdsQuery externalJobAdsQuery, IJobAdIntegrationReportsCommand jobAdIntegrationReportsCommand, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, ICareerOneQuery careerOneQuery)
     : base(jobAdsCommand, jobAdsQuery, jobAdIntegrationQuery, externalJobAdsCommand, jobAdIntegrationReportsCommand, Logger)
 {
     _locationQuery       = locationQuery;
     _industriesQuery     = industriesQuery;
     _externalJobAdsQuery = externalJobAdsQuery;
     _careerOneQuery      = careerOneQuery;
 }
        public static Industry GetIndustryByUrlSegment(this IIndustriesQuery industriesQuery, string segment, string suffix)
        {
            var industryUrlName = GetUrlName(segment, suffix);

            return(industryUrlName != null
                ? industriesQuery.GetIndustryByUrlName(industryUrlName)
                : null);
        }
Exemple #8
0
 public JobFeedReaderTask(IJobAdsCommand jobAdsCommand, IJobAdsQuery jobAdsQuery, IJobAdIntegrationQuery jobAdIntegrationQuery, IExternalJobAdsCommand externalJobAdsCommand, IExternalJobAdsQuery externalJobAdsQuery, IJobAdIntegrationReportsCommand jobAdIntegrationReportsCommand, IIntegrationQuery integrationQuery, IIndustriesQuery industriesQuery, ILocationQuery locationQuery)
     : base(jobAdsCommand, jobAdsQuery, jobAdIntegrationQuery, externalJobAdsCommand, jobAdIntegrationReportsCommand, Logger)
 {
     _externalJobAdsQuery  = externalJobAdsQuery;
     _integrationQuery     = integrationQuery;
     _industriesQuery      = industriesQuery;
     _locationQuery        = locationQuery;
     IntegratorUserLoginId = "PageUpPeople";
 }
        public IndustryFieldHandler(string fieldName, IBooster booster, IIndustriesQuery industriesQuery)
        {
            _fieldName      = fieldName;
            _booster        = booster;
            _allIndustryIds = new HashSet <Guid>(industriesQuery.GetIndustries().Select(i => i.Id));
            var otherIndustry = industriesQuery.GetIndustry("Other");

            _otherIndustryId = otherIndustry == null ? (Guid?)null : otherIndustry.Id;
        }
Exemple #10
0
 public LinkedInController(IUserAccountsCommand userAccountsCommand, IAccountsManager accountsManager, IFaqsQuery faqsQuery, ILinkedInCommand linkedInCommand, ILinkedInQuery linkedInQuery, IIndustriesQuery industriesQuery)
 {
     _userAccountsCommand = userAccountsCommand;
     _accountsManager     = accountsManager;
     _faqsQuery           = faqsQuery;
     _linkedInCommand     = linkedInCommand;
     _linkedInQuery       = linkedInQuery;
     _industriesQuery     = industriesQuery;
 }
Exemple #11
0
 public HomeController(IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, IFaqsQuery faqsQuery, IIndustriesQuery industriesQuery, ICacheManager cacheManager, int featuredItems, ILocationQuery locationQuery, IResourcesQuery resourcesQuery)
     : base(accountsManager, loginCredentialsQuery, faqsQuery)
 {
     _industriesQuery = industriesQuery;
     _cacheManager    = cacheManager;
     _featuredItems   = featuredItems;
     _locationQuery   = locationQuery;
     _resourcesQuery  = resourcesQuery;
 }
 protected JobAdSortListController(IExecuteJobAdSortCommand executeJobAdSortCommand, IJobAdsQuery jobAdsQuery, IJobAdFlagListsQuery jobAdFlagListsQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, IJobAdProcessingQuery jobAdProcessingQuery, IJobAdFoldersQuery jobAdFoldersQuery, IJobAdFoldersCommand jobAdFoldersCommand, IJobAdBlockListsQuery jobAdBlockListsQuery, IIndustriesQuery industriesQuery, IEmployersQuery employersQuery)
     : base(jobAdsQuery, memberJobAdViewsQuery, jobAdFlagListsQuery, jobAdProcessingQuery, employersQuery)
 {
     _executeJobAdSortCommand = executeJobAdSortCommand;
     _jobAdFoldersQuery       = jobAdFoldersQuery;
     _jobAdFoldersCommand     = jobAdFoldersCommand;
     _jobAdBlockListsQuery    = jobAdBlockListsQuery;
     _industriesQuery         = industriesQuery;
 }
Exemple #13
0
 public ProfilesController(ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IResumesQuery resumesQuery, ICandidatesQuery candidatesQuery, IMemberStatusQuery memberStatusQuery, IVerticalsQuery verticalsQuery, ISettingsQuery settingsQuery)
 {
     _locationQuery     = locationQuery;
     _industriesQuery   = industriesQuery;
     _resumesQuery      = resumesQuery;
     _candidatesQuery   = candidatesQuery;
     _memberStatusQuery = memberStatusQuery;
     _verticalsQuery    = verticalsQuery;
     _settingsQuery     = settingsQuery;
 }
Exemple #14
0
 public SearchController(IJobAdFoldersCommand jobAdFoldersCommand, IExecuteJobAdSearchCommand executeJobAdSearchCommand, IJobAdSearchesCommand jobAdSearchesCommand, IJobAdSearchesQuery jobAdSearchesQuery, IJobAdsQuery jobAdsQuery, ILocationQuery locationQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IIndustriesQuery industriesQuery, IJobAdFoldersQuery jobAdFoldersQuery, IJobAdFlagListsQuery jobAdFlagListsQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, IJobAdProcessingQuery jobAdProcessingQuery, IJobAdBlockListsQuery jobAdBlockListsQuery, IEmployersQuery employersQuery)
     : base(executeJobAdSearchCommand, jobAdsQuery, jobAdFlagListsQuery, memberJobAdViewsQuery, jobAdProcessingQuery, jobAdFoldersQuery, jobAdFoldersCommand, jobAdBlockListsQuery, employersQuery)
 {
     _jobAdSearchesCommand = jobAdSearchesCommand;
     _jobAdSearchesQuery   = jobAdSearchesQuery;
     _locationQuery        = locationQuery;
     _communitiesQuery     = communitiesQuery;
     _verticalsQuery       = verticalsQuery;
     _industriesQuery      = industriesQuery;
 }
Exemple #15
0
 public SuggestedCandidatesController(IExecuteMemberSearchCommand executeMemberSearchCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, IJobAdsQuery jobAdsQuery, IExternalJobAdsQuery externalJobAdsQuery, ISuggestedMembersQuery suggestedMembersQuery, ILocationQuery locationQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IIndustriesQuery industriesQuery)
     : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery)
 {
     _jobAdsQuery           = jobAdsQuery;
     _externalJobAdsQuery   = externalJobAdsQuery;
     _suggestedMembersQuery = suggestedMembersQuery;
     _locationQuery         = locationQuery;
     _communitiesQuery      = communitiesQuery;
     _verticalsQuery        = verticalsQuery;
     _industriesQuery       = industriesQuery;
 }
Exemple #16
0
 public SearchController(IExecuteMemberSearchCommand executeMemberSearchCommand, IMemberSearchesCommand memberSearchesCommand, IEmployerMemberViewsQuery employerMemberViewsQuery, IMemberStatusQuery memberStatusQuery, IMemberSearchSuggestionsQuery memberSearchSuggestionsQuery, IMemberSearchesQuery memberSearchesQuery, ICandidateListsCommand candidateListsCommand, IEmployerCreditsQuery employerCreditsQuery, ILocationQuery locationQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IIndustriesQuery industriesQuery)
     : base(executeMemberSearchCommand, employerMemberViewsQuery, memberStatusQuery)
 {
     _memberSearchSuggestionsQuery = memberSearchSuggestionsQuery;
     _memberSearchesCommand        = memberSearchesCommand;
     _memberSearchesQuery          = memberSearchesQuery;
     _candidateListsCommand        = candidateListsCommand;
     _employerCreditsQuery         = employerCreditsQuery;
     _locationQuery    = locationQuery;
     _communitiesQuery = communitiesQuery;
     _verticalsQuery   = verticalsQuery;
     _industriesQuery  = industriesQuery;
 }
Exemple #17
0
 public JobAdsController(IEmployerJobAdsCommand employerJobAdsCommand, IJobAdsCommand jobAdsCommand, IJobAdsQuery jobAdsQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, IJobAdIntegrationQuery jobAdIntegrationQuery, IExternalJobAdsCommand externalJobAdsCommand, IExternalJobAdsQuery externalJobAdsQuery, IEmployersQuery employersQuery, IEmployerCreditsQuery employerCreditsQuery, ILoginCredentialsQuery loginCredentialsQuery, IIndustriesQuery industriesQuery, ILocationQuery locationQuery, IServiceAuthenticationManager serviceAuthenticationManager, IJobAdSearchesQuery jobAdSearchesQuery, IExecuteJobAdSearchCommand executeJobAdSearchCommand, IJobAdIntegrationReportsCommand jobAdIntegrationReportsCommand)
 {
     _jobAdFeedsManager              = new JobAdFeedsManager(memberJobAdViewsQuery, jobAdIntegrationQuery, employersQuery, employerCreditsQuery, executeJobAdSearchCommand);
     _jobAdPostsManager              = new JobAdPostsManager(employerJobAdsCommand, jobAdsCommand, jobAdsQuery, jobAdIntegrationQuery, externalJobAdsCommand);
     _employersQuery                 = employersQuery;
     _externalJobAdsQuery            = externalJobAdsQuery;
     _loginCredentialsQuery          = loginCredentialsQuery;
     _jobAdIntegrationReportsCommand = jobAdIntegrationReportsCommand;
     _industriesQuery                = industriesQuery;
     _serviceAuthenticationManager   = serviceAuthenticationManager;
     _jobAdSearchesQuery             = jobAdSearchesQuery;
     _locationQuery = locationQuery;
 }
 public AdvertPostService([Dependency("linkme.integration.jobg8.jobPoster")] string jobPosterUserId, IJobAdsCommand jobAdsCommand, IJobAdsQuery jobAdsQuery, IJobAdIntegrationQuery jobAdIntegrationQuery, IExternalJobAdsCommand externalJobAdsCommand, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IEmployersQuery employersQuery, ILoginCredentialsQuery loginCredentialsQuery, IServiceAuthenticationManager serviceAuthenticationManager, IJobAdIntegrationReportsCommand jobAdIntegrationReportsCommand)
 {
     _jobPosterUserId                = jobPosterUserId;
     _locationMapper                 = new LocationMapper(locationQuery);
     _industriesQuery                = industriesQuery;
     _jobAdsCommand                  = jobAdsCommand;
     _jobAdsQuery                    = jobAdsQuery;
     _jobAdIntegrationQuery          = jobAdIntegrationQuery;
     _externalJobAdsCommand          = externalJobAdsCommand;
     _employersQuery                 = employersQuery;
     _loginCredentialsQuery          = loginCredentialsQuery;
     _serviceAuthenticationManager   = serviceAuthenticationManager;
     _jobAdIntegrationReportsCommand = jobAdIntegrationReportsCommand;
 }
Exemple #19
0
        private static void InitialiseMvc(ILocationQuery locationQuery, IIndustriesQuery industriesQuery)
        {
            // Controllers.

            ControllerBuilder.Current.SetControllerFactory(new UnityControllerFactory(Container.Current));

            // Binders.

            ModelBinders.Binders.Add(typeof(MemberSearchCriteria), new ModelBinder(new MemberSearchCriteriaConverter(locationQuery, industriesQuery), new StandardErrorHandler()));
            ModelBinders.Binders.Add(typeof(EmployerJoinModel), new ModelBinder(new EmployerJoinModelConverter(), new StandardErrorHandler()));

            // ValueProviders.

            ValueProviderFactories.Factories.Add(new JsonValueProviderFactory());
        }
Exemple #20
0
 public static LinkedInProfile Map(this LinkedInProfileEntity entity, IIndustriesQuery industryQuery, ILocationQuery locationQuery)
 {
     return(new LinkedInProfile
     {
         Id = entity.linkedInId,
         UserId = entity.userId,
         CreatedTime = entity.createdTime,
         LastUpdatedTime = entity.lastUpdatedTime,
         FirstName = entity.firstName,
         LastName = entity.lastName,
         OrganisationName = entity.organisationName,
         Location = entity.LocationReferenceEntity == null ? null : entity.LocationReferenceEntity.Map(locationQuery),
         Industries = entity.LinkedInProfileIndustryEntities == null ? new List <Industry>() : entity.LinkedInProfileIndustryEntities.Map(industryQuery),
     });
 }
Exemple #21
0
 public CampaignsController(ICampaignsCommand campaignsCommand, ICampaignsQuery campaignsQuery, ICampaignEmailsCommand campaignEmailsCommand, ICampaignCriteriaCommand campaignCriteriaCommand, ISettingsQuery settingsQuery, IIndustriesQuery industriesQuery, ICommunitiesQuery communitiesQuery, IAdministratorsQuery administratorsQuery, ILoginCredentialsQuery loginCredentialsQuery, IEmployersQuery employersQuery, IMembersQuery membersQuery, ILocationQuery locationQuery)
 {
     _campaignsCommand        = campaignsCommand;
     _campaignsQuery          = campaignsQuery;
     _campaignEmailsCommand   = campaignEmailsCommand;
     _campaignCriteriaCommand = campaignCriteriaCommand;
     _settingsQuery           = settingsQuery;
     _industriesQuery         = industriesQuery;
     _communitiesQuery        = communitiesQuery;
     _administratorsQuery     = administratorsQuery;
     _loginCredentialsQuery   = loginCredentialsQuery;
     _employersQuery          = employersQuery;
     _membersQuery            = membersQuery;
     _locationQuery           = locationQuery;
 }
Exemple #22
0
 public NewOrderController(IPageflowEngine pageflowEngine, IEmployerOrdersCommand employerOrdersCommand, IEmployerOrdersQuery employerOrdersQuery, IProductsQuery productsQuery, ICreditsQuery creditsQuery, ICouponsQuery couponsQuery, IOrdersCommand ordersCommand, IOrdersQuery ordersQuery, IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, ILoginAuthenticationCommand loginAuthenticationCommand, IAuthenticationManager authenticationManager, IIndustriesQuery industriesQuery)
     : base(Routes, pageflowEngine)
 {
     _employerOrdersCommand      = employerOrdersCommand;
     _employerOrdersQuery        = employerOrdersQuery;
     _productsQuery              = productsQuery;
     _creditsQuery               = creditsQuery;
     _couponsQuery               = couponsQuery;
     _ordersCommand              = ordersCommand;
     _ordersQuery                = ordersQuery;
     _accountsManager            = accountsManager;
     _loginCredentialsQuery      = loginCredentialsQuery;
     _loginAuthenticationCommand = loginAuthenticationCommand;
     _authenticationManager      = authenticationManager;
     _industriesQuery            = industriesQuery;
 }
Exemple #23
0
        private static IDictionary <string, Industry> CreateIndustryMap(IIndustriesQuery industriesQuery)
        {
            var industryMap = new[]
            {
                Tuple.Create("Accounting", "accounting"),
                Tuple.Create("Administration", "administration"),
                Tuple.Create("Records, Information and Archives", "administration"),
                Tuple.Create("Advert/Media/Comm/Ent & Design", "advertising-media-entertainment"),
                Tuple.Create("Automotive", "automotive"),
                Tuple.Create("Banking & Finance", "banking-financial-services"),
                Tuple.Create("Call Centre & Customer Service", "call-centre-customer-service"),
                Tuple.Create("Community & Sports", "community-sport"),
                Tuple.Create("Library and Information", "community-sport"),
                Tuple.Create("Construction & Architecture", "construction"),
                Tuple.Create("Consulting", "consulting-corporate-strategy"),
                Tuple.Create("Education & Training", "education-training"),
                Tuple.Create("Apprenticeships & Traineeships", "education-training"),
                Tuple.Create("Graduate", "education-training"),
                Tuple.Create("Volunteer", "education-training"),
                Tuple.Create("Engineering", "engineering"),
                Tuple.Create("Government, Defence, Emergency", "government-defence"),
                Tuple.Create("Healthcare & Medical", "healthcare-medical-pharmaceutical"),
                Tuple.Create("Hospitality, Tourism & Travel", "hospitality-tourism"),
                Tuple.Create("HR & Recruitment", "hr-recruitment"),
                Tuple.Create("I.T. & T", "it-telecommunications"),
                Tuple.Create("Insurance & Superannuation", "insurance-superannuation"),
                Tuple.Create("Legal", "legal"),
                Tuple.Create("Manufacturing/Operations", "manufacturing-operations"),
                Tuple.Create("Mining, Oil & Gas", "mining-oil-gas"),
                Tuple.Create("Other", "other"),
                Tuple.Create("Executive", "other"),
                Tuple.Create("Primary Industry", "primary-industry"),
                Tuple.Create("Real Estate & Property", "real-estate-property"),
                Tuple.Create("Retail & Fashion", "retail-consumer-products"),
                Tuple.Create("Sales", "sales-marketing"),
                Tuple.Create("Marketing", "sales-marketing"),
                Tuple.Create("Science", "science-technology"),
                Tuple.Create("Self Employment", "self-employment"),
                Tuple.Create("Trades & Services", "trades-services"),
                Tuple.Create("Transport, Shipping, Logistics", "transport-logistics"),
                Tuple.Create("Aviation", "transport-logistics"),
            };

            return(industryMap.ToDictionary(t => t.Item1, t => industriesQuery.GetIndustryByUrlName(t.Item2)));
        }
Exemple #24
0
 public OrganisationsController(IOrganisationsCommand organisationsCommand, IOrganisationsQuery organisationsQuery, ILoginCredentialsQuery loginCredentialsQuery, IAdministratorsQuery administratorsQuery, IEmployerAccountsCommand employerAccountsCommand, IEmployersQuery employersQuery, IExecuteOrganisationSearchCommand executeOrganisationSearchCommand, ICommunitiesQuery communitiesQuery, IIndustriesQuery industriesQuery, IPhoneNumbersQuery phoneNumbersQuery, ILocationQuery locationQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand, IEmailsCommand emailsCommand, IAccountReportsQuery accountReportsQuery)
 {
     _organisationsCommand             = organisationsCommand;
     _organisationsQuery               = organisationsQuery;
     _loginCredentialsQuery            = loginCredentialsQuery;
     _administratorsQuery              = administratorsQuery;
     _employerAccountsCommand          = employerAccountsCommand;
     _employersQuery                   = employersQuery;
     _executeOrganisationSearchCommand = executeOrganisationSearchCommand;
     _communitiesQuery                 = communitiesQuery;
     _industriesQuery                  = industriesQuery;
     _phoneNumbersQuery                = phoneNumbersQuery;
     _locationQuery       = locationQuery;
     _settingsQuery       = settingsQuery;
     _settingsCommand     = settingsCommand;
     _emailsCommand       = emailsCommand;
     _accountReportsQuery = accountReportsQuery;
 }
Exemple #25
0
 public AccountsManager(ILoginAuthenticationCommand loginAuthenticationCommand, IAuthenticationManager authenticationManager, IDevAuthenticationManager devAuthenticationManager, IMemberAccountsCommand memberAccountsCommand, IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, ILoginCredentialsQuery loginCredentialsQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IPhoneNumbersQuery phoneNumbersQuery, ICommunitiesQuery communitiesQuery, IVerticalsQuery verticalsQuery, IPartnersQuery partnersQuery, ICookieManager cookieManager, IReferralsManager referralsManager, IProfilesCommand profilesCommand, IProfilesQuery profilesQuery)
 {
     _loginAuthenticationCommand = loginAuthenticationCommand;
     _authenticationManager      = authenticationManager;
     _devAuthenticationManager   = devAuthenticationManager;
     _memberAccountsCommand      = memberAccountsCommand;
     _employerAccountsCommand    = employerAccountsCommand;
     _organisationsCommand       = organisationsCommand;
     _loginCredentialsQuery      = loginCredentialsQuery;
     _locationQuery     = locationQuery;
     _industriesQuery   = industriesQuery;
     _phoneNumbersQuery = phoneNumbersQuery;
     _communitiesQuery  = communitiesQuery;
     _verticalsQuery    = verticalsQuery;
     _partnersQuery     = partnersQuery;
     _cookieManager     = cookieManager;
     _referralsManager  = referralsManager;
     _profilesCommand   = profilesCommand;
     _profilesQuery     = profilesQuery;
 }
Exemple #26
0
 public ProfilesApiController(ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IResumesQuery resumesQuery, ICandidatesQuery candidatesQuery, IResumeFilesQuery resumeFilesQuery, IMemberStatusQuery memberStatusQuery, IEmailsCommand emailsCommand, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand, ICandidatesCommand candidatesCommand, ICandidateResumesCommand candidateResumesCommand, ICandidateResumeFilesCommand candidateResumeFilesCommand, IParseResumesCommand parseResumesCommand, IMemberPhotosCommand memberPhotosCommand, IFilesCommand filesCommand, IFilesQuery filesQuery, ISettingsQuery settingsQuery, ISettingsCommand settingsCommand)
 {
     _locationQuery               = locationQuery;
     _industriesQuery             = industriesQuery;
     _resumesQuery                = resumesQuery;
     _candidatesQuery             = candidatesQuery;
     _resumeFilesQuery            = resumeFilesQuery;
     _memberStatusQuery           = memberStatusQuery;
     _emailsCommand               = emailsCommand;
     _memberAccountsCommand       = memberAccountsCommand;
     _accountVerificationsCommand = accountVerificationsCommand;
     _candidatesCommand           = candidatesCommand;
     _candidateResumesCommand     = candidateResumesCommand;
     _candidateResumeFilesCommand = candidateResumeFilesCommand;
     _parseResumesCommand         = parseResumesCommand;
     _memberPhotosCommand         = memberPhotosCommand;
     _filesCommand                = filesCommand;
     _filesQuery      = filesQuery;
     _settingsQuery   = settingsQuery;
     _settingsCommand = settingsCommand;
 }
Exemple #27
0
 public SettingsController(IEmployerAccountsCommand employerAccountsCommand, IOrganisationsCommand organisationsCommand, IOrganisationsQuery organisationsQuery, IPhoneNumbersQuery phoneNumbersQuery, IIndustriesQuery industriesQuery, ILoginCredentialsCommand loginCredentialsCommand, ILoginCredentialsQuery loginCredentialsQuery, IAuthenticationManager authenticationManager, ICreditsQuery creditsQuery, IEmployerCreditsQuery employerCreditsQuery, IJobPostersCommand jobPostersCommand, IJobPostersQuery jobPostersQuery, INonMemberSettingsCommand nonMemberSettingsCommand, INonMemberSettingsQuery nonMemberSettingsQuery, ISettingsCommand settingsCommand, ISettingsQuery settingsQuery, ILinkedInCommand linkedInCommand, ILinkedInQuery linkedInQuery)
 {
     _employerAccountsCommand  = employerAccountsCommand;
     _authenticationManager    = authenticationManager;
     _creditsQuery             = creditsQuery;
     _employerCreditsQuery     = employerCreditsQuery;
     _jobPostersQuery          = jobPostersQuery;
     _nonMemberSettingsQuery   = nonMemberSettingsQuery;
     _settingsQuery            = settingsQuery;
     _linkedInQuery            = linkedInQuery;
     _linkedInCommand          = linkedInCommand;
     _nonMemberSettingsCommand = nonMemberSettingsCommand;
     _jobPostersCommand        = jobPostersCommand;
     _settingsCommand          = settingsCommand;
     _loginCredentialsCommand  = loginCredentialsCommand;
     _loginCredentialsQuery    = loginCredentialsQuery;
     _industriesQuery          = industriesQuery;
     _phoneNumbersQuery        = phoneNumbersQuery;
     _organisationsCommand     = organisationsCommand;
     _organisationsQuery       = organisationsQuery;
 }
Exemple #28
0
        public static JobAd Map(this JobAdElement jobAd, IIndustriesQuery industriesQuery, ILocationQuery locationQuery)
        {
            return(new JobAd
            {
                Title = jobAd.Title,

                // If no status is supplied assume it is open.

                Status = jobAd.Status == null ? JobAdStatus.Open : jobAd.Status.Value,
                ContactDetails = MapContactDetails(jobAd.ContactDetails),
                Integration =
                {
                    ExternalApplyUrl    = jobAd.ExternalApplyUrl,
                    ExternalReferenceId = jobAd.ExternalReferenceId,
                },
                Description =
                {
                    CompanyName       = jobAd.EmployerCompanyName,
                    BulletPoints      = jobAd.BulletPoints,
                    Content           = jobAd.Content,
                    Industries        = jobAd.Industries != null
                        ? (from n in jobAd.Industries
                           let i      = industriesQuery.GetIndustryByAnyName(n)
                                        where i != null
                                        select i).ToList()
                        : null,
                    JobTypes          = jobAd.JobTypes,
                    Location          = Map(jobAd.Location,       jobAd.Postcode,           locationQuery),
                    Package           = jobAd.PackageDetails,
                    PositionTitle     = jobAd.PositionTitle,
                    ResidencyRequired = jobAd.ResidencyRequired,
                    Salary            = jobAd.Salary != null
                        ? new Salary {
                        LowerBound    = jobAd.Salary.LowerBound,  UpperBound = jobAd.Salary.UpperBound,Rate = jobAd.Salary.Rate, Currency         = Currency.AUD
                    }
                        : null,
                    Summary           = jobAd.Summary,
                },
            });
        }
Exemple #29
0
        public OccupationMapper(IIndustriesQuery industriesQuery)
        {
            var industryMapTemplate = new[]
            {
                Tuple.Create("accounting", 2211),                        //Accountants
                Tuple.Create("administration", 5619),                    //Other Clerical and Office Support Worker
                Tuple.Create("advertising-media-entertainment", 2251),   //Advertising and Marketing Professionals
                Tuple.Create("automotive", 3212),                        //Motor Mechanics
                Tuple.Create("banking-financial-services", 5521),        // Bank Workers
                Tuple.Create("call-centre-customer-service", 6393),      // Telemarketers
                Tuple.Create("community-sport", 4518),                   // Other Personal Service Workers
                Tuple.Create("construction", 1331),                      // Construction Managers
                Tuple.Create("consulting-corporate-strategy", 2247),     // Management and Organisation Analysts
                Tuple.Create("education-training", 1344),                // Other Education Managers
                Tuple.Create("engineering", 1332),                       // Engineering Managers
                Tuple.Create("government-defence", 4422),                // Security Officers and Guards
                Tuple.Create("healthcare-medical-pharmaceutical", 2513), // Generalist Medical Practitioners
                Tuple.Create("hospitality-tourism", 4516),               // Tourism and Travel Advisers
                Tuple.Create("hr-recruitment", 1323),                    // Human Resource Managers
                Tuple.Create("insurance-superannuation", 6112),          // Insurance Agents
                Tuple.Create("it-telecommunications", 3132),             // Telecommunications Technical Specialists
                Tuple.Create("legal", 2711),                             // Barristers
                Tuple.Create("manufacturing-operations", 8999),          // Other Miscellaneous Labourers
                Tuple.Create("mining-oil-gas", 2336),                    // Mining Engineers
                Tuple.Create("primary-industry", 8419),                  // Other Farm, Forestry and Garden Workers
                Tuple.Create("real-estate-property", 6121),              // Real Estate Sales Agents
                Tuple.Create("retail-consumer-products", 6219),          // Other Sales Assistants and Salespersons
                Tuple.Create("sales-marketing", 1311),                   // Advertising and Sales Managers
                Tuple.Create("science-technology", 3114),                // Science Technicians
                Tuple.Create("trades-services", 3411),                   // Electricians
                Tuple.Create("transport-logistics", 7331)                // Truck Drivers
            };

            _industryMap =
                industryMapTemplate.ToDictionary(t => industriesQuery.GetIndustryByUrlName(t.Item1), t => t.Item2);
        }
 public IndustryContentHandler(IBooster booster, IIndustriesQuery industriesQuery)
     : base(FieldName.Industries, booster, industriesQuery)
 {
 }