services.mongodb

MongoDBUserService

class MongoDBUserService extends UserService

Wrapper around SecureSocial to get access to the users. There is no save option since all saves should be done through securesocial right now. Eventually this should become a wrapper for securesocial and we use User everywhere.

Linear Supertypes
UserService, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoDBUserService
  2. UserService
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoDBUserService(files: FileService, datasets: DatasetService, collections: CollectionService)

    Annotations
    @Inject()

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. object UserDAO extends ModelCompanion[User, ObjectId]

  7. def addUserDatasetView(email: String, dataset: UUID): Unit

    Adds a dataset view TODO: use UUID instead of email

    Adds a dataset view TODO: use UUID instead of email

    Definition Classes
    MongoDBUserServiceUserService
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def count(filter: Option[String]): Long

    The number of objects that are available based on the filter

    The number of objects that are available based on the filter

    Definition Classes
    MongoDBUserServiceUserService
  11. def count(): Long

    The number of users

    The number of users

    Definition Classes
    UserService
  12. def createNewListInUser(email: String, field: String, fieldList: List[Any]): Unit

    Creates a new list in User Model for friends, or viewed TODO: use UUID instead of email

    Creates a new list in User Model for friends, or viewed TODO: use UUID instead of email

    Definition Classes
    MongoDBUserServiceUserService
  13. def delete(id: UUID): Unit

    Definition Classes
    MongoDBUserServiceUserService
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def findByEmail(email: String): Option[User]

    Return a specific user based on the email provided.

    Return a specific user based on the email provided.

    Definition Classes
    MongoDBUserServiceUserService
  18. def findById(id: UUID): Option[User]

    Return a specific user based on the id provided.

    Return a specific user based on the id provided.

    Definition Classes
    MongoDBUserServiceUserService
  19. def findByIdentity(userId: String, providerId: String): Option[User]

    Return a specific user based on an Identity

    Return a specific user based on an Identity

    Definition Classes
    MongoDBUserServiceUserService
  20. def findByIdentity(identity: Identity): Option[User]

    Return a specific user based on an Identity

    Return a specific user based on an Identity

    Definition Classes
    MongoDBUserServiceUserService
  21. def followCollection(followerId: UUID, collectionId: UUID): Unit

    Follow a collection.

    Follow a collection.

    Definition Classes
    MongoDBUserServiceUserService
  22. def followDataset(followerId: UUID, datasetId: UUID): Unit

    Follow a dataset.

    Follow a dataset.

    Definition Classes
    MongoDBUserServiceUserService
  23. def followFile(followerId: UUID, fileId: UUID): Unit

    Follow a file.

    Follow a file.

    Definition Classes
    MongoDBUserServiceUserService
  24. def followUser(followeeId: UUID, followerId: UUID): Unit

    Follow a user.

    Follow a user.

    Definition Classes
    MongoDBUserServiceUserService
  25. def get(id: UUID): Option[User]

    Definition Classes
    MongoDBUserServiceUserService
  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. def getEntityName(uuid: UUID, objType: String): String

  28. def getTopRecommendations(followerIDs: List[UUID], excludeIDs: List[UUID], num: Int): List[MiniEntity]

    return List of tuples {id, objectType, score} representing the top N recommendations for an object with followerIDs This list will also filter out excludeIDs (i.

    return List of tuples {id, objectType, score} representing the top N recommendations for an object with followerIDs This list will also filter out excludeIDs (i.e. items the logged in user already follows)

    Definition Classes
    MongoDBUserServiceUserService
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. def insert(model: User): Option[String]

    Definition Classes
    MongoDBUserServiceUserService
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def list(order: Option[String], direction: Direction, start: Option[String], limit: Integer, filter: Option[String]): List[User]

    Return a list objects that are available based on the filter as well as the other options.

    Return a list objects that are available based on the filter as well as the other options.

    order

    the key to use to order the data, default is natural ordering of underlying implementation

    direction

    the direction to order the data in

    start

    the first element that should be returned based on the order key

    limit

    the maximum number of elements to return

    filter

    is a json representation of the filter to be applied

    Definition Classes
    MongoDBUserServiceUserService
  33. def list: List[User]

    List all users in the system.

    List all users in the system.

    Definition Classes
    UserService
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def unfollowCollection(followerId: UUID, collectionId: UUID): Unit

    Unfollow a collection.

    Unfollow a collection.

    Definition Classes
    MongoDBUserServiceUserService
  40. def unfollowDataset(followerId: UUID, datasetId: UUID): Unit

    Unfollow a dataset.

    Unfollow a dataset.

    Definition Classes
    MongoDBUserServiceUserService
  41. def unfollowFile(followerId: UUID, fileId: UUID): Unit

    Unfollow a file.

    Unfollow a file.

    Definition Classes
    MongoDBUserServiceUserService
  42. def unfollowUser(followeeId: UUID, followerId: UUID): Unit

    Unfollow a user.

    Unfollow a user.

    Definition Classes
    MongoDBUserServiceUserService
  43. def update(model: User): Unit

    Definition Classes
    MongoDBUserServiceUserService
  44. def updateProfile(id: UUID, profile: Profile): Unit

    Update the give user profile

    Update the give user profile

    Definition Classes
    MongoDBUserServiceUserService
  45. def updateUserField(email: String, field: String, fieldText: Any): Unit

    Updates a value in the User Model TODO: use UUID instead of email

    Updates a value in the User Model TODO: use UUID instead of email

    Definition Classes
    MongoDBUserServiceUserService
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UserService

Inherited from AnyRef

Inherited from Any

Ungrouped