| java.lang.Object com.sourcetap.sfa.ui.UIUtility
All known Subclasses: com.sourcetap.sfa.ui.UIWebUtility,
UIUtility | public class UIUtility (Code) | | DOCUMENT ME!
|
Method Summary | |
public static boolean | addSelectSearch(QueryInfo queryInfo, String displayObjectId, String entityName, String attributeName, String aliasName, EntityComparisonOperator searchOperator, Object searchValue) | public static String | decodeAttributeValue(String attributeValueSource, Vector entityDetailsVector, String currentAttibuteName) | public static String | decodeEntityDisplayDef(String entityDisplayDef, Vector genericValueVector, String currentAttibuteName) | public static HashMap | decodeEntityFindDef(String entityFindDef, Vector entityDetailsVector, String currentAttributeName) | public static String | getAttributeId(GenericDelegator delegator, String searchAttribName, String searchEntityName) | public static String | getAttributeValue(Vector entityDetailsVector, String entityName, String attributeName) | public static GenericValue | getEntityValue(Vector entityDetailsVector, String entityName) | public static GenericEventProcessor | getEventProcessor(String className) Instantiates GenericEventProcessor or one of its descendant classes. | public static boolean | getIsCopiedPrimaryKey(String action, UIFieldInfo fieldInfo) | public static GenericValue | getReadOnlyValue(String fieldValue, String attributeName, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, GenericDelegator delegator) Looks up the read-only value for the field to be shown on the screen instead
of a drop down select because the mode is read-only.
author: John Nutting Parameters: fieldValue - Value stored or to be stored in the data base. | public static UIDropDown | getUIDropDown(String className) Instantiates UIDropDown or one of its descendant classes. | public static UISearchField | getUISearchField(String className) Instantiates UISearchField or one of its descendant classes. | public static List | removeSelectedEligibleEntities(List selectedEntityPKL, List eligibleEntityL) |
decodeEntityDisplayDef | public static String decodeEntityDisplayDef(String entityDisplayDef, Vector genericValueVector, String currentAttibuteName)(Code) | | DOCUMENT ME!
Parameters: entityDisplayDef - Parameters: genericValueVector - Parameters: currentAttibuteName - |
decodeEntityFindDef | public static HashMap decodeEntityFindDef(String entityFindDef, Vector entityDetailsVector, String currentAttributeName)(Code) | | DOCUMENT ME!
Parameters: entityFindDef - Parameters: entityDetailsVector - Parameters: currentAttibuteName - |
getAttributeValue | public static String getAttributeValue(Vector entityDetailsVector, String entityName, String attributeName)(Code) | | DOCUMENT ME!
Parameters: entityDetailsVector - Parameters: entityName - Parameters: attributeName - |
getEntityValue | public static GenericValue getEntityValue(Vector entityDetailsVector, String entityName)(Code) | | DOCUMENT ME!
Parameters: entityDetailsVector - Parameters: entityName - |
getIsCopiedPrimaryKey | public static boolean getIsCopiedPrimaryKey(String action, UIFieldInfo fieldInfo)(Code) | | DOCUMENT ME!
Parameters: action - Parameters: fieldInfo - |
getReadOnlyValue | public static GenericValue getReadOnlyValue(String fieldValue, String attributeName, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, GenericDelegator delegator)(Code) | | Looks up the read-only value for the field to be shown on the screen instead
of a drop down select because the mode is read-only.
author: John Nutting Parameters: fieldValue - Value stored or to be stored in the data base. Used as the primary key to look up the value to be displayed. Parameters: attributeName - Name of the attribute being displayed Parameters: uiDisplayObject - Reference to a display object defined in the data base and attached to the field to be displayed by the UI builder Parameters: entityDetailsVector - Vector that holds one or more generic values from which the display value can be decoded Parameters: delegator - Reference to the OFBIZ delegator being used to connect to the data base Array containing the data value and display value. |
getUIDropDown | public static UIDropDown getUIDropDown(String className)(Code) | | Instantiates UIDropDown or one of its descendant classes.
Parameters: className - The class to be instantiated Object of class specified by className parameter See Also: com.sourcetap.sfa.ui.UIDropDown |
removeSelectedEligibleEntities | public static List removeSelectedEligibleEntities(List selectedEntityPKL, List eligibleEntityL)(Code) | | DOCUMENT ME!
Parameters: selectedEntityPKL - Parameters: eligibleEntityL - |
|
|