net.liftweb

mapper

package mapper

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. trait AjaxEditableField [FieldType, OwnerType <: Mapper[OwnerType]] extends MappedField[FieldType, OwnerType]

    This trait can be added to existing Mapper fields to make them use AjaxUtils.

  2. trait AscOrDesc extends AnyRef

  3. trait BaseForeignKey extends BaseMappedField

    A trait that defines foreign key references

  4. trait BaseIndex [A <: Mapper[A]] extends AnyRef

    attributes: sealed
  5. trait BaseIndexedField extends BaseMappedField

  6. trait BaseKeyedMapper extends BaseMapper

  7. trait BaseLongKeyedMapper extends BaseKeyedMapper

  8. trait BaseMappedField extends SelectableField with Bindable with MixableMappedField

    The base (not Typed) trait that defines a field that is mapped to a column or more than 1 column (e.

  9. trait BaseMapper extends FieldContainer

  10. trait BaseMetaMapper extends AnyRef

  11. trait BaseOwnedMappedField [OwnerType <: Mapper[OwnerType]] extends BaseMappedField

  12. case class BoundedIndexField [A <: Mapper[A]] (field: MappedField[String, A], len: Int) extends IndexItem[A] with Product

  13. case class ByList [O <: Mapper[O], T] (field: MappedField[T, O], vals: Seq[T]) extends QueryParam[O] with Product

    attributes: final
  14. case class BySql [O <: Mapper[O]] (query: String, checkedBy: IHaveValidatedThisSQL, params: Any*) extends QueryParam[O] with Product

    Represents a query criterion using a parameterized SQL string.

  15. trait CRUDify [KeyType, CrudType <: KeyedMapper[KeyType, CrudType]] extends Crudify

    This trait automatically adds CRUD (Create, read, update and delete) operations to an existing MetaMapper object.

  16. case class Cmp [O <: Mapper[O], T] (field: MappedField[T, O], opr: Value, value: Box[T], otherField: Box[MappedField[T, O]], dbFunc: Box[String]) extends QueryParam[O] with Product

    attributes: final
  17. type ConnectionIdentifier = ConnectionIdentifier

    definition classes: root
  18. type ConnectionManager = ConnectionManager

    definition classes: root
  19. trait CreatedTrait extends AnyRef

    A trait you can mix into a Mapper class that gives you a createdat column

  20. trait CreatedUpdated extends CreatedTrait with UpdatedTrait

    Mix this trait into your Mapper instance to get createdAt and updatedAt fields.

  21. trait DBIndexed extends BaseMappedField

    Mix this trait into a BaseMappedField and it will be indexed

  22. type DBLogEntry = DBLogEntry

    definition classes: root
  23. trait DefaultMillis extends TypedField[Long]

    Mix with MappedLong to give a default time of millis

  24. case class Distinct [O <: Mapper[O]] () extends QueryParam[O] with Product

    attributes: final
  25. type DriverType = DriverType

    definition classes: root
  26. case class GenericIndex [A <: Mapper[A]] (createFunc: (String, List[String]) ⇒ String, validated: IHaveValidatedThisSQL, columns: List[IndexItem[A]]) extends BaseIndex[A] with Product

    Represents a generic user-specified index on the given columns.

  27. class HasManyThrough [From <: KeyedMapper[ThroughType, From], To <: Mapper[To], Through <: Mapper[Through], ThroughType] extends LifecycleCallbacks

  28. case class IHaveValidatedThisSQL (who: String, date: String) extends Product

  29. trait IdPK extends AnyRef

  30. case class Ignore [O <: Mapper[O]] () extends QueryParam[O] with Product

    attributes: final
  31. case class InRaw [TheType <: Mapper[TheType], T] (field: MappedField[T, TheType], rawSql: String, checkedBy: IHaveValidatedThisSQL) extends QueryParam[TheType] with Product

    attributes: final
  32. class InThing [OuterType <: Mapper[OuterType]] extends QueryParam[OuterType]

    attributes: sealed abstract
  33. case class Index [A <: Mapper[A]] (columns: List[IndexItem[A]]) extends BaseIndex[A] with Product

    attributes: final
  34. case class IndexField [A <: Mapper[A], T] (field: MappedField[T, A]) extends IndexItem[A] with Product

  35. class IndexItem [A <: Mapper[A]] extends AnyRef

    attributes: abstract
  36. trait IndexedField [O] extends BaseIndexedField

  37. class KeyObfuscator extends AnyRef

  38. trait KeyedMapper [KeyType, OwnerType <: KeyedMapper[KeyType, OwnerType]] extends Mapper[OwnerType] with BaseKeyedMapper

  39. trait KeyedMetaMapper [Type, A <: KeyedMapper[Type, A]] extends MetaMapper[A] with KeyedMapper[Type, A]

  40. trait LifecycleCallbacks extends AnyRef

  41. trait LongCRUDify [CrudType <: KeyedMapper[Long, CrudType]] extends CRUDify[Long, CrudType]

    A specialization of CRUDify for LongKeyedMetaMappers.

  42. trait LongKeyedMapper [OwnerType <: LongKeyedMapper[OwnerType]] extends KeyedMapper[Long, OwnerType] with BaseLongKeyedMapper

  43. trait LongKeyedMetaMapper [A <: LongKeyedMapper[A]] extends KeyedMetaMapper[Long, A]

  44. trait LongMappedForeignMapper [T <: Mapper[T], O <: KeyedMapper[Long, O]] extends MappedLongForeignKey[T, O] with LifecycleCallbacks

    A subtype of MappedLongForeignKey whose value can be get and set as the target parent mapper instead of as its primary key.

  45. class LongMappedMapper [T <: Mapper[T], O <: KeyedMapper[Long, O]] extends MappedLongForeignKey[T, O] with LongMappedForeignMapper[T, O]

    A subclass of MappedLongForeignKey whose value can be get and set as the target parent mapper instead of as its primary key.

  46. trait ManyToMany extends BaseKeyedMapper

    Add this trait to a Mapper to add support for many-to-many relationships

  47. class MappedBinary [T <: Mapper[T]] extends MappedField[Array[Byte], T]

    attributes: abstract
  48. class MappedBirthYear [T <: Mapper[T]] extends MappedInt[T]

    A field that holds the birth year for the user

  49. class MappedBoolean [T <: Mapper[T]] extends MappedField[Boolean, T]

    attributes: abstract
  50. class MappedCountry [T <: Mapper[T]] extends MappedEnum[T, net.liftweb.mapper.Countries.type]

    attributes: abstract
  51. class MappedDate [T <: Mapper[T]] extends MappedField[Date, T]

    Represents a date without hour, minute or second fields.

  52. class MappedDateTime [T <: Mapper[T]] extends MappedField[Date, T]

    attributes: abstract
  53. class MappedDecimal [T <: Mapper[T]] extends MappedField[BigDecimal, T]

    A field that maps to a decimal value.

  54. class MappedDouble [T <: Mapper[T]] extends MappedField[Double, T]

    attributes: abstract
  55. class MappedEmail [T <: Mapper[T]] extends MappedString[T]

    attributes: abstract
  56. class MappedEnum [T <: Mapper[T], ENUM <: Enumeration] extends MappedField[Value, T]

    attributes: abstract
  57. class MappedEnumList [T <: Mapper[T], ENUM <: Enumeration] extends MappedField[Seq[Value], T]

    attributes: abstract
  58. class MappedFakeClob [T <: Mapper[T]] extends MappedField[String, T]

    attributes: abstract
  59. trait MappedField [FieldType, OwnerType <: Mapper[OwnerType]] extends TypedField[FieldType] with BaseOwnedMappedField[OwnerType] with FieldIdentifier with PSettableValueHolder[FieldType]

    The strongly typed field that's mapped to a column (or many columns) in the database.

  60. trait MappedForeignKey [KeyType, MyOwner <: Mapper[MyOwner], Other <: KeyedMapper[KeyType, Other]] extends MappedField[KeyType, MyOwner]

    The Trait that defines a field that is mapped to a foreign key

  61. class MappedGender [T <: Mapper[T]] extends MappedEnum[T, Genders]

    attributes: abstract
  62. class MappedInt [T <: Mapper[T]] extends MappedField[Int, T]

    attributes: abstract
  63. class MappedIntIndex [T <: Mapper[T]] extends MappedInt[T] with IndexedField[Int]

    attributes: abstract
  64. class MappedLocale [T <: Mapper[T]] extends MappedString[T]

    attributes: abstract
  65. class MappedLong [T <: Mapper[T]] extends MappedField[Long, T]

    attributes: abstract
  66. class MappedLongForeignKey [T <: Mapper[T], O <: KeyedMapper[Long, O]] extends MappedLong[T] with MappedForeignKey[Long, T, O] with BaseForeignKey

    attributes: abstract
  67. class MappedLongIndex [T <: Mapper[T]] extends MappedLong[T] with IndexedField[Long]

    attributes: abstract
  68. trait MappedNullableField [NullableFieldType, OwnerType <: Mapper[OwnerType]] extends MappedField[Box[NullableFieldType], OwnerType]

    A Mapped field that is Nullable in the database.

  69. class MappedNullableLong [T <: Mapper[T]] extends MappedNullableField[Long, T]

    attributes: abstract
  70. class MappedPassword [T <: Mapper[T]] extends MappedField[String, T]

    attributes: abstract
  71. class MappedPoliteString [T <: Mapper[T]] extends MappedString[T]

    Just like MappedString, except it's defaultValue is "" and the length is auto-cropped to fit in the column

  72. class MappedPostalCode [T <: Mapper[T]] extends MappedString[T]

    attributes: abstract
  73. class MappedString [T <: Mapper[T]] extends MappedField[String, T] with StringValidators

    attributes: abstract
  74. class MappedStringForeignKey [T <: Mapper[T], O <: KeyedMapper[String, O]] extends MappedString[T] with MappedForeignKey[String, T, O] with BaseForeignKey

    attributes: abstract
  75. class MappedStringIndex [T <: Mapper[T]] extends MappedUniqueId[T] with IndexedField[String]

    attributes: abstract
  76. class MappedText [T <: Mapper[T]] extends MappedField[String, T]

    attributes: abstract
  77. class MappedTextarea [T <: Mapper[T]] extends MappedString[T]

    attributes: abstract
  78. class MappedTime [T <: Mapper[T]] extends MappedField[Date, T]

    Represents a time with hour, minute and second fields.

  79. class MappedTimeZone [T <: Mapper[T]] extends MappedString[T]

    attributes: abstract
  80. class MappedUniqueId [T <: Mapper[T]] extends MappedString[T]

    attributes: abstract
  81. trait Mapper [A <: Mapper[A]] extends BaseMapper

  82. class MapperException extends Exception

  83. case class MaxRows [O <: Mapper[O]] (max: Long) extends QueryParam[O] with Product

    attributes: final
  84. trait MegaProtoUser [T <: MegaProtoUser[T]] extends ProtoUser[T]

    ProtoUser is bare bones.

  85. trait MetaMapper [A <: Mapper[A]] extends BaseMetaMapper with Mapper[A]

  86. trait MetaMegaProtoUser [ModelType <: MegaProtoUser[ModelType]] extends KeyedMetaMapper[Long, ModelType] with ProtoUser

    Mix this trait into the the Mapper singleton for User and you get a bunch of user functionality including password reset, etc.

  87. trait MetaProtoExtendedSession [T <: ProtoExtendedSession[T]] extends KeyedMetaMapper[Long, T]

  88. trait MetaProtoTag [ModelType <: ProtoTag[ModelType]] extends KeyedMetaMapper[Long, ModelType]

  89. trait MixableMappedField extends BaseField

    This is the supertrait of all traits that can be mixed into a MappedField.

  90. trait NullOrder extends AnyRef

    attributes: sealed
  91. trait OneToMany [K, T <: KeyedMapper[K, T]] extends KeyedMapper[K, T]

    Add this trait to a Mapper for managed one-to-many support

  92. case class OrderBy [O <: Mapper[O], T] (field: MappedField[T, O], order: AscOrDesc, nullOrder: Box[NullOrder]) extends QueryParam[O] with Product

    attributes: final
  93. case class OrderBySql [O <: Mapper[O]] (sql: String, checkedBy: IHaveValidatedThisSQL) extends QueryParam[O] with Product

    attributes: final
  94. case class PreCache [TheType <: Mapper[TheType], FieldType, OtherType <: KeyedMapper[FieldType, OtherType]] (field: MappedForeignKey[FieldType, TheType, OtherType], deterministic: Boolean) extends QueryParam[TheType] with Product

    This QueryParam can be put in a query and will cause the given foreign key field to be precached.

  95. trait ProtoExtendedSession [T <: ProtoExtendedSession[T]] extends KeyedMapper[Long, T]

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

    attributes: abstract
  97. trait ProtoUser [T <: ProtoUser[T]] extends KeyedMapper[Long, T] with UserIdAsString

    ProtoUser is a base class that gives you a "User" that has a first name, last name, email, etc.

  98. trait QueryParam [O <: Mapper[O]] extends AnyRef

    attributes: sealed
  99. trait SelectableField extends AnyRef

  100. type StandardDBVendor = StandardDBVendor

    definition classes: root
  101. case class StartAt [O <: Mapper[O]] (start: Long) extends QueryParam[O] with Product

    attributes: final
  102. trait StopValidationOnError [T] extends (T) ⇒ List[FieldError]

    If this trait is mixed into a validation function, the validation for a field will stop if this validation function returns an error

  103. type SuperConnection = SuperConnection

    definition classes: root
  104. trait TypedField [FieldType] extends AnyRef

  105. case class UniqueIndex [A <: Mapper[A]] (columns: List[IndexItem[A]]) extends BaseIndex[A] with Product

    Represents a unique index on the given columns

  106. trait UpdatedTrait extends AnyRef

    A trait you can mix into a Mapper class that gives you an updatedat column

  107. trait UserIdAsString extends AnyRef

  108. trait ValidateLength extends MixableMappedField

    Mix this trait into a MappedString and it will add maximum length validation to the MappedString

Value Members

  1. object Ascending extends AscOrDesc with Product

  2. object By extends AnyRef

  3. object ByRef extends AnyRef

  4. object By_< extends AnyRef

  5. object By_> extends AnyRef

  6. object Countries extends Enumeration

  7. object DB extends DB1

  8. def DBLogEntry : DBLogEntry

    definition classes: root
  9. def DefaultConnectionIdentifier : DefaultConnectionIdentifier

    definition classes: root
  10. object Descending extends AscOrDesc with Product

  11. def DriverType : DriverType

    definition classes: root
  12. object Genders extends Enumeration

  13. object GenericIndex extends AnyRef

  14. object In extends AnyRef

  15. object Index extends AnyRef

  16. object Like extends AnyRef

  17. object MappedEmail extends AnyRef

  18. object MappedField extends AnyRef

  19. object MappedForeignKey extends AnyRef

  20. object MappedPassword extends AnyRef

  21. object MappedTimeZone extends AnyRef

  22. object MapperRules extends Factory

    Rules and functions shared by all Mappers

  23. object NotBy extends AnyRef

  24. object NotByRef extends AnyRef

  25. object NotIn extends AnyRef

  26. object NotNullRef extends AnyRef

  27. object NullRef extends AnyRef

  28. object NullsFirst extends NullOrder with Product

  29. object NullsLast extends NullOrder with Product

  30. object OprEnum extends Enumeration

  31. object OrderBy extends AnyRef

  32. object PreCache extends AnyRef

  33. object Safe extends AnyRef

    Manage the current "safety" state of the stack

  34. object Schemifier extends Loggable

    Given a list of MetaMappers, make sure the database has the right schema

  35. object StopValidationOnError extends AnyRef

  36. object UniqueIndex extends AnyRef

  37. package view