Class

net.liftweb.mongodb.record.field

JObjectField

Related Doc: package field

Permalink

class JObjectField[OwnerType <: BsonRecord[OwnerType]] extends JObjectTypedField[OwnerType] with MandatoryTypedField[JObject]

Linear Supertypes
MandatoryTypedField[JObject], Product1[JObject], Product, Equals, JObjectTypedField[OwnerType], BsonDocumentJObjectField[JObject], BsonableField[JObject], MongoFieldFlavor[JObject], Field[JObject, OwnerType], OwnedField[OwnerType], TypedField[JObject], BaseField, BaseField, FieldContainer, SettableField, SettableValueHolder, Settable, ReadableField, Bindable, ValueHolder, FieldIdentifier, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JObjectField
  2. MandatoryTypedField
  3. Product1
  4. Product
  5. Equals
  6. JObjectTypedField
  7. BsonDocumentJObjectField
  8. BsonableField
  9. MongoFieldFlavor
  10. Field
  11. OwnedField
  12. TypedField
  13. BaseField
  14. BaseField
  15. FieldContainer
  16. SettableField
  17. SettableValueHolder
  18. Settable
  19. ReadableField
  20. Bindable
  21. ValueHolder
  22. FieldIdentifier
  23. AnyRef
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JObjectField(owner: OwnerType, value: JObject)

    Permalink
  2. new JObjectField(owner: OwnerType)

    Permalink

