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 116

# getCoursesForecast

Returns the enrollment forecasts for all non retired courses.

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

# getOpportunitiesForecast

Returns the enrollment forecasts for all non retired opportunities.

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

# getOpportunityForecast

Returns the enrollment forecast for the given opportunityID.

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

# updateForecasts

Updates the forecasts.

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

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 59

CourseEnrollmentForecast

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

Returns the enrollment forecasts for all non retired courses.

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

Array.<CourseEnrollmentForecast>

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

Returns the enrollment forecasts for all non retired opportunities.

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

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 73

OpportunityEnrollmentForecast

# updateForecasts()

Updates the forecasts.

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