| java.lang.Object com.sourcetap.sfa.ui.UIUtility com.sourcetap.sfa.ui.UIWebUtility
UIWebUtility | public class UIWebUtility extends UIUtility (Code) | | DOCUMENT ME!
|
Method Summary | |
public static boolean | checkReservedParameterName(String paramName) | public static String | convertButtonAction(String action, HttpServletRequest request) | public static String | displayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, Vector entityDetailsVector) | public static String | displayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, String anchorHref, String anchorTarget) | public static String | getAttribFromParamName(String paramName) | public static String | getDbNameFromParamName(String reportName, String paramName) Converts a parameter variable name to a database name. | public static String | getEntityFromParamName(String paramName) | public static String | getHiddenArgs(HashMap keyMap, Vector entityDetailsVector, String spaces) | public static String | getHiddenArgs(HashMap keyMap, String spaces) | public static String | getHtmlName(String sectionName, UIFieldInfo fieldInfo, int row) | public static String | getHtmlName(String sectionName, String entityName, String attributeName, int row) | public static String | getHtmlNameOriginal(String sectionName, UIFieldInfo fieldInfo, int row) | public static String | getParamName(String htmlNamePrefix, String sectionName, String entityName, String attributeName, int row) | public static String | getPrefixFromParamName(String paramName) | public static String | getRowFromParamName(String paramName) | public static String | getSectionNameFromParamName(String paramName) | public static String | getUrlArgs(HashMap keyMap, Vector entityDetailsVector) | public static String | javaNameToDbName(String javaName) Converts a Java variable name to a database name. | public static String | translateAttribAlign(String attribAlign) | public static String | translateAttribAnchorHrefDef(String attribAnchorHrefDef, Vector genericValueVector, String currentFieldName) | public static String | translateAttribAnchorTarget(String attribAnchorTarget) | public static String | translateAttribClass(String attribClass) | public static String | translateAttribCols(String attribCols) | public static String | translateAttribDisabled(String attribDisabled) | public static String | translateAttribEntityName(String attribEntityName) | public static String | translateAttribEventHandling(String attribEventHandling) | public static String | translateAttribFieldName(String attribFieldName) | public static String | translateAttribFindClass(String attribFindClass) | public static String | translateAttribIdName(String attribIdName) | public static String | translateAttribMaxLength(String attribMaxLength, String defaultMaxLength) | public static String | translateAttribReadOnly(String attribReadOnly) | public static String | translateAttribRows(String attribRows) | public static String | translateAttribSize(String attribSize) | public static String | translateAttribWrap(String attribWrap) | public static String | writeConfirmDeleteScript() | public static String | writeVerifyRequiredScript(String sectionName, ArrayList requiredFields) |
HTML_COMPOSITE_FORM_NAME | final public static String HTML_COMPOSITE_FORM_NAME(Code) | | |
HTML_NAME_PREFIX_CURRENT | final public static String HTML_NAME_PREFIX_CURRENT(Code) | | |
HTML_NAME_PREFIX_ORIGINAL | final public static String HTML_NAME_PREFIX_ORIGINAL(Code) | | |
UIWebUtility | public UIWebUtility()(Code) | | |
checkReservedParameterName | public static boolean checkReservedParameterName(String paramName)(Code) | | DOCUMENT ME!
Parameters: paramName - |
displayFieldReadOnly | public static String displayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, Vector entityDetailsVector)(Code) | | DOCUMENT ME!
Parameters: uiDisplayObject - Parameters: htmlName - Parameters: dataValue - Parameters: displayValue - Parameters: entityDetailsVector - |
displayFieldReadOnly | public static String displayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, String anchorHref, String anchorTarget)(Code) | | DOCUMENT ME!
Parameters: uiDisplayObject - Parameters: htmlName - Parameters: dataValue - Parameters: displayValue - Parameters: anchorHref - Parameters: anchorTarget - |
getAttribFromParamName | public static String getAttribFromParamName(String paramName)(Code) | | DOCUMENT ME!
Parameters: paramName - |
getDbNameFromParamName | public static String getDbNameFromParamName(String reportName, String paramName)(Code) | | Converts a parameter variable name to a database name.
The naming conventions used to allow for this are as follows:
a database name (table or column) is in all capital letters,
and the words are separated by an underscore
(for example: NEAT_ENTITY_NAME or RANDOM_FIELD_NAME);
a parameter name or screens section name is a mix of
upper and lowercase with underscores mixed in.
The parameter name follows the format:
[original value][screensection][entity][attribute][number]
For example "AccountListReportQuery_Account_accountName_0"
[][AccountListReportQuery][Account][accountName][0]
will return ACCOUNT.ACCOUNT_NAME
Parameters: reportName - the screen section used for the report Parameters: paramName - the parameter name on the form generated by the ui screen builder The database name |
getEntityFromParamName | public static String getEntityFromParamName(String paramName)(Code) | | DOCUMENT ME!
Parameters: paramName - |
getHiddenArgs | public static String getHiddenArgs(HashMap keyMap, Vector entityDetailsVector, String spaces)(Code) | | DOCUMENT ME!
Parameters: keyMap - Parameters: entityDetailsVector - Parameters: spaces - |
getHiddenArgs | public static String getHiddenArgs(HashMap keyMap, String spaces)(Code) | | DOCUMENT ME!
Parameters: keyMap - Parameters: spaces - |
getHtmlName | public static String getHtmlName(String sectionName, UIFieldInfo fieldInfo, int row)(Code) | | DOCUMENT ME!
Parameters: sectionName - Parameters: fieldInfo - Parameters: row - |
getHtmlNameOriginal | public static String getHtmlNameOriginal(String sectionName, UIFieldInfo fieldInfo, int row)(Code) | | DOCUMENT ME!
Parameters: sectionName - Parameters: fieldInfo - Parameters: row - |
getParamName | public static String getParamName(String htmlNamePrefix, String sectionName, String entityName, String attributeName, int row)(Code) | | DOCUMENT ME!
Parameters: htmlNamePrefix - Parameters: sectionName - Parameters: entityName - Parameters: attributeName - Parameters: row - |
getPrefixFromParamName | public static String getPrefixFromParamName(String paramName)(Code) | | DOCUMENT ME!
Parameters: paramName - |
getRowFromParamName | public static String getRowFromParamName(String paramName)(Code) | | DOCUMENT ME!
Parameters: paramName - |
getSectionNameFromParamName | public static String getSectionNameFromParamName(String paramName)(Code) | | DOCUMENT ME!
Parameters: paramName - |
getUrlArgs | public static String getUrlArgs(HashMap keyMap, Vector entityDetailsVector)(Code) | | DOCUMENT ME!
Parameters: keyMap - Parameters: entityDetailsVector - |
javaNameToDbName | public static String javaNameToDbName(String javaName)(Code) | | Converts a Java variable name to a database name.
The naming conventions used to allow for this are as follows:
a database name (table or column) is in all capital letters,
and the words are separated by an underscore
(for example: NEAT_ENTITY_NAME or RANDOM_FIELD_NAME);
a Java name (ejb or field) is in all lower case letters,
except the letter at the beginning of each word
(for example: NeatEntityName or RandomFieldName).
The convention of using a capital letter at the beginning of a class name in Java,
or a lower-case letter for the beginning of a variable name in Java is also used
along with the Java name convention above.
Parameters: javaName - The Java variable name The database name |
translateAttribAlign | public static String translateAttribAlign(String attribAlign)(Code) | | DOCUMENT ME!
Parameters: attribAlign - |
translateAttribAnchorHrefDef | public static String translateAttribAnchorHrefDef(String attribAnchorHrefDef, Vector genericValueVector, String currentFieldName)(Code) | | DOCUMENT ME!
Parameters: attribAnchorHrefDef - Parameters: genericValueVector - Parameters: currentFieldName - |
translateAttribAnchorTarget | public static String translateAttribAnchorTarget(String attribAnchorTarget)(Code) | | DOCUMENT ME!
Parameters: attribAnchorTarget - |
translateAttribClass | public static String translateAttribClass(String attribClass)(Code) | | DOCUMENT ME!
Parameters: attribClass - |
translateAttribCols | public static String translateAttribCols(String attribCols)(Code) | | DOCUMENT ME!
Parameters: attribCols - |
translateAttribDisabled | public static String translateAttribDisabled(String attribDisabled)(Code) | | DOCUMENT ME!
Parameters: attribDisabled - |
translateAttribEntityName | public static String translateAttribEntityName(String attribEntityName)(Code) | | DOCUMENT ME!
Parameters: attribEntityName - |
translateAttribEventHandling | public static String translateAttribEventHandling(String attribEventHandling)(Code) | | DOCUMENT ME!
Parameters: attribEventHandling - |
translateAttribFieldName | public static String translateAttribFieldName(String attribFieldName)(Code) | | DOCUMENT ME!
Parameters: attribFieldName - |
translateAttribFindClass | public static String translateAttribFindClass(String attribFindClass)(Code) | | DOCUMENT ME!
Parameters: attribFindClass - |
translateAttribIdName | public static String translateAttribIdName(String attribIdName)(Code) | | DOCUMENT ME!
Parameters: attribIdName - |
translateAttribMaxLength | public static String translateAttribMaxLength(String attribMaxLength, String defaultMaxLength)(Code) | | DOCUMENT ME!
Parameters: attribMaxLength - Parameters: defaultMaxLength - |
translateAttribReadOnly | public static String translateAttribReadOnly(String attribReadOnly)(Code) | | DOCUMENT ME!
Parameters: attribReadOnly - |
translateAttribRows | public static String translateAttribRows(String attribRows)(Code) | | DOCUMENT ME!
Parameters: attribRows - |
translateAttribSize | public static String translateAttribSize(String attribSize)(Code) | | DOCUMENT ME!
Parameters: attribSize - |
translateAttribWrap | public static String translateAttribWrap(String attribWrap)(Code) | | DOCUMENT ME!
Parameters: attribWrap - |
writeConfirmDeleteScript | public static String writeConfirmDeleteScript()(Code) | | DOCUMENT ME!
|
writeVerifyRequiredScript | public static String writeVerifyRequiredScript(String sectionName, ArrayList requiredFields)(Code) | | DOCUMENT ME!
Parameters: sectionName - Parameters: requiredFields - |
Methods inherited from com.sourcetap.sfa.ui.UIUtility | public static boolean addSelectSearch(QueryInfo queryInfo, String displayObjectId, String entityName, String attributeName, String aliasName, EntityComparisonOperator searchOperator, Object searchValue)(Code)(Java Doc) public static String decodeAttributeValue(String attributeValueSource, Vector entityDetailsVector, String currentAttibuteName) throws GenericEntityException(Code)(Java Doc) public static String decodeEntityDisplayDef(String entityDisplayDef, Vector genericValueVector, String currentAttibuteName)(Code)(Java Doc) public static HashMap decodeEntityFindDef(String entityFindDef, Vector entityDetailsVector, String currentAttributeName)(Code)(Java Doc) public static String getAttributeId(GenericDelegator delegator, String searchAttribName, String searchEntityName) throws GenericEntityException(Code)(Java Doc) public static String getAttributeValue(Vector entityDetailsVector, String entityName, String attributeName)(Code)(Java Doc) public static GenericValue getEntityValue(Vector entityDetailsVector, String entityName)(Code)(Java Doc) public static GenericEventProcessor getEventProcessor(String className)(Code)(Java Doc) public static boolean getIsCopiedPrimaryKey(String action, UIFieldInfo fieldInfo)(Code)(Java Doc) public static GenericValue getReadOnlyValue(String fieldValue, String attributeName, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, GenericDelegator delegator)(Code)(Java Doc) public static UIDropDown getUIDropDown(String className)(Code)(Java Doc) public static UISearchField getUISearchField(String className)(Code)(Java Doc) public static List removeSelectedEligibleEntities(List selectedEntityPKL, List eligibleEntityL)(Code)(Java Doc)
|
|
|