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.status;
20
21 import org.apache.syncope.client.console.commons.DirectoryDataProvider;
22 import org.apache.syncope.client.console.panels.DirectoryPanel;
23 import org.apache.syncope.client.console.panels.MultilevelPanel;
24 import org.apache.syncope.client.console.rest.AbstractAnyRestClient;
25 import org.apache.syncope.client.ui.commons.status.StatusBean;
26 import org.apache.syncope.common.lib.to.AnyTO;
27 import org.apache.wicket.PageReference;
28
29 public class AnyStatusModal<T extends AnyTO> extends StatusModal<T> {
30
31 private static final long serialVersionUID = 1066124171682570080L;
32
33 public AnyStatusModal(
34 final PageReference pageReference,
35 final T anyTO,
36 final String itemKeyFieldName,
37 final boolean statusOnly) {
38
39 super(pageReference, anyTO, itemKeyFieldName, statusOnly);
40 }
41
42 @Override
43 protected DirectoryPanel<
44 StatusBean, StatusBean, DirectoryDataProvider<StatusBean>, AbstractAnyRestClient<?>> getStatusDirectoryPanel(
45 final MultilevelPanel mlp,
46 final PageReference pageReference,
47 final T entity,
48 final String itemKeyFieldName,
49 final boolean statusOnly) {
50
51 return new AnyStatusDirectoryPanel(mlp, pageReference, entity, itemKeyFieldName, statusOnly);
52 }
53 }