Class

org.ada.server.dataaccess.mongo.dataset

CategoryMongoAsyncCrudRepo

Related Doc: package dataset

Permalink

class CategoryMongoAsyncCrudRepo extends DictionarySubordinateMongoAsyncCrudRepo[Category, BSONObjectID]

Linear Supertypes
DictionarySubordinateMongoAsyncCrudRepo[Category, BSONObjectID], SubordinateObjectMongoAsyncCrudRepo[Category, BSONObjectID, Dictionary, BSONObjectID], AsyncCrudRepo[Category, BSONObjectID], AsyncRepo[Category, BSONObjectID], AsyncReadonlyRepo[Category, BSONObjectID], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CategoryMongoAsyncCrudRepo
  2. DictionarySubordinateMongoAsyncCrudRepo
  3. SubordinateObjectMongoAsyncCrudRepo
  4. AsyncCrudRepo
  5. AsyncRepo
  6. AsyncReadonlyRepo
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CategoryMongoAsyncCrudRepo(dataSetId: String, dictionaryRepo: DictionaryRootRepo)

    Permalink
    Annotations
    @Inject()

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def count(criteria: Seq[Criterion[Any]]): Future[Int]

    Permalink

    Counts all items in repo matching criteria.

    Counts all items in repo matching criteria.

    criteria

    Filtering criteria object. Use a JsObject to filter according to value of reference column. Use None for no filtering.

    returns

    Number of matching elements.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  7. def delete(ids: Traversable[BSONObjectID]): Future[Unit]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
  8. def delete(id: BSONObjectID): Future[Unit]

    Permalink

    Delete single entry identified by its id (name).

    Delete single entry identified by its id (name).

    id

    Id of the subordinate to be deleted.

    returns

    Nothing (Unit)

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
  9. def deleteAll: Future[Unit]

    Permalink

    Deletes all subordinates in the dictionary.

    Deletes all subordinates in the dictionary.

    returns

    Nothing (Unit)

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
    See also

    update()

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exists(id: BSONObjectID): Future[Boolean]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def find(criteria: Seq[Criterion[Any]] = Nil, sort: Seq[Sort] = Nil, projection: Traversable[String] = Nil, limit: Option[Int] = None, skip: Option[Int] = None): Future[Traversable[Category]]

    Permalink

    Find object matching the filtering criteria.

    Find object matching the filtering criteria. subordinateListNames may be ordered and only a subset of them used. Pagination options for page limit and page number are available to limit number of returned results.

    criteria

    Filtering criteria object. Use a String to filter according to value of reference column. Use None for no filtering.

    sort

    Column used as reference for sorting. Leave at None to use default.

    projection

    Defines which columns are supposed to be returned. Leave at None to use default.

    limit

    Page limit. Use to define chunk sizes for pagination. Leave at None to use default.

    skip

    The number of items to skip.

    returns

    Traversable subordinateListNames for iteration.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  15. def findAsStream(criteria: Seq[Criterion[Any]], sort: Seq[Sort], projection: Traversable[String], limit: Option[Int], skip: Option[Int]): Future[Source[Category, _]]

    Permalink
    Definition Classes
    AsyncReadonlyRepo
  16. def flushOps: Future[Unit]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncRepo
  17. def get(id: BSONObjectID): Future[Option[Category]]

    Permalink

    Retrieve subordinate(s) from the repo.

    Retrieve subordinate(s) from the repo.

    id

    Name of object.

    returns

    subordinateListNames in the dictionary with exact name match.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncReadonlyRepo
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getDefaultRoot: Dictionary

    Permalink
  20. def getRootObject: Future[Option[Dictionary]]

    Permalink
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initIfNeeded: Future[Boolean]

    Permalink

    Initialize if root object does not exist.

    Initialize if root object does not exist.

    returns

    true, if initialization was required.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. lazy val rootId: BSONObjectID

    Permalink
    Attributes
    protected
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  28. lazy val rootIdSelector: JsObject

    Permalink
    Attributes
    protected
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo
  29. def save(entity: Category): Future[BSONObjectID]

    Permalink

    Converts the given subordinateListName into Json format and calls updateCustom() to update/ save it in the repo.

    Converts the given subordinateListName into Json format and calls updateCustom() to update/ save it in the repo.

    entity

    to be updated/ saved

    returns

    subordinateListName name as a confirmation of success.

    Definition Classes
    CategoryMongoAsyncCrudRepoSubordinateObjectMongoAsyncCrudRepo → AsyncRepo
    See also

    updateCustom()

  30. def save(entities: Traversable[Category]): Future[Traversable[BSONObjectID]]

    Permalink
    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncRepo
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def update(entity: Category): Future[BSONObjectID]

    Permalink

    Update a single subordinate in repo.

    Update a single subordinate in repo. The properties of the passed subordinate replace the properties of the subordinate in the repo.

    entity

    Subordinate to be updated. entity.name must match an existing ID.

    returns

    Id as a confirmation of success.

    Definition Classes
    SubordinateObjectMongoAsyncCrudRepo → AsyncCrudRepo
  34. def update(entities: Traversable[Category]): Future[Traversable[BSONObjectID]]

    Permalink
    Definition Classes
    AsyncCrudRepo
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DictionarySubordinateMongoAsyncCrudRepo[Category, BSONObjectID]

Inherited from SubordinateObjectMongoAsyncCrudRepo[Category, BSONObjectID, Dictionary, BSONObjectID]

Inherited from AsyncCrudRepo[Category, BSONObjectID]

Inherited from AsyncRepo[Category, BSONObjectID]

Inherited from AsyncReadonlyRepo[Category, BSONObjectID]

Inherited from AnyRef

Inherited from Any

Ungrouped