net.liftweb.mapper

MappedIntIndex

abstract class MappedIntIndex[T <: Mapper[T]] extends MappedInt[T] with IndexedField[Int]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MappedIntIndex
  2. IndexedField
  3. BaseIndexedField
  4. MappedInt
  5. MappedField
  6. Equals
  7. PSettableValueHolder
  8. PValueHolder
  9. BaseOwnedMappedField
  10. BaseMappedField
  11. Serializable
  12. Serializable
  13. MixableMappedField
  14. BaseField
  15. FieldContainer
  16. SettableField
  17. SettableValueHolder
  18. Settable
  19. ReadableField
  20. ValueHolder
  21. FieldIdentifier
  22. Bindable
  23. SelectableField
  24. TypedField
  25. AnyRef
  26. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MappedIntIndex(owner: T)

Type Members

  1. type TheOwnerType = T

    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
    MappedFieldMixableMappedField
  2. type ValueType = Int

    Will be set to the type of the field

    Will be set to the type of the field

    Definition Classes
    MappedFieldPValueHolderValueHolder

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. def +(in: Int): Int

    Definition Classes
    MappedInt
  5. def :=(v: Int): Int

    Definition Classes
    MappedField
  6. def :=[Q](v: Q)(implicit arg0: (Q) ⇒ Int): Int

    Definition Classes
    MappedField
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. final def _dbColumnNameLC: String

    The forced lower case column names

    The forced lower case column names

    Definition Classes
    BaseMappedField
  10. def _toForm: Box[NodeSeq]

    Create an input field for the item

    Create an input field for the item

    Definition Classes
    MappedFieldBaseMappedField
  11. def actualField(actual: T): MappedField[Int, T]

    Get the field that this prototypical field represents

    Get the field that this prototypical field represents

    actual

    the object to find the field on

    Definition Classes
    MappedField
  12. def allFields: Seq[BaseField]

    Definition Classes
    BaseFieldFieldContainer
  13. def appendFieldId(in: Elem): Elem

    If the field has a defined fieldId, append it

    If the field has a defined fieldId, append it

    Attributes
    protected
    Definition Classes
    MappedField
  14. def apply(v: Int): T

    Definition Classes
    MappedField
  15. def apply[Q](v: Q)(implicit arg0: (Q) ⇒ Int): T

    Definition Classes
    MappedField
  16. def asHtml: Node

    Default read-only rendering of field

    Default read-only rendering of field

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedFieldReadableFieldBindable
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def asJs: List[(String, JsExp)]

    Definition Classes
    BaseMappedField
  19. def asJsExp: JsExp

    Definition Classes
    MappedIntBaseMappedField
  20. def asJsonField: Box[JField]

    Definition Classes
    BaseMappedField
  21. def asJsonValue: Box[JValue]

    Definition Classes
    MappedIntBaseMappedField
  22. def asString: String

    Return the field name and field value, delimited by an '='

    Return the field name and field value, delimited by an '='

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  23. 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
  24. def buildSetActualValue(accessor: Method, v: AnyRef, columnName: String): (T, AnyRef) ⇒ Unit

    Definition Classes
    MappedIntMappedField
  25. def buildSetBooleanValue(accessor: Method, columnName: String): (T, Boolean, Boolean) ⇒ Unit

    Definition Classes
    MappedIntMappedField
  26. def buildSetDateValue(accessor: Method, columnName: String): (T, Date) ⇒ Unit

    Definition Classes
    MappedIntMappedField
  27. def buildSetLongValue(accessor: Method, columnName: String): (T, Long, Boolean) ⇒ Unit

    Definition Classes
    MappedIntMappedField
  28. def buildSetStringValue(accessor: Method, columnName: String): (T, String) ⇒ Unit

    Definition Classes
    MappedIntMappedField
  29. def calcFieldName: String

    Definition Classes
    MappedField
  30. def canEqual(that: Any): Boolean

    Definition Classes
    MappedField → Equals
  31. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def convertKey(in: AnyRef): Box[Int]

    Definition Classes
    MappedIntIndexIndexedField
  33. def convertKey(in: Long): Box[Int]

    Definition Classes
    MappedIntIndexIndexedField
  34. def convertKey(in: Int): Box[Int]

    Definition Classes
    MappedIntIndexIndexedField
  35. def convertKey(in: String): Box[Int]

    Definition Classes
    MappedIntIndexIndexedField
  36. final def convertToJDBCFriendly(value: Int): AnyRef

    Definition Classes
    MappedField
  37. 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
    MappedFieldBaseMappedField
  38. def dbAddedIndex: Box[() ⇒ Unit]

    Called when a column has indexed via Schemifier

    Called when a column has indexed via Schemifier

    Definition Classes
    MappedFieldBaseMappedField
  39. def dbAutogenerated_?: Boolean

    Is the primary key autogenerated

    Is the primary key autogenerated

    Definition Classes
    BaseMappedField
  40. def dbColumnCount: Int

    The number of database columns that this field represents

    The number of database columns that this field represents

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  41. def dbColumnName: String

    Definition Classes
    MappedFieldBaseMappedField
  42. def dbColumnNames(in: String): List[String]

    Definition Classes
    MappedFieldBaseMappedField
  43. def dbDisplay_?: Boolean

    Definition Classes
    MappedIntIndexIndexedFieldBaseMappedField
  44. def dbFieldClass: Class[Int]

    What is the real class that corresponds to FieldType

    What is the real class that corresponds to FieldType

    Definition Classes
    MappedIntTypedField
  45. def dbForeignKey_?: Boolean

    Is the field a foreign key reference

    Is the field a foreign key reference

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  46. def dbIgnoreSQLType_?: Boolean

    Do we ignore the targetSQLType for setObject

    Do we ignore the targetSQLType for setObject

    Definition Classes
    BaseMappedField
  47. def dbIncludeInForm_?: Boolean

    Definition Classes
    BaseMappedField
  48. def dbIndexFieldIndicatesSaved_?: Boolean

    override this method in indexed fields to indicate that the field has been saved

    override this method in indexed fields to indicate that the field has been saved

    Definition Classes
    MappedIntIndexMappedField
  49. def dbIndexed_?: Boolean

    Should the field be indexed?

    Should the field be indexed?

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  50. 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
    MappedFieldBaseMappedFieldMixableMappedField
  51. def dbPrimaryKey_?: Boolean

    Is the field the table's primary key

    Is the field the table's primary key

    Definition Classes
    MappedIntIndexMappedFieldBaseMappedFieldMixableMappedField
  52. def dbSelectString: String

    Definition Classes
    MappedFieldSelectableField
  53. def defaultValue: Int

    The default value for the field

    The default value for the field

    Definition Classes
    MappedIntIndexMappedIntTypedField
  54. def defined_?: Boolean

  55. def dirty_?(b: Boolean): Unit

    Make the field dirty

    Make the field dirty

    Attributes
    protected
    Definition Classes
    MappedField
  56. def dirty_?: Boolean

    Is the field dirty (has it been changed since the record was loaded from the database

    Is the field dirty (has it been changed since the record was loaded from the database

    Definition Classes
    MappedField
  57. def displayHtml: NodeSeq

    Definition Classes
    ReadableField
  58. def displayName: String

    The display name of this field (e.

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

    Definition Classes
    MappedFieldReadableField
  59. def displayNameHtml: Box[NodeSeq]

    Definition Classes
    ReadableField
  60. def doField(inst: T, meth: Method, func: PartialFunction[MappedField[Int, T], Unit]): Unit

    Attributes
    protected
    Definition Classes
    MappedField
  61. 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
    MappedIntBaseMappedField
  62. final def eq(arg0: AnyRef): Boolean

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

    Does the "right thing" comparing mapped fields

    Does the "right thing" comparing mapped fields

    Definition Classes
    MappedField → Equals → AnyRef → Any
  64. 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
    MappedIntIndexMappedIntMappedFieldBaseMappedField
  65. def fieldCreatorString(dbType: DriverType): List[String]

    Given the driver type, return a list of SQL creation strings for the columns represented by this field

    Given the driver type, return a list of SQL creation strings for the columns represented by this field

    Definition Classes
    MappedFieldBaseMappedField
  66. 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
  67. val fieldOwner: T

    Return the owner of this field

    Return the owner of this field

    Definition Classes
    MappedIntMappedField
  68. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  69. 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
  70. def formInputType: String

    When building the form field, what's the input element's type attribute.

    When building the form field, what's the input element's type attribute. Defaults to 'text', but change to 'email' or other HTML5 values.

    Attributes
    protected
    Definition Classes
    MappedField
  71. def get: Int

    Convert the field to its "context free" type (e.

    Convert the field to its "context free" type (e.g., String, Int, Long, etc.) If there are no read permissions, the value will be obscured

    Definition Classes
    MappedFieldValueHolder
  72. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  73. def getField(inst: T, meth: Method): MappedField[Int, T]

    Attributes
    protected
    Definition Classes
    MappedField
  74. def hashCode(): Int

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

    Definition Classes
    SettableField
  76. def i_is_!: Int

    The actual value of the field

    The actual value of the field

    Attributes
    protected
    Definition Classes
    MappedIntMappedField
  77. def i_obscure_!(in: Int): Int

    Obscure the incoming value to a "safe" value (e.

    Obscure the incoming value to a "safe" value (e.g., if there are not enough rights to view the entire social security number 123-45-5678, this method might return ***-**-*678

    Attributes
    protected
    Definition Classes
    MappedIntMappedField
  78. final def i_set_!(value: Int): Int

    Attributes
    protected
    Definition Classes
    MappedField
  79. def i_was_!: Int

    The value of the field when it was pulled from the DB

    The value of the field when it was pulled from the DB

    Attributes
    protected
    Definition Classes
    MappedIntMappedField
  80. def ignoreField_?: Boolean

    Should the field be ignored by the OR Mapper?

    Should the field be ignored by the OR Mapper?

    Definition Classes
    MappedField
  81. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  82. def jdbcFriendly(field: String): Integer

    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
    MappedIntMappedFieldBaseMappedField
  83. 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
    MappedFieldBaseMappedField
  84. def makeKeyJDBCFriendly(in: Int): Integer

    Definition Classes
    MappedIntIndexIndexedField
  85. final def name: String

    The name of this field

    The name of this field

    Definition Classes
    MappedFieldReadableField
  86. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  87. def notNullAppender(): String

    Definition Classes
    MappedField
  88. final def notify(): Unit

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

    Definition Classes
    AnyRef
  90. 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
  91. def readPermission_?: Boolean

    Given the current execution state, can the field be read?

    Given the current execution state, can the field be read?

    Definition Classes
    MappedIntMappedField
  92. def real_convertToJDBCFriendly(value: Int): AnyRef

    Definition Classes
    MappedIntMappedField
  93. def real_i_set_!(value: Int): Int

    Must be implemented to store the value of the field

    Must be implemented to store the value of the field

    Attributes
    protected
    Definition Classes
    MappedIntMappedField
  94. def renderJs_?: Boolean

    Definition Classes
    BaseMappedField
  95. 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
  96. def resetDirty: Unit

    Definition Classes
    MappedField
  97. def runFilters(in: Int, filter: List[(Int) ⇒ Int]): Int

    Definition Classes
    MappedField
  98. final def safe_?: Boolean

    Are we in "safe" mode (i.

    Are we in "safe" mode (i.e., the value of the field can be read or written without any security checks.)

    Definition Classes
    MappedField
  99. def set(value: Int): Int

    Set the field to the value

    Set the field to the value

    Definition Classes
    MappedFieldSettable
  100. def setFilter: List[(Int) ⇒ Int]

    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
    MappedFieldSettableField
  101. def setFromAny(in: Any): Int

    Attempt to figure out what the incoming value is and set the field to that value.

    Attempt to figure out what the incoming value is and set the field to that value. Return true if the value could be assigned

    Definition Classes
    MappedIntMappedField
  102. def set_?(value: Box[Int]): Box[Int]

    Set the field to the Box value if the Box is Full

    Set the field to the Box value if the Box is Full

    Definition Classes
    MappedField
  103. def shouldDisplay_?: Boolean

    Given the current context, should this field be displayed

    Given the current context, should this field be displayed

    Definition Classes
    ReadableField
  104. 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
  105. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  106. def targetSQLType: Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedIntMappedFieldBaseMappedField
  107. def targetSQLType(field: String): Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedFieldBaseMappedField
  108. def toForm: Box[NodeSeq]

    Create an input field for the item

    Create an input field for the item

    Definition Classes
    MappedFieldSettableField
  109. def toFormAppendedAttributes: MetaData

    Definition Classes
    MappedField
  110. def toString(): String

    Definition Classes
    MappedField → AnyRef → Any
  111. def uniqueFieldId: Box[String]

    The unique field id is the field name and the mapper name

    The unique field id is the field name and the mapper name

    Definition Classes
    MappedFieldFieldIdentifier
  112. def update[Q](v: Q)(implicit arg0: (Q) ⇒ Int): Unit

    Assignment from the underlying type.

    Assignment from the underlying type. It's ugly, but:
    field() = new_value
    field set new_value
    field.set(new_value)
    are all the same

    Definition Classes
    MappedField
  113. 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
  114. 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
    MappedFieldSettableField
  115. def validations: List[(Int) ⇒ List[FieldError]]

    Definition Classes
    MappedFieldSettableField
  116. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. def was: Int

    What value was the field's value when it was pulled from the DB?

    What value was the field's value when it was pulled from the DB?

    Definition Classes
    MappedField
  120. def writePermission_?: Boolean

    Given the current execution state, can the field be written?

    Given the current execution state, can the field be written?

    Definition Classes
    MappedIntIndexMappedIntMappedField

Deprecated Value Members

  1. def is: Int

    Get the value.

    Get the value. Use get.

    Definition Classes
    MappedFieldValueHolder
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) Use get instead

Inherited from IndexedField[Int]

Inherited from BaseIndexedField

Inherited from MappedInt[T]

Inherited from MappedField[Int, T]

Inherited from Equals

Inherited from PSettableValueHolder[Int]

Inherited from PValueHolder[Int]

Inherited from BaseOwnedMappedField[T]

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 TypedField[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped