Package com.saperion.ngc.iform.system
Class SystemLookupQueryFormOptions
- java.lang.Object
-
- com.saperion.ngc.iform.system.SystemLookupQueryFormOptions
-
- All Implemented Interfaces:
java.io.Serializable
public class SystemLookupQueryFormOptions extends java.lang.Object implements java.io.SerializableOptions for theSystemLookupIndexForm.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SystemLookupQueryFormOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.saperion.ngc.iform.xml.ColumnType>getColumns()Returns the settings for the columns of the result set view of the form.intgetEnabledContextMenuItems()Returns the setting for the enabled context-menu-items of the result set view of the form.booleanisAutoSearch()SystemLookupQueryFormOptionssetAutoSearch(boolean autoSearch)SystemLookupQueryFormOptionssetColumns(java.util.List<com.saperion.ngc.iform.xml.ColumnType> columns)Sets the options for the columns of the result set view of the form.SystemLookupQueryFormOptionssetEnabledContextMenuItems(int contextMenuItems)Defines the setting for the enabled context-menu-items of the result set view of the form.
-
-
-
Method Detail
-
getColumns
public java.util.List<com.saperion.ngc.iform.xml.ColumnType> getColumns()
Returns the settings for the columns of the result set view of the form.- Returns:
- a list with the settings for the columns shown in the result set view of the form
-
setColumns
public SystemLookupQueryFormOptions setColumns(java.util.List<com.saperion.ngc.iform.xml.ColumnType> columns)
Sets the options for the columns of the result set view of the form. If null or empty, all non-system columns will be shown.- Parameters:
columns- list with settings for the columns- Returns:
- this
-
getEnabledContextMenuItems
public int getEnabledContextMenuItems()
Returns the setting for the enabled context-menu-items of the result set view of the form.- Returns:
- a bitmask containing the setting for the enabled context menu items of the
result set view consisting of the options defined by:
ResultSetView.RSS_BUTTONEDITResultSetView.RSS_BUTTONDELETEResultSetView.RSS_BUTTONNEWResultSetView.RSS_BUTTONSECURITY
EditFieldType.getResStyle().
-
setEnabledContextMenuItems
public SystemLookupQueryFormOptions setEnabledContextMenuItems(int contextMenuItems)
Defines the setting for the enabled context-menu-items of the result set view of the form.- Parameters:
contextMenuItems- a bitmask containing the setting for the enabled context menu items of the result set view consisting of the options defined by:ResultSetView.RSS_BUTTONEDITResultSetView.RSS_BUTTONDELETEResultSetView.RSS_BUTTONNEWResultSetView.RSS_BUTTONSECURITY
EditFieldType.getResStyle().- Returns:
- this
-
isAutoSearch
public boolean isAutoSearch()
- Returns:
- true if the result list should perform a search when the form was loaded
-
setAutoSearch
public SystemLookupQueryFormOptions setAutoSearch(boolean autoSearch)
- Parameters:
autoSearch- if true, the result list will perform a search when the form was loaded- Returns:
- this
-
-