Interface FieldSettingsProvider
-
- All Superinterfaces:
Prioritizable
- All Known Implementing Classes:
RelevantCharacteristicFieldSettingsProvider
public interface FieldSettingsProvider extends Prioritizable
Allows to provide to theOBViewFieldHandler
the settings of the fields that are not backed by a column and therefore cannot be retrieved from the application dictionary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accepts(Field field)
Determines if theFieldSettingsProvider
is able to retrieve the field view properties of the given fieldUIDefinition
getUIDefinition(Field field)
Gets theUIDefinition
for the given fieldboolean
isReadOnly(Field field)
Determines if the given field must be displayed in read only mode-
Methods inherited from interface org.openbravo.base.Prioritizable
getPriority
-
-
-
-
Method Detail
-
accepts
boolean accepts(Field field)
Determines if theFieldSettingsProvider
is able to retrieve the field view properties of the given field- Parameters:
field
- The AD field- Returns:
true
if the field view properties can be retrieved with thisFieldSettingsProvider
or in any other case
-
getUIDefinition
UIDefinition getUIDefinition(Field field)
Gets theUIDefinition
for the given field- Parameters:
field
- The AD field- Returns:
true
if the field view properties can be retrieved with thisFieldSettingsProvider
or in any other case
-
isReadOnly
boolean isReadOnly(Field field)
Determines if the given field must be displayed in read only mode- Parameters:
field
- The AD field- Returns:
true
if the given field must be displayed in read only mode or in any other case
-
-