Class PlayerManagementServiceImpl

java.lang.Object
net.andresbustamante.yafoot.core.services.impl.PlayerManagementServiceImpl
All Implemented Interfaces:
net.andresbustamante.yafoot.core.services.PlayerManagementService

@Service public class PlayerManagementServiceImpl extends Object implements net.andresbustamante.yafoot.core.services.PlayerManagementService
Author:
andresbustamante
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerManagementServiceImpl(PlayerDao playerDAO, net.andresbustamante.yafoot.core.adapters.UserManagementAdapter userManagementAdapter, net.andresbustamante.yafoot.core.services.MatchManagementService matchManagementService, net.andresbustamante.yafoot.core.services.CarManagementService carManagementService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deactivatePlayer(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext userContext)
     
    savePlayer(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext userContext)
     
    void
    updatePlayer(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext userContext)
     

    Methods inherited from class java.lang.Object

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

    • PlayerManagementServiceImpl

      public PlayerManagementServiceImpl(PlayerDao playerDAO, net.andresbustamante.yafoot.core.adapters.UserManagementAdapter userManagementAdapter, net.andresbustamante.yafoot.core.services.MatchManagementService matchManagementService, net.andresbustamante.yafoot.core.services.CarManagementService carManagementService)
  • Method Details

    • savePlayer

      @Transactional(propagation=REQUIRES_NEW) public Integer savePlayer(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext userContext) throws net.andresbustamante.yafoot.commons.exceptions.ApplicationException
      Specified by:
      savePlayer in interface net.andresbustamante.yafoot.core.services.PlayerManagementService
      Throws:
      net.andresbustamante.yafoot.commons.exceptions.ApplicationException
    • updatePlayer

      @Transactional public void updatePlayer(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext userContext) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException, net.andresbustamante.yafoot.commons.exceptions.ApplicationException
      Specified by:
      updatePlayer in interface net.andresbustamante.yafoot.core.services.PlayerManagementService
      Throws:
      net.andresbustamante.yafoot.commons.exceptions.DirectoryException
      net.andresbustamante.yafoot.commons.exceptions.ApplicationException
    • deactivatePlayer

      @Transactional public void deactivatePlayer(net.andresbustamante.yafoot.core.model.Player player, net.andresbustamante.yafoot.commons.model.UserContext userContext) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException, net.andresbustamante.yafoot.commons.exceptions.DatabaseException
      Specified by:
      deactivatePlayer in interface net.andresbustamante.yafoot.core.services.PlayerManagementService
      Throws:
      net.andresbustamante.yafoot.commons.exceptions.DirectoryException
      net.andresbustamante.yafoot.commons.exceptions.DatabaseException