|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.commons.ErrorObject
org.apache.empire.struts2.actionsupport.FormActionSupport
org.apache.empire.struts2.actionsupport.RecordFormActionSupport
public abstract class RecordFormActionSupport
Method Summary | |
---|---|
java.lang.Object[] |
getActionParamKey()
Returns the record key. |
boolean |
getActionParamNewFlag()
Returns a flag whether or not the current record is a new record. |
SessionPersistence |
getPersistence()
|
abstract org.apache.empire.data.Record |
getRecord()
|
java.lang.String |
getRecordKeyString()
|
java.lang.String |
getRequestFieldName(org.apache.empire.data.Column column)
returns the name of a field as used in the form |
boolean |
hasActionKey(boolean acceptSessionKey)
Checks wether or not the record key is supplied |
boolean |
isNewRecord()
|
boolean |
loadFormData()
loads the data from the form into the current record object |
Methods inherited from class org.apache.empire.struts2.actionsupport.FormActionSupport |
---|
getRecordPropertyName, isEnableFieldErrors, setEnableFieldErrors |
Methods inherited from class org.apache.empire.commons.ErrorObject |
---|
clearError, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, isExceptionsEnabled, setExceptionsEnabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SessionPersistence getPersistence()
public abstract org.apache.empire.data.Record getRecord()
public java.lang.String getRecordKeyString()
public boolean isNewRecord()
public java.lang.String getRequestFieldName(org.apache.empire.data.Column column)
column
-
public boolean hasActionKey(boolean acceptSessionKey)
acceptSessionKey
- true if a key supplied on the session is acceptable or false otherwise
public java.lang.Object[] getActionParamKey()
public boolean getActionParamNewFlag()
public boolean loadFormData()
loadFormData
in class FormActionSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |