/** * Object to keep track of executed searches during * a session. */ function RecentSearch() { //VARIABLES // type of search "boolean | nlq" this.searchType = ""; this.searchString = ""; this.topic = ""; this.all = ""; this.any = ""; this.none = ""; this.exactPhrase = ""; this.filterProperties = ""; this.searchProperties = ""; } RecentSearch.prototype.getSearchType = function() { return this.searchType; } RecentSearch.prototype.setSearchType = function(newSearchType) { this.searchType = newSearchType; }