obicf.ServerRequests=function(){};obicf.ServerRequests.getCRColumnsXML=function(a,c){var b=new obids.AjaxRequest("GetCRColumnsXML",a);b.getRequest().addArg("CRPath",c);b.post()};obicf.ServerRequests.canEditCondition=function(c){var d=new obids.AjaxRequest("CheckConditionWriteAccess");d.getRequest().addArg("Path",c);var e=d.post();if(!e){return false}var b=obips.XMLDOM.selectSingleNode(e,"/canEditCondition");var a=b.firstChild.nodeValue;return(a=="true"?true:false)};obicf.ServerRequests.getRequestPromptedFilters=function(b,a){var c=new obids.AjaxRequest("GetRequestPromptedFilters",b);c.getRequest().addArg("Path",a);c.post()};obicf.ServerRequests.loadCondition=function(a){var b=new obids.AjaxRequest("LoadCondition");b.getRequest().addArg("Path",a);var c=b.post();if(!c){return null}var d=new obicf.Condition(a);d.parseXML(c);return d};obicf.ServerRequests.saveCondition=function(e,c,b,a){var d=new obids.AjaxRequest("SaveCondition");d.setResponseType(saw.ajax.ResponseBlock.TYPE_JSON);d.getRequest().addArg("sig",e);d.getRequest().addArg("data",c);d.getRequest().addArg("path",b);if(a){obips.catalog.CatalogWriteHelper.parseJSON(a)._addToRequestArgs(d.getRequest())}var f=d.post();return f};