class
MongoDBFileService extends FileService
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
object
MustBreak extends Exception
-
def
addFollower(id: UUID, userId: UUID): Unit
-
def
addMetadata(fileId: UUID, metadata: JsValue): Unit
-
def
addTags(id: UUID, userIdStr: Option[String], eid: Option[String], tags: List[String]): Unit
-
def
addUserMetadata(id: UUID, json: String): Unit
-
def
addVersusMetadata(id: UUID, json: JsValue): Unit
-
def
addXMLMetadata(id: UUID, json: String): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
bytes(): Long
-
def
clone(): AnyRef
-
def
comment(id: UUID, comment: Comment): Unit
-
def
count(): Long
-
def
dumpAllFileMetadata(): List[String]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
findByTag(tag: String, start: String, limit: Integer, reverse: Boolean, user: Option[User]): List[File]
-
def
findByTag(tag: String, user: Option[User]): List[File]
-
def
findIntermediates(): List[File]
-
def
findMetadataChangedFiles(): List[File]
-
def
first(): Option[File]
-
def
get(id: UUID): Option[File]
-
def
getBytes(id: UUID): Option[(InputStream, String, String, Long)]
-
final
def
getClass(): Class[_]
-
def
getJsonArray(list: List[JsObject]): JsArray
-
def
getMetadata(id: UUID): Map[String, Any]
-
def
getTags(user: Option[User]): Map[String, Long]
-
def
getTechnicalMetadataJSON(id: UUID): String
-
def
getUserMetadata(id: UUID): Map[String, Any]
-
def
getUserMetadataJSON(id: UUID): String
-
def
getVersusMetadata(id: UUID): Option[JsValue]
-
def
getXMLMetadataJSON(id: UUID): String
-
def
hashCode(): Int
-
def
incrementMetadataCount(id: UUID, count: Long): Unit
-
def
index(id: UUID): Unit
-
def
index(id: Option[UUID]): Unit
-
def
insert(file: File): Option[String]
-
def
isInDataset(file: File, dataset: Dataset): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isLastPointingToLoader(loader: String, loader_id: String): Boolean
-
def
jsonToXML(theJSON: String): File
-
def
latest(i: Int): List[File]
-
def
latest(): Option[File]
-
def
listFiles(): List[File]
-
def
listFilesAfter(date: String, limit: Int): List[File]
-
def
listFilesBefore(date: String, limit: Int): List[File]
-
def
listFilesNotIntermediate(): List[File]
-
def
listOutsideDataset(dataset_id: UUID): List[File]
-
def
listUserFilesAfter(date: String, limit: Int, email: String): List[File]
-
def
listUserFilesBefore(date: String, limit: Int, email: String): List[File]
-
def
modifyRDFOfMetadataChangedFiles(): Unit
-
def
modifyRDFUserMetadata(id: UUID, mappingNumber: String = "1"): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
removeAllTags(id: UUID): Unit
-
def
removeFile(id: UUID): Unit
-
def
removeFollower(id: UUID, userId: UUID): Unit
-
def
removeOldIntermediates(): Unit
-
def
removeTags(id: UUID, userIdStr: Option[String], eid: Option[String], tags: List[String]): Unit
-
def
removeTemporaries(): Unit
-
def
renameFile(id: UUID, newName: String): Unit
-
def
save(inputStream: InputStream, filename: String, contentType: Option[String], author: MiniUser, showPreviews: String = "DatasetLevel"): Option[File]
-
def
save(file: File): Unit
-
def
searchAllMetadataFormulateQuery(requestedMetadataQuery: Any): List[File]
-
def
searchMetadataFormulateQuery(requestedMap: LinkedHashMap[String, Any], root: String): MongoDBObject
-
def
searchUserMetadataFormulateQuery(requestedMetadataQuery: Any): List[File]
-
def
setContentType(id: UUID, newType: String): Unit
-
def
setIntermediate(id: UUID): Unit
-
def
setStatus(id: UUID, status: FileStatus): Unit
-
def
setUserMetadataWasModified(id: UUID, wasModified: Boolean): Unit
-
def
statusCount(): Map[FileStatus, Long]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
updateAuthorFullName(userId: UUID, fullName: String): Unit
-
def
updateDescription(id: UUID, description: String): Unit
-
def
updateLicense(id: UUID, licenseType: String, rightsHolder: String, licenseText: String, licenseUrl: String, allowDownload: String): Unit
-
def
updateMetadata(fileId: UUID, metadata: JsValue, extractor_id: String): Unit
-
def
updateThumbnail(fileId: UUID, thumbnailId: UUID): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Use mongo for both metadata and blobs.