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.reports;
20
21 import org.apache.syncope.client.console.panels.StartAtTogglePanel;
22 import org.apache.syncope.client.console.rest.ExecutionRestClient;
23 import org.apache.syncope.client.console.rest.ReportRestClient;
24 import org.apache.wicket.PageReference;
25 import org.apache.wicket.markup.html.WebMarkupContainer;
26 import org.apache.wicket.spring.injection.annot.SpringBean;
27
28 public class ReportStartAtTogglePanel extends StartAtTogglePanel {
29
30 private static final long serialVersionUID = -3195479265440591519L;
31
32 @SpringBean
33 protected ReportRestClient reportRestClient;
34
35 public ReportStartAtTogglePanel(final WebMarkupContainer container, final PageReference pageRef) {
36 super(container, pageRef);
37 }
38
39 @Override
40 protected ExecutionRestClient getRestClient() {
41 return reportRestClient;
42 }
43 }