Deletes an attribute of a user.
Deletes an attribute of a user.
the identifier of the userId
the name of the attribute
a Future
that is completed when the operation is acknowledged.
Deletes the information about a user.
Deletes the information about a user.
the identifier of the user
a Future
that is completed when the operation is acknowledged.
Retrieves all attributes of a user.
Retrieves all attributes of a user.
the identifier of the user
a Future
with the user attributes wrapped in a Some
if the user exists, None
otherwise.
Retrieves a single base attribute of a user.
Retrieves a single base attribute of a user.
the identifier of the user
the name of the base attribute
a Future
with the attribute value wrapped in a Some
if the user exists, None
otherwise.
Retrieves a single computed attribute of a user.
Retrieves a single computed attribute of a user.
the identifier of the user
the name of the computed attribute
a Future
with the attribute value wrapped in a Some
if the user exists, None
otherwise.
Returns all ids associated with the provided UserId.
Returns all ids associated with the provided UserId. The provided UserId is always included in the set.
the identifier of the user whose set of ids we want to fetch
a Future
with the set of users this UserId belongs to.
Retrieves all ids associated with the provided UserId, along with its attributes.
Retrieves all ids associated with the provided UserId, along with its attributes.
the identifier of the user whose set of ids and attributes we want to fetch
a Future
containing a tuple with:
Some
if the user exists, None
otherwise.Links two users.
Links two users. After linked, the users will be unified, so that their attributes will be shared and getting, updating, and deleting attributes works interchangeably between them. The provided source can later be used to reset the created links.
the identifier of the first user
the identifier of the second user
an optional source to use for the link. Links with named sources can later be reset
a Future
that is completed when the operation is acknowledged.
Resets all links of the provided source.
Resets all links of the provided source.
the source of the links to be reset
a Future
that is completed when the operation is acknowledged.
Sets the merge strategy for a single base attribute.
Sets the merge strategy for a single base attribute. If an attribute doesn't have a merging strategy defined, it is assumed to be MostRecent.
the name of the attribute whose merging strategy we would like to define
the strategy to use from now onwards when merging attributes of the provided name
a Future
that is completed when the operation is acknowledged.
Updates the attributes of a user.
Updates the attributes of a user.
the identifier of the user
the attributes to update the user with
the strategy to use when merging the attributes
a Future
that is completed when the operation is acknowledged.
A akka.stream.scaladsl.Sink for user update operations.
A akka.stream.scaladsl.Source of users of a given type that were updated during the range of supplied
DateTime
s, along with their attributes.
A akka.stream.scaladsl.Source of users of a given type that were updated during the range of supplied
DateTime
s, along with their attributes.
the type of identifier
the lower bound of the time range
the upper bound of the time range
the source of user information
A akka.stream.scaladsl.Source of users of a given type along with their attributes.
A akka.stream.scaladsl.Source of users of a given type along with their attributes.
the type of identifier
the source of user information
Interface for clients capable of interacting with the User Profile Storage module by retrieving, updating or deleting information about users.