|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionFormElement
This interface represents formvalues submitted for a formelement by a client.
| Method Summary | |
|---|---|
void |
addError(java.lang.String errorMessage)
Adds an error to this instance. |
void |
addError(java.lang.String errorMessage,
java.lang.String code)
Adds an error to this instance. |
void |
addFormPart(SessionFormPart part)
Adds a formpart for this form element. |
void |
clearAllErrors()
Clears all errors for this element and all underlying formparts. |
java.lang.String |
getFormElementId()
Returns the id of the formelement for which this instances holds the submitted values. |
java.lang.String |
getFormId()
|
SessionFormPart |
getFormPart(java.lang.String formpartCode)
Retrieves a session formpart with the specified formpart code. |
java.util.List |
getFormParts()
|
java.lang.String |
getPageId()
|
void |
setFormParts(SessionFormPart[] formParts)
(Re) set the list of session formparts for this form element. |
| Method Detail |
|---|
java.lang.String getFormElementId()
void setFormParts(SessionFormPart[] formParts)
formParts - The new list of session formparts.void clearAllErrors()
void addError(java.lang.String errorMessage)
errorMessage - The error message that should be added
void addError(java.lang.String errorMessage,
java.lang.String code)
errorMessage - The error message that should be added.code - The code for the error message.void addFormPart(SessionFormPart part)
part - The session formpart that should be addedSessionFormPart getFormPart(java.lang.String formpartCode)
formpartCode - The code of the part that should be retrieved.
null if
such a session formpart could not be retrieved.java.util.List getFormParts()
java.lang.String getFormId()
java.lang.String getPageId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||