|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PojoForm
begin Kuali Foundation modification This interface defines methods that Pojo Forms must provide. end Kuali Foundation modification
Method Summary | |
---|---|
void |
addRequiredNonEditableProperties()
This method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear. |
void |
clearEditablePropertyInformation()
Reinitializes the form to allow it to register the editable properties of the currently processing request. |
Object |
formatValue(Object value,
String keypath,
Class type)
|
Set<String> |
getEditableProperties()
|
boolean |
getIsNewForm()
|
Set<String> |
getMethodToCallsToBypassSessionRetrievalForGETRequests()
Returns a set of methodToCalls for which the system will bypass the session. |
Set<String> |
getRequiredNonEditableProperties()
|
Map |
getUnconvertedValues()
|
void |
populate(javax.servlet.http.HttpServletRequest request)
|
void |
postprocessRequestParameters(Map requestParameters)
|
void |
processValidationFail()
|
void |
registerEditableProperty(String editablePropertyName)
|
void |
registerIsNewForm(boolean isNewForm)
|
void |
registerStrutsActionMappingScope(String scope)
Sets the value of the "scope" attribute for the Struts action mapping corresponding to this form instance. |
void |
setActionEditablePropertiesGuid(String guid)
Sets the guid associated with the edited properties associated with the action |
void |
setPopulateEditablePropertiesGuid(String guid)
Sets the editable properties guid for this form |
boolean |
shouldPropertyBePopulatedInForm(String requestParameterName,
javax.servlet.http.HttpServletRequest request)
Returns whether a request parameter should be populated as a property of the form, assuming that the request parameter name corresponds to a property on the form. |
Method Detail |
---|
void populate(javax.servlet.http.HttpServletRequest request)
void postprocessRequestParameters(Map requestParameters)
Map getUnconvertedValues()
Object formatValue(Object value, String keypath, Class type)
void processValidationFail()
Set<String> getRequiredNonEditableProperties()
void registerEditableProperty(String editablePropertyName)
void clearEditablePropertyInformation()
Set<String> getEditableProperties()
void addRequiredNonEditableProperties()
void registerStrutsActionMappingScope(String scope)
scope
- void registerIsNewForm(boolean isNewForm)
boolean getIsNewForm()
boolean shouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request)
requestParameterName
- the name of the request parameterrequest
- the HTTP request
Set<String> getMethodToCallsToBypassSessionRetrievalForGETRequests()
PojoFormBase.getMethodToCallsToBypassSessionRetrievalForGETRequests()
for important implementation details.
void setPopulateEditablePropertiesGuid(String guid)
guid
- the key to the editable properties for this formvoid setActionEditablePropertiesGuid(String guid)
guid
- the guid of the action editable properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |