eu.xenit.apix.workflow.search.SearchQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apix-interface Show documentation
Show all versions of apix-interface Show documentation
Xenit API-X Java interface
package eu.xenit.apix.workflow.search;
import java.util.ArrayList;
import java.util.List;
public abstract class SearchQuery {
public boolean isActive = true;
public List filters;
public List facets;
public List orderBy;
public boolean includeRefs = true;
public boolean includeResults = true;
public Paging paging;
public SearchQuery() {
}
public SearchQuery(SearchQuery source) {
this.paging = source.paging;
if (source.filters != null) {
this.filters = new ArrayList<>(source.filters);
}
if (source.facets != null) {
this.facets = new ArrayList<>(source.facets);
}
if (source.orderBy != null) {
this.orderBy = new ArrayList<>(source.orderBy);
}
this.includeRefs = source.includeRefs;
this.includeResults = source.includeResults;
this.isActive = source.isActive;
}
public abstract void restrictResultsToUser(String currentUserName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy