public abstract class FieldRefresher extends java.lang.Object
Constructor and Description |
---|
FieldRefresher() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSubmitValid(FormData fd)
There must be a way to figure out if the client hacked/delete/modified the
form before submitting it.
|
abstract void |
refresh(FormData fd)
Refresh the value of the field.
|
java.lang.String |
toString() |
public FieldRefresher()
public abstract void refresh(FormData fd) throws java.io.IOException, java.sql.SQLException
It is possible for the specified form data to be null.
fd
- the form data object, possibly null if there
is no submit data.java.io.IOException
java.sql.SQLException
public boolean isSubmitValid(FormData fd)
Dependency.isSubmitDataValid(fc.web.forms.FormData)
method.
This method can be implemented to check the submitted values and return
true if the submit was valid, false otherwise.
The default implementation always returns true.
public java.lang.String toString()
toString
in class java.lang.Object