ca.shiftfocus.krispii.core

models

package models

Visibility
  1. Public
  2. All

Type Members

  1. case class AudioComponent(id: UUID = UUID.random, version: Long = 1L, ownerId: UUID, title: String, questions: String, thingsToThinkAbout: String, soundcloudId: String, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Component with Product with Serializable

  2. case class AudioComponentPost(ownerId: UUID, title: String, questions: Option[String], thingsToThinkAbout: Option[String], soundcloudId: String) extends Product with Serializable

  3. case class AudioComponentPut(version: Long, title: String, questions: Option[String], thingsToThinkAbout: Option[String], soundcloudId: String) extends Product with Serializable

  4. case class Chat(courseId: UUID, messageNum: Long = 0L, userId: UUID, message: String, hidden: Boolean = false, createdAt: DateTime = new DateTime) extends Product with Serializable

  5. abstract class Component extends AnyRef

  6. case class ComponentScratchpad(userId: UUID, componentId: UUID, version: Long = 1L, documentId: UUID, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  7. case class ComponentScratchpadAlreadyExistsException(msg: String) extends Exception with Product with Serializable

  8. case class ComponentScratchpadOutOfDateException(msg: String) extends Exception with Product with Serializable

  9. case class Context(user: User, session: Session, courses: IndexedSeq[Course] = IndexedSeq.empty[Course]) extends Product with Serializable

  10. case class Course(id: UUID = UUID.random, version: Long = 1L, teacherId: UUID, name: String, color: Color, slug: String, chatEnabled: Boolean = true, projects: Option[IndexedSeq[Project]] = None, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  11. case class CoursePost(teacherId: UUID, name: String, color: Color, slug: String) extends Product with Serializable

  12. case class CoursePut(version: Long, teacherId: Option[UUID], name: Option[String], color: Option[Color], slug: Option[String], chatEnabled: Option[Boolean]) extends Product with Serializable

  13. case class CourseSchedule(id: UUID = UUID.random, version: Long = 1L, courseId: UUID, day: LocalDate, startTime: LocalTime, endTime: LocalTime, description: String, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  14. case class CourseScheduleException(id: UUID = UUID.random, userId: UUID, courseId: UUID, version: Long = 1L, day: LocalDate, startTime: LocalTime, endTime: LocalTime, reason: String, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  15. case class CourseSchedulePost(day: LocalDate, startTime: LocalTime, endTime: LocalTime, description: String) extends Product with Serializable

  16. case class CourseSchedulePut(version: Long, courseId: Option[UUID], day: Option[LocalDate], startTime: Option[LocalTime], endTime: Option[LocalTime], description: Option[String]) extends Product with Serializable

  17. case class JournalEntry(id: UUID = UUID.random, version: Long = 1L, userId: UUID, projectId: UUID, entryType: String, item: String, message: String = "", createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  18. case class Part(id: UUID = UUID.random, version: Long = 1L, projectId: UUID, name: String, position: Int = 0, enabled: Boolean = true, tasks: IndexedSeq[Task] = IndexedSeq(), createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  19. case class PartPost(projectId: UUID, name: String, position: Int, enabled: Boolean) extends Product with Serializable

  20. case class PartPut(version: Long, projectId: UUID, name: String, position: Int, enabled: Boolean) extends Product with Serializable

  21. case class Project(id: UUID = UUID.random, courseId: UUID, version: Long = 1L, name: String, slug: String, description: String, availability: String = Project.Availability.AnyTime, parts: IndexedSeq[Part], createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  22. case class ProjectPost(name: String, slug: String, description: String) extends Product with Serializable

  23. case class ProjectPut(version: Long, name: String, slug: String, description: String) extends Product with Serializable

  24. case class Role(id: UUID = UUID.random, version: Long = 1L, name: String, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  25. case class Session(id: UUID = UUID.random, userId: UUID, ipAddress: String = "", location: String = "", userAgent: String = "", createdAt: Option[DateTime] = None, updatedAt: Option[DateTime] = None) extends Product with Serializable

  26. case class TaskFeedback(studentId: UUID, taskId: UUID, version: Long = 1, documentId: UUID, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  27. case class TaskScratchpad(userId: UUID, taskId: UUID, version: Long = 1L, documentId: UUID, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  28. case class TaskScratchpadAlreadyExistsException(msg: String) extends Exception with Product with Serializable

  29. case class TaskScratchpadDisabledException(msg: String) extends Exception with Product with Serializable

  30. case class TaskScratchpadOutOfDateException(msg: String) extends Exception with Product with Serializable

  31. case class TextComponent(id: UUID = UUID.random, version: Long = 1L, ownerId: UUID, title: String, questions: String, thingsToThinkAbout: String, content: String, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Component with Product with Serializable

  32. case class TextComponentPost(ownerId: UUID, title: String, questions: Option[String], thingsToThinkAbout: Option[String], content: String) extends Product with Serializable

  33. case class TextComponentPut(version: Long, title: String, questions: String, thingsToThinkAbout: String, content: String) extends Product with Serializable

  34. case class User(id: UUID = UUID.random, version: Long = 1L, username: String, email: String, hash: Option[String] = None, givenname: String, surname: String, roles: IndexedSeq[Role] = IndexedSeq.empty[Role], createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Product with Serializable

  35. case class UserInfo(user: User, roles: IndexedSeq[Role], courses: IndexedSeq[Course]) extends Product with Serializable

  36. case class VideoComponent(id: UUID = UUID.random, version: Long = 1L, ownerId: UUID, title: String, questions: String, thingsToThinkAbout: String, vimeoId: String, width: Int, height: Int, createdAt: DateTime = new DateTime, updatedAt: DateTime = new DateTime) extends Component with Product with Serializable

  37. case class VideoComponentPost(ownerId: UUID, title: String, questions: Option[String], thingsToThinkAbout: Option[String], vimeoId: String, width: Int, height: Int) extends Product with Serializable

  38. case class VideoComponentPut(version: Long, title: String, questions: String, thingsToThinkAbout: String, vimeoId: String, width: Int, height: Int) extends Product with Serializable

Value Members

  1. object AudioComponent extends Serializable

  2. object AudioComponentPost extends Serializable

  3. object AudioComponentPut extends Serializable

  4. object Chat extends Serializable

  5. object Component

  6. object ComponentScratchpad extends Serializable

  7. object Course extends Serializable

  8. object CoursePost extends Serializable

  9. object CoursePut extends Serializable

  10. object CourseSchedule extends LocalDateTimeJson with Serializable

  11. object CourseScheduleException extends LocalDateTimeJson with Serializable

  12. object CourseSchedulePost extends LocalDateTimeJson with Serializable

  13. object CourseSchedulePut extends LocalDateTimeJson with Serializable

  14. object JournalEntry extends Serializable

  15. object Part extends Serializable

  16. object PartPost extends Serializable

  17. object PartPut extends Serializable

  18. object Project extends Serializable

  19. object ProjectPost extends Serializable

  20. object ProjectPut extends Serializable

  21. object Role extends Serializable

  22. object TaskFeedback extends Serializable

  23. object TaskScratchpad extends Serializable

  24. object TextComponent extends Serializable

  25. object TextComponentPost extends Serializable

  26. object TextComponentPut extends Serializable

  27. object User extends Serializable

    User companion object.

    User companion object. Fills the role of input/output mappers in the layered architecture. This object should handle all interaction with the technical services layer for Users.

    For individual user lookups, this mapper will check the in-memory cache first, followed by the database.

  28. object UserInfo extends Serializable

  29. object VideoComponent extends Serializable

  30. object VideoComponentPost extends Serializable

  31. object VideoComponentPut extends Serializable

  32. package document

  33. package tasks

  34. package work

Ungrouped