This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Commit 6ec1f91e authored by Michael Breu's avatar Michael Breu 💬
Browse files

Update of V0.1.0-Snapshot

parent cdb5bb7e
package org.codeability.sharing.plugins.api.search;
import java.util.List;
public class SearchInputDTO {
private String fulltextQuery;
private SearchInputMetadataDTO metadata;
private List<String> selectedRepository;
private List<String> selectedUniversity;
private List<String> selectedFileFormat;
private int page;
public static final int PAGE_SIZE = 10;
public SearchInputDTO() {
// empty for jackson
}
public SearchInputDTO(String fulltextQuery, SearchInputMetadataDTO metadata,
List<String> selectedRepository, List<String> selectedUniversity,
List<String> selectedFileFormat, int page) {
this.fulltextQuery = fulltextQuery;
this.metadata = metadata;
this.selectedRepository = selectedRepository;
this.selectedUniversity = selectedUniversity;
this.selectedFileFormat = selectedFileFormat;
this.page = page;
}
public String getFulltextQuery() {
return fulltextQuery;
}
public void setFulltextQuery(String fulltextQuery) {
this.fulltextQuery = fulltextQuery;
}
public SearchInputMetadataDTO getMetadata() {
return metadata;
}
public List<String> getSelectedRepository() {
return selectedRepository;
}
public void setSelectedRepository(List<String> selectedRepository) {
this.selectedRepository = selectedRepository;
}
public List<String> getSelectedUniversity() {
return selectedUniversity;
}
public void setSelectedUniversity(List<String> selectedUniversity) {
this.selectedUniversity = selectedUniversity;
}
public List<String> getSelectedFileFormat() {
return selectedFileFormat;
}
public void setSelectedFileFormat(List<String> selectedFileFormat) {
this.selectedFileFormat = selectedFileFormat;
}
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public boolean hasMetadataInput() {
return this.metadata.hasMetadataInput();
}
@Override
public String toString() {
return "SearchInputDTO [fulltextQuery=" + fulltextQuery + ", selectedRepository=" + selectedRepository + ", selectedUniversity="
+ selectedUniversity + ", selectedFileFormat=" + selectedFileFormat + ", page=" + page + ", metadata: {" + metadata + "}]";
}
}
package org.codeability.sharing.plugins.api;
package org.codeability.sharing.plugins.api.search;
import java.util.List;
import org.codeability.sharing.plugins.api.UserProvidedMetadataDTO.ExerciseType;
import org.codeability.sharing.plugins.api.search.UserProvidedMetadataDTO.ExerciseType;
public class SearchInputMetadataDTO {
private String programmingLanguage;
......
package org.codeability.sharing.plugins.api;
package org.codeability.sharing.plugins.api.search;
import java.util.ArrayList;
import java.util.Date;
......
package org.codeability.sharing.plugins.api;
package org.codeability.sharing.plugins.api.search;
import java.util.List;
......
package org.codeability.sharing.plugins.api;
package org.codeability.sharing.plugins.api.search;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
......
93bc2b26db3ce1c8f54399ec40f08ff8
\ No newline at end of file
a8a60098e74fe26a14bda5c2062a2bbd
\ No newline at end of file
63f7a6f20de7748a31cc8a598379cc097ef29756
\ No newline at end of file
8bda98532a548888eb075c3e54dc1ee8f7856193
\ No newline at end of file
......@@ -10,6 +10,6 @@
<version>0.1.0</version>
<version>0.1.0-Snapshot</version>
</versions>
<lastUpdated>20210427090607</lastUpdated>
<lastUpdated>20210427094233</lastUpdated>
</versioning>
</metadata>
73a9eb5092892e68c55bf94e38ab1199
\ No newline at end of file
70a818c6a44a58aaee1cb8881a372013
\ No newline at end of file
5ee63e1c97ff49e814d059bf465ee7b28265acab
\ No newline at end of file
df06509de9f4521c107b0c44bf75390f208f2bcf
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment