ca.shiftfocus.krispii.core.models

work

package work

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait DocumentWork extends Work

    DocumentWork are types of work whose storage is backed by the DocumentService and use operational-transformation to synchronize between multiple clients.

    DocumentWork are types of work whose storage is backed by the DocumentService and use operational-transformation to synchronize between multiple clients. Eventually all types of work should move to ot-based DocumentWork.

  2. sealed trait IntListWork extends ListWork[Int]

  3. sealed trait ListWork[A] extends Work

    ListWork are types of work that store lists of things and map to arrays in the database storage layer.

    ListWork are types of work that store lists of things and map to arrays in the database storage layer.

    A

    the thing that the work is a list of

  4. case class LongAnswerWork(id: UUID = UUID.random, studentId: UUID, taskId: UUID, documentId: UUID, version: Long = 1L, response: Option[Document] = None, isComplete: Boolean = false, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends DocumentWork with Product with Serializable

  5. sealed trait MatchListWork extends ListWork[Match]

  6. case class MatchingWork(id: UUID = UUID.random, studentId: UUID, taskId: UUID, version: Long, response: IndexedSeq[Match], isComplete: Boolean = false, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends MatchListWork with Product with Serializable

  7. case class MultipleChoiceWork(id: UUID = UUID.random, studentId: UUID, taskId: UUID, version: Long, response: IndexedSeq[Int], isComplete: Boolean = false, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends IntListWork with Product with Serializable

  8. case class OrderingWork(id: UUID = UUID.random, studentId: UUID, taskId: UUID, version: Long = 1L, response: IndexedSeq[Int], isComplete: Boolean = false, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends IntListWork with Product with Serializable

  9. case class ShortAnswerWork(id: UUID = UUID.random, studentId: UUID, taskId: UUID, documentId: UUID, version: Long = 1L, response: Option[Document] = None, isComplete: Boolean = false, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends DocumentWork with Product with Serializable

  10. sealed trait Work extends AnyRef

    The "work" trait is the supertype for work that students have done.

    The "work" trait is the supertype for work that students have done.

    Sealed so that all possible sub-types must be defined here.

Value Members

  1. object Work

Ungrouped