12 #ifndef WS_ABSTRACT_SEARCH_H__
13 #define WS_ABSTRACT_SEARCH_H__
57 virtual vector<WsResultItem>
getResults(
const std::set<std::string>& groups) = 0;
virtual vector< WsResultItem > getResults(const std::set< std::string > &groups)=0
return the results found for the query filtered for the user
virtual int load(FileSystemTreePtr fs, std::string q)=0
load the results (execute the search query)
virtual int getSize()=0
return the number of results found
Abstract class for search.
boost::shared_ptr< WsFileSystemTree > FileSystemTreePtr
virtual ~WsAbstractSearch()
virtual destructor
Structure representing all the fs tree from the root.