Plumtree Portal UI  
 

SearchResultModel Fields

The fields of the SearchResultModel class are listed below. For a complete list of SearchResultModel class members, see the SearchResultModel Members topic.

Public Static Fields

COLLAB_APP String that getResultApp() returns for Collab items
CONTAINER_ABSTYPE String that getResultAbsType() returns for containers
CONTENT_APP String that getResultApp() returns for Content items
DOCUMENT_ABSTYPE String that getResultAbsType() returns for documents
GROUP_BY_PREFS_KEY 
GROUPBY_FOLDER Built-in group-by string identifiers.
GROUPBY_OBJECTTYPE 
MODEL_MODE_INPUT 
OTHER_ABSTYPE String that getResultAbsType() returns for any other item
PORTAL_APP String that getResultApp() returns for portal items
SORTORDER_CREATED_ASC 
SORTORDER_CREATED_DESC 
SORTORDER_MODIFIED_ASC 
SORTORDER_MODIFIED_DESC 
SORTORDER_NAME_ASC 
SORTORDER_NAME_DESC 
SORTORDER_RELEVANCE Supported sort orders. Note that any numeric or date property should work, but it's convenient to provide these simple definitions.
STR_MVC_CLASS_NAME Name of this class
TEMPLATING_APP String that getResultApp() returns for community templating items (whose subtypes are the same as those for portal items, but do not correspond to "real" portal objects)
UNKNOWN_FOLDER_NAME Name of folder returned when db lookup of name fails- must be localized before displaying. NOTE: this must be kept in sync with what is returned by PTSearch.dll

Protected Instance Fields

_advancedFilter User's original search filter
_initialBestBets Whether best bets were initially requested
_initialGroupBy Field that was used for group-by on the original search. This field will also be the default for group-by on any later drilldown, or after the user uses a breadcrumb control to undo the drilldown.
_initialSearchString User's original search string
_isAdvancedSearch Whether the original search used a filter (i.e. advanced search)
_pageMode The current "mode" that the client page is in. This class doesn't care about the contents; this is just a convenient holder for client code. See get/set methods below.
_pageSize User's desired number of results per page
_savedSearchErrorCode Integer that client views can use to get/set error conditions for saved search (or they can use the getError() mechanism, but this affects *all* views, not just the saved search view).
_savedSearchName Name this search has been saved under
_swrCount 
_swrFields Fields that search-within-results queries will run against

See Also

SearchResultModel Class | com.plumtree.portaluiinfrastructure.search Namespace