Class

eu.shiftforward.adstax.user

User

Related Doc: package user

Permalink

case class User(userId: String, clientId: String, siteId: Option[String] = None) extends Product with Serializable

Representation of an user for a given client and an optional siteId.

userId

the id of the user

clientId

the client id of the user

siteId

the optional site id of the user

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new User(userId: String, clientId: String, siteId: Option[String] = None)

    Permalink

    userId

    the id of the user

    clientId

    the client id of the user

    siteId

    the optional site id of the user

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val clientId: String

    Permalink

    the client id of the user

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def getAttribute(name: String)(implicit context: UserProfileStorageContext, ec: ExecutionContext): Future[Option[AttributeValue]]

    Permalink

    Returns the attribute of the user associated with the given key, or None if the user doesn't have an attribute with that name.

    Returns the attribute of the user associated with the given key, or None if the user doesn't have an attribute with that name.

    name

    the param name to fetch

    context

    the user profile storage context to use when fetching the user attributes

    ec

    the execution context required for future handling

    returns

    a Future with the optional attribute.

  10. def getAttributes(implicit context: UserProfileStorageContext, ec: ExecutionContext): Future[Option[UserAttributes]]

    Permalink

    Returns all the attributes of the user, or None if the user doesn't have attributes.

    Returns all the attributes of the user, or None if the user doesn't have attributes.

    context

    the user profile storage context to use when fetching the user attributes

    ec

    the execution context required for future handling

    returns

    a Future with the optional user attributes of the user.

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def setAttribute(name: String, value: AttributeValue)(implicit context: UserProfileStorageContext, ec: ExecutionContext): Future[Unit]

    Permalink

    Sets the provided attribute for the given user.

    Sets the provided attribute for the given user. The attribute is either added if it didn't exist before or its previous value is replaced with the new one.

    name

    the name of the attribute to set

    value

    the new value for the attribute

    context

    the user profile storage context to use when fetching the user attributes

    ec

    the execution context required for future handling

    returns

    a Future that completes when the attribute is set.

  17. def setAttributes(attributes: UserAttributes)(implicit context: UserProfileStorageContext, ec: ExecutionContext): Future[Unit]

    Permalink

    Sets the attributes for the given user, replacing all previously available in the store.

    Sets the attributes for the given user, replacing all previously available in the store.

    attributes

    the attributes to set

    context

    the user profile storage context to use when fetching the user attributes

    ec

    the execution context required for future handling

    returns

    a Future that completes when the attributes are set.

  18. val siteId: Option[String]

    Permalink

    the optional site id of the user

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

    Permalink
    Definition Classes
    AnyRef
  20. val userId: String

    Permalink

    the id of the user

  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped