Class LastModifierUserQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.LastModifierUserQuery
- All Implemented Interfaces:
- Expandable<SearchQuery>,- SearchQuery
SearchQuery to find the content where the
 
SearchFieldMappings.LAST_MODIFIER field
 has to match one of the users in the provided last modifiers list- Since:
- 7.20
- 
Field SummaryFields inherited from interface com.atlassian.confluence.search.v2.SearchQueryDEFAULT_BOOST
- 
Constructor SummaryConstructorsConstructorDescriptionLastModifierUserQuery(Set<ConfluenceUser> lastModifiers) Construct a search query for the last modifiers list
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexpand()Expands this query into a composite query (that composes other queries).getKey()List of parameters asStrings orSearchQuerys.inthashCode()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.search.v2.SearchQuerygetBoost, getSubClauses
- 
Constructor Details- 
LastModifierUserQueryConstruct a search query for the last modifiers list- Parameters:
- lastModifiers- a Set of ConfluenceUser(s) to match
- Throws:
- IllegalArgumentException- when lastModifiers list is null or empty
 
 
- 
- 
Method Details- 
getKey- Specified by:
- getKeyin interface- SearchQuery
- Returns:
- the plugin key
 
- 
getParametersDescription copied from interface:SearchQueryList of parameters asStrings orSearchQuerys.- Specified by:
- getParametersin interface- SearchQuery
- Returns:
- Strings or- SearchQuerys.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
expandDescription copied from interface:SearchQueryExpands this query into a composite query (that composes other queries). By overriding this method, one can specify a new query that is composition of the behaviour of the composed queries.- Specified by:
- expandin interface- Expandable<SearchQuery>
- Specified by:
- expandin interface- SearchQuery
- Returns:
- a query
 
 
-