models

package models

Visibility
  1. Public
  2. All

Type Members

  1. case class CORSFilter() extends Filter with Product with Serializable

  2. case class Collection(id: UUID = UUID.generate(), name: String = "N/A", author: Option[Identity] = scala.None, description: String = "N/A", created: Date, datasets: List[Dataset] = immutable.this.List.empty[Nothing], thumbnail_id: Option[String] = scala.None, previews: List[Preview] = immutable.this.List.empty[Nothing]) extends Product with Serializable

  3. case class Comment(author: Identity, text: String, comment_id: Option[UUID] = scala.None, dataset_id: Option[UUID] = scala.None, file_id: Option[UUID] = scala.None, section_id: Option[UUID] = scala.None, posted: Date = new java.util.Date(), id: UUID = UUID.generate(), replies: List[Comment] = immutable.this.List.empty[Nothing]) extends Product with Serializable

    Comment

  4. case class Credentials(email: String, password: String) extends Product with Serializable

    User credentials.

  5. case class Datapoint(id: UUID = UUID.generate(), time: Option[Date], location: Option[Geometry], data: Option[Map[String, String]], source: Option[String]) extends Product with Serializable

  6. case class Dataset(id: UUID = UUID.generate(), name: String = "N/A", author: Identity, description: String = "N/A", created: Date, files: List[File] = immutable.this.List.empty[Nothing], streams_id: List[com.mongodb.casbah.Imports.ObjectId] = immutable.this.List.empty[Nothing], tags: List[Tag] = immutable.this.List.empty[Nothing], metadata: Map[String, Any] = ..., userMetadata: Map[String, Any] = ..., collections: List[String] = immutable.this.List.empty[Nothing], thumbnail_id: Option[String] = scala.None, datasetXmlMetadata: List[DatasetXMLMetadata] = immutable.this.List.empty[Nothing], userMetadataWasModified: Option[Boolean] = scala.None, licenseData: LicenseData = ..., notesHTML: Option[String] = scala.None) extends Product with Serializable

    A dataset is a collection of files, and streams.

  7. case class DatasetXMLMetadata(xmlMetadata: Map[String, Any] = ..., fileId: String) extends Product with Serializable

    Dataset XML metadata.

  8. case class Extraction(id: UUID = UUID.generate(), file_id: UUID, extractor_id: String, status: String = "N/A", start: Option[Date], end: Option[Date]) extends Product with Serializable

    Status of extraction job.

  9. case class ExtractionRequests(serverIP: String, clientIP: String, fileId: UUID, fileName: String, fileType: String, fileSize: Long, uploadDate: Date, extractors: Option[List[String]], startTime: Option[Date], endTime: Option[Date]) extends Product with Serializable

    DTS Requests information

  10. case class ExtractorDetail(ip: String = "", name: String = "", count: Int = 0) extends Product with Serializable

    Extractors' Servers IPs, Name and Count This is a temporary fix for keeping track of number of extractors running in different servers This class may be omitted once the design and implementation for BD-289 are done

  11. case class ExtractorInputType(inputType: String = "") extends Product with Serializable

    An input type supported by an extractor

  12. case class ExtractorNames(name: String = "") extends Product with Serializable

    Currently running extractor name

  13. case class ExtractorServer(server: String = "N/A") extends Product with Serializable

    Servers information running different extractors and supported file formats

  14. case class Feature(representation: String, descriptor: List[Double]) extends Product with Serializable

  15. case class File(id: UUID = UUID.generate(), path: Option[String] = scala.None, filename: String, author: Identity, uploadDate: Date, contentType: String, length: Long = 0, showPreviews: String = "DatasetLevel", sections: List[Section] = immutable.this.List.empty[Nothing], previews: List[Preview] = immutable.this.List.empty[Nothing], tags: List[Tag] = immutable.this.List.empty[Nothing], metadata: List[Map[String, Any]] = immutable.this.List.empty[Nothing], thumbnail_id: Option[String] = scala.None, isIntermediate: Option[Boolean] = scala.None, userMetadata: Map[String, Any] = ..., xmlMetadata: Map[String, Any] = ..., userMetadataWasModified: Option[Boolean] = scala.None, licenseData: LicenseData = ..., notesHTML: Option[String] = scala.None) extends Product with Serializable

    Uploaded files.

  16. case class FileMD(userid: String) extends Product with Serializable

    Used for uploading of files.

  17. case class GeoJSON(featureType: String, features: List[Geometry]) extends Product with Serializable

  18. case class Geometry(geometryType: String, coordinates: List[Double], properties: Option[Map[String, String]]) extends Product with Serializable

  19. class IncrementCounter extends AnyRef

  20. case class Info(avatarUrl: Option[String], biography: Option[String], currentprojects: List[String], institution: Option[String], orcidID: Option[String] = scala.None, pastprojects: List[String], position: Option[String]) extends Product with Serializable

  21. case class Institution(name: String) extends Product with Serializable

    Institution string for profile attributes

  22. case class LicenseData(id: UUID = UUID.generate(), m_licenseType: String = "license1", m_licenseUrl: String = "", m_licenseText: String = "All Rights Reserved", m_rightsHolder: String = "", m_ccAllowCommercial: Boolean = false, m_ccAllowDerivative: Boolean = false, m_ccRequireShareAlike: Boolean = false, m_allowDownload: Boolean = false) extends Product with Serializable

    case class to handle specific license information.

  23. case class Metadata(key: String, value: String, predicate: Option[String]) extends Product with Serializable

    Single piece of metadata.

  24. case class MiniUser(id: UUID, fullName: String, avatarURL: String) extends Product with Serializable

    Class to contain a subset of User data for fast loading.

  25. case class MultimediaFeatures(id: UUID = UUID.generate(), file_id: Option[UUID] = scala.None, section_id: Option[UUID] = scala.None, features: List[Feature]) extends Product with Serializable

    Feature vectors used for multimedia indexing.

  26. case class Preview(id: UUID = UUID.generate(), file_id: Option[UUID] = scala.None, section_id: Option[UUID] = scala.None, dataset_id: Option[UUID] = scala.None, collection_id: Option[UUID] = scala.None, filename: Option[String] = scala.None, contentType: String, preview_type: Option[String] = scala.None, annotations: List[ThreeDAnnotation] = immutable.this.List.empty[Nothing], length: Long, extractor_id: Option[String] = scala.None, iipURL: Option[String] = scala.None, iipImage: Option[String] = scala.None, iipKey: Option[String] = scala.None) extends Product with Serializable

    Preview bytes and metadata.

  27. case class PreviewFilesSearchResult(fileOrPreview: String, searchResultFile: SearchResultFile, searchResultPreview: SearchResultPreview) extends Product with Serializable

  28. case class Previewer(id: String, path: String, main: String, contentType: List[String], supportedPreviews: List[String], collection: Boolean = false, dataset: Boolean = false) extends Product with Serializable

    Previewers are javascripts library to visualize information on the web interface.

  29. case class Project(name: String) extends Product with Serializable

    Project string for profile attributes

  30. case class Rectangle(x: Double, y: Double, w: Double, h: Double) extends Product with Serializable

  31. case class SearchResultFile(id: UUID, url: String, distance: Double, title: String, datasetIdList: List[String], thumbnailId: String) extends Product with Serializable

  32. case class SearchResultPreview(id: UUID, url: String, distance: Double, previewName: String, datasetIdList: List[String] = immutable.this.List.empty[Nothing], fileIdString: String = "", fileTitle: String = "", shotStartTime: Int) extends Product with Serializable

  33. case class Section(id: UUID = UUID.generate(), file_id: UUID = UUID.generate(), order: Int = -1, startTime: Option[Int] = scala.None, endTime: Option[Int] = scala.None, area: Option[Rectangle] = scala.None, preview: Option[Preview] = scala.None, tags: List[Tag] = immutable.this.List.empty[Nothing]) extends Product with Serializable

    A portion of a file.

  34. case class SectionIndexInfo(indexId: String, indexName: Option[String] = scala.None, indexType: Option[String] = scala.None) extends Product with Serializable

    Information about index containing sections.

  35. case class Stream(id: UUID = UUID.generate(), name: String) extends Product with Serializable

    A stream is a sequence of objects with potentially no beginning and no end.

  36. case class Tag(id: UUID = UUID.generate(), name: String, userId: Option[String], extractor_id: Option[String], created: Date) extends Product with Serializable

    Add and remove tags

  37. case class TempFile(id: UUID = UUID.generate(), path: Option[String] = scala.None, filename: String, uploadDate: Date, contentType: String, length: Long = 0, thumbnail_id: Option[UUID] = scala.None) extends Product with Serializable

    Temporary files used when uploading query images for image based searches.

  38. case class ThreeDAnnotation(x_coord: String, y_coord: String, z_coord: String, description: String = "", id: UUID = UUID.generate()) extends Product with Serializable

    3D textures for x3dom generated from obj models.

  39. case class ThreeDGeometry(id: UUID = UUID.generate(), file_id: Option[String] = scala.None, filename: Option[String] = scala.None, contentType: String, level: Option[String], length: Long) extends Product with Serializable

    3D binary geometry files for x3dom.

  40. case class ThreeDTexture(id: UUID = UUID.generate(), file_id: Option[String] = scala.None, filename: Option[String] = scala.None, contentType: String, length: Long) extends Product with Serializable

    3D textures for x3dom generated from obj models.

  41. case class Thumbnail(id: UUID = UUID.generate(), filename: Option[String] = scala.None, contentType: String, length: Long) extends Product with Serializable

    Thumbnails for datasets and files.

  42. case class Tile(id: UUID = UUID.generate(), preview_id: Option[String] = scala.None, filename: Option[String] = scala.None, contentType: String, level: Option[String], length: Long) extends Product with Serializable

    Pyramid tiles of images for Seadragon.

  43. case class TypedID(id: UUID, objectType: String) extends Product with Serializable

    Gives access to the type of a particular UUID

  44. case class UUID(uuid: String) extends Product with Serializable

    Created by lmarini on 2/20/14.

  45. case class User(id: UUID = UUID.generate(), firstName: String, lastName: String, fullName: String, email: Option[String], avatarUrl: Option[String] = scala.None, biography: Option[String] = scala.None, currentprojects: List[String] = immutable.this.List.empty[Nothing], institution: Option[String] = scala.None, orcidID: Option[String] = scala.None, pastprojects: List[String] = immutable.this.List.empty[Nothing], position: Option[String] = scala.None, friends: Option[List[String]] = scala.None, viewed: Option[List[UUID]] = scala.None) extends Product with Serializable

    Simple class to capture basic User Information.

  46. case class Versus(fileId: UUID, descriptors: Map[String, Any] = ...) extends Product with Serializable

  47. case class VersusIndex(id: String, MIMEtype: String, extractorID: String, measureID: String, indexerType: String) extends Product with Serializable

  48. case class VersusIndexTypeName(indexID: String, MIMEtype: String, Extractor: String, Measure: String, Indexer: String, indexName: Option[String], indexType: Option[String]) extends Product with Serializable

  49. case class WebPageResource(id: UUID, webPageURL: String, URLs: Map[String, String]) extends Product with Serializable

    Web page URL and (file URLs in that specific web page, UUIDs for those file saved in database) This is used for DTS service

Value Members

  1. object ExtractionInfoSetUp

  2. object FileOP

  3. object ServerStartTime

    Keeps track of server start time Used in Global Object

  4. object Stream extends ModelCompanion[Stream, ObjectId] with Serializable

  5. object UUID extends Serializable

  6. object UUIDConversions

  7. object UUIDTransformer extends CustomTransformer[UUID, ObjectId]

  8. object User extends Serializable

  9. object VersusExtraction

    Versus Extraction of Descriptors with an adapter, an extractor and a measure

  10. object VersusIndex extends Serializable

  11. object VersusIndexTypeName extends Serializable

  12. object VersusSimilarityResult

    Multimedia search result.

Ungrouped