t

org.scalatra.commands

ParamsOnlyCommand

trait ParamsOnlyCommand extends TypeConverterFactories with Command

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParamsOnlyCommand
  2. Command
  3. ParamsValueReaderProperties
  4. BindingSyntax
  5. TypeConverterFactories
  6. BindingImplicits
  7. BindingValidatorImplicits
  8. DefaultImplicitConversions
  9. LowPriorityImplicitConversions
  10. LowestPriorityImplicitConversions
  11. TypeConverterSupport
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type CommandTypeConverterFactory[T] = TypeConverterFactory[T]
    Definition Classes
    ParamsOnlyCommandCommand

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. def >>[S](handler: (ParamsOnlyCommand.this.type) ⇒ S)(implicit executor: ExecutorView[S]): S
    Definition Classes
    Command
  5. def afterBinding(action: ⇒ Any): Unit

    Add an action that will be evaluated after field binding has been done.

    Add an action that will be evaluated after field binding has been done.

    Attributes
    protected
    Definition Classes
    Command
  6. implicit val anyToBoolean: TypeConverter[Any, Boolean]
  7. implicit val anyToByte: TypeConverter[Any, Byte]
  8. implicit val anyToDouble: TypeConverter[Any, Double]
  9. implicit val anyToFloat: TypeConverter[Any, Float]
  10. implicit val anyToInt: TypeConverter[Any, Int]
  11. implicit val anyToLong: TypeConverter[Any, Long]
  12. implicit val anyToShort: TypeConverter[Any, Short]
  13. implicit val anyToString: TypeConverter[Any, String]
  14. def apply[S](handler: (ParamsOnlyCommand.this.type) ⇒ S)(implicit executor: ExecutorView[S]): S
    Definition Classes
    Command
  15. def asBigDecimal(name: String): FieldDescriptor[BigDecimal]
    Definition Classes
    BindingSyntax
  16. def asBoolean(name: String): FieldDescriptor[Boolean]
    Definition Classes
    BindingSyntax
  17. def asByte(name: String): FieldDescriptor[Byte]
    Definition Classes
    BindingSyntax
  18. def asDate(name: String): FieldDescriptor[Date]
    Definition Classes
    BindingSyntax
  19. def asDateTime(name: String): FieldDescriptor[DateTime]
    Definition Classes
    BindingSyntax
  20. def asDouble(name: String): FieldDescriptor[Double]
    Definition Classes
    BindingSyntax
  21. def asFloat(name: String): FieldDescriptor[Float]
    Definition Classes
    BindingSyntax
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. def asInt(name: String): FieldDescriptor[Int]
    Definition Classes
    BindingSyntax
  24. def asLong(name: String): FieldDescriptor[Long]
    Definition Classes
    BindingSyntax
  25. def asSeq[T](name: String)(implicit arg0: Manifest[T]): FieldDescriptor[Seq[T]]
    Definition Classes
    BindingSyntax
  26. def asShort(name: String): FieldDescriptor[Short]
    Definition Classes
    BindingSyntax
  27. def asString(name: String): FieldDescriptor[String]
    Definition Classes
    BindingSyntax
  28. implicit def asType[T](name: String)(implicit arg0: Manifest[T]): FieldDescriptor[T]
    Definition Classes
    BindingSyntax
  29. implicit def autoBind[T](fieldName: String)(implicit arg0: Manifest[T], arg1: TypeConverterFactory[T]): Field[T]
    Definition Classes
    Command
  30. def beforeBinding(action: ⇒ Any): Unit

    Add an action that will be evaluated before field binding occurs.

    Add an action that will be evaluated before field binding occurs.

    Attributes
    protected
    Definition Classes
    Command
  31. implicit def bind[T](field: FieldDescriptor[T])(implicit mf: Manifest[T], conv: TypeConverterFactory[T]): FieldDescriptor[T]
    Definition Classes
    Command
  32. def bindTo[S, I](data: S, params: MultiParams = MultiMap.empty, headers: Map[String, String] = Map.empty)(implicit r: (S) ⇒ ValueReader[S, I], mi: Manifest[I], multiParams: (MultiParams) ⇒ ValueReader[MultiParams, Seq[String]]): ParamsOnlyCommand.this.type
    Definition Classes
    Command
  33. implicit def binding2field[T](field: FieldDescriptor[T])(implicit arg0: Manifest[T], arg1: TypeConverterFactory[T]): Field[T]
    Definition Classes
    Command
  34. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. val commandDescription: String
    Definition Classes
    Command
  36. val commandName: String
    Definition Classes
    Command
  37. implicit def defaultStringToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[String, Seq[T]]
    Definition Classes
    DefaultImplicitConversions
  38. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  40. def errors: Seq[Binding]

    Return a Map of all field command error keyed by field binding name (NOT the name of the variable in command object).

    Return a Map of all field command error keyed by field binding name (NOT the name of the variable in command object).

    Definition Classes
    Command
  41. def execute[S](handler: (ParamsOnlyCommand.this.type) ⇒ S)(implicit executor: ExecutorView[S]): S
    Definition Classes
    Command
  42. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  43. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  44. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def isInvalid: Boolean
    Definition Classes
    Command
  47. def isValid: Boolean

    Check whether this command is valid.

    Check whether this command is valid.

    Definition Classes
    Command
  48. implicit def lowestPriorityAny2T[T](implicit arg0: Manifest[T]): TypeConverter[Any, T]
  49. implicit def multiMapHeadViewMapValueReader[T <: MultiMapHeadView[String, String]](d: T): ValueReader[T, String]
    Definition Classes
    ParamsValueReaderProperties
  50. implicit def multiParamsValueReader(d: MultiParams): ValueReader[MultiParams, Seq[String]]
    Definition Classes
    ParamsValueReaderProperties
  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. final def notify(): Unit
    Definition Classes
    AnyRef
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  54. implicit def safe[S, T](f: (S) ⇒ T): TypeConverter[S, T]
    Definition Classes
    TypeConverterSupport
  55. implicit def safeOption[S, T](f: (S) ⇒ Option[T]): TypeConverter[S, T]

    Implicit convert a (String) => Option[T] function into a TypeConverter[T]

    Implicit convert a (String) => Option[T] function into a TypeConverter[T]

    Definition Classes
    TypeConverterSupport
  56. implicit def seqHead[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], T]
    Definition Classes
    DefaultImplicitConversions
  57. implicit def seqToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], Seq[T]]
    Definition Classes
    DefaultImplicitConversions
  58. implicit def stringMapValueReader(d: Map[String, String]): ValueReader[Map[String, String], String]
    Definition Classes
    ParamsValueReaderProperties
  59. implicit val stringToBoolean: TypeConverter[String, Boolean]
    Definition Classes
    DefaultImplicitConversions
  60. implicit val stringToByte: TypeConverter[String, Byte]
    Definition Classes
    DefaultImplicitConversions
  61. implicit def stringToDate(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, Date]
    Definition Classes
    BindingImplicits
  62. def stringToDate(format: ⇒ String): TypeConverter[String, Date]
    Definition Classes
    DefaultImplicitConversions
  63. def stringToDateFormat(format: ⇒ DateFormat): TypeConverter[String, Date]
    Definition Classes
    DefaultImplicitConversions
  64. implicit def stringToDateTime(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, DateTime]
    Definition Classes
    BindingImplicits
  65. implicit val stringToDouble: TypeConverter[String, Double]
    Definition Classes
    DefaultImplicitConversions
  66. implicit val stringToFloat: TypeConverter[String, Float]
    Definition Classes
    DefaultImplicitConversions
  67. implicit val stringToInt: TypeConverter[String, Int]
    Definition Classes
    DefaultImplicitConversions
  68. implicit val stringToLong: TypeConverter[String, Long]
    Definition Classes
    DefaultImplicitConversions
  69. implicit val stringToSelf: TypeConverter[String, String]
    Definition Classes
    DefaultImplicitConversions
  70. def stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String = ",")(implicit arg0: Manifest[T]): TypeConverter[String, Seq[T]]
    Definition Classes
    DefaultImplicitConversions
  71. implicit def stringToSeqDate(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, Seq[Date]]
    Definition Classes
    BindingImplicits
  72. implicit def stringToSeqDateTime(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, Seq[DateTime]]
    Definition Classes
    BindingImplicits
  73. implicit val stringToShort: TypeConverter[String, Short]
    Definition Classes
    DefaultImplicitConversions
  74. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  75. def toString(): String
    Definition Classes
    Command → AnyRef → Any
  76. def typeConverterBuilder[I](tc: CommandTypeConverterFactory[_]): PartialFunction[ValueReader[_, _], TypeConverter[I, _]]
    Definition Classes
    Command
  77. implicit def typeConverterFactory[A](implicit seqConverter: TypeConverter[Seq[String], A], stringConverter: TypeConverter[String, A]): TypeConverterFactory[A]
    Definition Classes
    TypeConverterFactories
  78. implicit def validatableGenericBinding[T](b: FieldDescriptor[T]): ValidatableGenericBinding[T]
    Definition Classes
    BindingValidatorImplicits
  79. implicit def validatableOrderedBinding[T](b: FieldDescriptor[T])(implicit T: (T) ⇒ Ordered[T]): ValidatableOrdered[T]
    Definition Classes
    BindingValidatorImplicits
  80. implicit def validatableSeqBinding[T <: Seq[_]](b: FieldDescriptor[T]): ValidatableSeq[T]
    Definition Classes
    BindingValidatorImplicits
  81. implicit def validatableStringBinding(b: FieldDescriptor[String]): ValidatableStringBinding
    Definition Classes
    BindingValidatorImplicits
  82. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Command

Inherited from BindingSyntax

Inherited from TypeConverterFactories

Inherited from BindingImplicits

Inherited from BindingValidatorImplicits

Inherited from TypeConverterSupport

Inherited from AnyRef

Inherited from Any

Ungrouped