C# Class Machete.Service.ReportService

Inheritance: IReportService
Afficher le fichier Open project: SavageLearning/Machete

Protected Properties

Свойство Type Description
asRepo IActivitySigninRepository
eRepo IEmployerRepository
lookCache ILookupCache
lookRepo ILookupRepository
wRepo IWorkerRepository
waRepo IWorkAssignmentRepository
woRepo IWorkOrderRepository
wrRepo IWorkerRequestRepository
wsiRepo IWorkerSigninRepository

Méthodes publiques

Méthode Description
ActivityReportController ( System.DateTime beginDate, System.DateTime endDate, string reportType ) : IEnumerable
AdultsEnrolledAndAssessedInESL ( ) : IQueryable

Returns dates of completion, minutes completed, and the dwccardnum for all adults attending >12hrs. ESL.

ClientProfileEnglishLevel ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileGender ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileHasDisability ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileHomeless ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileHouseholdComposition ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileIncome ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileRaceEthnicity ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileRefugeeImmigrant ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
ClientProfileWorkerAge ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
CountAssignments ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable

Counts work assignments for a given time period.

CountCancelled ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable

Counts cancelled orders for a given time period.

CountSignins ( DateTime beginDate, DateTime endDate ) : IQueryable

A simple count of worker signins for the given period.

CountTypeofDispatch ( DateTime beginDate, DateTime endDate ) : IQueryable

Counts by type of dispatch (DWC, HHH, Propio/ea.). Very Casa Latina specific, but these numbers can also be used by other centers, especially where they have women's programs.

CountUniqueSignins ( DateTime beginDate, DateTime endDate ) : IQueryable

A simple count of unduplicated worker signins for the given period. Note: Casa's policy is that these should reset on beginDate, but that isn't truly "unduplicated" within the program.

DailySumController ( DateTime date ) : IEnumerable

Controller for daily summary report.

EmployerReportController ( DateTime beginDate, DateTime endDate ) : IEnumerable

Jobs and Zip Codes controller. The jobs and zip codes report was initially requested by Mountain View and centers can see what their orders are and where they're coming from.

FamilyHouseholds ( ) : IQueryable
GetAllActivitySignins ( DateTime beginDate, DateTime endDate ) : IQueryable

Returns all activity signins for a given time period grouped by date, activityType and activityName.

HourlyWageAverage ( DateTime beginDate, DateTime endDate ) : IQueryable

Grabs a sum of hours and wages and averages them for a given time period.

ListJobs ( DateTime beginDate, DateTime endDate ) : IQueryable

Lists jobs in order of occurrence for a given time period.

ListJobsByZip ( DateTime beginDate, DateTime endDate ) : IQueryable
ListOrdersByZipCode ( DateTime beginDate, DateTime endDate ) : IQueryable

Lists most popular zip codes for a given time period.

MemberStatusByDate ( DateTime beginDate, DateTime endDate, string unitOfMeasure, int interval ) : IQueryable

Returns a count of new, expired, and still active members by enumerated dates within the given period. This is a resource intensive query, because it targets specific data with daily granularity; this usage can be offset by reducing the interval and increasing the unit of measure.

MonthlySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable
NewWorkerController ( DateTime beginDate, DateTime endDate, string reportType ) : IEnumerable

NewWorkerController returns an IEnumerable containing the counts of single members, new single members, family members, and new family members. It does not include zip code completeness, which must be called separately.

ReportService ( IWorkOrderRepository woRepo, IWorkAssignmentRepository waRepo, IWorkerRepository wRepo, IWorkerSigninRepository wsiRepo, IWorkerRequestRepository wrRepo, ILookupRepository lookRepo, ILookupCache lookCache, IEmployerRepository eRepo, IActivitySigninRepository asRepo ) : Machete.Data
SingleAdults ( ) : IQueryable
WeeklySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable

Controller for weekly summary report.

WorkersInJobs ( DateTime beginDate, DateTime endDate ) : IQueryable
YearlyActController ( DateTime beginDate, DateTime endDate ) : IEnumerable
YearlySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable

Method Details

ActivityReportController() public méthode

public ActivityReportController ( System.DateTime beginDate, System.DateTime endDate, string reportType ) : IEnumerable
beginDate System.DateTime
endDate System.DateTime
reportType string
Résultat IEnumerable

AdultsEnrolledAndAssessedInESL() public méthode

Returns dates of completion, minutes completed, and the dwccardnum for all adults attending >12hrs. ESL.
public AdultsEnrolledAndAssessedInESL ( ) : IQueryable
Résultat IQueryable

ClientProfileEnglishLevel() public méthode

public ClientProfileEnglishLevel ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileGender() public méthode

public ClientProfileGender ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileHasDisability() public méthode

public ClientProfileHasDisability ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileHomeless() public méthode

public ClientProfileHomeless ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileHouseholdComposition() public méthode

public ClientProfileHouseholdComposition ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileIncome() public méthode

public ClientProfileIncome ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileRaceEthnicity() public méthode

public ClientProfileRaceEthnicity ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileRefugeeImmigrant() public méthode

public ClientProfileRefugeeImmigrant ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

ClientProfileWorkerAge() public méthode

public ClientProfileWorkerAge ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

