net.liftweb.mapper

ProtoTag

abstract class ProtoTag[MyType <: ProtoTag[MyType]] extends KeyedMapper[Long, MyType] with Ordered[MyType]

Self Type
MyType
Linear Supertypes
Ordered[MyType], Comparable[MyType], KeyedMapper[Long, MyType], BaseKeyedMapper, Mapper[MyType], Serializable, Serializable, BaseMapper, FieldContainer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ProtoTag
  2. Ordered
  3. Comparable
  4. KeyedMapper
  5. BaseKeyedMapper
  6. Mapper
  7. Serializable
  8. Serializable
  9. BaseMapper
  10. FieldContainer
  11. AnyRef
  12. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProtoTag()

Type Members

  1. type FieldPF = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Definition Classes
    Mapper
  2. type KeyedMapperType = MyType

    Definition Classes
    KeyedMapperBaseKeyedMapper
  3. type MapperType = MyType

    Definition Classes
    MapperBaseMapper
  4. type TheKeyType = Long

    Definition Classes
    KeyedMapperBaseKeyedMapper

Abstract Value Members

  1. abstract def getSingleton: MetaProtoTag[MyType]

    Definition Classes
    ProtoTagKeyedMapperMapper

Concrete 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. def <(that: MyType): Boolean

    Definition Classes
    Ordered
  5. def <=(that: MyType): Boolean

    Definition Classes
    Ordered
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def >(that: MyType): Boolean

    Definition Classes
    Ordered
  9. def >=(that: MyType): Boolean

    Definition Classes
    Ordered
  10. def allFields: Seq[BaseField]

    Definition Classes
    MapperFieldContainer
  11. def appendField(pf: FieldPF): Unit

    Definition Classes
    Mapper
  12. def asHtml: NodeSeq

    Definition Classes
    Mapper
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def asJs: JsExp

    Convert the model to a JavaScript object

    Convert the model to a JavaScript object

    Definition Classes
    Mapper
  15. def asSafeJs(f: KeyObfuscator): JsExp

    Definition Classes
    KeyedMapper
  16. def asValid: Box[MyType]

    Returns the instance in a Full Box if the instance is valid, otherwise returns a Failure with the validation errors

    Returns the instance in a Full Box if the instance is valid, otherwise returns a Failure with the validation errors

    Definition Classes
    Mapper
  17. def checkNames: Unit

    Definition Classes
    Mapper
  18. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def compare(other: MyType): Int

    Definition Classes
    ProtoTag → Ordered
  20. def comparePrimaryKeys(other: MyType): Boolean

    Definition Classes
    KeyedMapperMapper
  21. def compareTo(that: MyType): Int

    Definition Classes
    Ordered → Comparable
  22. def connectionIdentifier: ConnectionIdentifier

    Definition Classes
    Mapper
  23. def connectionIdentifier(id: ConnectionIdentifier): MyType

    Definition Classes
    Mapper
  24. def countryField: Box[MappedCountry[MyType]]

    Definition Classes
    Mapper
  25. def dbCalculateConnectionIdentifier: PartialFunction[MyType, ConnectionIdentifier]

    Definition Classes
    Mapper
  26. def dbName: String

    Definition Classes
    MapperBaseMapper
  27. def db_can_delete_?: Boolean

    Can this model object be deleted?

    Can this model object be deleted?

    Definition Classes
    Mapper
  28. def delete_!: Boolean

    Delete the model from the RDBMS

    Delete the model from the RDBMS

    Definition Classes
    Mapper
  29. def dirty_?: Boolean

    Definition Classes
    Mapper
  30. def doPostCommit(func: () ⇒ Unit): MyType

    Append a function to perform after the commit happens

    Append a function to perform after the commit happens

    func

    - the function to perform after the commit happens

    Definition Classes
    Mapper
  31. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def equals(other: Any): Boolean

    Definition Classes
    KeyedMapper → AnyRef → Any
  33. def fieldByName[T](fieldName: String): Box[MappedField[T, MyType]]

    Find the field by name

    Find the field by name

    fieldName

    -- the name of the field to find

    returns

    Box[MappedField]

    Definition Classes
    Mapper
  34. def fieldMapperPF(transform: (BaseOwnedMappedField[MyType]) ⇒ NodeSeq): FieldPF

    Definition Classes
    Mapper
  35. def fieldPF: FieldPF

    Definition Classes
    Mapper
  36. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. def flatMapFieldTitleForm[T](func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ Seq[T]): List[T]

    flat map the fields titles and forms to generate a list

    flat map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    Mapper
  38. def flatMapFieldTitleForm2[T](func: (NodeSeq, net.liftweb.mapper.MappedField[_, MyType], NodeSeq) ⇒ Seq[T]): List[T]

    flat map the fields titles and forms to generate a list

    flat map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    Mapper
  39. def formFields: List[net.liftweb.mapper.MappedField[_, MyType]]

    Get the fields (in order) for displaying a form

    Get the fields (in order) for displaying a form

    Definition Classes
    Mapper
  40. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    KeyedMapper → AnyRef → Any
  42. def htmlLine: NodeSeq

    Definition Classes
    Mapper
  43. object id extends MappedLongIndex[MyType]

  44. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  45. def localeField: Box[MappedLocale[MyType]]

    If there's a field in this record that defines the locale, return it

    If there's a field in this record that defines the locale, return it

    Definition Classes
    Mapper
  46. def mapFieldTitleForm[T](func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ T): List[T]

    map the fields titles and forms to generate a list

    map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    Mapper
  47. object name extends MappedPoliteString[MyType]

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

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

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

    Definition Classes
    AnyRef
  51. def prependField(pf: FieldPF): Unit

    Definition Classes
    Mapper
  52. def primaryKeyField: ProtoTag.this.id.type

    Definition Classes
    ProtoTagKeyedMapperBaseKeyedMapper
  53. def reload: MyType

    Definition Classes
    KeyedMapper
  54. def runSafe[T](f: ⇒ T): T

    Definition Classes
    Mapper
  55. final def safe_?: Boolean

    Definition Classes
    Mapper
  56. def save(): Boolean

    Definition Classes
    MapperBaseMapper
  57. def saveMe(): MyType

    Save the instance and return the instance

    Save the instance and return the instance

    Definition Classes
    Mapper
  58. def saved_?: Boolean

    Definition Classes
    Mapper
  59. def suplementalJs(ob: Box[KeyObfuscator]): List[(String, JsExp)]

    If the instance calculates any additional fields for JSON object, put the calculated fields here

    If the instance calculates any additional fields for JSON object, put the calculated fields here

    Definition Classes
    Mapper
  60. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  61. implicit def thisToMappee(in: Mapper[MyType]): MyType

    Definition Classes
    Mapper
  62. def timeZoneField: Box[MappedTimeZone[MyType]]

    Definition Classes
    Mapper
  63. def toForm(button: Box[String], redoSnippet: (NodeSeq) ⇒ NodeSeq, onSuccess: (MyType) ⇒ Unit): NodeSeq

    Definition Classes
    Mapper
  64. def toForm(button: Box[String], f: (MyType) ⇒ Any): NodeSeq

    Present the model as a form and execute the function on submission of the form

    Present the model as a form and execute the function on submission of the form

    button

    - If it's Full, put a submit button on the form with the value of the parameter

    f

    - the function to execute on form submission

    returns

    the form

    Definition Classes
    Mapper
  65. def toForm(button: Box[String], onSuccess: String): NodeSeq

    Present the model as a form and execute the function on submission of the form

    Present the model as a form and execute the function on submission of the form

    button

    - If it's Full, put a submit button on the form with the value of the parameter

    onSuccess

    - redirect to the URL if the model validates, otherwise display the errors

    returns

    the form

    Definition Classes
    Mapper
  66. def toHtml: NodeSeq

    Present the model as a HTML using the same formatting as toForm

    Present the model as a HTML using the same formatting as toForm

    returns

    the html view of the model

    Definition Classes
    Mapper
  67. def toString(): String

    Definition Classes
    Mapper → AnyRef → Any
  68. def toXml: Elem

    Definition Classes
    Mapper
  69. def validate: List[FieldError]

    Definition Classes
    Mapper
  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Ordered[MyType]

Inherited from Comparable[MyType]

Inherited from KeyedMapper[Long, MyType]

Inherited from BaseKeyedMapper

Inherited from Mapper[MyType]

Inherited from Serializable

Inherited from Serializable

Inherited from BaseMapper

Inherited from FieldContainer

Inherited from AnyRef

Inherited from Any