net.liftweb.mongodb.record.field

MongoMapField

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

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

Linear Supertypes
MongoFieldFlavor[Map[String, MapValueType]], MandatoryTypedField[Map[String, MapValueType]], Product1[Map[String, MapValueType]], Product, Equals, Field[Map[String, MapValueType], OwnerType], TypedField[Map[String, MapValueType]], OwnedField[OwnerType], BaseField, BaseField, FieldContainer, SettableField, SettableValueHolder, Settable, ReadableField, Bindable, ValueHolder, FieldIdentifier, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoMapField
  2. MongoFieldFlavor
  3. MandatoryTypedField
  4. Product1
  5. Product
  6. Equals
  7. Field
  8. TypedField
  9. OwnedField
  10. BaseField
  11. BaseField
  12. FieldContainer
  13. SettableField
  14. SettableValueHolder
  15. Settable
  16. ReadableField
  17. Bindable
  18. ValueHolder
  19. FieldIdentifier
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoMapField(rec: OwnerType)

Type Members

  1. type MyType = Map[String, MapValueType]

    Definition Classes
    TypedField
  2. type ValidationFunction = (ValueType) ⇒ List[FieldError]

    Definition Classes
    TypedField
  3. type ValueType = Map[String, MapValueType]

    Definition Classes
    MandatoryTypedField → ValueHolder

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. def _1: MyType

    Definition Classes
    MandatoryTypedField → Product1
  7. def allFields: Seq[BaseField]

    Definition Classes
    BaseField → FieldContainer
  8. def apply(in: Box[MyType]): OwnerType

    Definition Classes
    Field
  9. def apply(in: MyType): OwnerType

    Definition Classes
    Field
  10. def asDBObject: DBObject

    Definition Classes
    MongoMapFieldMongoFieldFlavor
  11. def asHtml: NodeSeq

    Definition Classes
    ReadableField → Bindable
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def asJString(encode: (MyType) ⇒ String): JValue

    Attributes
    protected
    Definition Classes
    TypedField
  14. def asJValue: JObject

    Encode the field value into a JValue

    Encode the field value into a JValue

    Definition Classes
    MongoMapFieldMongoFieldFlavor → BaseField
  15. def asJs: JsExp with Product with Serializable

    Returns the field's value as a valid JavaScript expression

    Returns the field's value as a valid JavaScript expression

    Definition Classes
    MongoFieldFlavor
  16. def asString: String

    Definition Classes
    TypedField → BaseField
  17. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Definition Classes
    Settable
  18. implicit def boxNodeFuncToFieldError(in: (Box[MyType]) ⇒ Box[Node]): (Box[MyType]) ⇒ List[FieldError]

    Attributes
    protected
    Definition Classes
    TypedField
  19. implicit def boxNodeToFieldError(in: Box[Node]): List[FieldError]

    Attributes
    protected
    Definition Classes
    TypedField
  20. def canEqual(a: Any): Boolean

    Definition Classes
    MandatoryTypedField → Equals
  21. def canRead_?: Boolean

    Definition Classes
    BaseField
  22. def canWrite_?: Boolean

    Definition Classes
    BaseField
  23. def checkCanRead_?: Boolean

    Definition Classes
    BaseField
  24. def checkCanWrite_?: Boolean

    Definition Classes
    BaseField
  25. def clear: Unit

    Definition Classes
    TypedField
  26. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def defaultValue: Map[String, MapValueType]

    Definition Classes
    MongoMapField → MandatoryTypedField
  28. def defaultValueBox: Box[MyType]

    Definition Classes
    MandatoryTypedField → TypedField
  29. def dirty_?: Boolean

    Definition Classes
    BaseField
  30. def dirty_?(b: Boolean): Unit

    Attributes
    protected
    Definition Classes
    BaseField
  31. def displayHtml: NodeSeq

    Definition Classes
    ReadableField
  32. def displayName: String

    Definition Classes
    ReadableField
  33. def displayNameHtml: Box[NodeSeq]

    Definition Classes
    ReadableField
  34. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  36. def fieldId: Option[NodeSeq]

    Definition Classes
    SettableField
  37. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. def forceDirty_?: Boolean

    Definition Classes
    BaseField
  39. def formElemAttrs: Seq[http.SHtml.ElemAttr]

    Definition Classes
    BaseField
  40. def formInputType: String

    Definition Classes
    BaseField
  41. final def genericSetFromAny(in: Any)(implicit m: Manifest[MyType]): Box[MyType]

    Attributes
    protected
    Definition Classes
    TypedField
  42. def get: MyType

    Definition Classes
    MandatoryTypedField → ValueHolder
  43. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  45. def helpAsHtml: Box[NodeSeq]

    Definition Classes
    SettableField
  46. def ignoreField_?: Boolean

    Definition Classes
    BaseField
  47. def is: MyType

    Definition Classes
    MandatoryTypedField → ValueHolder
  48. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  49. def label: NodeSeq

    Definition Classes
    BaseField
  50. def liftSetFilterToBox(in: Box[MyType]): Box[MyType]

    Attributes
    protected
    Definition Classes
    MandatoryTypedField → TypedField
  51. def name: String

    Definition Classes
    BaseField → ReadableField
  52. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  53. def noValueErrorMessage: String

    Definition Classes
    BaseField
  54. implicit def nodeToFieldError(node: Node): List[FieldError]

    Attributes
    protected
    Definition Classes
    TypedField
  55. def notOptionalErrorMessage: String

    Definition Classes
    BaseField
  56. final def notify(): Unit

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

    Definition Classes
    AnyRef
  58. def obscure(in: MyType): Box[MyType]

    Definition Classes
    TypedField
  59. def optional_?: Boolean

    Definition Classes
    MandatoryTypedField → BaseField
  60. def owner: OwnerType

    Definition Classes
    MongoMapField → OwnedField
  61. def performAtomicOperation[T](f: ⇒ T): T

    Definition Classes
    Settable
  62. def productArity: Int

    Definition Classes
    Product1 → Product
  63. def productElement(n: Int): Any

    Definition Classes
    Product1 → Product
    Annotations
    @throws()
  64. def productIterator: Iterator[Any]

    Definition Classes
    Product
  65. def productPrefix: String

    Definition Classes
    Product
  66. def required_?: Boolean

    Definition Classes
    SettableField
  67. def resetDirty: Unit

    Definition Classes
    BaseField
  68. def runFilters(in: Box[MyType], filter: List[(Box[MyType]) ⇒ Box[MyType]]): Box[MyType]

    Definition Classes
    TypedField
  69. def runValidation(in: Box[MyType]): List[FieldError]

    Attributes
    protected
    Definition Classes
    TypedField
  70. final def safe_?: Boolean

    Definition Classes
    OwnedField → BaseField
  71. def set(in: MyType): MyType

    Definition Classes
    MandatoryTypedField → Settable
  72. def setBox(in: Box[MyType]): Box[MyType]

    Definition Classes
    TypedField
  73. def setFilter: List[(ValueType) ⇒ ValueType]

    Definition Classes
    TypedField → SettableField
  74. def setFilterBox: List[(Box[MyType]) ⇒ Box[MyType]]

    Attributes
    protected
    Definition Classes
    TypedField
  75. def setFromAny(in: Any): Box[Map[String, MapValueType]]

    Definition Classes
    MongoMapField → TypedField
  76. def setFromDBObject(dbo: DBObject): Box[Map[String, MapValueType]]

    Definition Classes
    MongoMapFieldMongoFieldFlavor
  77. def setFromJString(jvalue: JValue)(decode: (String) ⇒ Box[MyType]): Box[MyType]

    Attributes
    protected
    Definition Classes
    TypedField
  78. def setFromJValue(jvalue: JValue): Box[MyType]

    Definition Classes
    MongoMapField → TypedField
  79. def setFromString(in: String): Box[Map[String, MapValueType]]

    Definition Classes
    MongoMapField → TypedField
  80. def set_!(in: Box[MyType]): Box[MyType]

    Attributes
    protected
    Definition Classes
    TypedField
  81. def shouldDisplay_?: Boolean

    Definition Classes
    ReadableField
  82. def show_?: Boolean

    Definition Classes
    SettableField
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  84. def tabIndex: Int

    Definition Classes
    BaseField
  85. def toBoxMyType(in: ValueType): Full[ValueType]

    Definition Classes
    MandatoryTypedField → TypedField
  86. def toForm: Box[NodeSeq]

    Definition Classes
    MongoMapField → BaseField → SettableField
  87. def toString(): String

    Definition Classes
    MandatoryTypedField → AnyRef → Any
  88. def toValueType(in: Box[MyType]): MyType

    Definition Classes
    MandatoryTypedField → TypedField
  89. def toXHtml: NodeSeq

    Definition Classes
    BaseField
  90. def uniqueFieldId: Box[String]

    Definition Classes
    BaseField → FieldIdentifier
  91. def uploadField_?: Boolean

    Definition Classes
    SettableField
  92. def validate: List[FieldError]

    Definition Classes
    TypedField → SettableField
  93. def validations: List[(ValueType) ⇒ List[FieldError]]

    Definition Classes
    TypedField → SettableField
  94. def value: MyType

    Definition Classes
    MandatoryTypedField
  95. def valueBox: Box[MyType]

    Definition Classes
    TypedField
  96. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MongoFieldFlavor[Map[String, MapValueType]]

Inherited from MandatoryTypedField[Map[String, MapValueType]]

Inherited from Product1[Map[String, MapValueType]]

Inherited from Product

Inherited from Equals

Inherited from Field[Map[String, MapValueType], OwnerType]

Inherited from TypedField[Map[String, MapValueType]]

Inherited from OwnedField[OwnerType]

Inherited from BaseField

Inherited from BaseField

Inherited from FieldContainer

Inherited from SettableField

Inherited from SettableValueHolder

Inherited from Settable

Inherited from ReadableField

Inherited from Bindable

Inherited from ValueHolder

Inherited from FieldIdentifier

Inherited from AnyRef

Inherited from Any

Ungrouped