1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.kuali.kra.external.unit.service;
20
21 import javax.jws.WebMethod;
22 import javax.jws.WebParam;
23 import javax.jws.WebResult;
24 import javax.xml.ws.RequestWrapper;
25 import javax.xml.ws.ResponseWrapper;
26
27 import org.kuali.kfs.integration.cg.dto.HashMapElement;
28 import org.kuali.kfs.module.external.kc.KcConstants;
29 import org.kuali.kfs.module.external.kc.businessobject.UnitDTO;
30
31
32
33
34
35
36
37
38
39 public interface InstitutionalUnitService {
40
41 @WebResult(name = "return", targetNamespace = "")
42 @RequestWrapper(localName = "getUnit", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetUnit")
43 @WebMethod
44 @ResponseWrapper(localName = "getUnitResponse", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetUnitResponse")
45 public UnitDTO getUnit(
46 @WebParam(name = "unitNumber", targetNamespace = "")
47 java.lang.String unitNumber
48 );
49
50 @WebResult(name = "return", targetNamespace = "")
51 @RequestWrapper(localName = "getParentUnits", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetParentUnits")
52 @WebMethod
53 @ResponseWrapper(localName = "getParentUnitsResponse", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetParentUnitsResponse")
54 public java.util.List<java.lang.String> getParentUnits(
55 @WebParam(name = "unitNumber", targetNamespace = "")
56 java.lang.String unitNumber
57 );
58
59 @WebResult(name = "return", targetNamespace = "")
60 @RequestWrapper(localName = "lookupUnits", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.LookupUnits")
61 @WebMethod
62 @ResponseWrapper(localName = "lookupUnitsResponse", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.LookupUnitsResponse")
63 public java.util.List<UnitDTO> lookupUnits(
64 @WebParam(name = "searchCriteria", targetNamespace = "")
65 java.util.List<HashMapElement> searchCriteria
66 );
67 }