Skip to content

Commit 39e7dd1

Browse files
Writing Client Abstractions / SoapChoosers
1 parent 4f9615a commit 39e7dd1

10 files changed

+641
-0
lines changed

TylerEcf5/src/main/java/edu/suffolk/litlab/efsp/ecf5/CourtPolicyClient.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ public CourtPolicyClient(CourtPolicyMDEService factory, TylerVersion version, Co
1515
switch (version) {
1616
case v2022_1:
1717
this.v2024Port = factory.getCourtPolicyMDE();
18+
setup.accept((BindingProvider) v2024Port);
1819
break;
1920
case v2024_6:
2021
this.v2024Port = factory.getCourtPolicyMDE();
22+
setup.accept((BindingProvider) v2024Port);
2123
break;
2224
case v2025_0:
2325
this.v2024Port = factory.getCourtPolicyMDE();
26+
setup.accept((BindingProvider) v2024Port);
2427
break;
2528
default:
2629
this.v2024Port = factory.getCourtPolicyMDE();
30+
setup.accept((BindingProvider) v2024Port);
2731
break;
2832
}
2933
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
package edu.suffolk.litlab.efsp.ecf5;
2+
3+
import java.util.function.Consumer;
4+
5+
import ecf5.CourtRecordMDEService;
6+
import edu.suffolk.litlab.efsp.tyler.TylerVersion;
7+
import jakarta.xml.ws.BindingProvider;
8+
9+
public class CourtRecordClient {
10+
private ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtrecordmde.CourtRecordMDE v2024Port;
11+
private TylerVersion version;
12+
13+
public CourtRecordClient(CourtRecordMDEService factory, TylerVersion version, Consumer<BindingProvider> setup) {
14+
this.version = version;
15+
switch(version) {
16+
case v2022_1:
17+
this.v2024Port = factory.getCourtRecordMDE();
18+
setup.accept((BindingProvider) v2024Port);
19+
break;
20+
case v2024_6:
21+
this.v2024Port = factory.getCourtRecordMDE();
22+
setup.accept((BindingProvider) v2024Port);
23+
break;
24+
case v2025_0:
25+
this.v2024Port = factory.getCourtRecordMDE();
26+
setup.accept((BindingProvider) v2024Port);
27+
break;
28+
default:
29+
this.v2024Port = factory.getCourtRecordMDE();
30+
setup.accept((BindingProvider) v2024Port);
31+
break;
32+
}
33+
}
34+
35+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.RecordDocketingResponseType recordDocketing(ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.RecordDocketingRequestType body) {
36+
return v2024Port.recordDocketing(body);
37+
}
38+
39+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetCaseListResponseType getCaseList(ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetCaseListRequestType body) {
40+
return v2024Port.getCaseList(body);
41+
}
42+
43+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetDocumentResponseType getDocument(ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetDocumentRequestType body) {
44+
return v2024Port.getDocument(body);
45+
}
46+
47+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetServiceInformationResponseType getServiceInformation(
48+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetServiceInformationRequestType body
49+
) {
50+
return v2024Port.getServiceInformation(body);
51+
}
52+
53+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.AllocateCourtDateResponseType allocateCourtDate(
54+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.AllocateCourtDateRequestType body
55+
) {
56+
return v2024Port.allocateCourtDate(body);
57+
}
58+
59+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetCaseResponseType getCase(
60+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetCaseRequestType body
61+
) {
62+
return v2024Port.getCase(body);
63+
}
64+
65+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.DocumentStampInformationResponseType documentStampInformation(
66+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.DocumentStampInformationRequestType body
67+
) {
68+
return v2024Port.documentStampInformation(body);
69+
}
70+
71+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
package edu.suffolk.litlab.efsp.ecf5;
2+
3+
import java.util.function.Consumer;
4+
5+
import ecf5.CourtSchedulingMDEService;
6+
import edu.suffolk.litlab.efsp.tyler.TylerVersion;
7+
import jakarta.xml.ws.BindingProvider;
8+
9+
public class CourtSchedulingClient {
10+
private ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.courtschedulingmde.CourtSchedulingMDE v2024Port;
11+
private TylerVersion version;
12+
13+
public CourtSchedulingClient(CourtSchedulingMDEService factory, TylerVersion version, Consumer<BindingProvider> setup) {
14+
this.version = version;
15+
switch(version) {
16+
case v2022_1:
17+
this.v2024Port = factory.getCourtSchedulingMDE();
18+
setup.accept((BindingProvider) v2024Port);
19+
break;
20+
case v2024_6:
21+
this.v2024Port = factory.getCourtSchedulingMDE();
22+
setup.accept((BindingProvider) v2024Port);
23+
break;
24+
case v2025_0:
25+
this.v2024Port = factory.getCourtSchedulingMDE();
26+
setup.accept((BindingProvider) v2024Port);
27+
break;
28+
default:
29+
this.v2024Port = factory.getCourtSchedulingMDE();
30+
setup.accept((BindingProvider) v2024Port);
31+
break;
32+
}
33+
}
34+
35+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetCourtScheduleResponseType getCourtSchedule(
36+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetCourtScheduleRequestType body
37+
) {
38+
return v2024Port.getCourtSchedule(body);
39+
}
40+
41+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.NotifyCourtDateResponseType notifyCourtDate(
42+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.NotifyCourtDateRequestType body
43+
) {
44+
return v2024Port.notifyCourtDate(body);
45+
}
46+
47+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ReserveCourtDateResponseType reserveCourtDate(
48+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ReserveCourtDateRequestType body
49+
) {
50+
return v2024Port.reserveCourtDate(body);
51+
}
52+
53+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.RequestCourtDateResponseType requestCourtDate(
54+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.RequestCourtDateRequestType body
55+
) {
56+
return v2024Port.requestCourtDate(body);
57+
}
58+
59+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
package edu.suffolk.litlab.efsp.ecf5;
2+
3+
import java.util.function.Consumer;
4+
5+
import ecf5.FilingReviewMDEService;
6+
import edu.suffolk.litlab.efsp.tyler.TylerVersion;
7+
import jakarta.xml.ws.BindingProvider;
8+
9+
public class FilingReviewClient {
10+
private ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.filingreviewmde.FilingReviewMDE v2024Port;
11+
private TylerVersion version;
12+
13+
public FilingReviewClient(FilingReviewMDEService factory, TylerVersion version, Consumer<BindingProvider> setup) {
14+
this.version = version;
15+
switch(version) {
16+
case v2022_1:
17+
this.v2024Port = factory.getFilingReviewMDE();
18+
setup.accept((BindingProvider) v2024Port);
19+
break;
20+
case v2024_6:
21+
this.v2024Port = factory.getFilingReviewMDE();
22+
setup.accept((BindingProvider) v2024Port);
23+
break;
24+
case v2025_0:
25+
this.v2024Port = factory.getFilingReviewMDE();
26+
setup.accept((BindingProvider) v2024Port);
27+
break;
28+
default:
29+
this.v2024Port = factory.getFilingReviewMDE();
30+
setup.accept((BindingProvider) v2024Port);
31+
break;
32+
}
33+
}
34+
35+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.NotifyDocumentStampInformationResponseType notifyDocumentStampInformation(
36+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.NotifyDocumentStampInformationRequestType body
37+
) {
38+
return v2024Port.notifyDocumentStampInformation(body);
39+
}
40+
41+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ReviewFilingResponseType reviewFiling(
42+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ReviewFilingRequestType body
43+
) {
44+
return v2024Port.reviewFiling(body);
45+
}
46+
47+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetFeesCalculationResponseType getFeesCalculation(
48+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetFeesCalculationRequestType body
49+
) {
50+
return v2024Port.getFeesCalculation(body);
51+
}
52+
53+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.CancelFilingResponseType cancelFiling(
54+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.CancelFilingRequestType body
55+
) {
56+
return v2024Port.cancelFiling(body);
57+
}
58+
59+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetFilingStatusResponseType getFilingStatus(
60+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetFilingStatusRequestType body
61+
) {
62+
return v2024Port.getFilingStatus(body);
63+
}
64+
65+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.NotifyDocketingCompleteResponseType notifyDocketingComplete(
66+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.NotifyDocketingCompleteRequestType body
67+
) {
68+
return v2024Port.notifyDocketingComplete(body);
69+
}
70+
71+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetFilingListResponseType getFilingList(
72+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.GetFilingListRequestType body
73+
) {
74+
return v2024Port.getFilingList(body);
75+
}
76+
77+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
package edu.suffolk.litlab.efsp.ecf5;
2+
3+
import java.util.function.Consumer;
4+
5+
import ecf5.ServiceMDEService;
6+
import edu.suffolk.litlab.efsp.tyler.TylerVersion;
7+
import jakarta.xml.ws.BindingProvider;
8+
9+
public class ServiceClient {
10+
private ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0wsdl.servicemde.ServiceMDE v2024Port;
11+
private TylerVersion version;
12+
13+
public ServiceClient(ServiceMDEService factory, TylerVersion version, Consumer<BindingProvider> setup) {
14+
this.version = version;
15+
switch(version) {
16+
case v2022_1:
17+
this.v2024Port = factory.getServiceMDE();
18+
setup.accept((BindingProvider) v2024Port);
19+
break;
20+
case v2024_6:
21+
this.v2024Port = factory.getServiceMDE();
22+
setup.accept((BindingProvider) v2024Port);
23+
break;
24+
case v2025_0:
25+
this.v2024Port = factory.getServiceMDE();
26+
setup.accept((BindingProvider) v2024Port);
27+
break;
28+
default:
29+
this.v2024Port = factory.getServiceMDE();
30+
setup.accept((BindingProvider) v2024Port);
31+
break;
32+
}
33+
}
34+
35+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ServeProcessResponseType serveProcess(
36+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ServeProcessRequestType body
37+
) {
38+
return v2024Port.serveProcess(body);
39+
}
40+
41+
public ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ServeFilingResponseType serveFiling(
42+
ecf5.v2024_6.https.docs_oasis_open_org.legalxml_courtfiling.ns.v5_0.wrappers.ServeFilingRequestType body
43+
) {
44+
return v2024Port.serveFiling(body);
45+
}
46+
47+
}

0 commit comments

Comments
 (0)