Class SearchPerformedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.ConfluenceEvent
-
- com.atlassian.confluence.event.events.search.SearchEvent
-
- com.atlassian.confluence.event.events.search.SearchPerformedEvent
-
- All Implemented Interfaces:
Serializable
public class SearchPerformedEvent extends SearchEvent
Event triggered whenever a user performs a search through the search screen or the remote API. It is not triggered by the search macro, or by Lucene-backed queries that are not searches like the dashboard or RSS feeds.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SearchPerformedEvent(Object source, SearchQuery search, com.atlassian.user.User user, int numberOfResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfResults()
SearchQuery
getSearchQuery()
com.atlassian.user.User
getUser()
String
getUuid()
-
Methods inherited from class com.atlassian.confluence.event.events.ConfluenceEvent
equals, hashCode
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
SearchPerformedEvent
public SearchPerformedEvent(Object source, SearchQuery search, com.atlassian.user.User user, int numberOfResults)
-
-
Method Detail
-
getSearchQuery
public SearchQuery getSearchQuery()
-
getUser
public com.atlassian.user.User getUser()
-
getNumberOfResults
public int getNumberOfResults()
-
getUuid
public String getUuid()
-
-