Package com.saperion.ngc.resultset.modes
Class LookupResultSetMode
java.lang.Object
com.saperion.ngc.resultset.modes.AbstractResultSetMode
com.saperion.ngc.resultset.modes.LookupResultSetMode
- All Implemented Interfaces:
ResultSetMode
Mode for result lists contained in
LookupPopup
.-
Field Summary
Fields inherited from class com.saperion.ngc.resultset.modes.AbstractResultSetMode
parentView
-
Constructor Summary
ConstructorsConstructorDescriptionLookupResultSetMode
(ResultSetViewImpl view, ResultSetPresenter presenter, List<ResultProperties> filteredProperties, String[] fieldsToDisplay, boolean isSelect, Map<String, com.saperion.intf.SaFieldDescription> fieldDescs) Creates a new ComplexMode. -
Method Summary
Modifier and TypeMethodDescriptionvoid
createListhead
(org.zkoss.zul.Listhead head) Creates the listhead containing all headers.createListitem
(ResultProperties properties) Creates a listitem.boolean
-
Constructor Details
-
LookupResultSetMode
public LookupResultSetMode(ResultSetViewImpl view, ResultSetPresenter presenter, List<ResultProperties> filteredProperties, String[] fieldsToDisplay, boolean isSelect, Map<String, com.saperion.intf.SaFieldDescription> fieldDescs) Creates a new ComplexMode.- Parameters:
view
- parent viewpresenter
- parent presenterfilteredProperties
- properties filtered for viewfieldsToDisplay
- fields to display in viewisSelect
- Select modefieldDescs
- the SaFieldDescription to determine field values
-
-
Method Details
-
createListhead
public void createListhead(org.zkoss.zul.Listhead head) Creates the listhead containing all headers.- Specified by:
createListhead
in interfaceResultSetMode
- Parameters:
head
- List head- See Also:
-
createListitem
public DraggableListItem createListitem(ResultProperties properties) throws DocumentIdentificationException, NgcUiException Creates a listitem.- Specified by:
createListitem
in interfaceResultSetMode
- Parameters:
properties
- item's properties- Returns:
- listitem
- Throws:
DocumentIdentificationException
- document identification failed (missing object id)NgcUiException
- exception to be handled by view- See Also:
-
isForLookupTables
public boolean isForLookupTables()- Specified by:
isForLookupTables
in interfaceResultSetMode
- Returns:
- true if this render mode is for lookup tables
-