Package com.saperion.ngc.resultset.modes
Class ComplexResultSetMode
java.lang.Object
com.saperion.ngc.resultset.modes.AbstractResultSetMode
com.saperion.ngc.resultset.modes.ComplexResultSetMode
- All Implemented Interfaces:
ResultSetMode
Complex rendering mode for result set view.
-
Field Summary
Fields inherited from class com.saperion.ngc.resultset.modes.AbstractResultSetMode
parentView
-
Constructor Summary
ConstructorsConstructorDescriptionComplexResultSetMode
(ResultSetViewImpl view, ResultSetPresenter presenter, List<ResultProperties> filteredProperties, String[] fieldsToDisplay, 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
-
ComplexResultSetMode
public ComplexResultSetMode(ResultSetViewImpl view, ResultSetPresenter presenter, List<ResultProperties> filteredProperties, String[] fieldsToDisplay, 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 viewfieldDescs
- 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 Creates a listitem.- Specified by:
createListitem
in interfaceResultSetMode
- Parameters:
properties
- item's properties- Returns:
- listitem
- Throws:
DocumentIdentificationException
- document identification failed (missing object id)- See Also:
-
isForLookupTables
public boolean isForLookupTables()- Specified by:
isForLookupTables
in interfaceResultSetMode
- Returns:
- true if this render mode is for lookup tables
-