Packages

t

net.liftweb.mapper

BaseIndexedField

trait BaseIndexedField extends BaseMappedField

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseIndexedField
  2. BaseMappedField
  3. Serializable
  4. Serializable
  5. MixableMappedField
  6. BaseField
  7. FieldContainer
  8. SettableField
  9. SettableValueHolder
  10. Settable
  11. ReadableField
  12. ValueHolder
  13. FieldIdentifier
  14. Bindable
  15. SelectableField
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type TheOwnerType <: Mapper[TheOwnerType]

    Will be set to the type of the owner of the field

    Will be set to the type of the owner of the field

    Definition Classes
    MixableMappedField
  2. abstract type ValueType
    Definition Classes
    ValueHolder

Abstract Value Members

  1. abstract def _toForm: Box[NodeSeq]

    This is where the instance creates its "toForm" stuff.

    This is where the instance creates its "toForm" stuff. The actual toForm method wraps the information based on mode.

    Definition Classes
    BaseMappedField
  2. abstract def asJsExp: JsExp
    Definition Classes
    BaseMappedField
  3. abstract def asJsonValue: Box[JValue]
    Definition Classes
    BaseMappedField
  4. abstract def asString: String

    Convert the field to its name/value pair (e.g., name=David)

    Convert the field to its name/value pair (e.g., name=David)

    Definition Classes
    BaseMappedFieldMixableMappedField
  5. abstract def dbAddedColumn: Box[() ⇒ Unit]

    Called when a column has been added to the database via Schemifier

    Called when a column has been added to the database via Schemifier

    Definition Classes
    BaseMappedField
  6. abstract def dbAddedIndex: Box[() ⇒ Unit]

    Called when a column has indexed via Schemifier

    Called when a column has indexed via Schemifier

    Definition Classes
    BaseMappedField
  7. abstract def dbColumnCount: Int

    The number of database columns that this field represents

    The number of database columns that this field represents

    Definition Classes
    BaseMappedFieldMixableMappedField
  8. abstract def dbColumnName: String
    Definition Classes
    BaseMappedField
  9. abstract def dbColumnNames(in: String): List[String]
    Definition Classes
    BaseMappedField
  10. abstract def dbForeignKey_?: Boolean

    Is the field a foreign key reference

    Is the field a foreign key reference

    Definition Classes
    BaseMappedFieldMixableMappedField
  11. abstract def dbIndexed_?: Boolean

    Should the field be indexed?

    Should the field be indexed?

    Definition Classes
    BaseMappedFieldMixableMappedField
  12. abstract def dbPrimaryKey_?: Boolean

    Is the field the table's primary key

    Is the field the table's primary key

    Definition Classes
    BaseMappedFieldMixableMappedField
  13. abstract def dbSelectString: String
    Definition Classes
    SelectableField
  14. abstract def doneWithSave(): Unit

    Called after the field is saved to the database

    Called after the field is saved to the database

    Attributes
    protected[net.liftweb.mapper]
    Definition Classes
    BaseMappedField
  15. abstract def fieldCreatorString(dbType: DriverType): List[String]

    Given the driver type, return a list of statements to create the columns in the database

    Given the driver type, return a list of statements to create the columns in the database

    Definition Classes
    BaseMappedField
  16. abstract def fieldCreatorString(dbType: DriverType, colName: String): String

    Given the driver type, return the string required to create the column in the database

    Given the driver type, return the string required to create the column in the database

    Definition Classes
    BaseMappedField
  17. abstract def get: ValueType

    get the value

    get the value

    Definition Classes
    ValueHolder
  18. abstract def jdbcFriendly: AnyRef

    Get a JDBC friendly object for the part of this field that maps to the first column in the database

    Get a JDBC friendly object for the part of this field that maps to the first column in the database

    Definition Classes
    BaseMappedField
  19. abstract def jdbcFriendly(field: String): AnyRef

    Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database.)

    Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database.)

    field

    -- the name of the field being mapped to

    Definition Classes
    BaseMappedField
  20. abstract def name: String

    The human name of this field

    The human name of this field

    Definition Classes
    ReadableField
  21. abstract def set(in: ValueType): ValueType
    Definition Classes
    Settable
  22. abstract def setFilter: List[(ValueType) ⇒ ValueType]

    A list of functions that transform the value before it is set.

    A list of functions that transform the value before it is set. The transformations are also applied before the value is used in a query. Typical applications of this are trimming and/or toLowerCase-ing strings

    Definition Classes
    SettableField
  23. abstract def targetSQLType: Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    BaseMappedField
  24. abstract def targetSQLType(field: String): Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    BaseMappedField
  25. abstract def toForm: Box[NodeSeq]

    Create an input field for the item

    Create an input field for the item

    Definition Classes
    SettableField
  26. abstract def validate: List[FieldError]

    Validate this field and return a list of Validation Issues

    Validate this field and return a list of Validation Issues

    Definition Classes
    SettableField
  27. abstract def validations: List[(ValueType) ⇒ List[FieldError]]
    Definition Classes
    SettableField

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def _dbColumnNameLC: String

    The forced lower case column names

    The forced lower case column names

    Definition Classes
    BaseMappedField
  5. def allFields: Seq[BaseField]
    Definition Classes
    BaseFieldFieldContainer
  6. def asHtml: NodeSeq

    Default read-only rendering of field

    Default read-only rendering of field

    Definition Classes
    ReadableFieldBindable
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asJs: List[(String, JsExp)]
    Definition Classes
    BaseMappedField
  9. def asJsonField: Box[JField]
    Definition Classes
    BaseMappedField
  10. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Perform an atomic update of this Settable.

    Perform an atomic update of this Settable. The current value is passed to the function and the ValueHolder is set to the result of the function. This is enclosed in the performAtomicOperation method which will, by default, synchronize this instance

    Definition Classes
    Settable
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def dbAutogenerated_?: Boolean

    Is the primary key autogenerated

    Is the primary key autogenerated

    Definition Classes
    BaseMappedField
  13. def dbDisplay_?: Boolean
    Definition Classes
    BaseMappedField
  14. def dbIgnoreSQLType_?: Boolean

    Do we ignore the targetSQLType for setObject

    Do we ignore the targetSQLType for setObject

    Definition Classes
    BaseMappedField
  15. def dbIncludeInForm_?: Boolean
    Definition Classes
    BaseMappedField
  16. def dbNotNull_?: Boolean

    Set to true if the field should be created as NOT NULL

    Set to true if the field should be created as NOT NULL

    Definition Classes
    BaseMappedFieldMixableMappedField
  17. def displayHtml: NodeSeq
    Definition Classes
    ReadableField
  18. def displayName: String

    The display name of this field (e.g., "First Name")

    The display name of this field (e.g., "First Name")

    Definition Classes
    ReadableField
  19. def displayNameHtml: Box[NodeSeq]
    Definition Classes
    ReadableField
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def fieldId: Option[NodeSeq]

    A unique 'id' for the field for form generation

    A unique 'id' for the field for form generation

    Definition Classes
    SettableField
  23. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def formElemAttrs: Seq[http.SHtml.ElemAttr]

    What form elements are we going to add to this field?

    What form elements are we going to add to this field?

    Definition Classes
    BaseMappedField
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  27. def helpAsHtml: Box[NodeSeq]
    Definition Classes
    SettableField
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  32. def performAtomicOperation[T](f: ⇒ T): T

    Perform an atomic operation on the Settable.

    Perform an atomic operation on the Settable. By default synchronizes the instance, but it could use other mechanisms

    Definition Classes
    Settable
  33. def renderJs_?: Boolean
    Definition Classes
    BaseMappedField
  34. def required_?: Boolean

    Is the Field required (and will have a style designating it as such)

    Is the Field required (and will have a style designating it as such)

    Definition Classes
    SettableField
  35. def shouldDisplay_?: Boolean

    Given the current context, should this field be displayed

    Given the current context, should this field be displayed

    Definition Classes
    ReadableField
  36. def show_?: Boolean

    Given the current state of things, should this field be shown

    Given the current state of things, should this field be shown

    Definition Classes
    SettableField
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def uniqueFieldId: Box[String]
    Definition Classes
    FieldIdentifier
  40. def uploadField_?: Boolean

    Is this an upload field so that a form that includes this field must be multi-part mime

    Is this an upload field so that a form that includes this field must be multi-part mime

    Definition Classes
    SettableField
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BaseMappedField

Inherited from Serializable

Inherited from Serializable

Inherited from MixableMappedField

Inherited from BaseField

Inherited from FieldContainer

Inherited from SettableField

Inherited from SettableValueHolder

Inherited from Settable

Inherited from ReadableField

Inherited from ValueHolder

Inherited from FieldIdentifier

Inherited from Bindable

Inherited from SelectableField

Inherited from AnyRef

Inherited from Any

Ungrouped