models

Events

object Events

event_type: follow_user, unfollow_user, follow_file, unfollow_file, follow_dataset, unfollow_datset, follow_collection, unfollow_collection => "user follows/unfollows object_name"

edit_profile => "user edited his profile"

upload_file => "user uploaded object_name"

create_dataset, create_collection => "user created dataset/collection: object_name"

delete_file, delete_dataset, delete_collection => "user deleted dataset/collection/file: object_name"

move_collection_trash, move_dataset_trash => "user moved collection/dataset: object_name to trash"

add_tags_dataset, add_tags_file => "user added tags to dataset/file: object_name"

remove_tags_dataset, remove_tags_file => "user removed tags from dataset/file: object_name"

attach_file_dataset => "user added file: object_name to dataset: source_name" detach_file_dataset => "user removed file: object_name from dataset: source_name"

attach_dataset_collection => "user added dataset: object_name to collection: source_name" remove_dataset_collection => "user removed dataset: object_name from collection: source_name"

addMetadata_dataset => "user added metadata to dataset: object_name" addMetadata_file => "user added metadata to file: object_name"

update_dataset_information => "user updated dataset infomration for object_name"

(when working with comments object_name holds comment text, object_id has UUID of comment) comment_file => "user commented object_name on file: source_name" add_comment_dataset => "user commented object_name on dataset: source_name" edit_comment => "user edited his comment to object_name"

set_note_file => "user set the note on object_name"

download_file => "user downladed object_name" (not working)

tos_update => "Terms of Service were updated"

To get all events use: var events = events.getAllEvents(muser.followedUsers, muser.followedCollections, muser.followedDatasets, muser.followedFiles) events is a list of Event objects for (event <- events) (whatever you want with the event)

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

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. val events: EventService

  11. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  18. val scheduler: SchedulerService

  19. def sendDigestEmail(user: User, events: List[Event]): Unit

    Sends and creates a Digest Email

  20. def sendEmailUser(userList: List[TimerJob]): Unit

    Gets the events for each viewer and sends out emails TODO : move to event class most likely MMDB-1842

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. val users: UserService

  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped