|
||||||||||
| 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(java.lang.String strKey,
java.lang.String strMessage)
Add error in the list |
void |
addLastValue(java.lang.String strKey,
java.lang.Object lastValue)
Add last value to the map |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getErrors()
Get the map errors |
java.lang.Object |
getLastValue(java.lang.String strKey)
Get the last value from a given key |
java.util.Map<java.lang.String,java.lang.Object> |
getLastValues()
Get the map last values |
boolean |
hasError()
Check if there are errors |
boolean |
hasError(java.lang.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(java.lang.String strKey)
strKey - the key
public void addError(java.lang.String strKey,
java.lang.String strMessage)
strKey - the keystrMessage - the message
public void addLastValue(java.lang.String strKey,
java.lang.Object lastValue)
strKey - the keylastValue - the last valuepublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getErrors()
public java.util.Map<java.lang.String,java.lang.Object> getLastValues()
public java.lang.Object getLastValue(java.lang.String strKey)
strKey - the key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||