deleted kv and ih (not needed)

main
Said Gedik 2023-05-31 13:32:23 +02:00
parent f3b753f2d3
commit 53473e0fe6
2 changed files with 0 additions and 24 deletions

View File

@ -97,23 +97,6 @@ public class KalenderRestController {
}
}
@CrossOrigin("*")
@GetMapping("/api/getSupportGroupKV")
@ResponseBody
public Object getSupportGroupKV() throws ARException {
var kv = SupportGroup.getInstance();
kv.getSupportGroupKVs(javaAPI);
return null;
}
@CrossOrigin("*")
@GetMapping("/api/getSupportGroupIH")
@ResponseBody
public Object getSupportGroupIH() {
return null;
}
/**
* Handles GET request to retrieve all support groups.
*

View File

@ -93,13 +93,6 @@ public class SupportGroup {
}
}
public ArrayList getSupportGroupKVs(RemedyJavaAPI api) throws ARException {
var queryKVs = new Query.QueryBuilder("ASF:WI_TAS_Paket").addFieldId("SupportGroupKV", 1000000015).build();
var kv = api.queryFieldsById("", queryKVs.getFieldIds(), queryKVs.getFormName(), null, 0, 0);
for (var k : kv) System.out.println("--------------------- " + k);
return null;
}
/**
* Returns the list of support groups.
*