Package

net.liftweb.mongodb.record

field

Permalink

package field

Visibility
  1. Public
  2. All

Type Members

  1. class BsonRecordField[OwnerType <: BsonRecord[OwnerType], SubRecordType <: BsonRecord[SubRecordType]] extends Field[SubRecordType, OwnerType] with MandatoryTypedField[SubRecordType]

    Permalink

    Field that contains an entire record represented as an inline object value.

    Field that contains an entire record represented as an inline object value. Inspired by JSONSubRecordField

  2. class BsonRecordListField[OwnerType <: BsonRecord[OwnerType], SubRecordType <: BsonRecord[SubRecordType]] extends MongoListField[OwnerType, SubRecordType]

    Permalink
  3. class DBRefField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends Field[DBRef, OwnerType] with MandatoryTypedField[DBRef]

    Permalink
  4. class DateField[OwnerType <: BsonRecord[OwnerType]] extends Field[Date, OwnerType] with MandatoryTypedField[Date] with DateTypedField

    Permalink
  5. trait DateTypedField extends TypedField[Date]

    Permalink
  6. trait IntPk[OwnerType <: MongoRecord[OwnerType]] extends MongoPk[IntField[OwnerType]]

    Permalink
  7. class IntRefField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends IntField[OwnerType] with MongoRefField[RefType, Int]

    Permalink
  8. class IntRefListField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, Int]

    Permalink
  9. class JObjectField[OwnerType <: BsonRecord[OwnerType]] extends Field[JObject, OwnerType] with MandatoryTypedField[JObject] with MongoFieldFlavor[JObject]

    Permalink
  10. abstract class JsonObjectField[OwnerType <: BsonRecord[OwnerType], JObjectType <: JsonObject[JObjectType]] extends Field[JObjectType, OwnerType] with MandatoryTypedField[JObjectType] with MongoFieldFlavor[JObjectType]

    Permalink
  11. trait LongPk[OwnerType <: MongoRecord[OwnerType]] extends MongoPk[LongField[OwnerType]]

    Permalink
  12. class LongRefField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends LongField[OwnerType] with MongoRefField[RefType, Long]

    Permalink
  13. class LongRefListField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, Long]

    Permalink
  14. class MongoCaseClassField[OwnerType <: Record[OwnerType], CaseType] extends Field[CaseType, OwnerType] with MandatoryTypedField[CaseType] with MongoFieldFlavor[CaseType]

    Permalink
  15. class MongoCaseClassListField[OwnerType <: Record[OwnerType], CaseType] extends Field[List[CaseType], OwnerType] with MandatoryTypedField[List[CaseType]] with MongoFieldFlavor[List[CaseType]]

    Permalink
  16. trait MongoFieldFlavor[MyType] extends AnyRef

    Permalink

    Describes common aspects related to Mongo fields

  17. class MongoJsonObjectListField[OwnerType <: BsonRecord[OwnerType], JObjectType <: JsonObject[JObjectType]] extends MongoListField[OwnerType, JObjectType]

    Permalink
  18. class MongoListField[OwnerType <: BsonRecord[OwnerType], ListType] extends Field[List[ListType], OwnerType] with MandatoryTypedField[List[ListType]] with MongoFieldFlavor[List[ListType]]

    Permalink

    List field.

    List field.

    Supported types: primitives - String, Int, Long, Double, Float, Byte, BigInt, Boolean (and their Java equivalents) date types - java.util.Date, org.joda.time.DateTime mongo types - ObjectId, Pattern, UUID

    If you need to support other types, you will need to override the asDBObject and setFromDBObject functions accordingly. And the asJValue and setFromJValue functions if you will be using them.

    Note: setting optional_? = false will result in incorrect equals behavior when using setFromJValue

  19. class MongoMapField[OwnerType <: BsonRecord[OwnerType], MapValueType] extends Field[Map[String, MapValueType], OwnerType] with MandatoryTypedField[Map[String, MapValueType]] with MongoFieldFlavor[Map[String, MapValueType]]

    Permalink

    Note: setting optional_? = false will result in incorrect equals behavior when using setFromJValue

  20. class MongoPasswordField[OwnerType <: BsonRecord[OwnerType]] extends JsonObjectField[OwnerType, Password]

    Permalink
  21. trait MongoPk[PkType] extends AnyRef

    Permalink
  22. trait MongoRefField[RefType <: MongoRecord[RefType], MyType] extends TypedField[MyType]

    Permalink
  23. abstract class MongoRefListField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType], MyType] extends MongoListField[OwnerType, MyType]

    Permalink
  24. class ObjectIdField[OwnerType <: BsonRecord[OwnerType]] extends Field[ObjectId, OwnerType] with MandatoryTypedField[ObjectId]

    Permalink
  25. trait ObjectIdPk[OwnerType <: MongoRecord[OwnerType]] extends MongoPk[ObjectIdField[OwnerType]]

    Permalink
  26. class ObjectIdRefField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends ObjectIdField[OwnerType] with MongoRefField[RefType, ObjectId]

    Permalink
  27. class ObjectIdRefListField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, ObjectId]

    Permalink
  28. class OptionalDateField[OwnerType <: BsonRecord[OwnerType]] extends Field[Date, OwnerType] with OptionalTypedField[Date] with DateTypedField

    Permalink
  29. case class Password(pwd: String, salt: String) extends JsonObject[Password] with Product with Serializable

    Permalink
  30. class PatternField[OwnerType <: BsonRecord[OwnerType]] extends Field[Pattern, OwnerType] with MandatoryTypedField[Pattern]

    Permalink
  31. trait StringPk[OwnerType <: MongoRecord[OwnerType]] extends MongoPk[StringField[OwnerType]]

    Permalink
  32. class StringRefField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends StringField[OwnerType] with MongoRefField[RefType, String]

    Permalink
  33. class StringRefListField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, String]

    Permalink
  34. class UUIDField[OwnerType <: BsonRecord[OwnerType]] extends Field[UUID, OwnerType] with MandatoryTypedField[UUID]

    Permalink
  35. trait UUIDPk[OwnerType <: MongoRecord[OwnerType]] extends MongoPk[UUIDField[OwnerType]]

    Permalink
  36. class UUIDRefField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends UUIDField[OwnerType] with MongoRefField[RefType, UUID]

    Permalink
  37. class UUIDRefListField[OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, UUID]

    Permalink

Value Members

  1. object MongoPasswordField

    Permalink
  2. object Password extends JsonObjectMeta[Password] with Serializable

    Permalink

Ungrouped