Class PAttributeSearchUIDefinition
- java.lang.Object
-
- org.openbravo.client.kernel.reference.UIDefinition
-
- org.openbravo.client.kernel.reference.ForeignKeyUIDefinition
-
- org.openbravo.client.kernel.reference.FKSearchUIDefinition
-
- org.openbravo.client.kernel.reference.PAttributeSearchUIDefinition
-
public class PAttributeSearchUIDefinition extends FKSearchUIDefinition
-
-
Field Summary
-
Fields inherited from class org.openbravo.client.kernel.reference.UIDefinition
log
-
-
Constructor Summary
Constructors Constructor Description PAttributeSearchUIDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldProperties(Field field, boolean getValueFromSession)
Computes properties to initialize and set the field in a Smartclient form.String
getFormEditorType()
-
Methods inherited from class org.openbravo.client.kernel.reference.FKSearchUIDefinition
getFieldProperties
-
Methods inherited from class org.openbravo.client.kernel.reference.ForeignKeyUIDefinition
getDisplayFieldName, getFilterEditorPropertiesProperty, getFilterEditorType, getGridFieldProperties, getParentType, getSuperGridFieldName, getSuperGridFieldProperties, getTypeProperties
-
Methods inherited from class org.openbravo.client.kernel.reference.UIDefinition
convertToClassicString, createFromClassicString, createJsonValueFromClassicValueString, establishGridConfigurationSettings, formatValueFromSQL, formatValueToSQL, getCellAlign, getDataSourceParameters, getDefaultValue, getDefaultValueFromSQLExpression, getDomainType, getFieldPropertiesFirstRecord, getFieldPropertiesWithoutCombo, getFilterEditorProperties, getGridEditorFieldProperties, getGridEditorType, getGridFieldName, getName, getParameterProperties, getParameterWidth, getReadOnlyEditorType, getReference, getSafeBoolean, getShowHoverGridFieldSettings, getValueFromSQLDefault, getValueInComboReference, getValueInComboReference, parseSQL, readGridConfigurationSetting, removeAttributeFromString, setReference, showHover
-
-
-
-
Method Detail
-
getFormEditorType
public String getFormEditorType()
- Overrides:
getFormEditorType
in classFKSearchUIDefinition
- Returns:
- the form item type used for editing this reference in a form.
-
getFieldProperties
public String getFieldProperties(Field field, boolean getValueFromSession)
Description copied from class:UIDefinition
Computes properties to initialize and set the field in a Smartclient form. This can be the default value or the sets of values in the valuemap.- Overrides:
getFieldProperties
in classFKSearchUIDefinition
- Parameters:
field
- the field for which the information should be computed.- Returns:
- a JSONObject string which is used to initialize the formitem.
-
-