Class

RadGradForecastsClass

RadGradForecastsClass()

Singleton class that calculates and updates the RadGrad forecasts.

Constructor

# new RadGradForecastsClass()

View Source startup/both/RadGradForecasts.ts, line 38

Members

# getCourseForecast

Returns the enrollment forecast for the given courseID.

View Source startup/both/RadGradForecasts.ts, line 109

# getCoursesForecast

Returns the enrollment forecasts for all non retired courses.

View Source startup/both/RadGradForecasts.ts, line 102

# getOpportunitiesForecast

Returns the enrollment forecasts for all non retired opportunities.

View Source startup/both/RadGradForecasts.ts, line 115

# getOpportunityForecast

Returns the enrollment forecast for the given opportunityID.

View Source startup/both/RadGradForecasts.ts, line 122

# updateForecasts

Updates the forecasts.

View Source startup/both/RadGradForecasts.ts, line 127

Methods

# getCourseForecast(courseID) → {CourseEnrollmentForecast}

Returns the enrollment forecast for the given courseID.

Parameters:
Name Type Description
courseID string

the id of the course.

View Source startup/both/RadGradForecasts.ts, line 58

CourseEnrollmentForecast

# getCoursesForecast() → {Array.<CourseEnrollmentForecast>}

Returns the enrollment forecasts for all non retired courses.

View Source startup/both/RadGradForecasts.ts, line 52

Array.<CourseEnrollmentForecast>

# getOpportunitiesForecast() → {Array.<OpportunityEnrollmentForecast>}

Returns the enrollment forecasts for all non retired opportunities.

View Source startup/both/RadGradForecasts.ts, line 63

Array.<OpportunityEnrollmentForecast>

# getOpportunityForecast(opportunityID) → {OpportunityEnrollmentForecast}

Returns the enrollment forecast for the given opportunityID.

Parameters:
Name Type Description
opportunityID string

the id of the opportunity.

View Source startup/both/RadGradForecasts.ts, line 69

OpportunityEnrollmentForecast

# updateForecasts()

Updates the forecasts.

View Source startup/both/RadGradForecasts.ts, line 73