models

MenuItem

object MenuItem extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MenuItem
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def create(menuItem: MenuItem): Future[Option[MenuItem]]

    Inserts a MenuItem into the database.

    Inserts a MenuItem into the database.

    menuItem

    the MenuItem to create in the database

    returns

    a future optional MenuItem depending on whether the operation was successful

  9. def delete(id: String): Future[Boolean]

    Deletes a MenuItem from the database.

    Deletes a MenuItem from the database.

    id

    id of the MenuItem to delete

    returns

    a future boolean depending on whether the operation was successful

  10. def deleteCascade(id: String): Future[Boolean]

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

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

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def findAllParents(language: String): Future[IndexedSeq[MenuItem]]

    Find all parent MenuItems.

    Find all parent MenuItems.

    returns

    a future indexed sequence of MenuItems

  15. def findById(id: String, language: String): Future[Option[MenuItem]]

    Find a MenuItem by id.

    Find a MenuItem by id.

    id

    the id of the MenuItem

    returns

    a future optional MenuItem depending on whether the MenuItem exists

  16. def findByParentId(parentId: String, language: String): Future[IndexedSeq[MenuItem]]

    Find all child MenuItems that belong to a specific parent MenuItem.

    Find all child MenuItems that belong to a specific parent MenuItem.

    parentId

    the id of the parent MenuItem

    returns

    a future indexed sequence of ManuItems

  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getLargestPosition(parentId: String): Future[Option[Int]]

  19. def getLargestPosition: Future[Option[Int]]

  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. implicit val menuItemReads: Reads[MenuItem]

  23. implicit val menuItemWrites: Writes[MenuItem]

  24. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  27. def setPosition(id: String, position: Int): Future[Boolean]

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def update(menuItem: MenuItem): Future[Option[MenuItem]]

    Updates a MenuItem in the database.

    Updates a MenuItem in the database.

    menuItem

    the MenuItem to update in the database

    returns

    a future optional MenuItem depending on whether the operation was successful

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped