trait
CollectionService extends AnyRef
Abstract Value Members
-
abstract
def
addDataset(collectionId: UUID, datasetId: UUID): Try[Unit]
-
abstract
def
addDatasetToCollectionSpaces(collection: Collection, dataset: Dataset, user: Option[User]): Try[Unit]
-
abstract
def
addDatasetsInCollectionAndChildCollectionsToCollectionSpaces(collectionId: UUID, user: Option[User]): Try[Unit]
-
abstract
def
addFollower(id: UUID, userId: UUID): Unit
-
abstract
def
addSubCollection(collectionId: UUID, subCollectionId: UUID, user: Option[User]): Try[Unit]
-
abstract
def
addToRootSpaces(collectionId: UUID, spaceId: UUID): Unit
-
abstract
def
addToSpace(collection: UUID, space: UUID): Unit
-
abstract
def
addToTrash(id: UUID, dateMovedToTrash: Option[Date]): Unit
-
abstract
def
count(): Long
-
abstract
def
countAccess(permissions: Set[Permission], user: Option[User], showAll: Boolean): Long
-
abstract
def
countSpace(space: String): Long
-
abstract
def
countUser(user: Option[User], showAll: Boolean, owner: User): Long
-
abstract
def
createThumbnail(collectionId: UUID): Unit
-
abstract
def
delete(collectionId: UUID): Try[Unit]
-
abstract
def
deleteAll(): Unit
-
abstract
def
findOneByDatasetId(datasetId: UUID): Option[Collection]
-
-
abstract
def
get(id: UUID): Option[Collection]
-
abstract
def
getAllDescendants(parentCollectionId: UUID): ListBuffer[Collection]
-
abstract
def
getMetrics(): Iterator[Collection]
-
abstract
def
getRootCollections(collectionId: UUID): ListBuffer[Collection]
-
abstract
def
getRootSpaceIds(collectionId: UUID): ListBuffer[UUID]
-
abstract
def
getSelfAndAncestors(collectionId: UUID): List[Collection]
-
abstract
def
hasParentInSpace(collectionId: UUID, spaceId: UUID): Boolean
-
abstract
def
hasRoot(collection: Collection): Boolean
-
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(collection: Collection): Option[String]
-
abstract
def
isInDataset(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[Collection]
-
abstract
def
listAccess(date: String, nextPage: Boolean, limit: Integer, permisions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean, showOnlyShared: Boolean): List[Collection]
-
abstract
def
listAccess(limit: Integer, title: String, permisions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean, showOnlyShared: Boolean, exact: Boolean): List[Collection]
-
abstract
def
listAccess(limit: Integer, permisions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean, showOnlyShared: Boolean): List[Collection]
-
abstract
def
listAllCollections(user: User, showAll: Boolean, limit: Int): List[Collection]
-
abstract
def
listChildCollections(parentCollectionId: UUID): List[Collection]
-
abstract
def
listInSpaceList(title: Option[String], date: Option[String], limit: Integer, spaces: List[UUID], permissions: Set[Permission], user: Option[User], exactMatch: Boolean = false): List[Collection]
-
abstract
def
listInsideDataset(datasetId: UUID, user: Option[User], showAll: Boolean): List[Collection]
-
abstract
def
listOutsideDataset(datasetId: UUID, user: Option[User], showAll: Boolean): List[Collection]
-
abstract
def
listSpace(date: String, nextPage: Boolean, limit: Integer, space: String): List[Collection]
-
abstract
def
listSpace(limit: Integer, space: String): List[Collection]
-
abstract
def
listSpaceAccess(limit: Integer, space: String, permissions: Set[Permission], user: Option[User], showAll: Boolean, showPublic: Boolean): List[Collection]
-
abstract
def
listUser(date: String, nextPage: Boolean, limit: Integer, title: String, user: Option[User], showAll: Boolean, owner: User, exact: Boolean): List[Collection]
-
abstract
def
listUser(date: String, nextPage: Boolean, limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Collection]
-
abstract
def
listUser(limit: Integer, title: String, user: Option[User], showAll: Boolean, owner: User, exact: Boolean): List[Collection]
-
abstract
def
listUser(limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Collection]
-
abstract
def
listUserTrash(user: Option[User], limit: Integer): List[Collection]
-
abstract
def
listUserTrash(date: String, nextPage: Boolean, limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Collection]
-
abstract
def
listUserTrash(limit: Integer, user: Option[User], showAll: Boolean, owner: User): List[Collection]
-
abstract
def
removeDataset(collectionId: UUID, datasetId: UUID, ignoreNotFound: Boolean = true): Try[Unit]
-
abstract
def
removeFollower(id: UUID, userId: UUID): Unit
-
abstract
def
removeFromRootSpaces(collectionId: UUID, spaceId: UUID): Unit
-
abstract
def
removeFromSpace(collection: UUID, space: UUID): Unit
-
abstract
def
removeParentCollectionId(parentCollectionId: UUID, collection: Collection, ignoreNotFound: Boolean = true): Try[Unit]
-
abstract
def
removeSubCollection(collectionId: UUID, subCollectionId: UUID, ignoreNotFound: Boolean = true): Try[Unit]
-
abstract
def
removeSubCollectionId(subCollectionId: UUID, collection: Collection, ignoreNotFound: Boolean = true): Try[Unit]
-
abstract
def
restoreFromTrash(id: UUID, dateMovedToTrash: Option[Date]): Unit
-
abstract
def
syncUpRootSpaces(collectionId: UUID, initialParents: List[UUID]): Unit
-
abstract
def
updateAuthorFullName(userId: UUID, fullName: String): Unit
-
abstract
def
updateDescription(id: UUID, description: String): Unit
-
abstract
def
updateName(id: UUID, name: String): Unit
-
abstract
def
updateThumbnail(collectionId: 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 collection service.