CountAssignments() public méthode

Counts work assignments for a given time period.
public CountAssignments ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

CountCancelled() public méthode

Counts cancelled orders for a given time period.
public CountCancelled ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Résultat IQueryable

CountSignins() public méthode

A simple count of worker signins for the given period.
public CountSignins ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Résultat IQueryable

CountTypeofDispatch() public méthode

Counts by type of dispatch (DWC, HHH, Propio/ea.). Very Casa Latina specific, but these numbers can also be used by other centers, especially where they have women's programs.
public CountTypeofDispatch ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Résultat IQueryable

CountUniqueSignins() public méthode

A simple count of unduplicated worker signins for the given period. Note: Casa's policy is that these should reset on beginDate, but that isn't truly "unduplicated" within the program.
public CountUniqueSignins ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime DateTime, not null
endDate DateTime DateTime, null
Résultat IQueryable

DailySumController() public méthode

Controller for daily summary report.
public DailySumController ( DateTime date ) : IEnumerable
date DateTime
Résultat IEnumerable

EmployerReportController() public méthode

Jobs and Zip Codes controller. The jobs and zip codes report was initially requested by Mountain View and centers can see what their orders are and where they're coming from.
public EmployerReportController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Résultat IEnumerable

FamilyHouseholds() public méthode

public FamilyHouseholds ( ) : IQueryable
Résultat IQueryable

GetAllActivitySignins() public méthode

Returns all activity signins for a given time period grouped by date, activityType and activityName.
public GetAllActivitySignins ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Résultat IQueryable

HourlyWageAverage() public méthode

Grabs a sum of hours and wages and averages them for a given time period.
public HourlyWageAverage ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime Start date for the query.
endDate DateTime End date for the query.
Résultat IQueryable

ListJobs() public méthode

Lists jobs in order of occurrence for a given time period.
public ListJobs ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Résultat IQueryable

ListJobsByZip() public méthode

public ListJobsByZip ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Résultat IQueryable

ListOrdersByZipCode() public méthode

Lists most popular zip codes for a given time period.
public ListOrdersByZipCode ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Résultat IQueryable

MemberStatusByDate() public méthode

Returns a count of new, expired, and still active members by enumerated dates within the given period. This is a resource intensive query, because it targets specific data with daily granularity; this usage can be offset by reducing the interval and increasing the unit of measure.
public MemberStatusByDate ( DateTime beginDate, DateTime endDate, string unitOfMeasure, int interval ) : IQueryable
beginDate DateTime
endDate DateTime
unitOfMeasure string The unit of time to measure; "days" or "months".
interval int The interval of time (7 days, 3 months) as int
Résultat IQueryable

MonthlySumController() public méthode

public MonthlySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Résultat IEnumerable

NewWorkerController() public méthode

NewWorkerController returns an IEnumerable containing the counts of single members, new single members, family members, and new family members. It does not include zip code completeness, which must be called separately.
public NewWorkerController ( DateTime beginDate, DateTime endDate, string reportType ) : IEnumerable
beginDate DateTime
endDate DateTime
reportType string
Résultat IEnumerable

ReportService() public méthode

public ReportService ( IWorkOrderRepository woRepo, IWorkAssignmentRepository waRepo, IWorkerRepository wRepo, IWorkerSigninRepository wsiRepo, IWorkerRequestRepository wrRepo, ILookupRepository lookRepo, ILookupCache lookCache, IEmployerRepository eRepo, IActivitySigninRepository asRepo ) : Machete.Data
woRepo IWorkOrderRepository
waRepo IWorkAssignmentRepository
wRepo IWorkerRepository
wsiRepo IWorkerSigninRepository
wrRepo IWorkerRequestRepository
lookRepo ILookupRepository
lookCache ILookupCache
eRepo IEmployerRepository
asRepo IActivitySigninRepository
Résultat Machete.Data

SingleAdults() public méthode

public SingleAdults ( ) : IQueryable
Résultat IQueryable

WeeklySumController() public méthode

Controller for weekly summary report.
public WeeklySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Résultat IEnumerable

WorkersInJobs() public méthode

public WorkersInJobs ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Résultat IQueryable

YearlyActController() public méthode

public YearlyActController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Résultat IEnumerable

YearlySumController() public méthode

public YearlySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Résultat IEnumerable

Property Details

asRepo protected_oe property

protected IActivitySigninRepository asRepo
Résultat IActivitySigninRepository

eRepo protected_oe property

protected IEmployerRepository eRepo
Résultat IEmployerRepository

lookCache protected_oe property

protected ILookupCache lookCache
Résultat ILookupCache

lookRepo protected_oe property

protected ILookupRepository lookRepo
Résultat ILookupRepository

wRepo protected_oe property

protected IWorkerRepository wRepo
Résultat IWorkerRepository

waRepo protected_oe property

protected IWorkAssignmentRepository waRepo
Résultat IWorkAssignmentRepository

woRepo protected_oe property

protected IWorkOrderRepository woRepo
Résultat IWorkOrderRepository

wrRepo protected_oe property

protected IWorkerRequestRepository wrRepo
Résultat IWorkerRequestRepository

wsiRepo protected_oe property

protected IWorkerSigninRepository wsiRepo
Résultat IWorkerSigninRepository