001    /*
002     * Copyright 2011 The Kuali Foundation.
003     * 
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     * 
008     * http://www.opensource.org/licenses/ecl2.php
009     * 
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.kfs.module.external.kc.webService;
017    
018    import javax.jws.WebMethod;
019    import javax.jws.WebParam;
020    import javax.jws.WebResult;
021    import javax.xml.ws.RequestWrapper;
022    import javax.xml.ws.ResponseWrapper;
023    
024    import org.kuali.kfs.integration.cg.dto.HashMapElement;
025    import org.kuali.kfs.module.external.kc.KcConstants;
026    import org.kuali.kfs.module.external.kc.businessobject.UnitDTO;
027    
028    
029    /**
030     * This class was generated by Apache CXF 2.2.10
031     * Thu Sep 30 15:50:58 HST 2010
032     * Generated source version: 2.2.10
033     * 
034     */
035     
036    public interface InstitutionalUnitService {
037    
038        @WebResult(name = "return", targetNamespace = "")
039        @RequestWrapper(localName = "getUnit", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetUnit")
040        @WebMethod
041        @ResponseWrapper(localName = "getUnitResponse", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetUnitResponse")
042        public UnitDTO getUnit(
043            @WebParam(name = "unitNumber", targetNamespace = "")
044            java.lang.String unitNumber
045        );
046    
047        @WebResult(name = "return", targetNamespace = "")
048        @RequestWrapper(localName = "getParentUnits", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetParentUnits")
049        @WebMethod
050        @ResponseWrapper(localName = "getParentUnitsResponse", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.GetParentUnitsResponse")
051        public java.util.List<java.lang.String> getParentUnits(
052            @WebParam(name = "unitNumber", targetNamespace = "")
053            java.lang.String unitNumber
054        );
055    
056        @WebResult(name = "return", targetNamespace = "")
057        @RequestWrapper(localName = "lookupUnits", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.LookupUnits")
058        @WebMethod
059        @ResponseWrapper(localName = "lookupUnitsResponse", targetNamespace = KcConstants.KC_NAMESPACE_URI, className = "kc.LookupUnitsResponse")
060        public java.util.List<UnitDTO> lookupUnits(
061            @WebParam(name = "searchCriteria", targetNamespace = "")
062            java.util.List<HashMapElement> searchCriteria
063        );
064    }