org.tresql

ORT

object ORT

Object Relational Transformations - ORT

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ORT
  2. AnyRef
  3. 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. val PROP_PATTERN: Regex

    [:<linked property name>][#(insert | update | delete)]

    [:<linked property name>][#(insert | update | delete)]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

    Fills object properties specified by 'obj' parameter from table specified by 'name' parameter. 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. If no object is found by primary key None is returned.

    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)
  13. def fill_tresql(name: String, obj: Map[String, _], fillNames: Boolean, resources: Resources, ids: Option[Seq[_]] = None, parent: Option[(String, String)] = None): String

  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

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

  19. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Saves object obj specified by parameter name.

    Saves object obj specified by parameter name. If object primary key is set object is updated, if object primary key is not set object is inserted. Children are merged with database i.e. new ones are inserted, existing ones updated, deleted ones deleted. Children structure i.e. property set must be identical, since one tresql statement is used for all of the children

  24. def save_tresql(name: String, obj: Map[String, _], resources: Resources): (String, ListMap[String, Any])

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. Inherited from AnyRef

    Inherited from Any

    Ungrouped