| java.lang.Object com.flexive.war.javascript.search.SearchResultWriter
SearchResultWriter | public class SearchResultWriter implements Serializable(Code) | | Provides map interfaces for generating JSON row and column information
from a FxResultSet.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 1 $ |
Method Summary | |
public Map | getColumns() Return a map for generating column JSON code.
e.g. | public String | getCurrentResultRows(HttpSession session, String location, int startRow, int fetchRows, int gridColumns, String viewTypeName, long typeId) Return the rows of the user's current search result (SearchResultBean). | public Map | getRows() Return a map for generating the rows contained in a result set.
e.g. |
getColumns | public Map getColumns()(Code) | | Return a map for generating column JSON code.
e.g. #{searchResultJsonBean.columns[myResultSet]}
a map for generating column JSON code. |
getCurrentResultRows | public String getCurrentResultRows(HttpSession session, String location, int startRow, int fetchRows, int gridColumns, String viewTypeName, long typeId)(Code) | | Return the rows of the user's current search result (SearchResultBean).
Parameters: session - the current user session (json/rpc auto parameter) Parameters: location - location of the search result (com.flexive.shared.search.AdminResultLocations). Parameters: startRow - first row to be returned Parameters: fetchRows - number of rows to be fetched (must be a valid enum value of ResultViewType) Parameters: gridColumns - number of columns on the grid (for thumbnail views) Parameters: viewTypeName - the view type Parameters: typeId - the type filter (-1 to show all types) the rows of the user's current search result (SearchResultBean). |
getRows | public Map getRows()(Code) | | Return a map for generating the rows contained in a result set.
e.g. #{searchResultJsonBean.rows[myResultSet]}
a map for generating the rows contained in a result set. |
|
|