1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.client.console.rest;
20
21 import java.util.List;
22 import javax.ws.rs.core.Response;
23 import org.apache.syncope.common.lib.to.GroupTO;
24 import org.apache.syncope.common.rest.api.service.SyncopeService;
25
26 public class SyncopeRestClient extends BaseRestClient {
27
28 private static final long serialVersionUID = -9013241672773442286L;
29
30 public Response exportInternalStorageContent(final int tableThreshold) {
31 return getService(SyncopeService.class).exportInternalStorageContent(tableThreshold);
32 }
33
34 public List<GroupTO> searchAssignableGroups(
35 final String realm,
36 final String term,
37 final int page,
38 final int size) {
39
40 return getService(SyncopeService.class).searchAssignableGroups(realm, term, page, size).getResult();
41 }
42 }