Object/Trait

io.teamscala.play.util.data

Forms

Related Docs: trait Forms | package data

Permalink

object Forms extends Forms

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Forms
  2. Forms
  3. Forms
  4. Forms
  5. Forms
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def enum[E <: Enumeration](enum: E): Mapping[enums.Forms.enum.E.Value]

    Permalink

    Constructs a simple mapping for a text field (mapped as scala.Enumeration)

    Constructs a simple mapping for a text field (mapped as scala.Enumeration)

    For example:

    Form("status" -> enum(Status))
    Definition Classes
    Forms
    Annotations
    @inline()
  7. def enumId[E <: Enumeration](enum: E): Mapping[enums.Forms.enumId.E.Value]

    Permalink

    Constructs a simple mapping for a text field (mapped as scala.Enumeration)

    Constructs a simple mapping for a text field (mapped as scala.Enumeration)

    For example:

    Form("status" -> enumId(Status))
    Definition Classes
    Forms
  8. def enumName[E <: Enumeration](enum: E): Mapping[enums.Forms.enumName.E.Value]

    Permalink

    Constructs a simple mapping for a text field (mapped as scala.Enumeration)

    Constructs a simple mapping for a text field (mapped as scala.Enumeration)

    For example:

    Form("status" -> enumName(Status))
    Definition Classes
    Forms
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def jodaDate(formatter: DateTimeFormatter): Mapping[DateTime]

    Permalink

    Constructs a simple mapping for a date field (mapped as org.joda.time.DateTime type).

    Constructs a simple mapping for a date field (mapped as org.joda.time.DateTime type).

    For example:

    val printer = ISODateTimeFormat.dateTime.getPrinter
    val parser = ISODateTimeFormat.dateTimeParser.getParser
    val formatter = new DateTimeFormatterBuilder().append(printer, parser).toFormatter
    Form("birthdate" -> jodaDate(formatter))
    formatter

    a date formatter

    Definition Classes
    Forms
  16. lazy val jodaIsoDate: Mapping[DateTime]

    Permalink

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.DateTime type).

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.DateTime type).

    For example:

    Form("birthdate" -> jodaIsoDate)
    Definition Classes
    Forms
  17. lazy val jodaIsoLocalDate: Mapping[LocalDate]

    Permalink

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.LocalDate type).

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.LocalDate type).

    For example:

    Form("birthdate" -> jodaIsoLocalDate)
    Definition Classes
    Forms
  18. lazy val jodaIsoLocalTime: Mapping[LocalTime]

    Permalink

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.LocalTime type).

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.LocalTime type).

    For example:

    Form("birthdate" -> jodaIsoLocalTime)
    Definition Classes
    Forms
  19. lazy val jodaIsoPeriod: Mapping[Period]

    Permalink

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.Period type).

    Constructs a simple mapping for a ISO8601 date field (mapped as org.joda.time.Period type).

    For example:

    Form("period" -> jodaIsoPeriod)
    Definition Classes
    Forms
  20. def jodaLocalDate(formatter: DateTimeFormatter): Mapping[LocalDate]

    Permalink

    Constructs a simple mapping for a date field (mapped as org.joda.time.LocalDate type).

    Constructs a simple mapping for a date field (mapped as org.joda.time.LocalDate type).

    For example:

    val printer = ISODateTimeFormat.date.getPrinter
    val parser = ISODateTimeFormat.dateTimeParser.getParser
    val formatter = new DateTimeFormatterBuilder().append(printer, parser).toFormatter
    Form("birthdate" -> jodaLocalDate(formatter))
    formatter

    a date formatter

    Definition Classes
    Forms
  21. def jodaLocalTime(formatter: DateTimeFormatter): Mapping[LocalTime]

    Permalink

    Constructs a simple mapping for a date field (mapped as org.joda.time.LocalTime type).

    Constructs a simple mapping for a date field (mapped as org.joda.time.LocalTime type).

    For example:

    val printer = ISODateTimeFormat.time.getPrinter
    val parser = ISODateTimeFormat.timeParser.getParser
    val formatter = new DateTimeFormatterBuilder().append(printer, parser).toFormatter
    Form("birthdate" -> jodaLocalTime(formatter))
    formatter

    a date formatter

    Definition Classes
    Forms
  22. def jodaPeriod(formatter: PeriodFormatter): Mapping[Period]

    Permalink

    Constructs a simple mapping for a date field (mapped as org.joda.time.Period type).

    Constructs a simple mapping for a date field (mapped as org.joda.time.Period type).

    For example:

    Form("period" -> jodaPeriod(ISOPeriodFormat.standard))
    formatter

    a date formatter

    Definition Classes
    Forms
  23. def limit[T](implicit m: Mapping[T]): Mapping[Limit[T]]

    Permalink
    Definition Classes
    Forms
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Forms

Inherited from vo.Forms

Inherited from joda.Forms

Inherited from enums.Forms

Inherited from AnyRef

Inherited from Any

Ungrouped