|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.directory.authentication.web.FormErrors
public class FormErrors
FormErrors
| Constructor Summary | |
|---|---|
FormErrors()
Constructor |
|
| Method Summary | |
|---|---|
void |
addError(String strKey,
String strMessage)
Add error in the list |
void |
addLastValue(String strKey,
Object lastValue)
Add last value to the map |
Map<String,List<String>> |
getErrors()
Get the map errors |
Object |
getLastValue(String strKey)
Get the last value from a given key |
Map<String,Object> |
getLastValues()
Get the map last values |
boolean |
hasError()
Check if there are errors |
boolean |
hasError(String strKey)
Check if the given key has error |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormErrors()
| Method Detail |
|---|
public boolean hasError()
public boolean hasError(String strKey)
strKey - the key
public void addError(String strKey,
String strMessage)
strKey - the keystrMessage - the message
public void addLastValue(String strKey,
Object lastValue)
strKey - the keylastValue - the last valuepublic Map<String,List<String>> getErrors()
public Map<String,Object> getLastValues()
public Object getLastValue(String strKey)
strKey - the key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||