Type Members

  1. type MyType = JObject

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

    Permalink
    Definition Classes
    TypedField
  3. type ValueType = JObject

    Permalink
    Definition Classes
    MandatoryTypedField → ValueHolder

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: MyType

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

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

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

    Permalink
    Definition Classes
    Field
  8. def asHtml: NodeSeq

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  11. def asJValue: JValue

    Permalink

    Encode the field value into a JValue

    Encode the field value into a JValue

    Definition Classes
    JObjectTypedFieldMongoFieldFlavor → BaseField
  12. def asJs: JsExp with Product with Serializable

    Permalink

    Returns the field's value as a valid JavaScript expression

    Returns the field's value as a valid JavaScript expression

    Definition Classes
    MongoFieldFlavor
  13. def asString: String

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

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

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

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

    Permalink
    Definition Classes
    MandatoryTypedField → Equals
  18. def canRead_?: Boolean

    Permalink
    Definition Classes
    BaseField
  19. def canWrite_?: Boolean

    Permalink
    Definition Classes
    BaseField
  20. def checkCanRead_?: Boolean

    Permalink
    Definition Classes
    BaseField
  21. def checkCanWrite_?: Boolean

    Permalink
    Definition Classes
    BaseField
  22. def clear: Unit

    Permalink
    Definition Classes
    TypedField
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def defaultValue: JObject

    Permalink
    Definition Classes
    JObjectField → MandatoryTypedField
  25. def defaultValueBox: Box[MyType]

    Permalink
    Definition Classes
    MandatoryTypedField → TypedField
  26. def dirty_?: Boolean

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

    Permalink
    Attributes
    protected
    Definition Classes
    BaseField
  28. def displayHtml: NodeSeq

    Permalink
    Definition Classes
    ReadableField
  29. def displayName: String

    Permalink
    Definition Classes
    OwnedField → ReadableField
  30. def displayNameHtml: Box[NodeSeq]

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

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

    Permalink
    Definition Classes
    TypedField → AnyRef → Any
  33. def fieldId: Option[NodeSeq]

    Permalink
    Definition Classes
    SettableField
  34. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    BaseField
  37. def formInputType: String

    Permalink
    Definition Classes
    BaseField
  38. implicit val formats: Formats

    Permalink
  39. final def genericSetFromAny(in: Any)(implicit m: Manifest[MyType]): Box[MyType]

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  40. def get: MyType

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

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

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

    Permalink
    Definition Classes
    SettableField
  44. def ignoreField_?: Boolean

    Permalink
    Definition Classes
    BaseField
  45. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  46. def label: NodeSeq

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

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

    Permalink
    Definition Classes
    OwnedField → ReadableField
  49. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  50. def noValueErrorMessage: String

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

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  52. def notOptionalErrorMessage: String

    Permalink
    Definition Classes
    BaseField
  53. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  54. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    TypedField
  56. def optional_?: Boolean

    Permalink
    Definition Classes
    MandatoryTypedField → BaseField
  57. val owner: OwnerType

    Permalink
    Definition Classes
    JObjectField → OwnedField
  58. def performAtomicOperation[T](f: ⇒ T): T

    Permalink
    Definition Classes
    Settable
  59. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  62. def productPrefix: String

    Permalink
    Definition Classes
    Product
  63. def readArrayToBsonDocument(reader: BsonReader, context: DecoderContext, registry: CodecRegistry): List[BsonDocument]

    Permalink

    Helper function to read an array to a List of BsonDocuments.

    Helper function to read an array to a List of BsonDocuments.

    Attributes
    protected
    Definition Classes
    BsonableField
  64. def readList(reader: BsonReader, decoderContext: DecoderContext, codecRegistry: CodecRegistry, bsonTypeCodecMap: BsonTypeCodecMap): List[_]

    Permalink

    Helper function to read a List from a BsonReader.

    Helper function to read a List from a BsonReader.

    Attributes
    protected
    Definition Classes
    BsonableField
  65. def readMap(reader: BsonReader, decoderContext: DecoderContext, codecRegistry: CodecRegistry, bsonTypeCodecMap: BsonTypeCodecMap): Map[String, _]

    Permalink

    Helper function to read a Map from a BsonReader.

    Helper function to read a Map from a BsonReader.

    Attributes
    protected
    Definition Classes
    BsonableField
  66. def readValue(reader: BsonReader, decoderContext: DecoderContext, codecRegistry: CodecRegistry, bsonTypeCodecMap: BsonTypeCodecMap): Any

    Permalink

    Helper function to read a value from a BsonReader.

    Helper function to read a value from a BsonReader.

    Attributes
    protected
    Definition Classes
    BsonableField
  67. def readValueToBsonDocument(reader: BsonReader, context: DecoderContext, registry: CodecRegistry): BsonDocument

    Permalink

    Helper function to read a value to a BsonDocument.

    Helper function to read a value to a BsonDocument.

    Attributes
    protected
    Definition Classes
    BsonableField
  68. def required_?: Boolean

    Permalink
    Definition Classes
    SettableField
  69. def resetDirty: Unit

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  77. def setFromAny(in: Any): Box[JObject]

    Permalink
    Definition Classes
    JObjectTypedField → TypedField
  78. def setFromBsonReader(reader: BsonReader, context: DecoderContext, registry: CodecRegistry, bsonTypeCodecMap: BsonTypeCodecMap): Box[MyType]

    Permalink

    Set this field's value from a BsonReader.

    Set this field's value from a BsonReader.

    Definition Classes
    BsonDocumentJObjectFieldBsonableField
  79. def setFromDocument(obj: Document): Box[JObject]

    Permalink
    Definition Classes
    JObjectTypedField
  80. def setFromJString(jvalue: JValue)(decode: (String) ⇒ Box[MyType]): Box[MyType]

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  81. def setFromJValue(jvalue: JValue): Box[JObject]

    Permalink
    Definition Classes
    JObjectTypedField → TypedField
  82. def setFromString(in: String): Box[JObject]

    Permalink
    Definition Classes
    JObjectTypedField → TypedField
  83. def set_!(in: Box[MyType]): Box[MyType]

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  84. def shouldDisplay_?: Boolean

    Permalink
    Definition Classes
    ReadableField
  85. def show_?: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  87. def tabIndex: Int

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

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

    Permalink
    Definition Classes
    JObjectTypedField → BaseField → SettableField
  90. def toString(): String

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

    Permalink
    Definition Classes
    MandatoryTypedField → TypedField
  92. def toXHtml: NodeSeq

    Permalink
    Definition Classes
    BaseField
  93. def uniqueFieldId: Box[String]

    Permalink
    Definition Classes
    BaseField → FieldIdentifier
  94. def uploadField_?: Boolean

    Permalink
    Definition Classes
    SettableField
  95. def validate: List[FieldError]

    Permalink
    Definition Classes
    TypedField → SettableField
  96. def validations: List[ValidationFunction]

    Permalink
    Definition Classes
    TypedField → SettableField
  97. def value: MyType

    Permalink
    Definition Classes
    MandatoryTypedField
  98. def valueBox: Box[MyType]

    Permalink
    Definition Classes
    TypedField
  99. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. def writeIterable(writer: BsonWriter, list: Iterable[_], encoderContext: EncoderContext, codecRegistry: CodecRegistry): Unit

    Permalink

    Helper function to write an Iterable to a BsonWriter.

    Helper function to write an Iterable to a BsonWriter.

    Attributes
    protected
    Definition Classes
    BsonableField
  103. def writeMap(writer: BsonWriter, map: Map[String, Any], encoderContext: EncoderContext, codecRegistry: CodecRegistry): Unit

    Permalink

    Helper function to write a Map to a BsonWriter.

    Helper function to write a Map to a BsonWriter.

    Attributes
    protected
    Definition Classes
    BsonableField
  104. def writeToBsonWriter(writer: BsonWriter, context: EncoderContext, registry: CodecRegistry, bsonTypeCodecMap: BsonTypeCodecMap): Unit

    Permalink

    Write this field's value to a BsonWriter.

    Write this field's value to a BsonWriter.

    Definition Classes
    BsonDocumentJObjectFieldBsonableField
  105. def writeValue[T](writer: BsonWriter, encoderContext: EncoderContext, value: T, codecRegistry: CodecRegistry): Unit

    Permalink

    Helper function to write a value to a BsonWriter.

    Helper function to write a value to a BsonWriter.

    Attributes
    protected
    Definition Classes
    BsonableField

Deprecated Value Members

  1. def asDBObject: DBObject

    Permalink
    Definition Classes
    JObjectTypedFieldMongoFieldFlavor
    Annotations
    @deprecated
    Deprecated

    (Since version 3.4.3) This was replaced with the functions from 'BsonableField'.

  2. def setFromDBObject(obj: DBObject): Box[JObject]

    Permalink
    Definition Classes
    JObjectTypedFieldMongoFieldFlavor
    Annotations
    @deprecated
    Deprecated

    (Since version 3.4.3) This was replaced with the functions from 'BsonableField'.

Inherited from MandatoryTypedField[JObject]

Inherited from Product1[JObject]

Inherited from Product

Inherited from Equals

Inherited from JObjectTypedField[OwnerType]

Inherited from BsonDocumentJObjectField[JObject]

Inherited from BsonableField[JObject]

Inherited from MongoFieldFlavor[JObject]

Inherited from Field[JObject, OwnerType]

Inherited from OwnedField[OwnerType]

Inherited from TypedField[JObject]

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