services

EventService

trait EventService extends AnyRef

Service definition to interact with Events database.

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

Abstract Value Members

  1. abstract def addEvent(event: Event): Unit

    Adds a general event

  2. abstract def addObjectEvent(user: Option[User], object_id: UUID, object_name: String, action_type: String): Unit

    Event where user interacts with one object

  3. abstract def addRequestEvent(user: Option[User], targetuser: User, object_id: UUID, object_name: String, action_type: String): Unit

    Event where 2 user interacts with 1 object, etc request event

  4. abstract def addSourceEvent(user: Option[User], object_id: UUID, object_name: String, source_id: UUID, source_name: String, action_type: String): Unit

    Event where the user interacts with 2 objects, etc moving a dataset to a collection

  5. abstract def addUserEvent(user: Option[User], action_type: String): Unit

    Event where only the user is involved

  6. abstract def getCommentEvent(user: User, limit: Option[Integer]): List[Event]

    Get the comment events

  7. abstract def getEvents(id: String, id_type: String, limit: Option[Integer]): SalatMongoCursor[Event]

    Gets all events for one UUID

  8. abstract def getEvents(followedEntities: List[TypedID], limit: Option[Integer]): List[Event]

    Gets limit number of events from users, collections, datasets, and files and compliles them into 1 list

  9. abstract def getEventsByTime(followedEntities: List[TypedID], time: Date, limit: Option[Integer]): List[Event]

    Get limit number of events which come after a specificied time

  10. abstract def getEventsByUser(user: User, limit: Option[Integer]): List[Event]

    Get the events by creator

  11. abstract def getEventsOfType(following: List[UUID], id_type: String, limit: Option[Integer]): List[Event]

    Gets all users for a specific list and specific type: object or source

  12. abstract def getLatestNEventsOfType(n: Int, event_type: Option[String]): List[Event]

    Get the latest N events

  13. abstract def getRequestEvents(targetuser: Option[User], limit: Option[Integer]): List[Event]

    Get the request event and loginuser is targetuser

  14. abstract def listEvents(): List[Event]

    Lists all the events

  15. abstract def updateAuthorFullName(userId: UUID, fullName: String): Unit

    Update user fullname

  16. abstract def updateObjectName(id: UUID, name: String): Unit

    Update the object name

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped