All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.xenit.apix.workflow.search.TaskOrWorkflowSearchResult Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package eu.xenit.apix.workflow.search;

import eu.xenit.apix.workflow.model.ITaskOrWorkflow;

import java.util.List;

public class TaskOrWorkflowSearchResult {

    /**
     * In case the user does not request the details of the results (only the ids e.g.), this should be null, not an
     * empty list.
     */
    public List results;
    public List IDs;
    public int nbResults; //Number of results if no paging would have been applied.
    private Facets facets;

    public TaskOrWorkflowSearchResult(List results, List IDs, Facets facets, int nbResults) {
        this.results = results;
        this.IDs = IDs;
        this.facets = facets;
        this.nbResults = nbResults;
    }

    public TaskOrWorkflowSearchResult() {
    }

    public List getResults() {
        return results;
    }

    public void setResults(List results) {
        this.results = results;
    }


    public List getIDs() {
        return IDs;
    }

    public void setIDs(List IDs) {
        this.IDs = IDs;
    }


    public int getNbResults() {
        return nbResults;
    }

    public void setNbResults(int nbResults) {
        this.nbResults = nbResults;
    }

    public Facets getFacets() {
        return facets;
    }

    public void setFacets(Facets facets) {
        this.facets = facets;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy