get list of KVs
parent
bed4771b2d
commit
f3b753f2d3
|
|
@ -99,14 +99,16 @@ public class KalenderRestController {
|
||||||
|
|
||||||
|
|
||||||
@CrossOrigin("*")
|
@CrossOrigin("*")
|
||||||
@GetMapping("/api/getKV")
|
@GetMapping("/api/getSupportGroupKV")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public Object getSupportGroupKV() {
|
public Object getSupportGroupKV() throws ARException {
|
||||||
|
var kv = SupportGroup.getInstance();
|
||||||
|
kv.getSupportGroupKVs(javaAPI);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@CrossOrigin("*")
|
@CrossOrigin("*")
|
||||||
@GetMapping("/api/getIH")
|
@GetMapping("/api/getSupportGroupIH")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public Object getSupportGroupIH() {
|
public Object getSupportGroupIH() {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,13 @@ 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.
|
* Returns the list of support groups.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue