models

package models

Visibility
  1. Public
  2. All

Type Members

  1. trait Agent extends AnyRef

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

  3. case class ClowderUser(id: UUID = UUID.generate(), identityId: IdentityId, firstName: String, lastName: String, fullName: String, email: Option[String], authMethod: AuthenticationMethod, avatarUrl: Option[String] = scala.None, oAuth1Info: Option[OAuth1Info] = scala.None, oAuth2Info: Option[OAuth2Info] = scala.None, passwordInfo: Option[PasswordInfo] = scala.None, profile: Option[Profile] = scala.None, followedEntities: List[TypedID] = immutable.this.List.empty[Nothing], followers: List[UUID] = immutable.this.List.empty[Nothing], friends: Option[List[String]] = scala.None, viewed: Option[List[UUID]] = scala.None) extends User with Product with Serializable

  4. 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], space: Option[UUID] = scala.None, followers: List[UUID] = immutable.this.List.empty[Nothing], jsonldMetadata: List[Metadata] = immutable.this.List.empty[Nothing]) extends Product with Serializable

  5. 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

  6. case class ContextLD(id: UUID = UUID.generate(), contextName: JsString, context: JsValue) extends Product with Serializable

    Model for Context in Json-ld

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

    User credentials.

  8. 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

  9. 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], jsonldMetadata: List[Metadata] = 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, space: Option[UUID] = scala.None, followers: List[UUID] = immutable.this.List.empty[Nothing]) extends Product with Serializable

    A dataset is a collection of files, and streams.

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

    Dataset XML metadata.

  11. case class Event(user: MiniUser, object_id: Option[UUID] = scala.None, object_name: Option[String] = scala.None, source_id: Option[UUID] = scala.None, source_name: Option[String] = scala.None, event_type: String, created: Date) extends Product with Serializable

    Contains information about an user event

  12. 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 information about extractors and extractions.

  13. 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

  14. case class ExtractorAgent(id: UUID, typeOfAgent: String = "extractor", extractorId: Option[URL]) extends Agent with Product with Serializable

  15. 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

  16. case class ExtractorInfo(id: UUID, name: String, version: String, updated: Date, description: String, author: String, contributors: List[String], contexts: List[UUID], repository: Repository, external_services: List[String], libraries: List[String], bibtex: List[String]) extends Product with Serializable

    Information about individual extractors.

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

    An input type supported by an extractor

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

    Currently running extractor name

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

    Servers information running different extractors and supported file formats

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

  21. 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], thumbnail_id: Option[String] = scala.None, jsonldMetadata: List[Metadata] = immutable.this.List.empty[Nothing], metadata: List[Map[String, Any]] = immutable.this.List.empty[Nothing], 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, followers: List[UUID] = immutable.this.List.empty[Nothing]) extends Product with Serializable

    Uploaded files.

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

    Used for uploading of files.

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

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

  25. class IncrementCounter extends AnyRef

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

    Institution string for profile attributes

  27. 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.

  28. case class MDVocabularyDefinition(id: UUID = UUID.generate(), spaceId: Option[UUID] = scala.None, json: JsValue) extends Product with Serializable

    Definition of metadata fields to present to the user a list of options.

  29. case class Metadata(id: UUID = UUID.generate(), attachedTo: ResourceRef, contextId: Option[UUID] = scala.None, contextURL: Option[URL] = scala.None, createdAt: Date = new java.util.Date(), creator: Agent, content: JsValue, version: Option[String] = scala.None) extends Product with Serializable

    A piece of metadata for a section/file/dataset/collection/space

  30. case class MiniEntity(id: UUID, name: String, objectType: String) extends Product with Serializable

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

  31. case class MiniUser(id: UUID, fullName: String, avatarURL: String, email: Option[String]) extends Product with Serializable

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

  32. 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.

  33. 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, jsonldMetadata: List[Metadata] = immutable.this.List.empty[Nothing]) extends Product with Serializable

    Preview bytes and metadata.

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

  35. 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.

  36. case class Profile(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, emailsettings: Option[String] = scala.None) extends Product with Serializable

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

    Project string for profile attributes

  38. case class ProjectSpace(id: UUID = UUID.generate(), name: String = "N/A", description: String = "N/A", created: Date, creator: UUID, homePage: List[URL], logoURL: Option[URL], bannerURL: Option[URL], usersByRole: Map[UUID, List[UUID]], collectionCount: Integer, datasetCount: Integer, userCount: Integer, metadata: List[Metadata]) extends Product with Serializable

    A space definines a partition of the data so that authorization can be enforced on it.

  39. case class ProvObj(typeofIf: String, id: UUID, archived: Date, obj: JsObject) extends Product with Serializable

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

  41. case class Repository(repType: String, repUrl: String) extends Product with Serializable

    Source code repository

  42. case class ResourceRef(resourceType: Symbol, id: UUID) extends Product with Serializable

  43. case class Role() extends Product with Serializable

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

  45. 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

  46. 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, jsonldMetadata: List[Metadata] = immutable.this.List.empty[Nothing], thumbnail_id: Option[String] = scala.None, tags: List[Tag] = immutable.this.List.empty[Nothing]) extends Product with Serializable

    A portion of a file.

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

    Information about index containing sections.

  48. 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.

  49. 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

  50. 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.

  51. 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.

  52. 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.

  53. 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.

  54. case class Thumbnail(id: UUID = UUID.generate(), chunkSize: Long, path: Option[String] = scala.None, length: Long, md5: Option[String] = scala.None, filename: Option[String] = scala.None, contentType: String, uploadDate: Date) extends Product with Serializable

    Thumbnails for datasets and files.

  55. 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.

  56. case class TimerJob(name: String, minute: Option[Integer] = scala.None, hour: Option[Integer] = scala.None, day_of_month: Option[Integer] = scala.None, day_of_week: Option[Integer] = scala.None, function: Option[String] = scala.None, parameters: Option[UUID] = scala.None, frequency: Option[String] = scala.None, lastJobTime: Option[Date] = scala.None) extends Product with Serializable

    Job to be put into scheduler

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

    Gives access to the type of a particular UUID

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

    Created by lmarini on 2/20/14.

  59. trait User extends Identity

    Simple class to capture basic User Information.

  60. case class UserAgent(id: UUID, typeOfAgent: String = "user", user: MiniUser, userId: Option[URL]) extends Agent with Product with Serializable

  61. case class UserSpace(id: UUID = UUID.generate(), name: String = "N/A", description: String = "N/A", homePage: List[URL], logoURL: Option[URL], bannerURL: Option[URL], collectionCount: Integer, datasetCount: Integer, userCount: Integer) extends Product with Serializable

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

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

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

  65. 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 Agent

  2. 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"

  3. object ExtractionInfoSetUp

  4. object ExtractorInfo extends Serializable

  5. object FileOP

  6. object JobsScheduler

    Runs from jobs collections job

  7. object MDVocabularyDefinition extends Serializable

  8. object Metadata extends Serializable

  9. object MiniEntity extends Serializable

  10. object ResourceRef extends Serializable

  11. object ServerStartTime

    Keeps track of server start time Used in Global Object

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

  13. object TypedID extends Serializable

  14. object UUID extends Serializable

  15. object UUIDConversions

  16. object UUIDTransformer extends CustomTransformer[UUID, ObjectId]

  17. object User

  18. object VersusExtraction

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

  19. object VersusIndex extends Serializable

  20. object VersusIndexTypeName extends Serializable

  21. object VersusSimilarityResult

    Multimedia search result.

Ungrouped