Class UserManagementServiceImpl

java.lang.Object
net.andresbustamante.yafoot.users.services.impl.UserManagementServiceImpl
All Implemented Interfaces:
net.andresbustamante.yafoot.users.services.UserManagementService

@Service public class UserManagementServiceImpl extends Object implements net.andresbustamante.yafoot.users.services.UserManagementService
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserManagementServiceImpl(net.andresbustamante.yafoot.users.repository.UserRepository userRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteUser(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx)
     
    void
    updateUser(net.andresbustamante.yafoot.users.model.User user, 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

    • UserManagementServiceImpl

      public UserManagementServiceImpl(net.andresbustamante.yafoot.users.repository.UserRepository userRepository)
  • Method Details

    • updateUser

      @Transactional(propagation=REQUIRES_NEW) public void updateUser(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException
      Specified by:
      updateUser in interface net.andresbustamante.yafoot.users.services.UserManagementService
      Throws:
      net.andresbustamante.yafoot.commons.exceptions.DirectoryException
    • deleteUser

      @Transactional(propagation=REQUIRES_NEW) public void deleteUser(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException
      Specified by:
      deleteUser in interface net.andresbustamante.yafoot.users.services.UserManagementService
      Throws:
      net.andresbustamante.yafoot.commons.exceptions.DirectoryException