trait
DatasetService extends AnyRef
Abstract Value Members
-
abstract
def
addCollection(datasetId: UUID, collectionId: UUID): Unit
-
abstract
def
addCreator(id: UUID, creator: String): Unit
-
abstract
def
addFile(datasetId: UUID, file: File): Unit
-
abstract
def
addFolder(datasetId: UUID, folderId: UUID): Unit
-
abstract
def
addFollower(id: UUID, userId: UUID): Unit
-
abstract
def
addMetadata(id: UUID, json: String): Unit
-
abstract
def
addTags(id: UUID, userIdStr: Option[String], eid: Option[String], tags: List[String]): List[Tag]
-
abstract
def
addToSpace(dataset: UUID, space: UUID): Unit
-
abstract
def
addUserMetadata(id: UUID, json: String): Unit
-
abstract
def
addXMLMetadata(id: UUID, fileId: UUID, json: String): Unit
-
abstract
def
count(): Long
-
abstract
def
countAccess(permisions: Set[Permission], user: Option[User], showAll: Boolean): Long
-
abstract
def
countCollection(collection: String): Long
-
abstract
def
countSpace(space: String): Long
-
abstract
def
countUser(user: Option[User], showAll: Boolean, owner: User): Long
-
abstract
def
createThumbnail(datasetId: UUID): Unit
-
abstract
def
dumpAllDatasetGroupings(): List[String]
-
abstract
def
dumpAllDatasetMetadata(): List[String]
-
abstract
def
findByFileIdAllContain(file_id: UUID): List[Dataset]
-
abstract
def
findByFileIdDirectlyContain(file_id: UUID): List[Dataset]
-
abstract
def
findByTag(tag: String, start: String, limit: Integer, reverse: Boolean, user: Option[User]): List[Dataset]
-
abstract
def
findByTag(tag: String, user: Option[User]): List[Dataset]
-
abstract
def
findMetadataChangedDatasets(): List[Dataset]
-
abstract
def
findNotContainingFile(file_id: UUID): List[Dataset]
-
abstract
def
findOneByFileId(file_id: UUID): Option[Dataset]
-
-
abstract
def
get(id: UUID): Option[Dataset]
-
abstract
def
getBytesForDataset(datasetId: UUID): Long
-
abstract
def
getFileId(datasetId: UUID, filename: String): Option[UUID]
-
abstract
def
getIterator(space: Option[String], since: Option[String], until: Option[String]): Iterator[Dataset]
-
abstract
def
getMetadata(id: UUID): Map[String, Any]
-
abstract
def
getTags(user: Option[User]): Map[String, Long]
-
abstract
def
getTechnicalMetadataJSON(id: UUID): String
-
abstract
def
getTrashedIds(): List[UUID]
-
abstract
def
getUserMetadata(id: UUID): Map[String, Any]
-
abstract
def
getUserMetadataJSON(id: UUID): String
-
abstract
def
getXMLMetadataJSON(id: UUID): String
-
abstract
def
incrementDownloads(id: UUID, user: Option[User]): Unit
-
abstract
def
incrementMetadataCount(id: UUID, count: Long): Unit
-
abstract
def
incrementViews(id: UUID, user: Option[User]): (Int, Date)
-
abstract
def
index(id: UUID, idx: Option[String] = None): Unit
-
abstract
def
indexAll(idx: Option[String] = None): Unit
-
abstract
def
insert(dataset: Dataset): Option[String]
-
abstract
def
isInCollection(datasetId: UUID, collectionId: UUID): Boolean
-
abstract
def
isInCollection(dataset: Dataset, collection: Collection): Boolean
-
abstract
def
isInTrash(id: UUID): Boolean
-
abstract
def
listAccess(date: String, nextPage: Boolean, limit: Integer, title: String, permisions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean, showOnlyShared: Boolean, exact: Boolean): List[Dataset]
-
abstract
def
listAccess(date: String, nextPage: Boolean, limit: Integer, permisions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean, showOnlyShared: Boolean): List[Dataset]
-
abstract
def
listAccess(limit: Integer, title: String, permisions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean, showOnlyShared: Boolean, exact: Boolean): List[Dataset]
-
abstract
def
listAccess(limit: Integer, permisions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean, showOnlyShared: Boolean): List[Dataset]
-
abstract
def
listCollection(date: String, nextPage: Boolean, limit: Integer, collection: String, user: Option[User]): List[Dataset]
-
abstract
def
listCollection(limit: Integer, collection: String, user: Option[User]): List[Dataset]
-
abstract
def
listCollection(collection: String, user: Option[User]): List[Dataset]
-
abstract
def
listCollection(date: String, nextPage: Boolean, limit: Integer, collection: String): List[Dataset]
-
abstract
def
listCollection(limit: Integer, collection: String): List[Dataset]
-
abstract
def
listCollection(collection: String): List[Dataset]
-
abstract
def
listSpace(date: String, nextPage: Boolean, limit: Integer, space: String, user: Option[User]): List[Dataset]
-
abstract
def
listSpace(limit: Integer, space: String, user: Option[User]): List[Dataset]
-
abstract
def
listSpace(date: String, nextPage: Boolean, limit: Integer, space: String): List[Dataset]
-
abstract
def
listSpace(limit: Integer, space: String): List[Dataset]
-
abstract
def
listSpaceAccess(date: String, nextPage: Boolean, limit: Integer, title: String, permisions: Set[Permission], space: String, user: Option[User], showAll: Boolean, showPublic: Boolean): List[Dataset]
-
abstract
def
listSpaceAccess(date: String, nextPage: Boolean, limit: Integer, permisions: Set[Permission], space: String, user: Option[User], showAll: Boolean, showPublic: Boolean): List[Dataset]
-
abstract
def
listSpaceAccess(limit: Integer, title: String, permisions: Set[Permission], space: String, user: Option[User], showAll: Boolean, showPublic: Boolean): List[Dataset]
-
abstract
def
listSpaceAccess(limit: Integer, permisions: Set[Permission], space: String, user: Option[User], showAll: Boolean, showPublic: Boolean): List[Dataset]
-
abstract
def
listSpaceStatus(date: String, nextPage: Boolean, limit: Integer, space: String, status: String, user: Option[User]): List[Dataset]
-
abstract
def
listSpaceStatus(limit: Integer, space: String, status: String, user: Option[User]): List[Dataset]
-
abstract
def
listSpaceStatus(limit: Integer, space: String, status: String): List[Dataset]
-
abstract
def
listUser(user: Option[User]): List[Dataset]
-
abstract
def
listUser(date: String, nextPage: Boolean, limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Dataset]
-
abstract
def
listUser(limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Dataset]
-
abstract
def
listUserTrash(user: Option[User], limit: Integer): List[Dataset]
-
abstract
def
listUserTrash(date: String, nextPage: Boolean, limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Dataset]
-
abstract
def
listUserTrash(limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Dataset]
-
abstract
def
modifyRDFOfMetadataChangedDatasets(): Unit
-
abstract
def
modifyRDFUserMetadata(id: UUID, mappingNumber: String = "1"): Unit
-
abstract
def
moveCreator(id: UUID, creator: String, position: Integer): Unit
-
abstract
def
newThumbnail(datasetId: UUID): Unit
-
abstract
def
recursiveArchive(dataset: Dataset, host: String, parameters: JsObject, apiKey: Option[String], user: Option[User]): Unit
-
abstract
def
removeAllTags(id: UUID): Unit
-
abstract
def
removeCollection(datasetId: UUID, collectionId: UUID): Unit
-
abstract
def
removeCreator(id: UUID, creator: String): Unit
-
abstract
def
removeDataset(id: UUID, host: String, apiKey: Option[String], user: Option[User]): Unit
-
abstract
def
removeFile(datasetId: UUID, fileId: UUID): Unit
-
abstract
def
removeFolder(datasetId: UUID, folderId: UUID): Unit
-
abstract
def
removeFollower(id: UUID, userId: UUID): Unit
-
abstract
def
removeFromSpace(dataset: UUID, space: UUID): Unit
-
abstract
def
removeTag(id: UUID, tagId: UUID): Unit
-
abstract
def
removeTags(id: UUID, tags: List[String]): Unit
-
abstract
def
removeXMLMetadata(id: UUID, fileId: UUID): Unit
-
abstract
def
searchAllMetadataFormulateQuery(requestedMetadataQuery: Any): List[Dataset]
-
abstract
def
searchMetadata(id: UUID, requestedMap: LinkedHashMap[String, Any], currentMap: Map[String, Any]): Boolean
-
abstract
def
searchMetadataFormulateQuery(requestedMap: LinkedHashMap[String, Any], root: String): com.mongodb.casbah.Imports.MongoDBObject
-
abstract
def
searchUserMetadata(id: UUID, requestedMetadataQuery: Any): Boolean
-
abstract
def
searchUserMetadataFormulateQuery(requestedMetadataQuery: Any): List[Dataset]
-
abstract
def
selectNewThumbnailFromFiles(datasetId: UUID): Unit
-
abstract
def
setUserMetadataWasModified(id: UUID, wasModified: Boolean): Unit
-
abstract
def
update(dataset: Dataset): Unit
-
abstract
def
updateAuthorFullName(userId: UUID, fullName: String): Unit
-
abstract
def
updateDescription(id: UUID, description: String): Unit
-
abstract
def
updateInformation(id: UUID, description: String, name: String): Unit
-
abstract
def
updateLicense(id: UUID, licenseType: String, rightsHolder: String, licenseText: String, licenseUrl: String, allowDownload: String): Unit
-
abstract
def
updateName(id: UUID, name: String): Unit
-
abstract
def
updateThumbnail(datasetId: UUID, thumbnailId: UUID): Unit
Concrete 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
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Generic dataset service.