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 GetUser(userId: UserId) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to retrieve information about a user.

    A request to retrieve information about a user.

    userId

    the identifier of the user

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

    Permalink

    A request to retrieve a single attribute of a user.

    A request to retrieve a single attribute of a user.

    userId

    the identifier of the user

    attributeName

    the name of the attribute

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

    Permalink

    The response for a GetUserAttribute request.

    The response for a GetUserAttribute request.

    attributeValue

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

  11. case class GetUserResponse(attributes: Option[UserAttributes]) extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a GetUser request.

    The response for a GetUser request.

    attributes

    the attributes associated with the user wrapped in a Some if the user exists, None otherwise

  12. 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

  13. case class MergeUsers(userId1: UserId, userId2: UserId) extends UserProfileStorageRequest with Product with Serializable

    Permalink

    A request to merge the information about two users.

    A request to merge the information about two users.

    userId1

    the identifier of the first user

    userId2

    the identifier of the second user

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

    Permalink

    A numeric attribute value.

    A numeric attribute value.

    value

    the number value

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

    Permalink

    A string attribute value.

    A string attribute value.

    value

    the string value

  16. 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

  17. 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

  18. 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

  19. 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.

  20. sealed trait UserProfileStorageRequest extends AnyRef

    Permalink

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

  21. 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 GetUser extends Serializable

    Permalink
  8. object GetUserAttribute extends Serializable

    Permalink
  9. object GetUserAttributeResponse extends Serializable

    Permalink
  10. object GetUserResponse extends Serializable

    Permalink
  11. 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)]

  12. object MergeUsers extends Serializable

    Permalink
  13. object MergeUsersResponse extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for a MergeUsers request.

  14. 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)]

  15. object UpdateUser extends Serializable

    Permalink
  16. object UpdateUserResponse extends UserProfileStorageResponse with Product with Serializable

    Permalink

    The response for an UpdateUser request.

  17. object UserAttributes extends Serializable

    Permalink
  18. object UserId extends Serializable

    Permalink
  19. package rpc

    Permalink

Ungrouped