Class

net.liftweb.mongodb.record.field

CaseClassTypedField

Related Doc: package field

Permalink

abstract class CaseClassTypedField[OwnerType <: Record[OwnerType], CaseType] extends Field[CaseType, OwnerType] with MongoFieldFlavor[CaseType] with BsonableField[CaseType]

Linear Supertypes
BsonableField[CaseType], MongoFieldFlavor[CaseType], Field[CaseType, OwnerType], TypedField[CaseType], OwnedField[OwnerType], BaseField, BaseField, FieldContainer, SettableField, SettableValueHolder, Settable, ReadableField, Bindable, ValueHolder, FieldIdentifier, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaseClassTypedField
  2. BsonableField
  3. MongoFieldFlavor
  4. Field
  5. TypedField
  6. OwnedField
  7. BaseField
  8. BaseField
  9. FieldContainer
  10. SettableField
  11. SettableValueHolder
  12. Settable
  13. ReadableField
  14. Bindable
  15. ValueHolder
  16. FieldIdentifier
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CaseClassTypedField(owner: OwnerType)(implicit mf: Manifest[CaseType])

    Permalink

Type Members

  1. type MyType = CaseType

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

    Permalink
    Definition Classes
    TypedField
  3. abstract type ValueType

    Permalink
    Definition Classes
    ValueHolder

Abstract Value Members

  1. abstract def defaultValueBox: Box[CaseClassTypedField.MyType]

    Permalink
    Definition Classes
    TypedField
  2. abstract def get: ValueType

    Permalink
    Definition Classes
    ValueHolder
  3. abstract def liftSetFilterToBox(in: Box[CaseClassTypedField.MyType]): Box[CaseClassTypedField.MyType]

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  4. abstract def set(in: ValueType): ValueType

    Permalink
    Definition Classes
    Settable
  5. abstract def toBoxMyType(in: ValueType): Box[CaseClassTypedField.MyType]

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  6. abstract def toValueType(in: Box[CaseClassTypedField.MyType]): ValueType

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField

Concrete 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. implicit lazy val _formats: Formats

    Permalink
  5. def allFields: Seq[BaseField]

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

    Permalink
    Definition Classes
    Field
  7. def apply(in: CaseClassTypedField.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: (CaseClassTypedField.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
    CaseClassTypedFieldMongoFieldFlavor → 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
    CaseClassTypedFieldMongoFieldFlavor → BaseField
  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[CaseClassTypedField.MyType]) ⇒ Box[Node]): (Box[CaseClassTypedField.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 canRead_?: Boolean

    Permalink
    Definition Classes
    BaseField
  18. def canWrite_?: Boolean

    Permalink
    Definition Classes
    BaseField
  19. def checkCanRead_?: Boolean

    Permalink
    Definition Classes
    BaseField
  20. def checkCanWrite_?: Boolean

    Permalink
    Definition Classes
    BaseField
  21. def clear: Unit

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def dirty_?: Boolean

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

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

    Permalink
    Definition Classes
    ReadableField
  26. def displayName: String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BaseField
  34. def formInputType: String

    Permalink
    Definition Classes
    BaseField
  35. def formats: Formats

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

    Permalink
    Attributes
    protected
    Definition Classes
    TypedField
  37. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    SettableField
  40. def ignoreField_?: Boolean

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

    Permalink
    Definition Classes
    Any
  42. def label: NodeSeq

    Permalink
    Definition Classes
    BaseField
  43. def name: String

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

    Permalink
    Definition Classes
    AnyRef
  45. def noValueErrorMessage: String

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

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

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

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

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

    Permalink
    Definition Classes
    TypedField
  51. def optional_?: Boolean

    Permalink
    Definition Classes
    BaseField
  52. val owner: OwnerType

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

    Permalink
    Definition Classes
    Settable
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. def required_?: Boolean

    Permalink
    Definition Classes
    SettableField
  60. def resetDirty: Unit

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

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

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

    Permalink
    Definition Classes
    OwnedField → BaseField
  64. def setBox(in: Box[CaseClassTypedField.MyType]): Box[CaseClassTypedField.MyType]

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

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

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

    Permalink
    Definition Classes
    CaseClassTypedField → TypedField
  68. 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
    CaseClassTypedFieldBsonableField
  69. def setFromDocument(doc: Document): Box[CaseType]

    Permalink
  70. def setFromJString(jvalue: JValue)(decode: (String) ⇒ Box[CaseClassTypedField.MyType]): Box[CaseClassTypedField.MyType]

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

    Permalink
    Definition Classes
    CaseClassTypedField → TypedField
  72. def setFromString(in: String): Box[CaseType]

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

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

    Permalink
    Definition Classes
    ReadableField
  75. def show_?: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  77. def tabIndex: Int

    Permalink
    Definition Classes
    BaseField
  78. def toForm: Box[NodeSeq]

    Permalink
    Definition Classes
    CaseClassTypedField → BaseField → SettableField
  79. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  80. def toXHtml: NodeSeq

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

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

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

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

    Permalink
    Definition Classes
    TypedField → SettableField
  85. def valueBox: Box[CaseClassTypedField.MyType]

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. 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
  90. 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
  91. 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
    CaseClassTypedFieldBsonableField
  92. 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
    CaseClassTypedFieldMongoFieldFlavor
    Annotations
    @deprecated
    Deprecated

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

  2. def setFromDBObject(dbo: DBObject): Box[CaseType]

    Permalink
    Definition Classes
    CaseClassTypedFieldMongoFieldFlavor
    Annotations
    @deprecated
    Deprecated

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

Inherited from BsonableField[CaseType]

Inherited from MongoFieldFlavor[CaseType]

Inherited from Field[CaseType, OwnerType]

Inherited from TypedField[CaseType]

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