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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CarManagementServiceImpl

      public CarManagementServiceImpl(CarDao carDAO, PlayerDao playerDAO)
  • 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 interface net.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 interface net.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 interface net.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 interface net.andresbustamante.yafoot.core.services.CarManagementService