info.rolandkrueger.roklib.webapps.urldispatching.urlparameters
Class SingleLongURLParameter

java.lang.Object
  extended by info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractURLParameter<V>
      extended by info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractSingleURLParameter<Long>
          extended by info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.SingleLongURLParameter
All Implemented Interfaces:
IURLParameter<Long>, Serializable
Direct Known Subclasses:
SingleLongWithIgnoredTextURLParameter

public class SingleLongURLParameter
extends AbstractSingleURLParameter<Long>

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractURLParameter
mError, mValue
 
Constructor Summary
SingleLongURLParameter(String parameterName)
           
SingleLongURLParameter(String parameterName, Long defaultValue)
           
 
Method Summary
protected  boolean consumeImpl(Map<String,List<String>> parameters)
           
protected  boolean consumeListImpl(String[] values)
           
private  boolean consumeValue(String stringValue)
           
 AbstractURLActionCommand getErrorCommandIfInvalid()
           
 
Methods inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractSingleURLParameter
getParameterName, getParameterNames, getSingleValueCount, parameterizeURLHandler, toString
 
Methods inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractURLParameter
clearValue, consume, consumeList, getError, getValue, hasValue, isOptional, setDefaultValue, setError, setOptional, setValue, setValueAndParameterizeURLHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SingleLongURLParameter

public SingleLongURLParameter(String parameterName)

SingleLongURLParameter

public SingleLongURLParameter(String parameterName,
                              Long defaultValue)
Method Detail

consumeImpl

protected boolean consumeImpl(Map<String,List<String>> parameters)
Specified by:
consumeImpl in class AbstractURLParameter<Long>

consumeListImpl

protected boolean consumeListImpl(String[] values)
Specified by:
consumeListImpl in class AbstractURLParameter<Long>

consumeValue

private boolean consumeValue(String stringValue)

getErrorCommandIfInvalid

public AbstractURLActionCommand getErrorCommandIfInvalid()


Copyright © 2007-2011. All Rights Reserved.