Class CarManagementServiceImpl
java.lang.Object
net.andresbustamante.yafoot.core.services.impl.CarManagementServiceImpl
- All Implemented Interfaces:
net.andresbustamante.yafoot.core.services.CarManagementService
@Service
public class CarManagementServiceImpl
extends Object
implements net.andresbustamante.yafoot.core.services.CarManagementService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deactivateCar
(net.andresbustamante.yafoot.core.model.Car car, net.andresbustamante.yafoot.commons.model.UserContext ctx) void
deactivateCarsByPlayer
(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext ctx) saveCar
(net.andresbustamante.yafoot.core.model.Car car, net.andresbustamante.yafoot.commons.model.UserContext ctx) void
updateCar
(Integer carId, net.andresbustamante.yafoot.core.model.Car updatedCar, net.andresbustamante.yafoot.commons.model.UserContext ctx)
-
Constructor Details
-
CarManagementServiceImpl
-
-
Method Details
-
saveCar
@Transactional public Integer saveCar(net.andresbustamante.yafoot.core.model.Car car, net.andresbustamante.yafoot.commons.model.UserContext ctx) - Specified by:
saveCar
in interfacenet.andresbustamante.yafoot.core.services.CarManagementService
-
updateCar
@Transactional public void updateCar(Integer carId, net.andresbustamante.yafoot.core.model.Car updatedCar, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.ApplicationException - Specified by:
updateCar
in interfacenet.andresbustamante.yafoot.core.services.CarManagementService
- Throws:
net.andresbustamante.yafoot.commons.exceptions.ApplicationException
-
deactivateCar
@Transactional public void deactivateCar(net.andresbustamante.yafoot.core.model.Car car, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.ApplicationException - Specified by:
deactivateCar
in interfacenet.andresbustamante.yafoot.core.services.CarManagementService
- Throws:
net.andresbustamante.yafoot.commons.exceptions.ApplicationException
-
deactivateCarsByPlayer
@Transactional public void deactivateCarsByPlayer(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext ctx) - Specified by:
deactivateCarsByPlayer
in interfacenet.andresbustamante.yafoot.core.services.CarManagementService
-