com.atlassian.confluence.event.events.search
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:
- java.io.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
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SearchPerformedEvent
@Deprecated
public SearchPerformedEvent(java.lang.Object source,
SearchQueryBean query,
com.atlassian.user.User user,
int numberOfResults)
- Deprecated. the SearchQueryBean is no longer used (it will be null).
Use
SearchPerformedEvent(Object, SearchQuery, User, int)
instead.
- Create a new search performed event
- Parameters:
source
- the source of the eventquery
- the query that was performeduser
- the user who performed the search (may be null if the query was performed anonymously)numberOfResults
- the number of results returned by the search
SearchPerformedEvent
public SearchPerformedEvent(java.lang.Object source,
SearchQuery query,
com.atlassian.user.User user,
int numberOfResults)
getQuery
@Deprecated
public SearchQueryBean getQuery()
- Deprecated.
getSearchQuery
public SearchQuery getSearchQuery()
getUser
public com.atlassian.user.User getUser()
getNumberOfResults
public int getNumberOfResults()
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.