KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > services > client > AgencyReservationServiceImpl


1
2 package org.objectweb.rentacar.services.client;
3
4 import java.util.List JavaDoc;
5 import javax.jws.WebMethod;
6 import javax.jws.WebParam;
7 import javax.jws.WebResult;
8 import javax.jws.WebService;
9 import javax.xml.datatype.XMLGregorianCalendar JavaDoc;
10 import javax.xml.ws.RequestWrapper;
11 import javax.xml.ws.ResponseWrapper;
12 import org.objectweb.rentacar.services.client.AgencyException_Exception;
13 import org.objectweb.rentacar.services.client.AgencyReservationServiceImpl;
14 import org.objectweb.rentacar.services.client.CarCriteria;
15 import org.objectweb.rentacar.services.client.DAOException_Exception;
16
17
18 /**
19  * This class was generated by the JAXWS SI.
20  * JAX-WS RI 2.0-b26-ea3
21  * Generated source version: 2.0
22  *
23  */

24 @WebService(name = "AgencyReservationServiceImpl", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", wsdlLocation = "/home/rbarraza/workspace-rentacar/apps/agency-reservation/src/resources/AgencyReservationServiceImplService.wsdl")
25 public interface AgencyReservationServiceImpl {
26
27
28     /**
29      *
30      * @param startDate
31      * @param endAgencyId
32      * @param carId
33      * @param endDate
34      * @param startAgencyId
35      * @param customerId
36      * @return
37      * returns java.lang.String
38      * @throws AgencyException_Exception
39      */

40     @WebMethod
41     @WebResult(targetNamespace = "")
42     @RequestWrapper(localName = "createReservation", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservation")
43     @ResponseWrapper(localName = "createReservationResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservationResponse")
44     public String JavaDoc createReservation(
45         @WebParam(name = "carId", targetNamespace = "")
46         String JavaDoc carId,
47         @WebParam(name = "startDate", targetNamespace = "")
48         XMLGregorianCalendar JavaDoc startDate,
49         @WebParam(name = "endDate", targetNamespace = "")
50         XMLGregorianCalendar JavaDoc endDate,
51         @WebParam(name = "customerId", targetNamespace = "")
52         String JavaDoc customerId,
53         @WebParam(name = "startAgencyId", targetNamespace = "")
54         String JavaDoc startAgencyId,
55         @WebParam(name = "endAgencyId", targetNamespace = "")
56         String JavaDoc endAgencyId)
57         throws AgencyException_Exception
58     ;
59
60     /**
61      *
62      * @param partnerId
63      * @param startDate
64      * @param endAgencyId
65      * @param endDate
66      * @param startAgencyId
67      * @param criterion
68      * @param quantity
69      * @return
70      * returns java.util.List<java.lang.String>
71      * @throws DAOException_Exception
72      */

73     @WebMethod
74     @WebResult(targetNamespace = "")
75     @RequestWrapper(localName = "createReservationPartner", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservationPartner")
76     @ResponseWrapper(localName = "createReservationPartnerResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CreateReservationPartnerResponse")
77     public List JavaDoc<String JavaDoc> createReservationPartner(
78         @WebParam(name = "criterion", targetNamespace = "")
79         CarCriteria criterion,
80         @WebParam(name = "quantity", targetNamespace = "")
81         int quantity,
82         @WebParam(name = "startDate", targetNamespace = "")
83         XMLGregorianCalendar JavaDoc startDate,
84         @WebParam(name = "endDate", targetNamespace = "")
85         XMLGregorianCalendar JavaDoc endDate,
86         @WebParam(name = "partnerId", targetNamespace = "")
87         String JavaDoc partnerId,
88         @WebParam(name = "startAgencyId", targetNamespace = "")
89         String JavaDoc startAgencyId,
90         @WebParam(name = "endAgencyId", targetNamespace = "")
91         String JavaDoc endAgencyId)
92         throws DAOException_Exception
93     ;
94
95     /**
96      *
97      * @param reservationCode
98      * @throws AgencyException_Exception
99      */

100     @WebMethod
101     @RequestWrapper(localName = "closeReservation", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CloseReservation")
102     @ResponseWrapper(localName = "closeReservationResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CloseReservationResponse")
103     public void closeReservation(
104         @WebParam(name = "reservationCode", targetNamespace = "")
105         String JavaDoc reservationCode)
106         throws AgencyException_Exception
107     ;
108
109     /**
110      *
111      * @param reservationId
112      * @return
113      * returns boolean
114      * @throws AgencyException_Exception
115      */

116     @WebMethod
117     @WebResult(targetNamespace = "")
118     @RequestWrapper(localName = "cancelReservation", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CancelReservation")
119     @ResponseWrapper(localName = "cancelReservationResponse", targetNamespace = "http://reservation.services.agency.rentacar.objectweb.org/", className = "org.objectweb.rentacar.services.client.CancelReservationResponse")
120     public boolean cancelReservation(
121         @WebParam(name = "reservationId", targetNamespace = "")
122         String JavaDoc reservationId)
123         throws AgencyException_Exception
124     ;
125
126 }
127
Popular Tags