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

static.ams.load.util.QueryUtilFlow.js Maven / Gradle / Ivy

class QueryList {
    constructor(list) {
        this.list = list;
    }
    addQuery(fieldName, fieldValue) {
        if(!this.hasOwnProperty("queryFieldMap")){
            this.queryFieldMap = {};
        }
        this["queryFieldMap"][fieldName] = fieldValue;
        return this;
    }
    getOne(){
        let filterList = this.getList();
        if(filterList.length>0){
            return filterList[0];
        }else{
            return null;
        }
    }
    getList(){
        let filterList = [];
        for(let i=0;i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy