Package service
Class CoursServiceClient
- java.lang.Object
-
- service.CoursServiceClient
-
- All Implemented Interfaces:
ICoursServiceClient
public class CoursServiceClient extends java.lang.Object implements ICoursServiceClient
-
-
Constructor Summary
Constructors Constructor Description CoursServiceClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createCours(Cours cours)
javax.ws.rs.core.Response
deleteCours(java.lang.Long id)
java.util.List<Cours>
getAllCours()
Cours
getCoursById(java.lang.Long id)
javax.ws.rs.core.Response
updateCours(java.lang.Long id, Cours cours)
-
-
-
Method Detail
-
getAllCours
public java.util.List<Cours> getAllCours()
- Specified by:
getAllCours
in interfaceICoursServiceClient
-
getCoursById
public Cours getCoursById(java.lang.Long id)
- Specified by:
getCoursById
in interfaceICoursServiceClient
-
createCours
public javax.ws.rs.core.Response createCours(Cours cours)
- Specified by:
createCours
in interfaceICoursServiceClient
-
updateCours
public javax.ws.rs.core.Response updateCours(java.lang.Long id, Cours cours)
- Specified by:
updateCours
in interfaceICoursServiceClient
-
deleteCours
public javax.ws.rs.core.Response deleteCours(java.lang.Long id)
- Specified by:
deleteCours
in interfaceICoursServiceClient
-
-