Package

eu.shiftforward.adstax.ups

api

Permalink

package api

Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayAttrValue(arr: Seq[AttributeValue]) extends AttributeValue with Product with Serializable

    Permalink

    An array attribute value.

    An array attribute value.

    arr

    the array of attribute values

  2. sealed trait AttributeMergingStrategy extends AnyRef

    Permalink

    A strategy to merge two sets of user attributes.

  3. sealed trait AttributeValue extends AnyRef

    Permalink

    The value of an attribute.

    The value of an attribute. An attribute takes one of a fixed set of attribute types.

  4. case class BooleanAttrValue(value: Boolean) extends AttributeValue with Product with Serializable

    Permalink

    A boolean attribute value.

    A boolean attribute value.

    value

    the boolean value

  5. case class DeleteUser(userId: UserId) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to delete the information about a user.

    A request to delete the information about a user.

    userId

    the identifier of the user

  6. case class DeleteUserAttribute(userId: UserId, attributeName: String) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to delete an attribute of a user.

    A request to delete an attribute of a user.

    userId

    the identifier of the user

    attributeName

    the name of the attribute

  7. case class GeoAttrValue(lat: Double, lon: Double) extends AttributeValue with Product with Serializable

    Permalink

    An attribute value representing a set of lan-lon coordinates.

    An attribute value representing a set of lan-lon coordinates.

    lat

    the latitude value

    lon

    the longitude value

  8. case class GetIds(userId: UserId) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to fetch the set of ids associated with a given user

    A request to fetch the set of ids associated with a given user

    userId

    the id of the user to fetch the set of ids for

  9. case class GetIdsResponse(ids: Set[UserId]) extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a GetIds request.

  10. case class GetUser(userId: UserId) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to retrieve all attributes of a user.

    A request to retrieve all attributes of a user.

    userId

    the identifier of the user

  11. case class GetUserAttributeResponse(attributeValue: Option[AttributeValue]) extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a GetUserBaseAttribute or a GetUserComputedAttribute request.

    The response for a GetUserBaseAttribute or a GetUserComputedAttribute request.

    attributeValue

    the attribute value for the requested key wrapped in a Some if the user and the attribute exists, None otherwise

  12. case class GetUserBaseAttribute(userId: UserId, name: String) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to retrieve a single base attribute of a user.

    A request to retrieve a single base attribute of a user.

    userId

    the identifier of the user

    name

    the name of the base attribute

  13. case class GetUserComputedAttribute(userId: UserId, name: String) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to retrieve a single computed attribute of a user.

    A request to retrieve a single computed attribute of a user.

    userId

    the identifier of the user

    name

    the name of the computed attribute

  14. case class GetUserResponse(data: Option[UserData]) extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a GetUser request.

    The response for a GetUser request.

    data

    the attributes and segment values associated with the user wrapped in a Some if the user exists, None otherwise.

  15. case class LinkUsers(userId1: UserId, userId2: UserId, source: Option[String]) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to link the two users.

    A request to link the two users.

    userId1

    the identifier of the first user

    userId2

    the identifier of the second user

    source

    an optional source for the link

  16. case class MapAttrValue(map: Map[String, AttributeValue]) extends AttributeValue with Product with Serializable

    Permalink

    A map attribute value.

    A map attribute value.

    map

    the map of keys to attribute values

  17. case class NumericAttrValue(value: Double) extends AttributeValue with Product with Serializable

    Permalink

    A numeric attribute value.

    A numeric attribute value.

    value

    the number value

  18. case class ResetLinks(source: String) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to reset the links of a given source.

    A request to reset the links of a given source.

    source

    the source to be reset

  19. case class StringAttrValue(value: String) extends AttributeValue with Product with Serializable

    Permalink

    A string attribute value.

    A string attribute value.

    value

    the string value

  20. case class UpdateUser(userId: UserId, attributes: UserAttributes, mergeStrategy: AttributeMergingStrategy) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to update the information about a user.

    A request to update the information about a user.

    userId

    the identifier of the user

    attributes

    the attributes to update the user with

    mergeStrategy

    the strategy to use when merging the attributes

  21. case class UserAttributes(attributes: Map[String, AttributeValue]) extends Product with Serializable

    Permalink

    The attribute set of a user.

    The attribute set of a user.

    attributes

    the map from attribute names to values

  22. case class UserData(baseAttributes: UserAttributes, computedAttributes: UserAttributes) extends Product with Serializable

    Permalink

    A structure containing all the attributes of a user.

    A structure containing all the attributes of a user.

    baseAttributes

    the base attribute set of the user

    computedAttributes

    the computed attributes of the user

  23. case class UserId(idType: String, id: String) extends Product with Serializable

    Permalink

    A fully qualified user identifier.

    A fully qualified user identifier.

    idType

    the type of identifier

    id

    the identifier

  24. trait UserProfileStorageClient extends AnyRef

    Permalink

    Interface for clients capable of interacting with the User Profile Storage module by retrieving, updating or deleting information about users.

  25. sealed trait UserProfileStorageRequest extends AnyRef

    Permalink

    A request to be sent to the User Profile Storage module.

  26. sealed trait UserProfileStorageResponse extends AnyRef

    Permalink

    A response from the User Profile Storage module to a UserProfileStorageRequest.

Value Members

  1. object AttributeMergingStrategy

    Permalink
  2. object AttributeValue

    Permalink
  3. object DeleteUser extends Serializable

    Permalink
  4. object DeleteUserAttribute extends Serializable

    Permalink
  5. object DeleteUserAttributeResponse extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a DeleteUserAttribute request.

  6. object DeleteUserResponse extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a DeleteUser request.

  7. object GetIds extends Serializable

    Permalink
  8. object GetIdsResponse extends Serializable

    Permalink
  9. object GetUser extends Serializable

    Permalink
  10. object GetUserAttributeResponse extends Serializable

    Permalink
  11. object GetUserBaseAttribute extends Serializable

    Permalink
  12. object GetUserComputedAttribute extends Serializable

    Permalink
  13. object GetUserResponse extends Serializable

    Permalink
  14. object JoinMergingStrategy extends AttributeMergingStrategy with Product with Serializable

    Permalink

    Simple attribute merge strategy that updates the old attributes with the most recent ones.

    Simple attribute merge strategy that updates the old attributes with the most recent ones. Attributes that were only present in the old attributes are preserved.

    Example: [(a, 1), (b, 1)] * [(a, 3), (c, 1)] = [(a, 3), (b, 1), (c, 1)]

  15. object LinkUsers extends Serializable

    Permalink
  16. object LinkUsersResponse extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a LinkUsers request.

  17. object ReplaceMergingStrategy extends AttributeMergingStrategy with Product with Serializable

    Permalink

    Simple attribute merge strategy that overwrites the old attributes with new attributes, removing all old attributes.

    Simple attribute merge strategy that overwrites the old attributes with new attributes, removing all old attributes.

    Example: [(a, 1), (b, 1)] * [(a, 3), (c, 1)] = [(a, 3), (c, 1)]

  18. object ResetLinks extends Serializable

    Permalink
  19. object ResetLinksResponse extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a ResetLinks request.

  20. object UpdateUser extends Serializable

    Permalink
  21. object UpdateUserResponse extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for an UpdateUser request.

  22. object UserAttributes extends Serializable

    Permalink
  23. object UserData extends Serializable

    Permalink
  24. object UserId extends Serializable

    Permalink
  25. package rpc

    Permalink

Ungrouped