C# 클래스 Machete.Service.ReportService

상속: IReportService
파일 보기 프로젝트 열기: SavageLearning/Machete

보호된 프로퍼티들

프로퍼티 타입 설명
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