|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchQueryLogger
This interface provides methods to retrieve query objects previously used for searching.
SearchQuery| Method Summary | |
|---|---|
void |
deleteSearchQueries(User user)
Delete all logged search queries for the given user |
Map<String,?> |
getLoggedSearchQueryInfo(SearchQuery searchQuery)
Returns the logged information about the query, or null if the query has not been logged yet. |
JiveIterator<SearchQuery> |
getSearchQueries()
Returns an iterable of all the queries that have been made. |
JiveIterator<SearchQuery> |
getSearchQueries(User user)
Returns an Iterable consisting of all the SearchQuery's that the specified user has made. |
SearchQuery |
getSearchQuery(long queryID)
Returns the query associated with the given queryID. |
int |
getSearchQueryCount()
Returns a count of all the queries that have been made in the system. |
int |
getSearchQueryCount(User user)
Returns a count of all the queries that the user has made. |
| Method Detail |
|---|
int getSearchQueryCount()
throws UnauthorizedException
UnauthorizedException - if not a System Administrator
int getSearchQueryCount(User user)
throws UnauthorizedException
user - the user to return the query count for.
UnauthorizedException - if not a System Administrator or the specified user.
JiveIterator<SearchQuery> getSearchQueries()
throws UnauthorizedException
UnauthorizedException - if not a System Administrator
JiveIterator<SearchQuery> getSearchQueries(User user)
throws UnauthorizedException
user - the user to return the query count for.
UnauthorizedException - if not a System Administrator or the specified user.
SearchQuery getSearchQuery(long queryID)
throws NotFoundException,
UnauthorizedException
queryID - the id of the query to retrieve
NotFoundException - if the query associated with the queryID cannot be found.
UnauthorizedException - if not the user who issued the query or an administrator.Map<String,?> getLoggedSearchQueryInfo(SearchQuery searchQuery)
| Key (String) | Value |
|---|---|
| searchDuration | Integer |
| numResults | Integer |
| searchDate | Date |
| communityIDs | long[] |
| criteria | criteria.toString() |
searchQuery - the search query to return the logged query info for
void deleteSearchQueries(User user)
user - the user to delete all logged search queries for
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||