C# Класс Machete.Service.ReportService

Наследование: IReportService
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
asRepo IActivitySigninRepository
eRepo IEmployerRepository
lookCache ILookupCache
lookRepo ILookupRepository
wRepo IWorkerRepository
waRepo IWorkAssignmentRepository
woRepo IWorkOrderRepository
wrRepo IWorkerRequestRepository
wsiRepo IWorkerSigninRepository

Открытые методы

Метод Описание
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

Описание методов

ActivityReportController() публичный Метод

public ActivityReportController ( System.DateTime beginDate, System.DateTime endDate, string reportType ) : IEnumerable
beginDate System.DateTime
endDate System.DateTime
reportType string
Результат IEnumerable

AdultsEnrolledAndAssessedInESL() публичный Метод

Returns dates of completion, minutes completed, and the dwccardnum for all adults attending >12hrs. ESL.
public AdultsEnrolledAndAssessedInESL ( ) : IQueryable
Результат IQueryable

ClientProfileEnglishLevel() публичный Метод

public ClientProfileEnglishLevel ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileGender() публичный Метод

public ClientProfileGender ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileHasDisability() публичный Метод

public ClientProfileHasDisability ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileHomeless() публичный Метод

public ClientProfileHomeless ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileHouseholdComposition() публичный Метод

public ClientProfileHouseholdComposition ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileIncome() публичный Метод

public ClientProfileIncome ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileRaceEthnicity() публичный Метод

public ClientProfileRaceEthnicity ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileRefugeeImmigrant() публичный Метод

public ClientProfileRefugeeImmigrant ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

ClientProfileWorkerAge() публичный Метод

public ClientProfileWorkerAge ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

CountAssignments() публичный Метод

Counts work assignments for a given time period.
public CountAssignments ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

CountCancelled() публичный Метод

Counts cancelled orders for a given time period.
public CountCancelled ( System.DateTime beginDate, System.DateTime endDate ) : IQueryable
beginDate System.DateTime
endDate System.DateTime
Результат IQueryable

CountSignins() публичный Метод

A simple count of worker signins for the given period.
public CountSignins ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Результат IQueryable

CountTypeofDispatch() публичный Метод

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
Результат IQueryable

CountUniqueSignins() публичный Метод

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
Результат IQueryable

DailySumController() публичный Метод

Controller for daily summary report.
public DailySumController ( DateTime date ) : IEnumerable
date DateTime
Результат IEnumerable

EmployerReportController() публичный Метод

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
Результат IEnumerable

FamilyHouseholds() публичный Метод

public FamilyHouseholds ( ) : IQueryable
Результат IQueryable

GetAllActivitySignins() публичный Метод

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
Результат IQueryable

HourlyWageAverage() публичный Метод

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.
Результат IQueryable

ListJobs() публичный Метод

Lists jobs in order of occurrence for a given time period.
public ListJobs ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Результат IQueryable

ListJobsByZip() публичный Метод

public ListJobsByZip ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Результат IQueryable

ListOrdersByZipCode() публичный Метод

Lists most popular zip codes for a given time period.
public ListOrdersByZipCode ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Результат IQueryable

MemberStatusByDate() публичный Метод

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
Результат IQueryable

MonthlySumController() публичный Метод

public MonthlySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Результат IEnumerable

NewWorkerController() публичный Метод

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
Результат IEnumerable

ReportService() публичный Метод

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
Результат Machete.Data

SingleAdults() публичный Метод

public SingleAdults ( ) : IQueryable
Результат IQueryable

WeeklySumController() публичный Метод

Controller for weekly summary report.
public WeeklySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Результат IEnumerable

WorkersInJobs() публичный Метод

public WorkersInJobs ( DateTime beginDate, DateTime endDate ) : IQueryable
beginDate DateTime
endDate DateTime
Результат IQueryable

YearlyActController() публичный Метод

public YearlyActController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Результат IEnumerable

YearlySumController() публичный Метод

public YearlySumController ( DateTime beginDate, DateTime endDate ) : IEnumerable
beginDate DateTime
endDate DateTime
Результат IEnumerable

Описание свойств

asRepo защищенное свойство

protected IActivitySigninRepository asRepo
Результат IActivitySigninRepository

eRepo защищенное свойство

protected IEmployerRepository eRepo
Результат IEmployerRepository

lookCache защищенное свойство

protected ILookupCache lookCache
Результат ILookupCache

lookRepo защищенное свойство

protected ILookupRepository lookRepo
Результат ILookupRepository

wRepo защищенное свойство

protected IWorkerRepository wRepo
Результат IWorkerRepository

waRepo защищенное свойство

protected IWorkAssignmentRepository waRepo
Результат IWorkAssignmentRepository

woRepo защищенное свойство

protected IWorkOrderRepository woRepo
Результат IWorkOrderRepository

wrRepo защищенное свойство

protected IWorkerRequestRepository wrRepo
Результат IWorkerRequestRepository

wsiRepo защищенное свойство

protected IWorkerSigninRepository wsiRepo
Результат IWorkerSigninRepository