com.flexive.shared.value.mapper
Class NumberQueryInputMapper.AccountQueryInputMapper

java.lang.Object
  extended by com.flexive.shared.value.mapper.InputMapper<BaseType,FxString>
      extended by com.flexive.shared.value.mapper.NumberQueryInputMapper<java.lang.Long,FxLargeNumber>
          extended by com.flexive.shared.value.mapper.NumberQueryInputMapper.AccountQueryInputMapper
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
NumberQueryInputMapper<T,BaseType extends FxValue<T,?>>

public static class NumberQueryInputMapper.AccountQueryInputMapper
extends NumberQueryInputMapper<java.lang.Long,FxLargeNumber>

Maps account IDs to login names. The autocomplete options are provided by com.flexive.faces.javascript.AutoCompleteProvider#userQuery().

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.flexive.shared.value.mapper.NumberQueryInputMapper
NumberQueryInputMapper.AccountQueryInputMapper, NumberQueryInputMapper.ReferenceQueryInputMapper
 
Constructor Summary
NumberQueryInputMapper.AccountQueryInputMapper()
           
 
Method Summary
protected  FxLargeNumber doDecode(FxString value)
          Decode the mapped type.
 java.lang.String encodeId(java.lang.Long id)
           
 
Methods inherited from class com.flexive.shared.value.mapper.NumberQueryInputMapper
doEncode, getAvailableValueComparators
 
Methods inherited from class com.flexive.shared.value.mapper.InputMapper
applySettings, buildAutocompleteHandler, decode, encode, getAutocompleteHandler, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberQueryInputMapper.AccountQueryInputMapper

public NumberQueryInputMapper.AccountQueryInputMapper()
Method Detail

encodeId

public java.lang.String encodeId(java.lang.Long id)
Specified by:
encodeId in class NumberQueryInputMapper<java.lang.Long,FxLargeNumber>

doDecode

protected FxLargeNumber doDecode(FxString value)
Description copied from class: InputMapper
Decode the mapped type. Called after the mapped type has been updated in the user form.

Specified by:
doDecode in class InputMapper<FxLargeNumber,FxString>
Parameters:
value - the mapped value type, possibly modified by the user
Returns:
the corresponding base type