Modul sharingPluginPlatform
Klasse SearchInputDTO
java.lang.Object
org.codeability.sharing.plugins.api.search.SearchInputDTO
DTO for search queries
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungempty constructor for JSON.SearchInputDTO(String fulltextQuery, SearchInputMetadataDTO metadata, List<String> selectedRepository, List<String> selectedUniversity, List<String> selectedFileFormat, int page) convenience constructor for search input -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungreturns the full text queryreturns the meta dataintgetPage()gets the requested pageintVeraltet.not usedVeraltet.not usefulVeraltet.not usedbooleanjust a convenience method.voidsetFulltextQuery(String fulltextQuery) sets the full text queryvoidsetMetadata(SearchInputMetadataDTO metadata) voidsetOrdering(SearchOrdering ordering) voidsetPage(int page) sets the requested pagevoidsetPageSize(int pageSize) voidsetSelectedFileFormat(List<String> selectedFileFormat) Veraltet.not usedvoidsetSelectedRepository(List<String> selectedRepository) Veraltet.not usefulvoidsetSelectedUniversity(List<String> selectedUniversity) Veraltet.not usedtoString()
-
Konstruktordetails
-
SearchInputDTO
public SearchInputDTO()empty constructor for JSON. -
SearchInputDTO
public SearchInputDTO(String fulltextQuery, SearchInputMetadataDTO metadata, List<String> selectedRepository, List<String> selectedUniversity, List<String> selectedFileFormat, int page) convenience constructor for search input- Parameter:
fulltextQuery- the full text querymetadata- the meta dataselectedRepository- the selected repositoryselectedUniversity- the selected universityselectedFileFormat- the selected file formatpage- the page
-
-
Methodendetails
-
getFulltextQuery
returns the full text query- Gibt zurück:
- the full text query
-
setFulltextQuery
sets the full text query- Parameter:
fulltextQuery- the full text query
-
getMetadata
returns the meta data- Gibt zurück:
- the meta data
-
setMetadata
- Parameter:
metadata- the metadata to set
-
getSelectedRepository
Veraltet.not usefulreturns the selected repository.- Gibt zurück:
- the selected repository
-
setSelectedRepository
Veraltet.not usefulsets the selected repository.- Parameter:
selectedRepository- the selected repository
-
getSelectedUniversity
Veraltet.not usedgets the selected university- Gibt zurück:
- the selected university
-
setSelectedUniversity
Veraltet.not usedsets the selected university- Parameter:
selectedUniversity- the selected university
-
getSelectedFileFormat
Veraltet.not used- Gibt zurück:
- the selected file format
-
setSelectedFileFormat
Veraltet.not usedsets the selected file format- Parameter:
selectedFileFormat- the selected file format
-
getPage
public int getPage()gets the requested page- Gibt zurück:
- the requested page
-
setPage
public void setPage(int page) sets the requested page- Parameter:
page- the requested page
-
getPageSize
public int getPageSize()- Gibt zurück:
- the page size
-
setPageSize
public void setPageSize(int pageSize) - Parameter:
pageSize- the page size to set
-
hasMetadataInput
public boolean hasMetadataInput()just a convenience method.- Gibt zurück:
- true, iff metadata has input.
-
getOrdering
-
setOrdering
-
toString
-