|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Callback interface for UIFormAdaptor providing IDLookup, NameLookup, and dynamic form processing functions.
| Method Summary | |
void |
doActionAddHook(UIFormContext uifc)
Given the UIFormContext which will be used to present a new form for the user to fill out, preprocess as needed before returning control to the UIFormManager. |
void |
doActionEditHook(UIFormContext uifc)
Given the UIFormContext which will be used to present a form for editing an existing instance, preprocess as needed before returning control to the UIFormManager. |
void |
doActionFindHook(UIFormContext uifc)
Given the UIFormContext reconstructed on an ACTION_FIND, preprocess as needed before returning control to the UIFormManager. |
java.lang.String |
filterDisplayText(java.lang.String text)
Given the source text for display, perform any alterations that are necessary and return the result. |
java.util.Map |
filterInputParameters(java.lang.String prefix,
java.util.Map params,
java.lang.StringBuffer outText)
Given a map of input parameters, filter as necessary and return the result. |
ArrayAssociation |
getSelectionValues(SandInstanceMessage msg,
java.lang.String fieldname,
AuthUser user)
Return a matched set of arrays to be used for selecting a field value for the given field name in the given SandInstanceMessage. |
void |
log(int severity,
java.lang.String msg)
Log the given text at the given Logger severity level. |
| Methods inherited from interface org.sandev.basics.util.IDLookup |
getInstance |
| Methods inherited from interface org.sandev.basics.util.NameLookup |
getInstance |
| Methods inherited from interface org.sandev.basics.util.UIFileLocator |
getInboundFilesDir, getInboundFilesLink, getOutboundFilesDir, getOutboundFilesLink, setInboundFilesLink, setOutboundFilesLink |
| Method Detail |
public ArrayAssociation getSelectionValues(SandInstanceMessage msg,
java.lang.String fieldname,
AuthUser user)
A UIFormAdaptor will render the field selection for editing using the display text. On reconstruction, the message field value will be set by looking up the corresponding real value for the selected display text value. If this method returns null, then the default rendering/reconstruction for that field type is used.
public void doActionFindHook(UIFormContext uifc)
public void doActionAddHook(UIFormContext uifc)
public void doActionEditHook(UIFormContext uifc)
public java.lang.String filterDisplayText(java.lang.String text)
This method is intended to support things like remapping of URLs within text, filtering of words in descriptions and other similar low level text manipulation as required. It is not intended for general display level presentation remapping, use template transformation for that.
public java.util.Map filterInputParameters(java.lang.String prefix,
java.util.Map params,
java.lang.StringBuffer outText)
throws UIFormAdaptorException
This method is not intended for general display level presentation parsing, it exists to provide a hook for specific parameters that may need to be rationalized or sanitized for normal processing.
UIFormAdaptorException
public void log(int severity,
java.lang.String msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||