org.tresql

ORT

object ORT extends AnyRef

Object Relational Transformations - ORT

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ORT
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def delete (name: String, id: Any)(implicit resources: Resources = Env): Any

  9. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  10. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def fill (name: String, obj: Map[String, _], fillNames: Boolean = false)(implicit resources: Resources = Env): Map[String, Any]

    Fills object properties specified by parameter obj from table specified by parameter name.

    Fills object properties specified by parameter obj from table specified by parameter name. obj contains property names to be filled from database. obj map must contain primary key entry. If no corresponding table column to the property is found property value in returned object remains untouched.

    Returned object contains exactly the same property set as the one passed as a parameter.

    If parameter fillNames is true, foreign key properties are resolved to names using resources.nameExpr(tableName). Name expression column aliases are modified according to the following rules:

    1. if name expression contains one column without column alias column alias is set to "name" 2. if name expression contains two columns without column aliases, second column is taken for the name and alias is set to "name". (first column is interpreted as a primary key) 3. if name expression contains three columns without column aliases, second column is taken for the code and alias is set to "code", third column is taken for the name and alias is set to "name". (first column is interpreted as a primary key)
  12. def fill_tresql (name: String, obj: Map[String, _], fillNames: Boolean, resources: Resources, ids: Option[Seq[_]] = None): String

  13. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  15. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  16. def insert (name: String, obj: Map[String, _])(implicit resources: Resources = Env): Any

  17. def insert_tresql (name: String, obj: Map[String, _], parent: String, resources: Resources): String

  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  23. def toString (): String

    Definition Classes
    AnyRef → Any
  24. def update (name: String, obj: Map[String, _])(implicit resources: Resources = Env): Any

  25. def update_tresql (name: String, obj: Map[String, _], resources: Resources): String

  26. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any