trait JsonCommand extends Command with JsonTypeConverterFactories
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonCommand
- JsonTypeConverterFactories
- JsonBindingImplicits
- JsonImplicitConversions
- BindingImplicits
- DefaultImplicitConversions
- LowPriorityImplicitConversions
- LowestPriorityImplicitConversions
- TypeConverterSupport
- Command
- ParamsValueReaderProperties
- BindingSyntax
- BindingValidatorImplicits
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
CommandTypeConverterFactory[T] = JsonTypeConverterFactory[T]
- Definition Classes
- JsonCommand → Command
Abstract Value Members
-
implicit abstract
def
jsonFormats: Formats
- Attributes
- protected
- Definition Classes
- JsonImplicitConversions
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>>[S](handler: (JsonCommand.this.type) ⇒ S)(implicit executor: ExecutorView[S]): S
- Definition Classes
- Command
-
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
-
implicit
val
anyToBoolean: TypeConverter[Any, Boolean]
- Definition Classes
- LowPriorityImplicitConversions
-
implicit
val
anyToByte: TypeConverter[Any, Byte]
- Definition Classes
- LowPriorityImplicitConversions
-
implicit
val
anyToDouble: TypeConverter[Any, Double]
- Definition Classes
- LowPriorityImplicitConversions
-
implicit
val
anyToFloat: TypeConverter[Any, Float]
- Definition Classes
- LowPriorityImplicitConversions
-
implicit
val
anyToInt: TypeConverter[Any, Int]
- Definition Classes
- LowPriorityImplicitConversions
-
implicit
val
anyToLong: TypeConverter[Any, Long]
- Definition Classes
- LowPriorityImplicitConversions
-
implicit
val
anyToShort: TypeConverter[Any, Short]
- Definition Classes
- LowPriorityImplicitConversions
-
implicit
val
anyToString: TypeConverter[Any, String]
- Definition Classes
- LowPriorityImplicitConversions
-
def
apply[S](handler: (JsonCommand.this.type) ⇒ S)(implicit executor: ExecutorView[S]): S
- Definition Classes
- Command
-
def
asBigDecimal(name: String): FieldDescriptor[BigDecimal]
- Definition Classes
- BindingSyntax
-
def
asBoolean(name: String): FieldDescriptor[Boolean]
- Definition Classes
- BindingSyntax
-
def
asByte(name: String): FieldDescriptor[Byte]
- Definition Classes
- BindingSyntax
-
def
asDate(name: String): FieldDescriptor[Date]
- Definition Classes
- BindingSyntax
-
def
asDateTime(name: String): FieldDescriptor[DateTime]
- Definition Classes
- BindingSyntax
-
def
asDouble(name: String): FieldDescriptor[Double]
- Definition Classes
- BindingSyntax
-
def
asFloat(name: String): FieldDescriptor[Float]
- Definition Classes
- BindingSyntax
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asInt(name: String): FieldDescriptor[Int]
- Definition Classes
- BindingSyntax
-
def
asLong(name: String): FieldDescriptor[Long]
- Definition Classes
- BindingSyntax
-
def
asSeq[T](name: String)(implicit arg0: Manifest[T]): FieldDescriptor[Seq[T]]
- Definition Classes
- BindingSyntax
-
def
asShort(name: String): FieldDescriptor[Short]
- Definition Classes
- BindingSyntax
-
def
asString(name: String): FieldDescriptor[String]
- Definition Classes
- BindingSyntax
-
implicit
def
asType[T](name: String)(implicit arg0: Manifest[T]): FieldDescriptor[T]
- Definition Classes
- BindingSyntax
-
implicit
def
autoBind[T](fieldName: String)(implicit arg0: Manifest[T], arg1: TypeConverterFactory[T]): Field[T]
- Definition Classes
- Command
-
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
-
implicit
def
bind[T](field: FieldDescriptor[T])(implicit mf: Manifest[T], conv: TypeConverterFactory[T]): FieldDescriptor[T]
- Definition Classes
- Command
-
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]]): JsonCommand.this.type
- Definition Classes
- Command
-
implicit
def
binding2field[T](field: FieldDescriptor[T])(implicit arg0: Manifest[T], arg1: TypeConverterFactory[T]): Field[T]
- Definition Classes
- Command
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
commandDescription: String
- Definition Classes
- Command
-
val
commandName: String
- Definition Classes
- Command
-
implicit
def
defaultStringToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[String, Seq[T]]
- Definition Classes
- DefaultImplicitConversions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
def
execute[S](handler: (JsonCommand.this.type) ⇒ S)(implicit executor: ExecutorView[S]): S
- Definition Classes
- Command
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isInvalid: Boolean
- Definition Classes
- Command
-
def
isValid: Boolean
Check whether this command is valid.
Check whether this command is valid.
- Definition Classes
- Command
-
implicit
val
jsonToBigInt: TypeConverter[JValue, BigInt]
- Definition Classes
- JsonImplicitConversions
-
implicit
val
jsonToBoolean: TypeConverter[JValue, Boolean]
- Definition Classes
- JsonImplicitConversions
-
implicit
val
jsonToByte: TypeConverter[JValue, Byte]
- Definition Classes
- JsonImplicitConversions
-
implicit
def
jsonToDate(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[JValue, Date]
- Definition Classes
- JsonBindingImplicits
-
def
jsonToDate(format: ⇒ String): TypeConverter[JValue, Date]
- Definition Classes
- JsonImplicitConversions
-
implicit
def
jsonToDateConversion(source: JValue): JsonDateConversion[JValue]
- Definition Classes
- JsonImplicitConversions
-
def
jsonToDateFormat(format: ⇒ DateFormat): TypeConverter[JValue, Date]
- Definition Classes
- JsonImplicitConversions
-
implicit
def
jsonToDateTime(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[JValue, DateTime]
- Definition Classes
- JsonBindingImplicits
-
implicit
val
jsonToDouble: TypeConverter[JValue, Double]
- Definition Classes
- JsonImplicitConversions
-
implicit
val
jsonToFloat: TypeConverter[JValue, Float]
- Definition Classes
- JsonImplicitConversions
-
implicit
val
jsonToInt: TypeConverter[JValue, Int]
- Definition Classes
- JsonImplicitConversions
-
implicit
val
jsonToLong: TypeConverter[JValue, Long]
- Definition Classes
- JsonImplicitConversions
-
implicit
val
jsonToSelf: TypeConverter[JValue, String]
- Definition Classes
- JsonImplicitConversions
-
implicit
def
jsonToSeq[T](implicit elementConverter: TypeConverter[JValue, T], mf: Manifest[T]): TypeConverter[JValue, Seq[T]]
- Definition Classes
- JsonImplicitConversions
-
implicit
def
jsonToSeqConversion(source: JValue): AnyRef { def asSeq[T](implicit mf: Manifest[T],implicit tc: org.scalatra.util.conversion.TypeConverter[org.json4s.JValue,T]): Option[Seq[T]] }
- Definition Classes
- JsonImplicitConversions
-
implicit
val
jsonToShort: TypeConverter[JValue, Short]
- Definition Classes
- JsonImplicitConversions
-
implicit
def
jsonToValTypeConversion(source: JValue): JsonValConversion[JValue]
- Definition Classes
- JsonImplicitConversions
-
implicit
def
jsonTypeConverterFactory[T](implicit seqConverter: TypeConverter[Seq[String], T], stringConverter: TypeConverter[String, T], jsonConverter: TypeConverter[JValue, T], formats: Formats): TypeConverterFactory[T]
- Definition Classes
- JsonTypeConverterFactories
-
implicit
def
lowestPriorityAny2T[T](implicit arg0: Manifest[T]): TypeConverter[Any, T]
- Definition Classes
- LowestPriorityImplicitConversions
-
implicit
def
multiMapHeadViewMapValueReader[T <: MultiMapHeadView[String, String]](d: T): ValueReader[T, String]
- Definition Classes
- ParamsValueReaderProperties
-
implicit
def
multiParamsValueReader(d: MultiParams): ValueReader[MultiParams, Seq[String]]
- Definition Classes
- ParamsValueReaderProperties
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
implicit
def
safe[S, T](f: (S) ⇒ T): TypeConverter[S, T]
- Definition Classes
- TypeConverterSupport
-
implicit
def
safeOption[S, T](f: (S) ⇒ Option[T]): TypeConverter[S, T]
Implicit convert a
(String) => Option[T]
function into aTypeConverter[T]
Implicit convert a
(String) => Option[T]
function into aTypeConverter[T]
- Definition Classes
- TypeConverterSupport
-
implicit
def
seqHead[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], T]
- Definition Classes
- DefaultImplicitConversions
-
implicit
def
seqToSeq[T](implicit elementConverter: TypeConverter[String, T], mf: Manifest[T]): TypeConverter[Seq[String], Seq[T]]
- Definition Classes
- DefaultImplicitConversions
-
implicit
def
stringMapValueReader(d: Map[String, String]): ValueReader[Map[String, String], String]
- Definition Classes
- ParamsValueReaderProperties
-
implicit
val
stringToBoolean: TypeConverter[String, Boolean]
- Definition Classes
- DefaultImplicitConversions
-
implicit
val
stringToByte: TypeConverter[String, Byte]
- Definition Classes
- DefaultImplicitConversions
-
implicit
def
stringToDate(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, Date]
- Definition Classes
- BindingImplicits
-
def
stringToDate(format: ⇒ String): TypeConverter[String, Date]
- Definition Classes
- DefaultImplicitConversions
-
def
stringToDateFormat(format: ⇒ DateFormat): TypeConverter[String, Date]
- Definition Classes
- DefaultImplicitConversions
-
implicit
def
stringToDateTime(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, DateTime]
- Definition Classes
- BindingImplicits
-
implicit
val
stringToDouble: TypeConverter[String, Double]
- Definition Classes
- DefaultImplicitConversions
-
implicit
val
stringToFloat: TypeConverter[String, Float]
- Definition Classes
- DefaultImplicitConversions
-
implicit
val
stringToInt: TypeConverter[String, Int]
- Definition Classes
- DefaultImplicitConversions
-
implicit
val
stringToLong: TypeConverter[String, Long]
- Definition Classes
- DefaultImplicitConversions
-
implicit
val
stringToSelf: TypeConverter[String, String]
- Definition Classes
- DefaultImplicitConversions
-
def
stringToSeq[T](elementConverter: TypeConverter[String, T], separator: String = ",")(implicit arg0: Manifest[T]): TypeConverter[String, Seq[T]]
- Definition Classes
- DefaultImplicitConversions
-
implicit
def
stringToSeqDate(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, Seq[Date]]
- Definition Classes
- BindingImplicits
-
implicit
def
stringToSeqDateTime(implicit df: DateParser = JodaDateFormats.Web): TypeConverter[String, Seq[DateTime]]
- Definition Classes
- BindingImplicits
-
implicit
val
stringToShort: TypeConverter[String, Short]
- Definition Classes
- DefaultImplicitConversions
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Command → AnyRef → Any
-
def
typeConverterBuilder[I](tc: CommandTypeConverterFactory[_]): PartialFunction[ValueReader[_, _], TypeConverter[I, _]]
- Definition Classes
- JsonCommand → Command
-
implicit
def
validatableGenericBinding[T](b: FieldDescriptor[T]): ValidatableGenericBinding[T]
- Definition Classes
- BindingValidatorImplicits
-
implicit
def
validatableOrderedBinding[T](b: FieldDescriptor[T])(implicit T: (T) ⇒ Ordered[T]): ValidatableOrdered[T]
- Definition Classes
- BindingValidatorImplicits
-
implicit
def
validatableSeqBinding[T <: Seq[_]](b: FieldDescriptor[T]): ValidatableSeq[T]
- Definition Classes
- BindingValidatorImplicits
-
implicit
def
validatableStringBinding(b: FieldDescriptor[String]): ValidatableStringBinding
- Definition Classes
- BindingValidatorImplicits
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )