Module sharingPluginPlatform
Class SearchRequestDTO
java.lang.Object
org.codeability.sharing.plugins.api.search.SearchRequestDTO
this class is combining credentials and the search query.
- Author:
- Michael Breu
-
Constructor Summary
ConstructorsConstructorDescriptiontrivial constructor for JSONSearchRequestDTO(UserPrincipal userPrincipal, SearchInputDTO query) comfort constructor with selected initialization values -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidsetQuery(SearchInputDTO query) voidsetUserPrincipal(UserPrincipal userPrincipal)
-
Constructor Details
-
SearchRequestDTO
comfort constructor with selected initialization values- Parameters:
userPrincipal- the user principalquery- the query
-
SearchRequestDTO
public SearchRequestDTO()trivial constructor for JSON
-
-
Method Details
-
getQuery
- Returns:
- the search query
-
setQuery
- Parameters:
query- the query to set
-
getUserPrincipal
- Returns:
- the user principal for which the retrieval should be done
-
setUserPrincipal
- Parameters:
userPrincipal- the userPrincipal to set
-