com.netgrif.application.engine.elastic.web.requestbodies.ElasticTaskSearchRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.elastic.web.requestbodies;
import com.netgrif.application.engine.workflow.web.requestbodies.TaskSearchRequest;
import com.netgrif.application.engine.workflow.web.requestbodies.taskSearch.PetriNet;
import com.netgrif.application.engine.workflow.web.requestbodies.taskSearch.TaskSearchCaseRequest;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@NoArgsConstructor
@AllArgsConstructor
public class ElasticTaskSearchRequest extends TaskSearchRequest {
public String query;
public ElasticTaskSearchRequest(Map request) {
if (request.containsKey("role") && request.get("role") instanceof List) {
this.role = (List) request.get("role");
}
if (request.containsKey("useCase") && request.get("useCase") instanceof List) {
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy