models

User

case class User(id: UUID = UUID.generate(), firstName: String, lastName: String, fullName: String, email: Option[String], avatarUrl: Option[String] = scala.None, biography: Option[String] = scala.None, currentprojects: List[String] = immutable.this.List.empty[Nothing], institution: Option[String] = scala.None, orcidID: Option[String] = scala.None, pastprojects: List[String] = immutable.this.List.empty[Nothing], position: Option[String] = scala.None, friends: Option[List[String]] = scala.None, viewed: Option[List[UUID]] = scala.None) extends Product with Serializable

Simple class to capture basic User Information. This is similar to Identity in securesocial

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. User
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new User(id: UUID = UUID.generate(), firstName: String, lastName: String, fullName: String, email: Option[String], avatarUrl: Option[String] = scala.None, biography: Option[String] = scala.None, currentprojects: List[String] = immutable.this.List.empty[Nothing], institution: Option[String] = scala.None, orcidID: Option[String] = scala.None, pastprojects: List[String] = immutable.this.List.empty[Nothing], position: Option[String] = scala.None, friends: Option[List[String]] = scala.None, viewed: Option[List[UUID]] = scala.None)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val avatarUrl: Option[String]

  8. val biography: Option[String]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val currentprojects: List[String]

  11. val email: Option[String]

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. val firstName: String

  15. val friends: Option[List[String]]

  16. val fullName: String

  17. def getAvatarUrl: String

    Get the avatar URL for this user's profile If user has no avatar URL, this will return a unique URL based on the hash of this user's email address.

    Get the avatar URL for this user's profile If user has no avatar URL, this will return a unique URL based on the hash of this user's email address. Gravatar provide an image as specified in application.conf

    returns

    Full gravatar URL for the user's profile picture

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getCurrentProjectsString(): String

    returns

    string containing the current projects separated by commas

  20. def getEmailHash(): String

    returns

    lower case md5 hash of the user's email

  21. def getPastProjectsString(): String

    returns

    string containing the past projects separated by commas

  22. val id: UUID

  23. val institution: Option[String]

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. val lastName: String

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. val orcidID: Option[String]

  30. val pastprojects: List[String]

  31. val position: Option[String]

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. val viewed: Option[List[UUID]]

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped