object StudyPlan extends (Int) => StudyPlan with Serializable
- Alphabetic
- By Inheritance
- StudyPlan
- Serializable
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val ALL: Vector[JsonObject]
- returns
All StudyPlans of current year (i.e.
Utils.crtYear
) as a vector ofJsonArray
(i.e. extract the array in the '_data' field for each 'response page')
- val abbrevFilePath: Path
- def andThen[A](g: (StudyPlan) => A): (Int) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(id: Int): StudyPlan
Factory methods that builds an Instance of
StudyPlan
by fetching data from the http request and parses / resolve its resultFactory methods that builds an Instance of
StudyPlan
by fetching data from the http request and parses / resolve its result- id
studyplan code (present in
res/abbrev.tsv
) If request is malformed:
- Definition Classes
- StudyPlan → Function1
- Annotations
- @throws(classOf[StudyPlanNotFoundException])
- Exceptions thrown
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def compose[A](g: (A) => Int): (A) => StudyPlan
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def createAbbrevFile(): Unit
Create content of
abbrev.tsv
.Create content of
abbrev.tsv
.Reason why this file is needed:
The name of each Study Plan is far from being consistant so a unique abbreviation has been assigned to each to suppress all kind ambiguity from user input or else. (e.g. "Bachelor en Sciences Informatiques" => "BSI"). Each study plan id has been added as well to not have to refetch it all the time.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def get(id: String): JsonObject
- id
String, id of studyPlan
- returns
formatted Json response from server for details about given study plan If StudyPlanNotFound :
- Annotations
- @throws(classOf[StudyPlanNotFoundException])
- Exceptions thrown
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function1 → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated