001/*
002 * The Kuali Financial System, a comprehensive financial management system for higher education.
003 * 
004 * Copyright 2005-2014 The Kuali Foundation
005 * 
006 * This program is free software: you can redistribute it and/or modify
007 * it under the terms of the GNU Affero General Public License as
008 * published by the Free Software Foundation, either version 3 of the
009 * License, or (at your option) any later version.
010 * 
011 * This program is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014 * GNU Affero General Public License for more details.
015 * 
016 * You should have received a copy of the GNU Affero General Public License
017 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
018 */
019package org.kuali.kra.external.award;
020
021import java.util.List;
022
023import javax.jws.WebParam;
024import javax.jws.WebService;
025import javax.jws.soap.SOAPBinding;
026
027import org.kuali.kfs.module.external.kc.KcConstants;
028import org.kuali.kfs.module.external.kc.dto.AwardBillingUpdateDto;
029import org.kuali.kfs.module.external.kc.dto.AwardBillingUpdateStatusDto;
030import org.kuali.kfs.module.external.kc.dto.AwardDTO;
031import org.kuali.kfs.module.external.kc.dto.AwardFieldValuesDto;
032import org.kuali.kfs.module.external.kc.dto.AwardSearchCriteriaDto;
033
034@WebService(name = KcConstants.Award.SOAP_SERVICE_NAME, targetNamespace = KcConstants.KC_NAMESPACE_URI)
035@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
036public interface AwardWebService {
037
038        public AwardDTO getAward(@WebParam(name="awardId") Long awardId);
039
040    public List<AwardDTO> getMatchingAwards(@WebParam(name= "searchCriteria") AwardFieldValuesDto fieldValues);
041
042    public List<AwardDTO> searchAwards(@WebParam(name="searchDto") AwardSearchCriteriaDto searchDto);
043
044    public AwardBillingUpdateStatusDto updateAwardBillingStatus(@WebParam(name="searchDto") AwardFieldValuesDto searchDto,
045            @WebParam(name="billingUpdate") AwardBillingUpdateDto updateDto);
046}